package o; 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; /* loaded from: classes.dex */ public class ZBy extends AbstractC1032UcS implements Menu { private final InterfaceMenuC13010fNw c; public ZBy(Context context, InterfaceMenuC13010fNw interfaceMenuC13010fNw) { super(context); if (interfaceMenuC13010fNw == null) { throw new IllegalArgumentException("Wrapped Object can not be null."); } this.c = interfaceMenuC13010fNw; } @Override // android.view.Menu public MenuItem add(CharSequence charSequence) { return ex_(this.c.add(charSequence)); } @Override // android.view.Menu public MenuItem add(int i) { return ex_(this.c.add(i)); } @Override // android.view.Menu public MenuItem add(int i, int i2, int i3, CharSequence charSequence) { return ex_(this.c.add(i, i2, i3, charSequence)); } @Override // android.view.Menu public MenuItem add(int i, int i2, int i3, int i4) { return ex_(this.c.add(i, i2, i3, i4)); } @Override // android.view.Menu public SubMenu addSubMenu(CharSequence charSequence) { return ey_(this.c.addSubMenu(charSequence)); } @Override // android.view.Menu public SubMenu addSubMenu(int i) { return ey_(this.c.addSubMenu(i)); } @Override // android.view.Menu public SubMenu addSubMenu(int i, int i2, int i3, CharSequence charSequence) { return ey_(this.c.addSubMenu(i, i2, i3, charSequence)); } @Override // android.view.Menu public SubMenu addSubMenu(int i, int i2, int i3, int i4) { return ey_(this.c.addSubMenu(i, i2, i3, i4)); } @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 = this.c.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] = ex_(menuItemArr2[i5]); } } return addIntentOptions; } @Override // android.view.Menu public void removeItem(int i) { c(i); this.c.removeItem(i); } @Override // android.view.Menu public void removeGroup(int i) { e(i); this.c.removeGroup(i); } @Override // android.view.Menu public void clear() { e(); this.c.clear(); } @Override // android.view.Menu public void setGroupCheckable(int i, boolean z, boolean z2) { this.c.setGroupCheckable(i, z, z2); } @Override // android.view.Menu public void setGroupVisible(int i, boolean z) { this.c.setGroupVisible(i, z); } @Override // android.view.Menu public void setGroupEnabled(int i, boolean z) { this.c.setGroupEnabled(i, z); } @Override // android.view.Menu public boolean hasVisibleItems() { return this.c.hasVisibleItems(); } @Override // android.view.Menu public MenuItem findItem(int i) { return ex_(this.c.findItem(i)); } @Override // android.view.Menu public int size() { return this.c.size(); } @Override // android.view.Menu public MenuItem getItem(int i) { return ex_(this.c.getItem(i)); } @Override // android.view.Menu public void close() { this.c.close(); } @Override // android.view.Menu public boolean performShortcut(int i, KeyEvent keyEvent, int i2) { return this.c.performShortcut(i, keyEvent, i2); } @Override // android.view.Menu public boolean isShortcutKey(int i, KeyEvent keyEvent) { return this.c.isShortcutKey(i, keyEvent); } @Override // android.view.Menu public boolean performIdentifierAction(int i, int i2) { return this.c.performIdentifierAction(i, i2); } @Override // android.view.Menu public void setQwertyMode(boolean z) { this.c.setQwertyMode(z); } }