package ῲ.ῲ.ඓ.㳳;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
import com.facebook.internal.security.CertificateUtil;
import ῲ.ῲ.ඓ.㳳.C1912;

/* renamed from: ῲ.ῲ.ඓ.㳳.ݜ  reason: contains not printable characters */
/* compiled from: SubMenuBuilder */
public class SubMenuC1900 extends C1912 implements SubMenu {
    public C1922 mItem;
    public C1912 mParentMenu;

    public SubMenuC1900(Context context, C1912 r2, C1922 r3) {
        super(context);
        this.mParentMenu = r2;
        this.mItem = r3;
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean collapseItemActionView(C1922 r2) {
        return this.mParentMenu.collapseItemActionView(r2);
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean dispatchMenuItemSelected(C1912 r2, MenuItem menuItem) {
        return super.dispatchMenuItemSelected(r2, menuItem) || this.mParentMenu.dispatchMenuItemSelected(r2, menuItem);
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean expandItemActionView(C1922 r2) {
        return this.mParentMenu.expandItemActionView(r2);
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public String getActionViewStatesKey() {
        C1922 r0 = this.mItem;
        int i = r0 != null ? r0.f6529 : 0;
        if (i == 0) {
            return null;
        }
        return super.getActionViewStatesKey() + CertificateUtil.DELIMITER + i;
    }

    public MenuItem getItem() {
        return this.mItem;
    }

    public Menu getParentMenu() {
        return this.mParentMenu;
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public C1912 getRootMenu() {
        return this.mParentMenu.getRootMenu();
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean isGroupDividerEnabled() {
        return this.mParentMenu.isGroupDividerEnabled();
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean isQwertyMode() {
        return this.mParentMenu.isQwertyMode();
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public boolean isShortcutsVisible() {
        return this.mParentMenu.isShortcutsVisible();
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public void setCallback(C1912.AbstractC1914 k) {
        this.mParentMenu.setCallback(k);
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public void setGroupDividerEnabled(boolean z) {
        this.mParentMenu.setGroupDividerEnabled(z);
    }

    @Override // android.view.SubMenu
    public SubMenu setHeaderIcon(Drawable drawable) {
        return (SubMenu) super.setHeaderIconInt(drawable);
    }

    @Override // android.view.SubMenu
    public SubMenu setHeaderTitle(CharSequence charSequence) {
        return (SubMenu) super.setHeaderTitleInt(charSequence);
    }

    public SubMenu setHeaderView(View view) {
        return (SubMenu) super.setHeaderViewInt(view);
    }

    @Override // android.view.SubMenu
    public SubMenu setIcon(Drawable drawable) {
        this.mItem.setIcon(drawable);
        return this;
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public void setQwertyMode(boolean z) {
        this.mParentMenu.setQwertyMode(z);
    }

    @Override // ῲ.ῲ.ඓ.㳳.C1912
    public void setShortcutsVisible(boolean z) {
        this.mParentMenu.setShortcutsVisible(z);
    }

    @Override // android.view.SubMenu
    public SubMenu setHeaderIcon(int i) {
        return (SubMenu) super.setHeaderIconInt(i);
    }

    @Override // android.view.SubMenu
    public SubMenu setHeaderTitle(int i) {
        return (SubMenu) super.setHeaderTitleInt(i);
    }

    @Override // android.view.SubMenu
    public SubMenu setIcon(int i) {
        this.mItem.setIcon(i);
        return this;
    }
}
