283 lines
7.8 KiB
Java
283 lines
7.8 KiB
Java
package o;
|
|
|
|
import android.graphics.Rect;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.VKj;
|
|
|
|
/* renamed from: o.ffz, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public class C13741ffz extends AbstractC12179etN {
|
|
@Override // o.AbstractC12179etN
|
|
public boolean d(Object obj) {
|
|
return obj instanceof VKj;
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public Object a(Object obj) {
|
|
if (obj != null) {
|
|
return ((VKj) obj).clone();
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public Object e(Object obj) {
|
|
if (obj == null) {
|
|
return null;
|
|
}
|
|
Bml bml = new Bml();
|
|
bml.d((VKj) obj);
|
|
return bml;
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void a(Object obj, View view, ArrayList<View> arrayList) {
|
|
Bml bml = (Bml) obj;
|
|
ArrayList<View> arrayList2 = bml.j;
|
|
arrayList2.clear();
|
|
int size = arrayList.size();
|
|
for (int i = 0; i < size; i++) {
|
|
a(arrayList2, arrayList.get(i));
|
|
}
|
|
arrayList2.add(view);
|
|
arrayList.add(view);
|
|
e(bml, arrayList);
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void e(Object obj, View view) {
|
|
if (view != null) {
|
|
Rect rect = new Rect();
|
|
ze_(view, rect);
|
|
((VKj) obj).e(new VKj.RVV(this, rect) { // from class: o.ffz.2
|
|
final Rect b;
|
|
final C13741ffz d;
|
|
|
|
{
|
|
this.d = this;
|
|
this.b = rect;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void e(Object obj, ArrayList<View> arrayList) {
|
|
VKj vKj = (VKj) obj;
|
|
if (vKj == null) {
|
|
return;
|
|
}
|
|
int i = 0;
|
|
if (vKj instanceof Bml) {
|
|
Bml bml = (Bml) vKj;
|
|
int size = bml.n.size();
|
|
while (i < size) {
|
|
e((i < 0 || i >= bml.n.size()) ? null : bml.n.get(i), arrayList);
|
|
i++;
|
|
}
|
|
return;
|
|
}
|
|
if (e(vKj) || !a((List) vKj.j)) {
|
|
return;
|
|
}
|
|
int size2 = arrayList.size();
|
|
while (i < size2) {
|
|
vKj.d(arrayList.get(i));
|
|
i++;
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public Object d(Object obj, Object obj2, Object obj3) {
|
|
Bml bml = new Bml();
|
|
if (obj != null) {
|
|
bml.d((VKj) obj);
|
|
}
|
|
if (obj2 != null) {
|
|
bml.d((VKj) obj2);
|
|
}
|
|
if (obj3 != null) {
|
|
bml.d((VKj) obj3);
|
|
}
|
|
return bml;
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void b(Object obj, View view, ArrayList<View> arrayList) {
|
|
((VKj) obj).a(new VKj.Sts(this, view, arrayList) { // from class: o.ffz.3
|
|
final View a;
|
|
final C13741ffz b;
|
|
final ArrayList c;
|
|
|
|
@Override // o.VKj.Sts
|
|
public final void a() {
|
|
}
|
|
|
|
@Override // o.VKj.Sts
|
|
public final void b() {
|
|
}
|
|
|
|
@Override // o.VKj.Sts
|
|
public final void c() {
|
|
}
|
|
|
|
@Override // o.VKj.Sts
|
|
public final void e() {
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.a = view;
|
|
this.c = arrayList;
|
|
}
|
|
|
|
@Override // o.VKj.Sts
|
|
public final void e(VKj vKj) {
|
|
vKj.b(this);
|
|
this.a.setVisibility(8);
|
|
int size = this.c.size();
|
|
for (int i = 0; i < size; i++) {
|
|
((View) this.c.get(i)).setVisibility(0);
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public Object c(Object obj, Object obj2, Object obj3) {
|
|
VKj vKj = (VKj) obj;
|
|
VKj vKj2 = (VKj) obj2;
|
|
VKj vKj3 = (VKj) obj3;
|
|
if (vKj != null && vKj2 != null) {
|
|
vKj = new Bml().d(vKj).d(vKj2).b(1);
|
|
} else if (vKj == null) {
|
|
vKj = vKj2 != null ? vKj2 : null;
|
|
}
|
|
if (vKj3 == null) {
|
|
return vKj;
|
|
}
|
|
Bml bml = new Bml();
|
|
if (vKj != null) {
|
|
bml.d(vKj);
|
|
}
|
|
bml.d(vKj3);
|
|
return bml;
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void AX_(ViewGroup viewGroup, Object obj) {
|
|
kin.Bh_(viewGroup, (VKj) obj);
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void d(Object obj, Object obj2, ArrayList<View> arrayList, Object obj3, ArrayList<View> arrayList2, Object obj4, ArrayList<View> arrayList3) {
|
|
((VKj) obj).a(new C17599yDT(this, obj2, arrayList, obj3, arrayList2, obj4, arrayList3) { // from class: o.ffz.1
|
|
final C13741ffz a;
|
|
final ArrayList b;
|
|
final Object c;
|
|
final Object d;
|
|
final ArrayList e;
|
|
final Object g;
|
|
final ArrayList h;
|
|
|
|
{
|
|
this.a = this;
|
|
this.d = obj2;
|
|
this.e = arrayList;
|
|
this.c = obj3;
|
|
this.b = arrayList2;
|
|
this.g = obj4;
|
|
this.h = arrayList3;
|
|
}
|
|
|
|
@Override // o.C17599yDT, o.VKj.Sts
|
|
public final void e() {
|
|
Object obj5 = this.d;
|
|
if (obj5 != null) {
|
|
this.a.e(obj5, this.e, (ArrayList<View>) null);
|
|
}
|
|
Object obj6 = this.c;
|
|
if (obj6 != null) {
|
|
this.a.e(obj6, this.b, (ArrayList<View>) null);
|
|
}
|
|
Object obj7 = this.g;
|
|
if (obj7 != null) {
|
|
this.a.e(obj7, this.h, (ArrayList<View>) null);
|
|
}
|
|
}
|
|
|
|
@Override // o.C17599yDT, o.VKj.Sts
|
|
public final void e(VKj vKj) {
|
|
vKj.b(this);
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void c(Object obj, ArrayList<View> arrayList, ArrayList<View> arrayList2) {
|
|
Bml bml = (Bml) obj;
|
|
if (bml != null) {
|
|
bml.j.clear();
|
|
bml.j.addAll(arrayList2);
|
|
e(bml, arrayList, arrayList2);
|
|
}
|
|
}
|
|
|
|
public final void e(Object obj, ArrayList<View> arrayList, ArrayList<View> arrayList2) {
|
|
VKj vKj = (VKj) obj;
|
|
int i = 0;
|
|
if (vKj instanceof Bml) {
|
|
Bml bml = (Bml) vKj;
|
|
int size = bml.n.size();
|
|
while (i < size) {
|
|
e((i < 0 || i >= bml.n.size()) ? null : bml.n.get(i), arrayList, arrayList2);
|
|
i++;
|
|
}
|
|
return;
|
|
}
|
|
if (e(vKj)) {
|
|
return;
|
|
}
|
|
ArrayList<View> arrayList3 = vKj.j;
|
|
if (arrayList3.size() == arrayList.size() && arrayList3.containsAll(arrayList)) {
|
|
int size2 = arrayList2 == null ? 0 : arrayList2.size();
|
|
while (i < size2) {
|
|
vKj.d(arrayList2.get(i));
|
|
i++;
|
|
}
|
|
for (int size3 = arrayList.size() - 1; size3 >= 0; size3--) {
|
|
vKj.a(arrayList.get(size3));
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void b(Object obj, View view) {
|
|
if (obj != null) {
|
|
((VKj) obj).d(view);
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC12179etN
|
|
public void AY_(Object obj, Rect rect) {
|
|
if (obj != null) {
|
|
((VKj) obj).e(new VKj.RVV(this, rect) { // from class: o.ffz.4
|
|
final Rect a;
|
|
final C13741ffz e;
|
|
|
|
{
|
|
this.e = this;
|
|
this.a = rect;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
private static boolean e(VKj vKj) {
|
|
return (a((List) vKj.f) && a((List) vKj.h) && a((List) vKj.i)) ? false : true;
|
|
}
|
|
}
|