package androidx.leanback.widget;

import android.graphics.PointF;
import android.view.View;

/* JADX INFO: renamed from: androidx.leanback.widget.n, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1082n extends AbstractC1080l {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final boolean f12014r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public int f12015s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final /* synthetic */ C1084p f12016t;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1082n(C1084p c1084p, int i6, boolean z6) {
        super(c1084p);
        this.f12016t = c1084p;
        this.f12015s = i6;
        this.f12014r = z6;
        this.f11992a = -2;
    }

    @Override // androidx.leanback.widget.AbstractC1080l
    public final PointF b(int i6) {
        int i7 = this.f12015s;
        if (i7 == 0) {
            return null;
        }
        C1084p c1084p = this.f12016t;
        int i8 = ((c1084p.f12057z & 262144) == 0 ? i7 >= 0 : i7 <= 0) ? 1 : -1;
        return c1084p.f12049r == 0 ? new PointF(i8, 0.0f) : new PointF(0.0f, i8);
    }

    @Override // androidx.leanback.widget.AbstractC1080l
    public final void d() {
        super.d();
        this.f12015s = 0;
        View viewR = this.f11993b.f12946q.r(this.f11992a);
        if (viewR != null) {
            C1084p c1084p = this.f12016t;
            c1084p.getClass();
            c1084p.n1(viewR, viewR.findFocus(), true, 0, 0);
        }
    }

    @Override // androidx.leanback.widget.AbstractC1080l
    public final void f(androidx.recyclerview.widget.U u6) {
        if (this.f12015s == 0) {
            return;
        }
        super.f(u6);
    }
}
