package X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9;

import android.content.Context;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.view.ActionProvider;
import android.view.ContextMenu;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
/* compiled from: ActionMenuItem.java */
/* loaded from: classes.dex */
public class KQgRr5e_0 implements X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 {
    public char KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final int f895KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Context f896KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Intent f897KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Drawable f900KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public CharSequence f901KQgRr5e_0;

    /* renamed from: Mqv2r_3  reason: collision with other field name */
    public CharSequence f903Mqv2r_3;
    public final int PGPF6hQ_2;

    /* renamed from: PGPF6hQ_2  reason: collision with other field name */
    public CharSequence f904PGPF6hQ_2;
    public char QxJ9d_1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public final int f905QxJ9d_1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public CharSequence f906QxJ9d_1;

    /* renamed from: Mqv2r_3  reason: collision with root package name */
    public int f3203Mqv2r_3 = RecyclerView.WGk6X_27.FLAG_APPEARED_IN_PRE_LAYOUT;

    /* renamed from: X6FRs_4  reason: collision with root package name */
    public int f3204X6FRs_4 = RecyclerView.WGk6X_27.FLAG_APPEARED_IN_PRE_LAYOUT;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public ColorStateList f898KQgRr5e_0 = null;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public PorterDuff.Mode f899KQgRr5e_0 = null;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public boolean f902KQgRr5e_0 = false;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public boolean f907QxJ9d_1 = false;

    /* renamed from: IFxWkV_5  reason: collision with root package name */
    public int f3202IFxWkV_5 = 16;

    public KQgRr5e_0(Context context, int i, int i2, int i3, int i4, CharSequence charSequence) {
        this.f896KQgRr5e_0 = context;
        this.f895KQgRr5e_0 = i2;
        this.f905QxJ9d_1 = i;
        this.PGPF6hQ_2 = i4;
        this.f901KQgRr5e_0 = charSequence;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1
    public X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1 KQgRr5e_0() {
        return null;
    }

    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 KQgRr5e_0(View view) {
        throw new UnsupportedOperationException();
    }

    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 QxJ9d_1(int i) {
        setShowAsAction(i);
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public boolean collapseActionView() {
        return false;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public boolean expandActionView() {
        return false;
    }

    @Override // android.view.MenuItem
    public ActionProvider getActionProvider() {
        throw new UnsupportedOperationException();
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public View getActionView() {
        return null;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public int getAlphabeticModifiers() {
        return this.f3204X6FRs_4;
    }

    @Override // android.view.MenuItem
    public char getAlphabeticShortcut() {
        return this.QxJ9d_1;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public CharSequence getContentDescription() {
        return this.f904PGPF6hQ_2;
    }

    @Override // android.view.MenuItem
    public int getGroupId() {
        return this.f905QxJ9d_1;
    }

    @Override // android.view.MenuItem
    public Drawable getIcon() {
        return this.f900KQgRr5e_0;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public ColorStateList getIconTintList() {
        return this.f898KQgRr5e_0;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public PorterDuff.Mode getIconTintMode() {
        return this.f899KQgRr5e_0;
    }

    @Override // android.view.MenuItem
    public Intent getIntent() {
        return this.f897KQgRr5e_0;
    }

    @Override // android.view.MenuItem
    public int getItemId() {
        return this.f895KQgRr5e_0;
    }

    @Override // android.view.MenuItem
    public ContextMenu.ContextMenuInfo getMenuInfo() {
        return null;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public int getNumericModifiers() {
        return this.f3203Mqv2r_3;
    }

    @Override // android.view.MenuItem
    public char getNumericShortcut() {
        return this.KQgRr5e_0;
    }

    @Override // android.view.MenuItem
    public int getOrder() {
        return this.PGPF6hQ_2;
    }

    @Override // android.view.MenuItem
    public SubMenu getSubMenu() {
        return null;
    }

    @Override // android.view.MenuItem
    public CharSequence getTitle() {
        return this.f901KQgRr5e_0;
    }

    @Override // android.view.MenuItem
    public CharSequence getTitleCondensed() {
        CharSequence charSequence = this.f906QxJ9d_1;
        return charSequence != null ? charSequence : this.f901KQgRr5e_0;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public CharSequence getTooltipText() {
        return this.f903Mqv2r_3;
    }

    @Override // android.view.MenuItem
    public boolean hasSubMenu() {
        return false;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public boolean isActionViewExpanded() {
        return false;
    }

    @Override // android.view.MenuItem
    public boolean isCheckable() {
        return (this.f3202IFxWkV_5 & 1) != 0;
    }

    @Override // android.view.MenuItem
    public boolean isChecked() {
        return (this.f3202IFxWkV_5 & 2) != 0;
    }

    @Override // android.view.MenuItem
    public boolean isEnabled() {
        return (this.f3202IFxWkV_5 & 16) != 0;
    }

    @Override // android.view.MenuItem
    public boolean isVisible() {
        return (this.f3202IFxWkV_5 & 8) == 0;
    }

    @Override // android.view.MenuItem
    public MenuItem setActionProvider(ActionProvider actionProvider) {
        throw new UnsupportedOperationException();
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public /* bridge */ /* synthetic */ MenuItem setActionView(int i) {
        KQgRr5e_0(i);
        throw null;
    }

    @Override // android.view.MenuItem
    public MenuItem setAlphabeticShortcut(char c) {
        this.QxJ9d_1 = Character.toLowerCase(c);
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setCheckable(boolean z) {
        this.f3202IFxWkV_5 = (z ? 1 : 0) | (this.f3202IFxWkV_5 & (-2));
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setChecked(boolean z) {
        this.f3202IFxWkV_5 = (z ? 2 : 0) | (this.f3202IFxWkV_5 & (-3));
        return this;
    }

    @Override // android.view.MenuItem
    public /* bridge */ /* synthetic */ MenuItem setContentDescription(CharSequence charSequence) {
        QxJ9d_1(charSequence);
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setEnabled(boolean z) {
        this.f3202IFxWkV_5 = (z ? 16 : 0) | (this.f3202IFxWkV_5 & (-17));
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setIcon(Drawable drawable) {
        this.f900KQgRr5e_0 = drawable;
        KQgRr5e_0();
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public MenuItem setIconTintList(ColorStateList colorStateList) {
        this.f898KQgRr5e_0 = colorStateList;
        this.f902KQgRr5e_0 = true;
        KQgRr5e_0();
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public MenuItem setIconTintMode(PorterDuff.Mode mode) {
        this.f899KQgRr5e_0 = mode;
        this.f907QxJ9d_1 = true;
        KQgRr5e_0();
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setIntent(Intent intent) {
        this.f897KQgRr5e_0 = intent;
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setNumericShortcut(char c) {
        this.KQgRr5e_0 = c;
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setOnActionExpandListener(MenuItem.OnActionExpandListener onActionExpandListener) {
        throw new UnsupportedOperationException();
    }

    @Override // android.view.MenuItem
    public MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener onMenuItemClickListener) {
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setShortcut(char c, char c2) {
        this.KQgRr5e_0 = c;
        this.QxJ9d_1 = Character.toLowerCase(c2);
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public void setShowAsAction(int i) {
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public /* bridge */ /* synthetic */ MenuItem setShowAsActionFlags(int i) {
        QxJ9d_1(i);
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setTitle(CharSequence charSequence) {
        this.f901KQgRr5e_0 = charSequence;
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setTitleCondensed(CharSequence charSequence) {
        this.f906QxJ9d_1 = charSequence;
        return this;
    }

    @Override // android.view.MenuItem
    public /* bridge */ /* synthetic */ MenuItem setTooltipText(CharSequence charSequence) {
        KQgRr5e_0(charSequence);
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setVisible(boolean z) {
        this.f3202IFxWkV_5 = (this.f3202IFxWkV_5 & 8) | (z ? 0 : 8);
        return this;
    }

    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 KQgRr5e_0(int i) {
        throw new UnsupportedOperationException();
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1
    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 QxJ9d_1(CharSequence charSequence) {
        this.f904PGPF6hQ_2 = charSequence;
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public /* bridge */ /* synthetic */ MenuItem setActionView(View view) {
        KQgRr5e_0(view);
        throw null;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public MenuItem setAlphabeticShortcut(char c, int i) {
        this.QxJ9d_1 = Character.toLowerCase(c);
        this.f3204X6FRs_4 = KeyEvent.normalizeMetaState(i);
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public MenuItem setNumericShortcut(char c, int i) {
        this.KQgRr5e_0 = c;
        this.f3203Mqv2r_3 = KeyEvent.normalizeMetaState(i);
        return this;
    }

    @Override // android.view.MenuItem
    public MenuItem setTitle(int i) {
        this.f901KQgRr5e_0 = this.f896KQgRr5e_0.getResources().getString(i);
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1
    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 KQgRr5e_0(X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1 qxJ9d_1) {
        throw new UnsupportedOperationException();
    }

    @Override // android.view.MenuItem
    public MenuItem setIcon(int i) {
        this.f900KQgRr5e_0 = X6FRs_4.IMuAHx_6.X6FRs_4.KQgRr5e_0.m332KQgRr5e_0(this.f896KQgRr5e_0, i);
        KQgRr5e_0();
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1, android.view.MenuItem
    public MenuItem setShortcut(char c, char c2, int i, int i2) {
        this.KQgRr5e_0 = c;
        this.f3203Mqv2r_3 = KeyEvent.normalizeMetaState(i);
        this.QxJ9d_1 = Character.toLowerCase(c2);
        this.f3204X6FRs_4 = KeyEvent.normalizeMetaState(i2);
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1
    public X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 KQgRr5e_0(CharSequence charSequence) {
        this.f903Mqv2r_3 = charSequence;
        return this;
    }

    @Override // X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1
    public final void KQgRr5e_0() {
        if (this.f900KQgRr5e_0 != null) {
            if (this.f902KQgRr5e_0 || this.f907QxJ9d_1) {
                Drawable m295QxJ9d_1 = X6FRs_4.IMuAHx_6.IFxWkV_5.XnFJ5_9.KQgRr5e_0.m295QxJ9d_1(this.f900KQgRr5e_0);
                this.f900KQgRr5e_0 = m295QxJ9d_1;
                Drawable mutate = m295QxJ9d_1.mutate();
                this.f900KQgRr5e_0 = mutate;
                if (this.f902KQgRr5e_0) {
                    X6FRs_4.IMuAHx_6.IFxWkV_5.XnFJ5_9.KQgRr5e_0.KQgRr5e_0(mutate, this.f898KQgRr5e_0);
                }
                if (this.f907QxJ9d_1) {
                    X6FRs_4.IMuAHx_6.IFxWkV_5.XnFJ5_9.KQgRr5e_0.KQgRr5e_0(this.f900KQgRr5e_0, this.f899KQgRr5e_0);
                }
            }
        }
    }
}
