package defpackage;

import android.view.MenuItem;
import androidx.leanback.widget.HorizontalGridView;

/* renamed from: ʾˑᵧˉ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final /* synthetic */ class C0264 implements InterfaceC2230, InterfaceC5394, InterfaceC1785, InterfaceC1777 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final /* synthetic */ Object f1846;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f1847;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ Object f1848;

    public /* synthetic */ C0264(int i, C1294 c1294, C1294 c12942) {
        this.f1847 = i;
        this.f1846 = c1294;
        this.f1848 = c12942;
    }

    public /* synthetic */ C0264(Object obj, int i, Object obj2) {
        this.f1846 = obj;
        this.f1848 = obj2;
        this.f1847 = i;
    }

    public /* synthetic */ C0264(InterfaceC2262 interfaceC2262, int i, InterfaceC3759 interfaceC3759) {
        this.f1846 = interfaceC2262;
        this.f1847 = i;
        this.f1848 = interfaceC3759;
    }

    @Override // defpackage.InterfaceC1785
    public boolean onMenuItemClick(MenuItem menuItem) {
        ᵢᵸʽ r0 = (ᵢᵸʽ) this.f1846;
        ˎᵿᵙ r1 = (ˎᵿᵙ) this.f1848;
        int i = this.f1847;
        InterfaceC4302[] interfaceC4302Arr = ᵢᵸʽ.ᵛˎᵖʒ;
        if (!ᵹˉ.ᵥᵯˎ) {
            r0.ˀʥᵝᵝ(true);
            ᵲᵝᵪ.ᵪᵛʿ(r0);
            return false;
        }
        if (menuItem.getItemId() != 1) {
            return false;
        }
        ᵚᵚʽ adapter = ((HorizontalGridView) r1.ˎˏʜʾ).getAdapter();
        ᵚᵚʽ r7 = adapter instanceof ᵚᵚʽ ? adapter : null;
        ᵖˋˑ r6 = r7 != null ? r7.ᵳٴᵶ(i) : null;
        ᵯᵤᵔᵞ r62 = r6 instanceof ᵯᵤᵔᵞ ? (ᵯᵤᵔᵞ) r6 : null;
        if (r62 != null) {
            ᵮʛˀ.ᵞʡ(ᵹˉ.ˀᵗᵩ(r0), (InterfaceC2262) null, 0, new ˁᵳˆ(r0, r62, (InterfaceC4943) null, 5), 3);
        }
        return true;
    }

    @Override // defpackage.InterfaceC5394
    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public Object mo1597(C1864 c1864) {
        InterfaceC2262 interfaceC2262 = (InterfaceC2262) this.f1846;
        InterfaceC3759 interfaceC3759 = (InterfaceC3759) this.f1848;
        RunnableC1600 runnableC1600 = new RunnableC1600(0, (InterfaceC3506) interfaceC2262.mo1764(ʾᵠᵦ.ᵾᵬ));
        C0619 c0619 = c1864.f7557;
        if (c0619 != null) {
            c0619.mo833(runnableC1600, EnumC3215.f12144);
        }
        return ᵮʛˀ.ᵞʡ(ᵳʿˉ.ᵥᵯˎ(interfaceC2262), (InterfaceC2262) null, this.f1847, new ᵟᵪ(interfaceC3759, c1864, (InterfaceC4943) null, 0), 1);
    }

    @Override // defpackage.InterfaceC1777
    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public Object mo1598() {
        C0975 c0975 = (C0975) this.f1846;
        ((ʽᵡ) c0975.f4346).ᵤᵼˑʠ((C5456) this.f1848, this.f1847 + 1, false);
        return null;
    }

    @Override // defpackage.InterfaceC2230
    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public void mo1599(Object obj) {
        C1294 c1294 = (C1294) this.f1846;
        C1294 c12942 = (C1294) this.f1848;
        InterfaceC3811 interfaceC3811 = (InterfaceC3811) obj;
        interfaceC3811.getClass();
        interfaceC3811.mo1966(this.f1847, c1294, c12942);
    }
}
