package o; import o.C17026tNn; import o.zvH; /* loaded from: classes.dex */ public class ZXE extends NsV { public int aP = 0; public int aJ = 0; public int aH = 0; public int aI = 0; public int aK = 0; public int aL = 0; public int aQ = 0; public int aN = 0; public boolean aG = false; public int aC = 0; public int aE = 0; private zvH.Sts a = new zvH.Sts(); private zvH.RVV c = null; public void c(int i, int i2, int i3, int i4) { } @Override // o.NsV, o.InterfaceC15462grE public final void j() { e(); } public final void e() { for (int i = 0; i < ((NsV) this).aF; i++) { C17026tNn c17026tNn = ((NsV) this).aD[i]; if (c17026tNn != null) { c17026tNn.w = true; } } } /* JADX INFO: Access modifiers changed from: protected */ public final boolean x() { zvH.RVV rvv = this.S != null ? ((WqU) this.S).ao : null; if (rvv == null) { return false; } int i = 0; while (true) { if (i >= ((NsV) this).aF) { return true; } C17026tNn c17026tNn = ((NsV) this).aD[i]; if (c17026tNn != null && !(c17026tNn instanceof WAE)) { C17026tNn.LWm lWm = c17026tNn.B[0]; C17026tNn.LWm lWm2 = c17026tNn.B[1]; if (lWm != C17026tNn.LWm.MATCH_CONSTRAINT || c17026tNn.H == 1 || lWm2 != C17026tNn.LWm.MATCH_CONSTRAINT || c17026tNn.I == 1) { if (lWm == C17026tNn.LWm.MATCH_CONSTRAINT) { lWm = C17026tNn.LWm.WRAP_CONTENT; } if (lWm2 == C17026tNn.LWm.MATCH_CONSTRAINT) { lWm2 = C17026tNn.LWm.WRAP_CONTENT; } this.a.e = lWm; this.a.h = lWm2; this.a.a = c17026tNn.Z == 8 ? 0 : c17026tNn.ac; this.a.j = c17026tNn.Z == 8 ? 0 : c17026tNn.p; rvv.a(c17026tNn, this.a); c17026tNn.i(this.a.g); c17026tNn.c(this.a.f); int i2 = this.a.d; c17026tNn.k = i2; c17026tNn.d = i2 > 0; } } i++; } } /* JADX INFO: Access modifiers changed from: protected */ public final void a(C17026tNn c17026tNn, C17026tNn.LWm lWm, int i, C17026tNn.LWm lWm2, int i2) { while (this.c == null && this.S != null) { this.c = ((WqU) this.S).ao; } this.a.e = lWm; this.a.h = lWm2; this.a.a = i; this.a.j = i2; this.c.a(c17026tNn, this.a); c17026tNn.i(this.a.g); c17026tNn.c(this.a.f); c17026tNn.d = this.a.b; int i3 = this.a.d; c17026tNn.k = i3; c17026tNn.d = i3 > 0; } }