Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
195
apk_decompiled/sources/L/a.java
Normal file
195
apk_decompiled/sources/L/a.java
Normal file
@@ -0,0 +1,195 @@
|
||||
package L;
|
||||
|
||||
import android.graphics.Typeface;
|
||||
import androidx.fragment.app.D0;
|
||||
import androidx.recyclerview.widget.C0209c;
|
||||
import androidx.recyclerview.widget.C0217g;
|
||||
import androidx.recyclerview.widget.C0219h;
|
||||
import androidx.recyclerview.widget.C0240s;
|
||||
import androidx.recyclerview.widget.C0242t;
|
||||
import androidx.recyclerview.widget.C0243u;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class a implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1018a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f1019b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f1020c;
|
||||
|
||||
public /* synthetic */ a(int i, Object obj, Object obj2) {
|
||||
this.f1018a = i;
|
||||
this.f1019b = obj;
|
||||
this.f1020c = obj2;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
C0242t c0242t;
|
||||
int i;
|
||||
int i4;
|
||||
int i5;
|
||||
int i6;
|
||||
switch (this.f1018a) {
|
||||
case 0:
|
||||
F.b bVar = (F.b) ((A.a) this.f1019b).f7b;
|
||||
if (bVar != null) {
|
||||
bVar.h((Typeface) this.f1020c);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
case 1:
|
||||
((e) this.f1019b).a(this.f1020c);
|
||||
return;
|
||||
default:
|
||||
D0 d02 = (D0) this.f1020c;
|
||||
C0217g c0217g = (C0217g) d02.f2993f;
|
||||
if (c0217g.f3816g == d02.f2989b) {
|
||||
List list = c0217g.f3815f;
|
||||
List list2 = d02.f2991d;
|
||||
c0217g.f3814e = list2;
|
||||
c0217g.f3815f = Collections.unmodifiableList(list2);
|
||||
C0242t c0242t2 = (C0242t) this.f1019b;
|
||||
C0219h c0219h = new C0219h(c0217g.f3810a);
|
||||
ArrayDeque arrayDeque = new ArrayDeque();
|
||||
ArrayList arrayList = c0242t2.f3904a;
|
||||
int i7 = 1;
|
||||
int size = arrayList.size() - 1;
|
||||
int i8 = c0242t2.f3908e;
|
||||
int i9 = c0242t2.f3909f;
|
||||
int i10 = i8;
|
||||
while (size >= 0) {
|
||||
C0240s c0240s = (C0240s) arrayList.get(size);
|
||||
int i11 = c0240s.f3901a;
|
||||
int i12 = c0240s.f3903c;
|
||||
int i13 = i11 + i12;
|
||||
int i14 = c0240s.f3902b;
|
||||
int i15 = i7;
|
||||
int i16 = i14 + i12;
|
||||
ArrayList arrayList2 = arrayList;
|
||||
while (true) {
|
||||
int[] iArr = c0242t2.f3905b;
|
||||
C0209c c0209c = c0242t2.f3907d;
|
||||
int i17 = size;
|
||||
int i18 = 0;
|
||||
if (i10 > i13) {
|
||||
i10--;
|
||||
int i19 = iArr[i10];
|
||||
if ((i19 & 12) != 0) {
|
||||
int i20 = i8;
|
||||
int i21 = i19 >> 4;
|
||||
C0243u a2 = C0242t.a(arrayDeque, i21, false);
|
||||
if (a2 != null) {
|
||||
int i22 = (i20 - a2.f3912b) - 1;
|
||||
c0219h.c(i10, i22);
|
||||
if ((i19 & 4) != 0) {
|
||||
c0209c.c(i10, i21);
|
||||
c0219h.b(i22, i15);
|
||||
}
|
||||
} else {
|
||||
boolean z3 = i15;
|
||||
arrayDeque.add(new C0243u(i10, (i20 - i10) - (z3 ? 1 : 0), z3));
|
||||
}
|
||||
i8 = i20;
|
||||
} else {
|
||||
int i23 = i15;
|
||||
int i24 = i8;
|
||||
if (c0219h.f3820b != 2 || (i6 = c0219h.f3821c) < i10 || i6 > i10 + 1) {
|
||||
c0219h.a();
|
||||
c0219h.f3821c = i10;
|
||||
c0219h.f3822d = i23;
|
||||
c0219h.f3820b = 2;
|
||||
} else {
|
||||
c0219h.f3822d += i23;
|
||||
c0219h.f3821c = i10;
|
||||
}
|
||||
i8 = i24 - 1;
|
||||
}
|
||||
size = i17;
|
||||
i15 = 1;
|
||||
} else {
|
||||
while (i9 > i16) {
|
||||
i9--;
|
||||
int i25 = c0242t2.f3906c[i9];
|
||||
if ((i25 & 12) != 0) {
|
||||
int i26 = i25 >> 4;
|
||||
c0242t = c0242t2;
|
||||
i4 = i16;
|
||||
C0243u a4 = C0242t.a(arrayDeque, i26, true);
|
||||
if (a4 == null) {
|
||||
arrayDeque.add(new C0243u(i9, i8 - i10, false));
|
||||
i = 0;
|
||||
} else {
|
||||
i = 0;
|
||||
c0219h.c((i8 - a4.f3912b) - 1, i10);
|
||||
if ((i25 & 4) != 0) {
|
||||
c0209c.c(i26, i9);
|
||||
c0219h.b(i10, 1);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c0242t = c0242t2;
|
||||
i = i18;
|
||||
i4 = i16;
|
||||
if (c0219h.f3820b == 1 && i10 >= (i5 = c0219h.f3821c)) {
|
||||
int i27 = c0219h.f3822d;
|
||||
if (i10 <= i5 + i27) {
|
||||
c0219h.f3822d = i27 + 1;
|
||||
c0219h.f3821c = Math.min(i10, i5);
|
||||
i8++;
|
||||
}
|
||||
}
|
||||
c0219h.a();
|
||||
c0219h.f3821c = i10;
|
||||
c0219h.f3822d = 1;
|
||||
c0219h.f3820b = 1;
|
||||
i8++;
|
||||
}
|
||||
i18 = i;
|
||||
c0242t2 = c0242t;
|
||||
i16 = i4;
|
||||
}
|
||||
C0242t c0242t3 = c0242t2;
|
||||
i10 = c0240s.f3901a;
|
||||
int i28 = i10;
|
||||
int i29 = i14;
|
||||
while (i18 < i12) {
|
||||
if ((iArr[i28] & 15) == 2) {
|
||||
c0209c.c(i28, i29);
|
||||
c0219h.b(i28, 1);
|
||||
}
|
||||
i28++;
|
||||
i29++;
|
||||
i18++;
|
||||
}
|
||||
size = i17 - 1;
|
||||
i7 = 1;
|
||||
i9 = i14;
|
||||
arrayList = arrayList2;
|
||||
c0242t2 = c0242t3;
|
||||
}
|
||||
}
|
||||
}
|
||||
c0219h.a();
|
||||
c0217g.a(list, (Runnable) d02.f2992e);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public a(D0 d02, C0242t c0242t) {
|
||||
this.f1018a = 2;
|
||||
this.f1020c = d02;
|
||||
this.f1019b = c0242t;
|
||||
}
|
||||
}
|
||||
43
apk_decompiled/sources/L/b.java
Normal file
43
apk_decompiled/sources/L/b.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package L;
|
||||
|
||||
import com.adif.elcanomovil.uiSubscriptions.utils.SubscriptionHelper;
|
||||
import com.google.firebase.crashlytics.internal.persistence.CrashlyticsReportPersistence;
|
||||
import java.io.File;
|
||||
import java.util.Comparator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class b implements Comparator {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1021a;
|
||||
|
||||
public /* synthetic */ b(int i) {
|
||||
this.f1021a = i;
|
||||
}
|
||||
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(Object obj, Object obj2) {
|
||||
switch (this.f1021a) {
|
||||
case 0:
|
||||
byte[] bArr = (byte[]) obj;
|
||||
byte[] bArr2 = (byte[]) obj2;
|
||||
if (bArr.length != bArr2.length) {
|
||||
return bArr.length - bArr2.length;
|
||||
}
|
||||
for (int i = 0; i < bArr.length; i++) {
|
||||
byte b4 = bArr[i];
|
||||
byte b5 = bArr2[i];
|
||||
if (b4 != b5) {
|
||||
return b4 - b5;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
case 1:
|
||||
return SubscriptionHelper.Companion.a((Character) obj, (Character) obj2);
|
||||
case 2:
|
||||
return CrashlyticsReportPersistence.d((File) obj, (File) obj2);
|
||||
default:
|
||||
return CrashlyticsReportPersistence.c((File) obj, (File) obj2);
|
||||
}
|
||||
}
|
||||
}
|
||||
119
apk_decompiled/sources/L/c.java
Normal file
119
apk_decompiled/sources/L/c.java
Normal file
@@ -0,0 +1,119 @@
|
||||
package L;
|
||||
|
||||
import C.w;
|
||||
import android.content.ContentProviderClient;
|
||||
import android.content.ContentUris;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.Signature;
|
||||
import android.content.res.Resources;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.RemoteException;
|
||||
import android.util.Log;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final b f1022a = new b(0);
|
||||
|
||||
public static h a(Context context, I0.b bVar) {
|
||||
Cursor cursor;
|
||||
PackageManager packageManager = context.getPackageManager();
|
||||
Resources resources = context.getResources();
|
||||
String str = (String) bVar.f740c;
|
||||
ProviderInfo resolveContentProvider = packageManager.resolveContentProvider(str, 0);
|
||||
if (resolveContentProvider == null) {
|
||||
throw new PackageManager.NameNotFoundException(w.z("No package found for authority: ", str));
|
||||
}
|
||||
String str2 = resolveContentProvider.packageName;
|
||||
String str3 = (String) bVar.f741d;
|
||||
if (!str2.equals(str3)) {
|
||||
throw new PackageManager.NameNotFoundException("Found content provider " + str + ", but package was not " + str3);
|
||||
}
|
||||
Signature[] signatureArr = packageManager.getPackageInfo(resolveContentProvider.packageName, 64).signatures;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Signature signature : signatureArr) {
|
||||
arrayList.add(signature.toByteArray());
|
||||
}
|
||||
b bVar2 = f1022a;
|
||||
Collections.sort(arrayList, bVar2);
|
||||
List list = (List) bVar.f739b;
|
||||
if (list == null) {
|
||||
list = F.b.j(resources, 0);
|
||||
}
|
||||
int i = 0;
|
||||
loop1: while (true) {
|
||||
cursor = null;
|
||||
if (i >= list.size()) {
|
||||
resolveContentProvider = null;
|
||||
break;
|
||||
}
|
||||
ArrayList arrayList2 = new ArrayList((Collection) list.get(i));
|
||||
Collections.sort(arrayList2, bVar2);
|
||||
if (arrayList.size() == arrayList2.size()) {
|
||||
for (int i4 = 0; i4 < arrayList.size(); i4++) {
|
||||
if (!Arrays.equals((byte[]) arrayList.get(i4), (byte[]) arrayList2.get(i4))) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
break loop1;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
if (resolveContentProvider == null) {
|
||||
return new h(1, (i[]) null);
|
||||
}
|
||||
String str4 = resolveContentProvider.authority;
|
||||
ArrayList arrayList3 = new ArrayList();
|
||||
Uri build = new Uri.Builder().scheme(FirebaseAnalytics.Param.CONTENT).authority(str4).build();
|
||||
Uri build2 = new Uri.Builder().scheme(FirebaseAnalytics.Param.CONTENT).authority(str4).appendPath("file").build();
|
||||
ContentProviderClient acquireUnstableContentProviderClient = context.getContentResolver().acquireUnstableContentProviderClient(build);
|
||||
try {
|
||||
String[] strArr = {"_id", "file_id", "font_ttc_index", "font_variation_settings", "font_weight", "font_italic", "result_code"};
|
||||
String[] strArr2 = {(String) bVar.f742e};
|
||||
if (acquireUnstableContentProviderClient != null) {
|
||||
try {
|
||||
cursor = acquireUnstableContentProviderClient.query(build, strArr, "query = ?", strArr2, null, null);
|
||||
} catch (RemoteException e4) {
|
||||
Log.w("FontsProvider", "Unable to query the content provider", e4);
|
||||
}
|
||||
}
|
||||
if (cursor != null && cursor.getCount() > 0) {
|
||||
int columnIndex = cursor.getColumnIndex("result_code");
|
||||
arrayList3 = new ArrayList();
|
||||
int columnIndex2 = cursor.getColumnIndex("_id");
|
||||
int columnIndex3 = cursor.getColumnIndex("file_id");
|
||||
int columnIndex4 = cursor.getColumnIndex("font_ttc_index");
|
||||
int columnIndex5 = cursor.getColumnIndex("font_weight");
|
||||
int columnIndex6 = cursor.getColumnIndex("font_italic");
|
||||
while (cursor.moveToNext()) {
|
||||
arrayList3.add(new i(columnIndex3 == -1 ? ContentUris.withAppendedId(build, cursor.getLong(columnIndex2)) : ContentUris.withAppendedId(build2, cursor.getLong(columnIndex3)), columnIndex4 != -1 ? cursor.getInt(columnIndex4) : 0, columnIndex5 != -1 ? cursor.getInt(columnIndex5) : 400, columnIndex6 != -1 && cursor.getInt(columnIndex6) == 1, columnIndex != -1 ? cursor.getInt(columnIndex) : 0));
|
||||
}
|
||||
}
|
||||
if (cursor != null) {
|
||||
cursor.close();
|
||||
}
|
||||
if (acquireUnstableContentProviderClient != null) {
|
||||
acquireUnstableContentProviderClient.close();
|
||||
}
|
||||
return new h(0, (i[]) arrayList3.toArray(new i[0]));
|
||||
} catch (Throwable th) {
|
||||
if (cursor != null) {
|
||||
cursor.close();
|
||||
}
|
||||
if (acquireUnstableContentProviderClient != null) {
|
||||
acquireUnstableContentProviderClient.close();
|
||||
}
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
45
apk_decompiled/sources/L/d.java
Normal file
45
apk_decompiled/sources/L/d.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package L;
|
||||
|
||||
import android.content.Context;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class d implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1023a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ String f1024b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Context f1025c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ I0.b f1026d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1027e;
|
||||
|
||||
public /* synthetic */ d(String str, Context context, I0.b bVar, int i, int i4) {
|
||||
this.f1023a = i4;
|
||||
this.f1024b = str;
|
||||
this.f1025c = context;
|
||||
this.f1026d = bVar;
|
||||
this.f1027e = i;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
switch (this.f1023a) {
|
||||
case 0:
|
||||
return g.a(this.f1024b, this.f1025c, this.f1026d, this.f1027e);
|
||||
default:
|
||||
try {
|
||||
return g.a(this.f1024b, this.f1025c, this.f1026d, this.f1027e);
|
||||
} catch (Throwable unused) {
|
||||
return new f(-3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
apk_decompiled/sources/L/e.java
Normal file
48
apk_decompiled/sources/L/e.java
Normal file
@@ -0,0 +1,48 @@
|
||||
package L;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class e implements N.a {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1028a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f1029b;
|
||||
|
||||
public /* synthetic */ e(Object obj, int i) {
|
||||
this.f1028a = i;
|
||||
this.f1029b = obj;
|
||||
}
|
||||
|
||||
@Override // N.a
|
||||
public final void a(Object obj) {
|
||||
switch (this.f1028a) {
|
||||
case 0:
|
||||
f fVar = (f) obj;
|
||||
if (fVar == null) {
|
||||
fVar = new f(-3);
|
||||
}
|
||||
((F.i) this.f1029b).B(fVar);
|
||||
return;
|
||||
default:
|
||||
f fVar2 = (f) obj;
|
||||
synchronized (g.f1034c) {
|
||||
try {
|
||||
s.j jVar = g.f1035d;
|
||||
ArrayList arrayList = (ArrayList) jVar.get((String) this.f1029b);
|
||||
if (arrayList == null) {
|
||||
return;
|
||||
}
|
||||
jVar.remove((String) this.f1029b);
|
||||
for (int i = 0; i < arrayList.size(); i++) {
|
||||
((N.a) arrayList.get(i)).a(fVar2);
|
||||
}
|
||||
return;
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/L/f.java
Normal file
23
apk_decompiled/sources/L/f.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package L;
|
||||
|
||||
import android.graphics.Typeface;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class f {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Typeface f1030a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f1031b;
|
||||
|
||||
public f(int i) {
|
||||
this.f1030a = null;
|
||||
this.f1031b = i;
|
||||
}
|
||||
|
||||
public f(Typeface typeface) {
|
||||
this.f1030a = typeface;
|
||||
this.f1031b = 0;
|
||||
}
|
||||
}
|
||||
108
apk_decompiled/sources/L/g.java
Normal file
108
apk_decompiled/sources/L/g.java
Normal file
@@ -0,0 +1,108 @@
|
||||
package L;
|
||||
|
||||
import java.util.concurrent.LinkedBlockingDeque;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class g {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final s.i f1032a = new s.i(16);
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final ThreadPoolExecutor f1033b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final Object f1034c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final s.j f1035d;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r9v0, types: [java.lang.Object, java.util.concurrent.ThreadFactory] */
|
||||
static {
|
||||
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(0, 1, 10000, TimeUnit.MILLISECONDS, new LinkedBlockingDeque(), (ThreadFactory) new Object());
|
||||
threadPoolExecutor.allowCoreThreadTimeOut(true);
|
||||
f1033b = threadPoolExecutor;
|
||||
f1034c = new Object();
|
||||
f1035d = new s.j(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:13:0x003f */
|
||||
/* JADX WARN: Removed duplicated region for block: B:15:0x0045 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public static L.f a(java.lang.String r6, android.content.Context r7, I0.b r8, int r9) {
|
||||
/*
|
||||
s.i r0 = L.g.f1032a
|
||||
java.lang.Object r1 = r0.get(r6)
|
||||
android.graphics.Typeface r1 = (android.graphics.Typeface) r1
|
||||
if (r1 == 0) goto L10
|
||||
L.f r6 = new L.f
|
||||
r6.<init>(r1)
|
||||
return r6
|
||||
L10:
|
||||
L.h r8 = L.c.a(r7, r8) // Catch: android.content.pm.PackageManager.NameNotFoundException -> L5a
|
||||
r1 = 1
|
||||
r2 = -3
|
||||
java.lang.Object r3 = r8.f1037b
|
||||
L.i[] r3 = (L.i[]) r3
|
||||
int r8 = r8.f1036a
|
||||
if (r8 == 0) goto L24
|
||||
if (r8 == r1) goto L22
|
||||
L20:
|
||||
r1 = r2
|
||||
goto L3d
|
||||
L22:
|
||||
r1 = -2
|
||||
goto L3d
|
||||
L24:
|
||||
if (r3 == 0) goto L3d
|
||||
int r8 = r3.length
|
||||
if (r8 != 0) goto L2a
|
||||
goto L3d
|
||||
L2a:
|
||||
int r8 = r3.length
|
||||
r1 = 0
|
||||
r4 = r1
|
||||
L2d:
|
||||
if (r4 >= r8) goto L3d
|
||||
r5 = r3[r4]
|
||||
int r5 = r5.f1042e
|
||||
if (r5 == 0) goto L3a
|
||||
if (r5 >= 0) goto L38
|
||||
goto L20
|
||||
L38:
|
||||
r1 = r5
|
||||
goto L3d
|
||||
L3a:
|
||||
int r4 = r4 + 1
|
||||
goto L2d
|
||||
L3d:
|
||||
if (r1 == 0) goto L45
|
||||
L.f r6 = new L.f
|
||||
r6.<init>(r1)
|
||||
return r6
|
||||
L45:
|
||||
android.graphics.Typeface r7 = G.g.a(r7, r3, r9)
|
||||
if (r7 == 0) goto L54
|
||||
r0.put(r6, r7)
|
||||
L.f r6 = new L.f
|
||||
r6.<init>(r7)
|
||||
return r6
|
||||
L54:
|
||||
L.f r6 = new L.f
|
||||
r6.<init>(r2)
|
||||
return r6
|
||||
L5a:
|
||||
L.f r6 = new L.f
|
||||
r7 = -1
|
||||
r6.<init>(r7)
|
||||
return r6
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: L.g.a(java.lang.String, android.content.Context, I0.b, int):L.f");
|
||||
}
|
||||
}
|
||||
155
apk_decompiled/sources/L/h.java
Normal file
155
apk_decompiled/sources/L/h.java
Normal file
@@ -0,0 +1,155 @@
|
||||
package L;
|
||||
|
||||
import P.t;
|
||||
import android.graphics.Bitmap;
|
||||
import android.view.View;
|
||||
import com.google.android.material.bottomsheet.BottomSheetBehavior;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h implements Q0.i, t {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f1036a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Object f1037b;
|
||||
|
||||
public h() {
|
||||
this.f1037b = new LinkedHashMap();
|
||||
}
|
||||
|
||||
@Override // Q0.i
|
||||
public synchronized boolean a(Q0.b bVar) {
|
||||
return ((LinkedHashMap) this.f1037b).remove(bVar) != null;
|
||||
}
|
||||
|
||||
@Override // Q0.i
|
||||
public synchronized Q0.c b(Q0.b bVar) {
|
||||
try {
|
||||
ArrayList arrayList = (ArrayList) ((LinkedHashMap) this.f1037b).get(bVar);
|
||||
Q0.c cVar = null;
|
||||
if (arrayList == null) {
|
||||
return null;
|
||||
}
|
||||
int size = arrayList.size();
|
||||
int i = 0;
|
||||
while (true) {
|
||||
if (i >= size) {
|
||||
break;
|
||||
}
|
||||
Q0.g gVar = (Q0.g) arrayList.get(i);
|
||||
Bitmap bitmap = (Bitmap) gVar.f1365b.get();
|
||||
Q0.c cVar2 = bitmap != null ? new Q0.c(bitmap, gVar.f1366c) : null;
|
||||
if (cVar2 != null) {
|
||||
cVar = cVar2;
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
int i4 = this.f1036a;
|
||||
this.f1036a = i4 + 1;
|
||||
if (i4 >= 10) {
|
||||
f();
|
||||
}
|
||||
return cVar;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // Q0.i
|
||||
public synchronized void c(int i) {
|
||||
if (i >= 10 && i != 20) {
|
||||
f();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // P.t
|
||||
public boolean d(View view) {
|
||||
((BottomSheetBehavior) this.f1037b).H(this.f1036a);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // Q0.i
|
||||
public synchronized void e(Q0.b bVar, Bitmap bitmap, Map map, int i) {
|
||||
try {
|
||||
LinkedHashMap linkedHashMap = (LinkedHashMap) this.f1037b;
|
||||
Object obj = linkedHashMap.get(bVar);
|
||||
if (obj == null) {
|
||||
obj = new ArrayList();
|
||||
linkedHashMap.put(bVar, obj);
|
||||
}
|
||||
ArrayList arrayList = (ArrayList) obj;
|
||||
int identityHashCode = System.identityHashCode(bitmap);
|
||||
Q0.g gVar = new Q0.g(identityHashCode, new WeakReference(bitmap), map, i);
|
||||
int size = arrayList.size();
|
||||
int i4 = 0;
|
||||
while (true) {
|
||||
if (i4 >= size) {
|
||||
arrayList.add(gVar);
|
||||
break;
|
||||
}
|
||||
Q0.g gVar2 = (Q0.g) arrayList.get(i4);
|
||||
if (i < gVar2.f1367d) {
|
||||
i4++;
|
||||
} else if (gVar2.f1364a == identityHashCode && gVar2.f1365b.get() == bitmap) {
|
||||
arrayList.set(i4, gVar);
|
||||
} else {
|
||||
arrayList.add(i4, gVar);
|
||||
}
|
||||
}
|
||||
int i5 = this.f1036a;
|
||||
this.f1036a = i5 + 1;
|
||||
if (i5 >= 10) {
|
||||
f();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
public void f() {
|
||||
WeakReference weakReference;
|
||||
this.f1036a = 0;
|
||||
Iterator it = ((LinkedHashMap) this.f1037b).values().iterator();
|
||||
while (it.hasNext()) {
|
||||
ArrayList arrayList = (ArrayList) it.next();
|
||||
if (arrayList.size() <= 1) {
|
||||
Q0.g gVar = (Q0.g) CollectionsKt.firstOrNull((List) arrayList);
|
||||
if (((gVar == null || (weakReference = gVar.f1365b) == null) ? null : (Bitmap) weakReference.get()) == null) {
|
||||
it.remove();
|
||||
}
|
||||
} else {
|
||||
int size = arrayList.size();
|
||||
int i = 0;
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
int i5 = i4 - i;
|
||||
if (((Q0.g) arrayList.get(i5)).f1365b.get() == null) {
|
||||
arrayList.remove(i5);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
if (arrayList.isEmpty()) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public h(int i, i[] iVarArr) {
|
||||
this.f1036a = i;
|
||||
this.f1037b = iVarArr;
|
||||
}
|
||||
|
||||
public h(BottomSheetBehavior bottomSheetBehavior, int i) {
|
||||
this.f1037b = bottomSheetBehavior;
|
||||
this.f1036a = i;
|
||||
}
|
||||
}
|
||||
31
apk_decompiled/sources/L/i.java
Normal file
31
apk_decompiled/sources/L/i.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package L;
|
||||
|
||||
import android.net.Uri;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class i {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Uri f1038a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f1039b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final int f1040c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final boolean f1041d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final int f1042e;
|
||||
|
||||
public i(Uri uri, int i, int i4, boolean z3, int i5) {
|
||||
uri.getClass();
|
||||
this.f1038a = uri;
|
||||
this.f1039b = i;
|
||||
this.f1040c = i4;
|
||||
this.f1041d = z3;
|
||||
this.f1042e = i5;
|
||||
}
|
||||
}
|
||||
21
apk_decompiled/sources/L/j.java
Normal file
21
apk_decompiled/sources/L/j.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package L;
|
||||
|
||||
import android.os.Process;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class j extends Thread {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final int f1043a;
|
||||
|
||||
public j(Runnable runnable) {
|
||||
super(runnable, "fonts-androidx");
|
||||
this.f1043a = 10;
|
||||
}
|
||||
|
||||
@Override // java.lang.Thread, java.lang.Runnable
|
||||
public final void run() {
|
||||
Process.setThreadPriority(this.f1043a);
|
||||
super.run();
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/L/k.java
Normal file
11
apk_decompiled/sources/L/k.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package L;
|
||||
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class k implements ThreadFactory {
|
||||
@Override // java.util.concurrent.ThreadFactory
|
||||
public final Thread newThread(Runnable runnable) {
|
||||
return new j(runnable);
|
||||
}
|
||||
}
|
||||
51
apk_decompiled/sources/L/l.java
Normal file
51
apk_decompiled/sources/L/l.java
Normal file
@@ -0,0 +1,51 @@
|
||||
package L;
|
||||
|
||||
import O.m0;
|
||||
import O.r0;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.os.Handler;
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class l implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f1044a = 0;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Object f1045b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Object f1046c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Object f1047d;
|
||||
|
||||
public /* synthetic */ l() {
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
Object obj;
|
||||
switch (this.f1044a) {
|
||||
case 0:
|
||||
try {
|
||||
obj = ((d) this.f1045b).call();
|
||||
} catch (Exception unused) {
|
||||
obj = null;
|
||||
}
|
||||
((Handler) this.f1047d).post(new a(1, (e) this.f1046c, obj));
|
||||
return;
|
||||
default:
|
||||
m0.h((View) this.f1045b, (F.i) this.f1046c);
|
||||
((ValueAnimator) this.f1047d).start();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public l(View view, r0 r0Var, F.i iVar, ValueAnimator valueAnimator) {
|
||||
this.f1045b = view;
|
||||
this.f1046c = iVar;
|
||||
this.f1047d = valueAnimator;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user