package X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
/* compiled from: MenuWrapperICS.java */
/* loaded from: classes.dex */
public class NQvZgp_17 extends PGPF6hQ_2<X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0> implements Menu {
    public NQvZgp_17(Context context, X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0 kQgRr5e_0) {
        super(context, kQgRr5e_0);
    }

    @Override // android.view.Menu
    public MenuItem add(CharSequence charSequence) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).add(charSequence));
    }

    @Override // android.view.Menu
    public int addIntentOptions(int i, int i2, int i3, ComponentName componentName, Intent[] intentArr, Intent intent, int i4, MenuItem[] menuItemArr) {
        MenuItem[] menuItemArr2 = menuItemArr != null ? new MenuItem[menuItemArr.length] : null;
        int addIntentOptions = ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).addIntentOptions(i, i2, i3, componentName, intentArr, intent, i4, menuItemArr2);
        if (menuItemArr2 != null) {
            int length = menuItemArr2.length;
            for (int i5 = 0; i5 < length; i5++) {
                menuItemArr[i5] = KQgRr5e_0(menuItemArr2[i5]);
            }
        }
        return addIntentOptions;
    }

    @Override // android.view.Menu
    public SubMenu addSubMenu(CharSequence charSequence) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).addSubMenu(charSequence));
    }

    @Override // android.view.Menu
    public void clear() {
        KQgRr5e_0();
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).clear();
    }

    @Override // android.view.Menu
    public void close() {
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).close();
    }

    @Override // android.view.Menu
    public MenuItem findItem(int i) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).findItem(i));
    }

    @Override // android.view.Menu
    public MenuItem getItem(int i) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).getItem(i));
    }

    @Override // android.view.Menu
    public boolean hasVisibleItems() {
        return ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).hasVisibleItems();
    }

    @Override // android.view.Menu
    public boolean isShortcutKey(int i, KeyEvent keyEvent) {
        return ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).isShortcutKey(i, keyEvent);
    }

    @Override // android.view.Menu
    public boolean performIdentifierAction(int i, int i2) {
        return ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).performIdentifierAction(i, i2);
    }

    @Override // android.view.Menu
    public boolean performShortcut(int i, KeyEvent keyEvent, int i2) {
        return ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).performShortcut(i, keyEvent, i2);
    }

    @Override // android.view.Menu
    public void removeGroup(int i) {
        KQgRr5e_0(i);
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).removeGroup(i);
    }

    @Override // android.view.Menu
    public void removeItem(int i) {
        QxJ9d_1(i);
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).removeItem(i);
    }

    @Override // android.view.Menu
    public void setGroupCheckable(int i, boolean z, boolean z2) {
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).setGroupCheckable(i, z, z2);
    }

    @Override // android.view.Menu
    public void setGroupEnabled(int i, boolean z) {
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).setGroupEnabled(i, z);
    }

    @Override // android.view.Menu
    public void setGroupVisible(int i, boolean z) {
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).setGroupVisible(i, z);
    }

    @Override // android.view.Menu
    public void setQwertyMode(boolean z) {
        ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).setQwertyMode(z);
    }

    @Override // android.view.Menu
    public int size() {
        return ((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).size();
    }

    @Override // android.view.Menu
    public MenuItem add(int i) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).add(i));
    }

    @Override // android.view.Menu
    public SubMenu addSubMenu(int i) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).addSubMenu(i));
    }

    @Override // android.view.Menu
    public MenuItem add(int i, int i2, int i3, CharSequence charSequence) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).add(i, i2, i3, charSequence));
    }

    @Override // android.view.Menu
    public SubMenu addSubMenu(int i, int i2, int i3, CharSequence charSequence) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).addSubMenu(i, i2, i3, charSequence));
    }

    @Override // android.view.Menu
    public MenuItem add(int i, int i2, int i3, int i4) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).add(i, i2, i3, i4));
    }

    @Override // android.view.Menu
    public SubMenu addSubMenu(int i, int i2, int i3, int i4) {
        return KQgRr5e_0(((X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0) ((Mqv2r_3) this).KQgRr5e_0).addSubMenu(i, i2, i3, i4));
    }
}
