package androidx.recyclerview.widget;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.View;
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.GridView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import c.n.c.m;
import java.util.Arrays;
import java.util.Objects;

/* JADX INFO: loaded from: classes.dex */
public class GridLayoutManager extends LinearLayoutManager {
    public boolean F;
    public int G;
    public int[] H;
    public View[] I;
    public final SparseIntArray J;
    public final SparseIntArray K;
    public c L;
    public final Rect M;

    public static final class a extends c {
    }

    public static abstract class c {
        public final SparseIntArray a = new SparseIntArray();

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public final SparseIntArray f395b = new SparseIntArray();

        public int a(int i2, int i3) {
            int i4 = 0;
            int i5 = 0;
            for (int i6 = 0; i6 < i2; i6++) {
                i4++;
                if (i4 == i3) {
                    i5++;
                    i4 = 0;
                } else if (i4 > i3) {
                    i5++;
                    i4 = 1;
                }
            }
            return i4 + 1 > i3 ? i5 + 1 : i5;
        }
    }

    public GridLayoutManager(Context context, AttributeSet attributeSet, int i2, int i3) {
        super(context, attributeSet, i2, i3);
        this.F = false;
        this.G = -1;
        this.J = new SparseIntArray();
        this.K = new SparseIntArray();
        this.L = new a();
        this.M = new Rect();
        int i4 = RecyclerView.m.M(context, attributeSet, i2, i3).f447b;
        if (i4 == this.G) {
            return;
        }
        this.F = true;
        if (i4 < 1) {
            throw new IllegalArgumentException(d.b.a.a.a.j("Span count should be at least 1. Provided ", i4));
        }
        this.G = i4;
        this.L.a.clear();
        F0();
    }

    public final int A1(RecyclerView.s sVar, RecyclerView.v vVar, int i2) {
        if (!vVar.f469f) {
            c cVar = this.L;
            int i3 = this.G;
            Objects.requireNonNull(cVar);
            return i2 % i3;
        }
        int i4 = this.K.get(i2, -1);
        if (i4 != -1) {
            return i4;
        }
        int iC = sVar.c(i2);
        if (iC != -1) {
            c cVar2 = this.L;
            int i5 = this.G;
            Objects.requireNonNull(cVar2);
            return iC % i5;
        }
        Log.w("GridLayoutManager", "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:" + i2);
        return 0;
    }

    public final int B1(RecyclerView.s sVar, RecyclerView.v vVar, int i2) {
        if (!vVar.f469f) {
            Objects.requireNonNull(this.L);
            return 1;
        }
        int i3 = this.J.get(i2, -1);
        if (i3 != -1) {
            return i3;
        }
        if (sVar.c(i2) != -1) {
            Objects.requireNonNull(this.L);
            return 1;
        }
        Log.w("GridLayoutManager", "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:" + i2);
        return 1;
    }

    public final void C1(View view, int i2, boolean z) {
        int iY;
        int iY2;
        b bVar = (b) view.getLayoutParams();
        Rect rect = bVar.f450b;
        int i3 = rect.top + rect.bottom + ((ViewGroup.MarginLayoutParams) bVar).topMargin + ((ViewGroup.MarginLayoutParams) bVar).bottomMargin;
        int i4 = rect.left + rect.right + ((ViewGroup.MarginLayoutParams) bVar).leftMargin + ((ViewGroup.MarginLayoutParams) bVar).rightMargin;
        int iY1 = y1(bVar.f393e, bVar.f394f);
        if (this.q == 1) {
            iY2 = RecyclerView.m.y(iY1, i2, i4, ((ViewGroup.MarginLayoutParams) bVar).width, false);
            iY = RecyclerView.m.y(this.s.l(), this.n, i3, ((ViewGroup.MarginLayoutParams) bVar).height, true);
        } else {
            int iY3 = RecyclerView.m.y(iY1, i2, i3, ((ViewGroup.MarginLayoutParams) bVar).height, false);
            int iY4 = RecyclerView.m.y(this.s.l(), this.m, i4, ((ViewGroup.MarginLayoutParams) bVar).width, true);
            iY = iY3;
            iY2 = iY4;
        }
        D1(view, iY2, iY, z);
    }

    public final void D1(View view, int i2, int i3, boolean z) {
        RecyclerView.n nVar = (RecyclerView.n) view.getLayoutParams();
        if (z ? P0(view, i2, i3, nVar) : N0(view, i2, i3, nVar)) {
            view.measure(i2, i3);
        }
    }

    public final void E1() {
        int iH;
        int iK;
        if (this.q == 1) {
            iH = this.o - J();
            iK = I();
        } else {
            iH = this.p - H();
            iK = K();
        }
        w1(iH - iK);
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int G0(int i2, RecyclerView.s sVar, RecyclerView.v vVar) {
        E1();
        x1();
        if (this.q == 1) {
            return 0;
        }
        return q1(i2, sVar, vVar);
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int H0(int i2, RecyclerView.s sVar, RecyclerView.v vVar) {
        E1();
        x1();
        if (this.q == 0) {
            return 0;
        }
        return q1(i2, sVar, vVar);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void K0(Rect rect, int i2, int i3) {
        int iG;
        int iG2;
        if (this.H == null) {
            super.K0(rect, i2, i3);
        }
        int iJ = J() + I();
        int iH = H() + K();
        if (this.q == 1) {
            iG2 = RecyclerView.m.g(i3, rect.height() + iH, F());
            int[] iArr = this.H;
            iG = RecyclerView.m.g(i2, iArr[iArr.length - 1] + iJ, G());
        } else {
            iG = RecyclerView.m.g(i2, rect.width() + iJ, G());
            int[] iArr2 = this.H;
            iG2 = RecyclerView.m.g(i3, iArr2[iArr2.length - 1] + iH, F());
        }
        this.f436b.setMeasuredDimension(iG, iG2);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public int N(RecyclerView.s sVar, RecyclerView.v vVar) {
        if (this.q == 0) {
            return this.G;
        }
        if (vVar.b() < 1) {
            return 0;
        }
        return z1(sVar, vVar, vVar.b() - 1) + 1;
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public boolean Q0() {
        return this.A == null && !this.F;
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public void R0(RecyclerView.v vVar, LinearLayoutManager.c cVar, RecyclerView.m.c cVar2) {
        int i2 = this.G;
        for (int i3 = 0; i3 < this.G && cVar.b(vVar) && i2 > 0; i3++) {
            ((m.b) cVar2).a(cVar.f408d, Math.max(0, cVar.f411g));
            Objects.requireNonNull(this.L);
            i2--;
            cVar.f408d += cVar.f409e;
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:57:0x00ca, code lost:
    
        if (r13 == (r2 > r15)) goto L58;
     */
    /* JADX WARN: Removed duplicated region for block: B:73:0x00f0  */
    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public android.view.View c0(android.view.View r23, int r24, androidx.recyclerview.widget.RecyclerView.s r25, androidx.recyclerview.widget.RecyclerView.v r26) {
        /*
            Method dump skipped, instruction units count: 304
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: androidx.recyclerview.widget.GridLayoutManager.c0(android.view.View, int, androidx.recyclerview.widget.RecyclerView$s, androidx.recyclerview.widget.RecyclerView$v):android.view.View");
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public View e1(RecyclerView.s sVar, RecyclerView.v vVar, boolean z, boolean z2) {
        int iX;
        int iX2 = x();
        int i2 = -1;
        int i3 = 1;
        if (z2) {
            iX = x() - 1;
            i3 = -1;
        } else {
            i2 = iX2;
            iX = 0;
        }
        int iB = vVar.b();
        W0();
        int iK = this.s.k();
        int iG = this.s.g();
        View view = null;
        View view2 = null;
        while (iX != i2) {
            View viewW = w(iX);
            int iL = L(viewW);
            if (iL >= 0 && iL < iB && A1(sVar, vVar, iL) == 0) {
                if (((RecyclerView.n) viewW.getLayoutParams()).c()) {
                    if (view2 == null) {
                        view2 = viewW;
                    }
                } else {
                    if (this.s.e(viewW) < iG && this.s.b(viewW) >= iK) {
                        return viewW;
                    }
                    if (view == null) {
                        view = viewW;
                    }
                }
            }
            iX += i3;
        }
        return view != null ? view : view2;
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public boolean f(RecyclerView.n nVar) {
        return nVar instanceof b;
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void f0(RecyclerView.s sVar, RecyclerView.v vVar, c.f.j.n0.c cVar) {
        super.f0(sVar, vVar, cVar);
        cVar.a.setClassName(GridView.class.getName());
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void h0(RecyclerView.s sVar, RecyclerView.v vVar, View view, c.f.j.n0.c cVar) {
        ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
        if (!(layoutParams instanceof b)) {
            g0(view, cVar);
            return;
        }
        b bVar = (b) layoutParams;
        int iZ1 = z1(sVar, vVar, bVar.a());
        if (this.q == 0) {
            cVar.a.setCollectionItemInfo(AccessibilityNodeInfo.CollectionItemInfo.obtain(bVar.f393e, bVar.f394f, iZ1, 1, false, false));
        } else {
            cVar.a.setCollectionItemInfo(AccessibilityNodeInfo.CollectionItemInfo.obtain(iZ1, 1, bVar.f393e, bVar.f394f, false, false));
        }
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void j0(RecyclerView recyclerView, int i2, int i3) {
        this.L.a.clear();
        this.L.f395b.clear();
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int k(RecyclerView.v vVar) {
        return T0(vVar);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void k0(RecyclerView recyclerView) {
        this.L.a.clear();
        this.L.f395b.clear();
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r11v26 */
    /* JADX WARN: Type inference failed for: r11v27, types: [boolean, int] */
    /* JADX WARN: Type inference failed for: r11v35 */
    /* JADX WARN: Type inference failed for: r11v36 */
    /* JADX WARN: Type inference failed for: r11v42 */
    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public void k1(RecyclerView.s sVar, RecyclerView.v vVar, LinearLayoutManager.c cVar, LinearLayoutManager.b bVar) {
        int i2;
        int i3;
        int i4;
        int i5;
        int i6;
        int i7;
        int i8;
        int i9;
        int i10;
        int i11;
        int i12;
        int iD;
        int I;
        int iD2;
        int i13;
        int i14;
        int iY;
        int iY2;
        ?? r11;
        View viewC;
        int iJ = this.s.j();
        boolean z = iJ != 1073741824;
        int i15 = x() > 0 ? this.H[this.G] : 0;
        if (z) {
            E1();
        }
        boolean z2 = cVar.f409e == 1;
        int iA1 = this.G;
        if (!z2) {
            iA1 = A1(sVar, vVar, cVar.f408d) + B1(sVar, vVar, cVar.f408d);
        }
        int i16 = 0;
        while (i16 < this.G && cVar.b(vVar) && iA1 > 0) {
            int i17 = cVar.f408d;
            int iB1 = B1(sVar, vVar, i17);
            if (iB1 > this.G) {
                StringBuilder sb = new StringBuilder();
                sb.append("Item at position ");
                sb.append(i17);
                sb.append(" requires ");
                sb.append(iB1);
                sb.append(" spans but GridLayoutManager has only ");
                throw new IllegalArgumentException(d.b.a.a.a.s(sb, this.G, " spans."));
            }
            iA1 -= iB1;
            if (iA1 < 0 || (viewC = cVar.c(sVar)) == null) {
                break;
            }
            this.I[i16] = viewC;
            i16++;
        }
        if (i16 == 0) {
            bVar.f403b = true;
            return;
        }
        if (z2) {
            i4 = 1;
            i3 = i16;
            i2 = 0;
        } else {
            i2 = i16 - 1;
            i3 = -1;
            i4 = -1;
        }
        int i18 = 0;
        while (i2 != i3) {
            View view = this.I[i2];
            b bVar2 = (b) view.getLayoutParams();
            int iB12 = B1(sVar, vVar, L(view));
            bVar2.f394f = iB12;
            bVar2.f393e = i18;
            i18 += iB12;
            i2 += i4;
        }
        float f2 = 0.0f;
        int i19 = 0;
        for (int i20 = 0; i20 < i16; i20++) {
            View view2 = this.I[i20];
            if (cVar.f415k != null) {
                r11 = 0;
                r11 = 0;
                if (z2) {
                    b(view2, -1, true);
                } else {
                    b(view2, 0, true);
                }
            } else if (z2) {
                a(view2);
                r11 = 0;
            } else {
                r11 = 0;
                b(view2, 0, false);
            }
            Rect rect = this.M;
            RecyclerView recyclerView = this.f436b;
            if (recyclerView == null) {
                rect.set(r11, r11, r11, r11);
            } else {
                rect.set(recyclerView.K(view2));
            }
            C1(view2, iJ, r11);
            int iC = this.s.c(view2);
            if (iC > i19) {
                i19 = iC;
            }
            float fD = (this.s.d(view2) * 1.0f) / ((b) view2.getLayoutParams()).f394f;
            if (fD > f2) {
                f2 = fD;
            }
        }
        if (z) {
            w1(Math.max(Math.round(f2 * this.G), i15));
            i19 = 0;
            for (int i21 = 0; i21 < i16; i21++) {
                View view3 = this.I[i21];
                C1(view3, 1073741824, true);
                int iC2 = this.s.c(view3);
                if (iC2 > i19) {
                    i19 = iC2;
                }
            }
        }
        for (int i22 = 0; i22 < i16; i22++) {
            View view4 = this.I[i22];
            if (this.s.c(view4) != i19) {
                b bVar3 = (b) view4.getLayoutParams();
                Rect rect2 = bVar3.f450b;
                int i23 = rect2.top + rect2.bottom + ((ViewGroup.MarginLayoutParams) bVar3).topMargin + ((ViewGroup.MarginLayoutParams) bVar3).bottomMargin;
                int i24 = rect2.left + rect2.right + ((ViewGroup.MarginLayoutParams) bVar3).leftMargin + ((ViewGroup.MarginLayoutParams) bVar3).rightMargin;
                int iY1 = y1(bVar3.f393e, bVar3.f394f);
                if (this.q == 1) {
                    iY2 = RecyclerView.m.y(iY1, 1073741824, i24, ((ViewGroup.MarginLayoutParams) bVar3).width, false);
                    iY = View.MeasureSpec.makeMeasureSpec(i19 - i23, 1073741824);
                } else {
                    int iMakeMeasureSpec = View.MeasureSpec.makeMeasureSpec(i19 - i24, 1073741824);
                    iY = RecyclerView.m.y(iY1, 1073741824, i23, ((ViewGroup.MarginLayoutParams) bVar3).height, false);
                    iY2 = iMakeMeasureSpec;
                }
                D1(view4, iY2, iY, true);
            }
        }
        bVar.a = i19;
        if (this.q == 1) {
            if (cVar.f410f == -1) {
                i14 = cVar.f406b;
                i13 = i14 - i19;
            } else {
                int i25 = cVar.f406b;
                i13 = i25;
                i14 = i19 + i25;
            }
            i8 = i13;
            i7 = 0;
            i9 = i14;
            i6 = 0;
        } else {
            if (cVar.f410f == -1) {
                i6 = cVar.f406b;
                i5 = i6 - i19;
            } else {
                int i26 = cVar.f406b;
                i5 = i26;
                i6 = i19 + i26;
            }
            i7 = i5;
            i8 = 0;
            i9 = 0;
        }
        int i27 = 0;
        while (i27 < i16) {
            View view5 = this.I[i27];
            b bVar4 = (b) view5.getLayoutParams();
            if (this.q == 1) {
                if (j1()) {
                    iD2 = I() + this.H[this.G - bVar4.f393e];
                    I = iD2 - this.s.d(view5);
                } else {
                    I = this.H[bVar4.f393e] + I();
                    iD2 = this.s.d(view5) + I;
                }
                i11 = I;
                i12 = i8;
                iD = i9;
                i10 = iD2;
            } else {
                int iK = K() + this.H[bVar4.f393e];
                i10 = i6;
                i11 = i7;
                i12 = iK;
                iD = this.s.d(view5) + iK;
            }
            U(view5, i11, i12, i10, iD);
            if (bVar4.c() || bVar4.b()) {
                bVar.f404c = true;
            }
            bVar.f405d |= view5.hasFocusable();
            i27++;
            i6 = i10;
            i7 = i11;
            i8 = i12;
            i9 = iD;
        }
        Arrays.fill(this.I, (Object) null);
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int l(RecyclerView.v vVar) {
        return U0(vVar);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void l0(RecyclerView recyclerView, int i2, int i3, int i4) {
        this.L.a.clear();
        this.L.f395b.clear();
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public void l1(RecyclerView.s sVar, RecyclerView.v vVar, LinearLayoutManager.a aVar, int i2) {
        E1();
        if (vVar.b() > 0 && !vVar.f469f) {
            boolean z = i2 == 1;
            int iA1 = A1(sVar, vVar, aVar.f399b);
            if (z) {
                while (iA1 > 0) {
                    int i3 = aVar.f399b;
                    if (i3 <= 0) {
                        break;
                    }
                    int i4 = i3 - 1;
                    aVar.f399b = i4;
                    iA1 = A1(sVar, vVar, i4);
                }
            } else {
                int iB = vVar.b() - 1;
                int i5 = aVar.f399b;
                while (i5 < iB) {
                    int i6 = i5 + 1;
                    int iA12 = A1(sVar, vVar, i6);
                    if (iA12 <= iA1) {
                        break;
                    }
                    i5 = i6;
                    iA1 = iA12;
                }
                aVar.f399b = i5;
            }
        }
        x1();
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void m0(RecyclerView recyclerView, int i2, int i3) {
        this.L.a.clear();
        this.L.f395b.clear();
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int n(RecyclerView.v vVar) {
        return T0(vVar);
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public int o(RecyclerView.v vVar) {
        return U0(vVar);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public void o0(RecyclerView recyclerView, int i2, int i3, Object obj) {
        this.L.a.clear();
        this.L.f395b.clear();
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public void p0(RecyclerView.s sVar, RecyclerView.v vVar) {
        if (vVar.f469f) {
            int iX = x();
            for (int i2 = 0; i2 < iX; i2++) {
                b bVar = (b) w(i2).getLayoutParams();
                int iA = bVar.a();
                this.J.put(iA, bVar.f394f);
                this.K.put(iA, bVar.f393e);
            }
        }
        super.p0(sVar, vVar);
        this.J.clear();
        this.K.clear();
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public void q0(RecyclerView.v vVar) {
        this.A = null;
        this.y = -1;
        this.z = Integer.MIN_VALUE;
        this.B.d();
        this.F = false;
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager
    public void s1(boolean z) {
        if (z) {
            throw new UnsupportedOperationException("GridLayoutManager does not support stack from end. Consider using reverse layout");
        }
        c(null);
        if (this.w) {
            this.w = false;
            F0();
        }
    }

    @Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.m
    public RecyclerView.n t() {
        return this.q == 0 ? new b(-2, -1) : new b(-1, -2);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public RecyclerView.n u(Context context, AttributeSet attributeSet) {
        return new b(context, attributeSet);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public RecyclerView.n v(ViewGroup.LayoutParams layoutParams) {
        return layoutParams instanceof ViewGroup.MarginLayoutParams ? new b((ViewGroup.MarginLayoutParams) layoutParams) : new b(layoutParams);
    }

    public final void w1(int i2) {
        int i3;
        int[] iArr = this.H;
        int i4 = this.G;
        if (iArr == null || iArr.length != i4 + 1 || iArr[iArr.length - 1] != i2) {
            iArr = new int[i4 + 1];
        }
        int i5 = 0;
        iArr[0] = 0;
        int i6 = i2 / i4;
        int i7 = i2 % i4;
        int i8 = 0;
        for (int i9 = 1; i9 <= i4; i9++) {
            i5 += i7;
            if (i5 <= 0 || i4 - i5 >= i7) {
                i3 = i6;
            } else {
                i3 = i6 + 1;
                i5 -= i4;
            }
            i8 += i3;
            iArr[i9] = i8;
        }
        this.H = iArr;
    }

    public final void x1() {
        View[] viewArr = this.I;
        if (viewArr == null || viewArr.length != this.G) {
            this.I = new View[this.G];
        }
    }

    public int y1(int i2, int i3) {
        if (this.q != 1 || !j1()) {
            int[] iArr = this.H;
            return iArr[i3 + i2] - iArr[i2];
        }
        int[] iArr2 = this.H;
        int i4 = this.G;
        return iArr2[i4 - i2] - iArr2[(i4 - i2) - i3];
    }

    @Override // androidx.recyclerview.widget.RecyclerView.m
    public int z(RecyclerView.s sVar, RecyclerView.v vVar) {
        if (this.q == 1) {
            return this.G;
        }
        if (vVar.b() < 1) {
            return 0;
        }
        return z1(sVar, vVar, vVar.b() - 1) + 1;
    }

    public final int z1(RecyclerView.s sVar, RecyclerView.v vVar, int i2) {
        if (!vVar.f469f) {
            return this.L.a(i2, this.G);
        }
        int iC = sVar.c(i2);
        if (iC != -1) {
            return this.L.a(iC, this.G);
        }
        Log.w("GridLayoutManager", "Cannot find span size for pre layout position. " + i2);
        return 0;
    }

    public static class b extends RecyclerView.n {

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

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

        public b(Context context, AttributeSet attributeSet) {
            super(context, attributeSet);
            this.f393e = -1;
            this.f394f = 0;
        }

        public b(int i2, int i3) {
            super(i2, i3);
            this.f393e = -1;
            this.f394f = 0;
        }

        public b(ViewGroup.MarginLayoutParams marginLayoutParams) {
            super(marginLayoutParams);
            this.f393e = -1;
            this.f394f = 0;
        }

        public b(ViewGroup.LayoutParams layoutParams) {
            super(layoutParams);
            this.f393e = -1;
            this.f394f = 0;
        }
    }
}
