148 lines
4.6 KiB
Java
148 lines
4.6 KiB
Java
package o;
|
|
|
|
import java.util.Iterator;
|
|
import o.KMk;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public final class AXW extends Bgk {
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.Bgk
|
|
public final boolean d() {
|
|
return false;
|
|
}
|
|
|
|
public AXW(C17026tNn c17026tNn) {
|
|
super(c17026tNn);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.Bgk
|
|
public final void e() {
|
|
this.h = null;
|
|
this.f8108o.e();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.Bgk
|
|
public final void a() {
|
|
if (this.l instanceof kpn) {
|
|
this.f8108o.a = true;
|
|
kpn kpnVar = (kpn) this.l;
|
|
int i = kpnVar.c;
|
|
boolean z = kpnVar.e;
|
|
int i2 = 0;
|
|
if (i == 0) {
|
|
this.f8108o.h = KMk.LWm.LEFT;
|
|
while (i2 < ((NsV) kpnVar).aF) {
|
|
C17026tNn c17026tNn = ((NsV) kpnVar).aD[i2];
|
|
if (z || c17026tNn.Z != 8) {
|
|
KMk kMk = c17026tNn.h.f8108o;
|
|
kMk.d.add(this.f8108o);
|
|
this.f8108o.i.add(kMk);
|
|
}
|
|
i2++;
|
|
}
|
|
KMk kMk2 = this.l.h.f8108o;
|
|
this.f8108o.d.add(kMk2);
|
|
kMk2.i.add(this.f8108o);
|
|
KMk kMk3 = this.l.h.c;
|
|
this.f8108o.d.add(kMk3);
|
|
kMk3.i.add(this.f8108o);
|
|
return;
|
|
}
|
|
if (i == 1) {
|
|
this.f8108o.h = KMk.LWm.RIGHT;
|
|
while (i2 < ((NsV) kpnVar).aF) {
|
|
C17026tNn c17026tNn2 = ((NsV) kpnVar).aD[i2];
|
|
if (z || c17026tNn2.Z != 8) {
|
|
KMk kMk4 = c17026tNn2.h.c;
|
|
kMk4.d.add(this.f8108o);
|
|
this.f8108o.i.add(kMk4);
|
|
}
|
|
i2++;
|
|
}
|
|
KMk kMk5 = this.l.h.f8108o;
|
|
this.f8108o.d.add(kMk5);
|
|
kMk5.i.add(this.f8108o);
|
|
KMk kMk6 = this.l.h.c;
|
|
this.f8108o.d.add(kMk6);
|
|
kMk6.i.add(this.f8108o);
|
|
return;
|
|
}
|
|
if (i == 2) {
|
|
this.f8108o.h = KMk.LWm.TOP;
|
|
while (i2 < ((NsV) kpnVar).aF) {
|
|
C17026tNn c17026tNn3 = ((NsV) kpnVar).aD[i2];
|
|
if (z || c17026tNn3.Z != 8) {
|
|
KMk kMk7 = c17026tNn3.ak.f8108o;
|
|
kMk7.d.add(this.f8108o);
|
|
this.f8108o.i.add(kMk7);
|
|
}
|
|
i2++;
|
|
}
|
|
KMk kMk8 = this.l.ak.f8108o;
|
|
this.f8108o.d.add(kMk8);
|
|
kMk8.i.add(this.f8108o);
|
|
KMk kMk9 = this.l.ak.c;
|
|
this.f8108o.d.add(kMk9);
|
|
kMk9.i.add(this.f8108o);
|
|
return;
|
|
}
|
|
if (i == 3) {
|
|
this.f8108o.h = KMk.LWm.BOTTOM;
|
|
while (i2 < ((NsV) kpnVar).aF) {
|
|
C17026tNn c17026tNn4 = ((NsV) kpnVar).aD[i2];
|
|
if (z || c17026tNn4.Z != 8) {
|
|
KMk kMk10 = c17026tNn4.ak.c;
|
|
kMk10.d.add(this.f8108o);
|
|
this.f8108o.i.add(kMk10);
|
|
}
|
|
i2++;
|
|
}
|
|
KMk kMk11 = this.l.ak.f8108o;
|
|
this.f8108o.d.add(kMk11);
|
|
kMk11.i.add(this.f8108o);
|
|
KMk kMk12 = this.l.ak.c;
|
|
this.f8108o.d.add(kMk12);
|
|
kMk12.i.add(this.f8108o);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.Bgk, o.rZk
|
|
public final void g() {
|
|
kpn kpnVar = (kpn) this.l;
|
|
int i = kpnVar.c;
|
|
Iterator<KMk> it = this.f8108o.i.iterator();
|
|
int i2 = 0;
|
|
int i3 = -1;
|
|
while (it.hasNext()) {
|
|
int i4 = it.next().l;
|
|
if (i3 == -1 || i4 < i3) {
|
|
i3 = i4;
|
|
}
|
|
if (i2 < i4) {
|
|
i2 = i4;
|
|
}
|
|
}
|
|
if (i == 0 || i == 2) {
|
|
this.f8108o.d(i3 + kpnVar.a);
|
|
} else {
|
|
this.f8108o.d(i2 + kpnVar.a);
|
|
}
|
|
}
|
|
|
|
@Override // o.Bgk
|
|
public final void c() {
|
|
if (this.l instanceof kpn) {
|
|
int i = ((kpn) this.l).c;
|
|
if (i == 0 || i == 1) {
|
|
this.l.f(this.f8108o.l);
|
|
} else {
|
|
this.l.h(this.f8108o.l);
|
|
}
|
|
}
|
|
}
|
|
}
|