package androidx.appcompat.widget;

import X6FRs_4.IMuAHx_6.EuDEkJe_12.BVpCZyH_19;
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.Mqv2r_3;
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.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.ActionMode;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.widget.AutoCompleteTextView;
/* loaded from: classes.dex */
public class AppCompatAutoCompleteTextView extends AutoCompleteTextView implements BVpCZyH_19 {
    public static final int[] KQgRr5e_0 = {16843126};

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final Mqv2r_3 f2047KQgRr5e_0;

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

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

    @Override // android.widget.TextView, android.view.View
    public void drawableStateChanged() {
        super.drawableStateChanged();
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            mqv2r_3.m406KQgRr5e_0();
        }
        Nm6q_10 nm6q_10 = this.f2048KQgRr5e_0;
        if (nm6q_10 != null) {
            nm6q_10.m412KQgRr5e_0();
        }
    }

    @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.BVpCZyH_19
    public ColorStateList getSupportBackgroundTintList() {
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            return mqv2r_3.KQgRr5e_0();
        }
        return null;
    }

    @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.BVpCZyH_19
    public PorterDuff.Mode getSupportBackgroundTintMode() {
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            return mqv2r_3.m405KQgRr5e_0();
        }
        return null;
    }

    @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.view.View
    public void setBackgroundDrawable(Drawable drawable) {
        super.setBackgroundDrawable(drawable);
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            mqv2r_3.KQgRr5e_0(drawable);
        }
    }

    @Override // android.view.View
    public void setBackgroundResource(int i) {
        super.setBackgroundResource(i);
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            mqv2r_3.KQgRr5e_0(i);
        }
    }

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

    @Override // android.widget.AutoCompleteTextView
    public void setDropDownBackgroundResource(int i) {
        setDropDownBackgroundDrawable(KQgRr5e_0.m380KQgRr5e_0(getContext(), i));
    }

    @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.BVpCZyH_19
    public void setSupportBackgroundTintList(ColorStateList colorStateList) {
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            mqv2r_3.QxJ9d_1(colorStateList);
        }
    }

    @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.BVpCZyH_19
    public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
        Mqv2r_3 mqv2r_3 = this.f2047KQgRr5e_0;
        if (mqv2r_3 != null) {
            mqv2r_3.KQgRr5e_0(mode);
        }
    }

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

    public AppCompatAutoCompleteTextView(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, X6FRs_4.KQgRr5e_0.KQgRr5e_0.autoCompleteTextViewStyle);
    }

    public AppCompatAutoCompleteTextView(Context context, AttributeSet attributeSet, int i) {
        super(XDsvEfm_26.KQgRr5e_0(context), attributeSet, i);
        NzhupJ_29 KQgRr5e_02 = NzhupJ_29.KQgRr5e_0(getContext(), attributeSet, KQgRr5e_0, i, 0);
        if (KQgRr5e_02.m419KQgRr5e_0(0)) {
            setDropDownBackgroundDrawable(KQgRr5e_02.m416KQgRr5e_0(0));
        }
        KQgRr5e_02.KQgRr5e_0();
        Mqv2r_3 mqv2r_3 = new Mqv2r_3(this);
        this.f2047KQgRr5e_0 = mqv2r_3;
        mqv2r_3.KQgRr5e_0(attributeSet, i);
        Nm6q_10 nm6q_10 = new Nm6q_10(this);
        this.f2048KQgRr5e_0 = nm6q_10;
        nm6q_10.KQgRr5e_0(attributeSet, i);
        this.f2048KQgRr5e_0.m412KQgRr5e_0();
    }
}
