package o;

import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class SN extends LinearLayoutManager {
    public final /* synthetic */ int E;
    public final /* synthetic */ VN F;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public SN(VN vn, int i, int i2) {
        super(i);
        this.F = vn;
        this.E = i2;
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public final void A0(C2204q10 c2204q10, int[] iArr) {
        int i = this.E;
        VN vn = this.F;
        if (i == 0) {
            iArr[0] = vn.s.getWidth();
            iArr[1] = vn.s.getWidth();
        } else {
            iArr[0] = vn.s.getHeight();
            iArr[1] = vn.s.getHeight();
        }
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, o.AbstractC1157f10
    public final void x0(RecyclerView recyclerView, int i) {
        C0188Hg c0188Hg = new C0188Hg(recyclerView.getContext());
        c0188Hg.a = i;
        y0(c0188Hg);
    }
}
