what-the-bank/sources/o/SubMenuC16744qqn.java

130 lines
3.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
import androidx.appcompat.view.menu.MenuItemImpl;
import o.NoP;
/* renamed from: o.qqn, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class SubMenuC16744qqn extends NoP implements SubMenu {
public NoP q;
private MenuItemImpl s;
public SubMenuC16744qqn(Context context, NoP noP, MenuItemImpl menuItemImpl) {
super(context);
this.q = noP;
this.s = menuItemImpl;
}
@Override // o.NoP, android.view.Menu
public final void setQwertyMode(boolean z) {
this.q.setQwertyMode(z);
}
@Override // o.NoP
public final boolean g() {
return this.q.g();
}
@Override // o.NoP
public final boolean h() {
return this.q.h();
}
@Override // o.NoP
public final void d(NoP.Sts sts) {
this.q.d(sts);
}
@Override // o.NoP
public final NoP b() {
return this.q.b();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.NoP
public final boolean fe_(NoP noP, MenuItem menuItem) {
return super.fe_(noP, menuItem) || this.q.fe_(noP, menuItem);
}
@Override // android.view.SubMenu
public final SubMenu setIcon(Drawable drawable) {
this.s.setIcon(drawable);
return this;
}
@Override // android.view.SubMenu
public final SubMenu setIcon(int i) {
this.s.setIcon(i);
return this;
}
@Override // android.view.SubMenu
public final SubMenu setHeaderIcon(Drawable drawable) {
return (SubMenu) super.eP_(drawable);
}
@Override // android.view.SubMenu
public final SubMenu setHeaderIcon(int i) {
return (SubMenu) super.b(i);
}
@Override // android.view.SubMenu
public final SubMenu setHeaderTitle(CharSequence charSequence) {
return (SubMenu) super.c(charSequence);
}
@Override // android.view.SubMenu
public final SubMenu setHeaderTitle(int i) {
return (SubMenu) super.d(i);
}
@Override // android.view.SubMenu
public final SubMenu setHeaderView(View view) {
return (SubMenu) super.a(view);
}
@Override // o.NoP
public final boolean e(MenuItemImpl menuItemImpl) {
return this.q.e(menuItemImpl);
}
@Override // o.NoP
public final boolean c(MenuItemImpl menuItemImpl) {
return this.q.c(menuItemImpl);
}
@Override // o.NoP
public final String c() {
MenuItemImpl menuItemImpl = this.s;
int itemId = menuItemImpl != null ? menuItemImpl.getItemId() : 0;
if (itemId == 0) {
return null;
}
StringBuilder sb = new StringBuilder();
sb.append(super.c());
sb.append(":");
sb.append(itemId);
return sb.toString();
}
@Override // o.NoP, android.view.Menu
public final void setGroupDividerEnabled(boolean z) {
this.q.setGroupDividerEnabled(z);
}
@Override // o.NoP
public final boolean e() {
return this.q.e();
}
@Override // android.view.SubMenu
public final MenuItem getItem() {
return this.s;
}
}