package androidx.appcompat.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.ActionMode;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.widget.CheckedTextView;
import ῲ.ᨨ.㳳.C1841;
import ῲ.ῲ.ῲ.K.C1940;
import ῲ.ῲ.㴹.C2009;
import ῲ.ῲ.㴹.C2019;
import ῲ.ῲ.㴹.C2054;
import ῲ.ῲ.㴹.C2056;
import K.K.K.ʬ.C2369;

public class AppCompatCheckedTextView extends CheckedTextView {

    /* renamed from: ʬ  reason: contains not printable characters */
    public static final int[] f494 = {16843016};

    /* renamed from: ῲ  reason: contains not printable characters */
    public final C2054 f495;

    public AppCompatCheckedTextView(Context context) {
        this(context, null);
    }

    public void drawableStateChanged() {
        super.drawableStateChanged();
        C2054 r0 = this.f495;
        if (r0 != null) {
            r0.m5347();
        }
    }

    public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
        InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
        C2369.m6310(onCreateInputConnection, editorInfo, this);
        return onCreateInputConnection;
    }

    @Override // android.widget.CheckedTextView
    public void setCheckMarkDrawable(int i) {
        setCheckMarkDrawable(C1940.m5017(getContext(), i));
    }

    public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
        super.setCustomSelectionActionModeCallback(C1841.m4779(this, callback));
    }

    public void setTextAppearance(Context context, int i) {
        super.setTextAppearance(context, i);
        C2054 r0 = this.f495;
        if (r0 != null) {
            r0.m5350(context, i);
        }
    }

    public AppCompatCheckedTextView(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, 16843720);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public AppCompatCheckedTextView(Context context, AttributeSet attributeSet, int i) {
        super(context, attributeSet, i);
        C2009.m5199(context);
        C2056.m5362(this, getContext());
        this.f495 = new C2054(this);
        this.f495.m5355(attributeSet, i);
        this.f495.m5347();
        C2019 r3 = C2019.m5223(getContext(), attributeSet, f494, i, 0);
        setCheckMarkDrawable(r3.m5229(0));
        r3.f6846.recycle();
    }
}
