package androidx.appcompat.widget;

import X6FRs_4.IMuAHx_6.WwEq_13.Xgtqvk_8;
import X6FRs_4.KQgRr5e_0.KNBe_11.KQgRr5e_0.KQgRr5e_0;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.IMuAHx_6;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.Nm6q_10;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.NzhupJ_29;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.XDsvEfm_26;
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;
/* loaded from: classes.dex */
public class AppCompatCheckedTextView extends CheckedTextView {
    public static final int[] KQgRr5e_0 = {16843016};

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final Nm6q_10 f2049KQgRr5e_0;

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

    @Override // android.widget.CheckedTextView, android.widget.TextView, android.view.View
    public void drawableStateChanged() {
        super.drawableStateChanged();
        Nm6q_10 nm6q_10 = this.f2049KQgRr5e_0;
        if (nm6q_10 != null) {
            nm6q_10.m412KQgRr5e_0();
        }
    }

    @Override // android.widget.TextView, android.view.View
    public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
        InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
        IMuAHx_6.KQgRr5e_0(onCreateInputConnection, editorInfo, this);
        return onCreateInputConnection;
    }

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

    @Override // android.widget.TextView
    public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
        super.setCustomSelectionActionModeCallback(Xgtqvk_8.KQgRr5e_0(this, callback));
    }

    @Override // android.widget.TextView
    public void setTextAppearance(Context context, int i) {
        super.setTextAppearance(context, i);
        Nm6q_10 nm6q_10 = this.f2049KQgRr5e_0;
        if (nm6q_10 != null) {
            nm6q_10.KQgRr5e_0(context, i);
        }
    }

    public AppCompatCheckedTextView(Context context, AttributeSet attributeSet, int i) {
        super(XDsvEfm_26.KQgRr5e_0(context), attributeSet, i);
        Nm6q_10 nm6q_10 = new Nm6q_10(this);
        this.f2049KQgRr5e_0 = nm6q_10;
        nm6q_10.KQgRr5e_0(attributeSet, i);
        this.f2049KQgRr5e_0.m412KQgRr5e_0();
        NzhupJ_29 KQgRr5e_02 = NzhupJ_29.KQgRr5e_0(getContext(), attributeSet, KQgRr5e_0, i, 0);
        setCheckMarkDrawable(KQgRr5e_02.m416KQgRr5e_0(0));
        KQgRr5e_02.KQgRr5e_0();
    }
}
