- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
68 lines
2.4 KiB
Java
68 lines
2.4 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import java.util.ArrayList;
|
|
import java.util.Collections;
|
|
import java.util.HashMap;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzflz implements zzflw {
|
|
private final int[] zza = new int[2];
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzflw
|
|
public final JSONObject zza(View view) {
|
|
if (view == null) {
|
|
return zzfmg.zza(0, 0, 0, 0);
|
|
}
|
|
int[] iArr = this.zza;
|
|
int width = view.getWidth();
|
|
int height = view.getHeight();
|
|
view.getLocationOnScreen(iArr);
|
|
int[] iArr2 = this.zza;
|
|
return zzfmg.zza(iArr2[0], iArr2[1], width, height);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzflw
|
|
public final void zzb(View view, JSONObject jSONObject, zzflv zzflvVar, boolean z, boolean z2) {
|
|
int i;
|
|
if (view instanceof ViewGroup) {
|
|
ViewGroup viewGroup = (ViewGroup) view;
|
|
if (!z) {
|
|
for (int i2 = 0; i2 < viewGroup.getChildCount(); i2++) {
|
|
zzflvVar.zza(viewGroup.getChildAt(i2), this, jSONObject, z2);
|
|
}
|
|
return;
|
|
}
|
|
HashMap hashMap = new HashMap();
|
|
for (int i3 = 0; i3 < viewGroup.getChildCount(); i3++) {
|
|
View childAt = viewGroup.getChildAt(i3);
|
|
ArrayList arrayList = (ArrayList) hashMap.get(Float.valueOf(childAt.getZ()));
|
|
if (arrayList == null) {
|
|
arrayList = new ArrayList();
|
|
hashMap.put(Float.valueOf(childAt.getZ()), arrayList);
|
|
}
|
|
arrayList.add(childAt);
|
|
}
|
|
ArrayList arrayList2 = new ArrayList(hashMap.keySet());
|
|
Collections.sort(arrayList2);
|
|
int size = arrayList2.size();
|
|
int i4 = 0;
|
|
while (i4 < size) {
|
|
ArrayList arrayList3 = (ArrayList) hashMap.get((Float) arrayList2.get(i4));
|
|
int size2 = arrayList3.size();
|
|
int i5 = 0;
|
|
while (true) {
|
|
i = i4 + 1;
|
|
if (i5 < size2) {
|
|
zzflvVar.zza((View) arrayList3.get(i5), this, jSONObject, z2);
|
|
i5++;
|
|
}
|
|
}
|
|
i4 = i;
|
|
}
|
|
}
|
|
}
|
|
}
|