Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.

This commit is contained in:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
package U;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
public final class a {
/* renamed from: a, reason: collision with root package name */
public int f1733a;
/* renamed from: b, reason: collision with root package name */
public int f1734b;
/* renamed from: c, reason: collision with root package name */
public float f1735c;
/* renamed from: d, reason: collision with root package name */
public float f1736d;
/* renamed from: e, reason: collision with root package name */
public long f1737e;
/* renamed from: f, reason: collision with root package name */
public long f1738f;
/* renamed from: g, reason: collision with root package name */
public long f1739g;
public float h;
public int i;
public final float a(long j4) {
long j5 = this.f1737e;
if (j4 < j5) {
return BitmapDescriptorFactory.HUE_RED;
}
long j6 = this.f1739g;
if (j6 < 0 || j4 < j6) {
return g.b(((float) (j4 - j5)) / this.f1733a, BitmapDescriptorFactory.HUE_RED, 1.0f) * 0.5f;
}
float f2 = this.h;
return (g.b(((float) (j4 - j6)) / this.i, BitmapDescriptorFactory.HUE_RED, 1.0f) * f2) + (1.0f - f2);
}
}

View File

@@ -0,0 +1,24 @@
package U;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.widget.CompoundButton;
/* loaded from: classes.dex */
public abstract class b {
public static ColorStateList a(CompoundButton compoundButton) {
return compoundButton.getButtonTintList();
}
public static PorterDuff.Mode b(CompoundButton compoundButton) {
return compoundButton.getButtonTintMode();
}
public static void c(CompoundButton compoundButton, ColorStateList colorStateList) {
compoundButton.setButtonTintList(colorStateList);
}
public static void d(CompoundButton compoundButton, PorterDuff.Mode mode) {
compoundButton.setButtonTintMode(mode);
}
}

View File

@@ -0,0 +1,11 @@
package U;
import android.graphics.drawable.Drawable;
import android.widget.CompoundButton;
/* loaded from: classes.dex */
public abstract class c {
public static Drawable a(CompoundButton compoundButton) {
return compoundButton.getButtonDrawable();
}
}

View File

@@ -0,0 +1,10 @@
package U;
import android.widget.EdgeEffect;
/* loaded from: classes.dex */
public abstract class d {
public static void a(EdgeEffect edgeEffect, float f2, float f4) {
edgeEffect.onPull(f2, f4);
}
}

View File

@@ -0,0 +1,34 @@
package U;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.EdgeEffect;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
public abstract class e {
public static EdgeEffect a(Context context, AttributeSet attributeSet) {
try {
return new EdgeEffect(context, attributeSet);
} catch (Throwable unused) {
return new EdgeEffect(context);
}
}
public static float b(EdgeEffect edgeEffect) {
try {
return edgeEffect.getDistance();
} catch (Throwable unused) {
return BitmapDescriptorFactory.HUE_RED;
}
}
public static float c(EdgeEffect edgeEffect, float f2, float f4) {
try {
return edgeEffect.onPullDistance(f2, f4);
} catch (Throwable unused) {
edgeEffect.onPull(f2, f4);
return BitmapDescriptorFactory.HUE_RED;
}
}
}

View File

@@ -0,0 +1,24 @@
package U;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.widget.ImageView;
/* loaded from: classes.dex */
public abstract class f {
public static ColorStateList a(ImageView imageView) {
return imageView.getImageTintList();
}
public static PorterDuff.Mode b(ImageView imageView) {
return imageView.getImageTintMode();
}
public static void c(ImageView imageView, ColorStateList colorStateList) {
imageView.setImageTintList(colorStateList);
}
public static void d(ImageView imageView, PorterDuff.Mode mode) {
imageView.setImageTintMode(mode);
}
}

View File

@@ -0,0 +1,308 @@
package U;
import android.content.res.Resources;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.AnimationUtils;
import android.widget.ListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.messaging.ServiceStarter;
import m.C0475m0;
/* loaded from: classes.dex */
public final class g implements View.OnTouchListener {
/* renamed from: r, reason: collision with root package name */
public static final int f1740r = ViewConfiguration.getTapTimeout();
/* renamed from: a, reason: collision with root package name */
public final a f1741a;
/* renamed from: b, reason: collision with root package name */
public final AccelerateInterpolator f1742b;
/* renamed from: c, reason: collision with root package name */
public final ListView f1743c;
/* renamed from: d, reason: collision with root package name */
public F0.c f1744d;
/* renamed from: e, reason: collision with root package name */
public final float[] f1745e;
/* renamed from: f, reason: collision with root package name */
public final float[] f1746f;
/* renamed from: g, reason: collision with root package name */
public final int f1747g;
public final int h;
public final float[] i;
/* renamed from: j, reason: collision with root package name */
public final float[] f1748j;
/* renamed from: k, reason: collision with root package name */
public final float[] f1749k;
/* renamed from: l, reason: collision with root package name */
public boolean f1750l;
/* renamed from: m, reason: collision with root package name */
public boolean f1751m;
/* renamed from: n, reason: collision with root package name */
public boolean f1752n;
/* renamed from: o, reason: collision with root package name */
public boolean f1753o;
public boolean p;
/* renamed from: q, reason: collision with root package name */
public final C0475m0 f1754q;
/* JADX WARN: Type inference failed for: r1v0, types: [U.a, java.lang.Object] */
public g(C0475m0 c0475m0) {
?? obj = new Object();
obj.f1737e = Long.MIN_VALUE;
obj.f1739g = -1L;
obj.f1738f = 0L;
this.f1741a = obj;
this.f1742b = new AccelerateInterpolator();
float[] fArr = {BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED};
this.f1745e = fArr;
float[] fArr2 = {Float.MAX_VALUE, Float.MAX_VALUE};
this.f1746f = fArr2;
float[] fArr3 = {BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED};
this.i = fArr3;
float[] fArr4 = {BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED};
this.f1748j = fArr4;
float[] fArr5 = {Float.MAX_VALUE, Float.MAX_VALUE};
this.f1749k = fArr5;
this.f1743c = c0475m0;
float f2 = Resources.getSystem().getDisplayMetrics().density;
float f4 = ((int) ((1575.0f * f2) + 0.5f)) / 1000.0f;
fArr5[0] = f4;
fArr5[1] = f4;
float f5 = ((int) ((f2 * 315.0f) + 0.5f)) / 1000.0f;
fArr4[0] = f5;
fArr4[1] = f5;
this.f1747g = 1;
fArr2[0] = Float.MAX_VALUE;
fArr2[1] = Float.MAX_VALUE;
fArr[0] = 0.2f;
fArr[1] = 0.2f;
fArr3[0] = 0.001f;
fArr3[1] = 0.001f;
this.h = f1740r;
obj.f1733a = ServiceStarter.ERROR_UNKNOWN;
obj.f1734b = ServiceStarter.ERROR_UNKNOWN;
this.f1754q = c0475m0;
}
public static float b(float f2, float f4, float f5) {
return f2 > f5 ? f5 : f2 < f4 ? f4 : f2;
}
/* JADX WARN: Removed duplicated region for block: B:7:0x003b A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:9:0x003c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final float a(int r4, float r5, float r6, float r7) {
/*
r3 = this;
float[] r0 = r3.f1745e
r0 = r0[r4]
float[] r1 = r3.f1746f
r1 = r1[r4]
float r0 = r0 * r6
r2 = 0
float r0 = b(r0, r2, r1)
float r1 = r3.c(r5, r0)
float r6 = r6 - r5
float r5 = r3.c(r6, r0)
float r5 = r5 - r1
int r6 = (r5 > r2 ? 1 : (r5 == r2 ? 0 : -1))
android.view.animation.AccelerateInterpolator r0 = r3.f1742b
if (r6 >= 0) goto L25
float r5 = -r5
float r5 = r0.getInterpolation(r5)
float r5 = -r5
goto L2d
L25:
int r6 = (r5 > r2 ? 1 : (r5 == r2 ? 0 : -1))
if (r6 <= 0) goto L36
float r5 = r0.getInterpolation(r5)
L2d:
r6 = -1082130432(0xffffffffbf800000, float:-1.0)
r0 = 1065353216(0x3f800000, float:1.0)
float r5 = b(r5, r6, r0)
goto L37
L36:
r5 = r2
L37:
int r6 = (r5 > r2 ? 1 : (r5 == r2 ? 0 : -1))
if (r6 != 0) goto L3c
return r2
L3c:
float[] r0 = r3.i
r0 = r0[r4]
float[] r1 = r3.f1748j
r1 = r1[r4]
float[] r3 = r3.f1749k
r3 = r3[r4]
float r0 = r0 * r7
if (r6 <= 0) goto L51
float r5 = r5 * r0
float r3 = b(r5, r1, r3)
return r3
L51:
float r4 = -r5
float r4 = r4 * r0
float r3 = b(r4, r1, r3)
float r3 = -r3
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: U.g.a(int, float, float, float):float");
}
public final float c(float f2, float f4) {
if (f4 != BitmapDescriptorFactory.HUE_RED) {
int i = this.f1747g;
if (i == 0 || i == 1) {
if (f2 < f4) {
if (f2 >= BitmapDescriptorFactory.HUE_RED) {
return 1.0f - (f2 / f4);
}
if (this.f1753o && i == 1) {
return 1.0f;
}
}
} else if (i == 2 && f2 < BitmapDescriptorFactory.HUE_RED) {
return f2 / (-f4);
}
}
return BitmapDescriptorFactory.HUE_RED;
}
public final void d() {
int i = 0;
if (this.f1751m) {
this.f1753o = false;
return;
}
a aVar = this.f1741a;
long currentAnimationTimeMillis = AnimationUtils.currentAnimationTimeMillis();
int i4 = (int) (currentAnimationTimeMillis - aVar.f1737e);
int i5 = aVar.f1734b;
if (i4 > i5) {
i = i5;
} else if (i4 >= 0) {
i = i4;
}
aVar.i = i;
aVar.h = aVar.a(currentAnimationTimeMillis);
aVar.f1739g = currentAnimationTimeMillis;
}
public final boolean e() {
C0475m0 c0475m0;
int count;
a aVar = this.f1741a;
float f2 = aVar.f1736d;
int abs = (int) (f2 / Math.abs(f2));
Math.abs(aVar.f1735c);
if (abs != 0 && (count = (c0475m0 = this.f1754q).getCount()) != 0) {
int childCount = c0475m0.getChildCount();
int firstVisiblePosition = c0475m0.getFirstVisiblePosition();
int i = firstVisiblePosition + childCount;
if (abs <= 0 ? !(abs >= 0 || (firstVisiblePosition <= 0 && c0475m0.getChildAt(0).getTop() >= 0)) : !(i >= count && c0475m0.getChildAt(childCount - 1).getBottom() <= c0475m0.getHeight())) {
return true;
}
}
return false;
}
/* JADX WARN: Code restructure failed: missing block: B:8:0x0014, code lost:
if (r1 != 3) goto L29;
*/
@Override // android.view.View.OnTouchListener
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean onTouch(android.view.View r8, android.view.MotionEvent r9) {
/*
r7 = this;
r0 = 2
boolean r1 = r7.p
r2 = 0
if (r1 != 0) goto L8
goto L7c
L8:
int r1 = r9.getActionMasked()
r3 = 1
if (r1 == 0) goto L1b
if (r1 == r3) goto L17
if (r1 == r0) goto L1f
r8 = 3
if (r1 == r8) goto L17
goto L7c
L17:
r7.d()
return r2
L1b:
r7.f1752n = r3
r7.f1750l = r2
L1f:
float r1 = r9.getX()
int r4 = r8.getWidth()
float r4 = (float) r4
android.widget.ListView r5 = r7.f1743c
int r6 = r5.getWidth()
float r6 = (float) r6
float r1 = r7.a(r2, r1, r4, r6)
float r9 = r9.getY()
int r8 = r8.getHeight()
float r8 = (float) r8
int r4 = r5.getHeight()
float r4 = (float) r4
float r8 = r7.a(r3, r9, r8, r4)
U.a r9 = r7.f1741a
r9.f1735c = r1
r9.f1736d = r8
boolean r8 = r7.f1753o
if (r8 != 0) goto L7c
boolean r8 = r7.e()
if (r8 == 0) goto L7c
F0.c r8 = r7.f1744d
if (r8 != 0) goto L60
F0.c r8 = new F0.c
r8.<init>(r7, r0)
r7.f1744d = r8
L60:
r7.f1753o = r3
r7.f1751m = r3
boolean r8 = r7.f1750l
if (r8 != 0) goto L75
int r8 = r7.h
if (r8 <= 0) goto L75
F0.c r9 = r7.f1744d
long r0 = (long) r8
java.util.WeakHashMap r8 = O.X.f1226a
r5.postOnAnimationDelayed(r9, r0)
goto L7a
L75:
F0.c r8 = r7.f1744d
r8.run()
L7a:
r7.f1750l = r3
L7c:
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: U.g.onTouch(android.view.View, android.view.MotionEvent):boolean");
}
}

View File

@@ -0,0 +1,171 @@
package U;
import O.C0056b;
import android.view.View;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.ScrollView;
import androidx.core.widget.NestedScrollView;
/* loaded from: classes.dex */
public final class h extends C0056b {
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ int f1755d;
public /* synthetic */ h(int i) {
this.f1755d = i;
}
@Override // O.C0056b
public void c(View view, AccessibilityEvent accessibilityEvent) {
switch (this.f1755d) {
case 0:
super.c(view, accessibilityEvent);
NestedScrollView nestedScrollView = (NestedScrollView) view;
accessibilityEvent.setClassName(ScrollView.class.getName());
accessibilityEvent.setScrollable(nestedScrollView.getScrollRange() > 0);
accessibilityEvent.setScrollX(nestedScrollView.getScrollX());
accessibilityEvent.setScrollY(nestedScrollView.getScrollY());
accessibilityEvent.setMaxScrollX(nestedScrollView.getScrollX());
accessibilityEvent.setMaxScrollY(nestedScrollView.getScrollRange());
return;
default:
super.c(view, accessibilityEvent);
return;
}
}
@Override // O.C0056b
public final void d(View view, P.k kVar) {
int scrollRange;
switch (this.f1755d) {
case 0:
this.f1232a.onInitializeAccessibilityNodeInfo(view, kVar.f1341a);
NestedScrollView nestedScrollView = (NestedScrollView) view;
kVar.h(ScrollView.class.getName());
if (!nestedScrollView.isEnabled() || (scrollRange = nestedScrollView.getScrollRange()) <= 0) {
return;
}
kVar.j(true);
if (nestedScrollView.getScrollY() > 0) {
kVar.b(P.f.f1332g);
kVar.b(P.f.f1334k);
}
if (nestedScrollView.getScrollY() < scrollRange) {
kVar.b(P.f.f1331f);
kVar.b(P.f.f1335l);
return;
}
return;
case 1:
View.AccessibilityDelegate accessibilityDelegate = this.f1232a;
AccessibilityNodeInfo accessibilityNodeInfo = kVar.f1341a;
accessibilityDelegate.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfo);
accessibilityNodeInfo.setCollectionInfo(null);
return;
case 2:
this.f1232a.onInitializeAccessibilityNodeInfo(view, kVar.f1341a);
kVar.j(false);
return;
default:
View.AccessibilityDelegate accessibilityDelegate2 = this.f1232a;
AccessibilityNodeInfo accessibilityNodeInfo2 = kVar.f1341a;
accessibilityDelegate2.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfo2);
accessibilityNodeInfo2.setCollectionInfo(null);
return;
}
}
/* JADX WARN: Code restructure failed: missing block: B:22:0x004b, code lost:
if (r5 != 16908346) goto L32;
*/
@Override // O.C0056b
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public boolean g(android.view.View r4, int r5, android.os.Bundle r6) {
/*
r3 = this;
int r0 = r3.f1755d
switch(r0) {
case 0: goto La;
default: goto L5;
}
L5:
boolean r3 = super.g(r4, r5, r6)
return r3
La:
boolean r3 = super.g(r4, r5, r6)
r6 = 1
if (r3 == 0) goto L13
goto La1
L13:
androidx.core.widget.NestedScrollView r4 = (androidx.core.widget.NestedScrollView) r4
boolean r3 = r4.isEnabled()
r0 = 0
if (r3 != 0) goto L1e
goto La0
L1e:
int r3 = r4.getHeight()
android.graphics.Rect r1 = new android.graphics.Rect
r1.<init>()
android.graphics.Matrix r2 = r4.getMatrix()
boolean r2 = r2.isIdentity()
if (r2 == 0) goto L3b
boolean r2 = r4.getGlobalVisibleRect(r1)
if (r2 == 0) goto L3b
int r3 = r1.height()
L3b:
r1 = 4096(0x1000, float:5.74E-42)
if (r5 == r1) goto L75
r1 = 8192(0x2000, float:1.148E-41)
if (r5 == r1) goto L4e
r1 = 16908344(0x1020038, float:2.3877386E-38)
if (r5 == r1) goto L4e
r1 = 16908346(0x102003a, float:2.3877392E-38)
if (r5 == r1) goto L75
goto La0
L4e:
int r5 = r4.getPaddingBottom()
int r3 = r3 - r5
int r5 = r4.getPaddingTop()
int r3 = r3 - r5
int r5 = r4.getScrollY()
int r5 = r5 - r3
int r3 = java.lang.Math.max(r5, r0)
int r5 = r4.getScrollY()
if (r3 == r5) goto La0
int r5 = r4.getScrollX()
int r0 = r0 - r5
int r5 = r4.getScrollY()
int r3 = r3 - r5
r4.v(r0, r3, r6)
goto La1
L75:
int r5 = r4.getPaddingBottom()
int r3 = r3 - r5
int r5 = r4.getPaddingTop()
int r3 = r3 - r5
int r5 = r4.getScrollY()
int r5 = r5 + r3
int r3 = r4.getScrollRange()
int r3 = java.lang.Math.min(r5, r3)
int r5 = r4.getScrollY()
if (r3 == r5) goto La0
int r5 = r4.getScrollX()
int r0 = r0 - r5
int r5 = r4.getScrollY()
int r3 = r3 - r5
r4.v(r0, r3, r6)
goto La1
La0:
r6 = r0
La1:
return r6
*/
throw new UnsupportedOperationException("Method not decompiled: U.h.g(android.view.View, int, android.os.Bundle):boolean");
}
}

View File

@@ -0,0 +1,10 @@
package U;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public abstract class i {
public static boolean a(ViewGroup viewGroup) {
return viewGroup.getClipToPadding();
}
}

View File

@@ -0,0 +1,5 @@
package U;
/* loaded from: classes.dex */
public interface j {
}

View File

@@ -0,0 +1,26 @@
package U;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.View;
/* loaded from: classes.dex */
public final class k extends View.BaseSavedState {
public static final Parcelable.Creator<k> CREATOR = new D0.a(2);
/* renamed from: a, reason: collision with root package name */
public int f1756a;
public final String toString() {
StringBuilder sb = new StringBuilder("HorizontalScrollView.SavedState{");
sb.append(Integer.toHexString(System.identityHashCode(this)));
sb.append(" scrollPosition=");
return com.google.android.gms.measurement.internal.a.m(sb, this.f1756a, "}");
}
@Override // android.view.View.BaseSavedState, android.view.AbsSavedState, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
super.writeToParcel(parcel, i);
parcel.writeInt(this.f1756a);
}
}

View File

@@ -0,0 +1,22 @@
package U;
import android.widget.PopupWindow;
/* loaded from: classes.dex */
public abstract class l {
public static boolean a(PopupWindow popupWindow) {
return popupWindow.getOverlapAnchor();
}
public static int b(PopupWindow popupWindow) {
return popupWindow.getWindowLayoutType();
}
public static void c(PopupWindow popupWindow, boolean z3) {
popupWindow.setOverlapAnchor(z3);
}
public static void d(PopupWindow popupWindow, int i) {
popupWindow.setWindowLayoutType(i);
}
}

View File

@@ -0,0 +1,29 @@
package U;
import android.widget.RemoteViews;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class m {
/* renamed from: a, reason: collision with root package name */
public static final m f1757a = new Object();
private final RemoteViews.RemoteCollectionItems b(n nVar) {
RemoteViews.RemoteCollectionItems.Builder viewTypeCount = new RemoteViews.RemoteCollectionItems.Builder().setHasStableIds(nVar.f1760c).setViewTypeCount(nVar.f1761d);
long[] jArr = nVar.f1758a;
int length = jArr.length;
for (int i = 0; i < length; i++) {
viewTypeCount.addItem(jArr[i], nVar.f1759b[i]);
}
RemoteViews.RemoteCollectionItems build = viewTypeCount.build();
Intrinsics.checkNotNullExpressionValue(build, "Builder()\n …\n .build()");
return build;
}
public final void a(RemoteViews remoteViews, int i, n items) {
Intrinsics.checkNotNullParameter(remoteViews, "remoteViews");
Intrinsics.checkNotNullParameter(items, "items");
remoteViews.setRemoteAdapter(i, b(items));
}
}

View File

@@ -0,0 +1,64 @@
package U;
import android.os.Parcel;
import android.os.Parcelable;
import android.widget.RemoteViews;
import java.util.ArrayList;
import kotlin.collections.ArraysKt;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class n {
/* renamed from: a, reason: collision with root package name */
public final long[] f1758a;
/* renamed from: b, reason: collision with root package name */
public final RemoteViews[] f1759b;
/* renamed from: c, reason: collision with root package name */
public final boolean f1760c;
/* renamed from: d, reason: collision with root package name */
public final int f1761d;
public n(long[] ids, RemoteViews[] views, int i) {
Intrinsics.checkNotNullParameter(ids, "ids");
Intrinsics.checkNotNullParameter(views, "views");
this.f1758a = ids;
this.f1759b = views;
this.f1760c = false;
this.f1761d = i;
if (ids.length != views.length) {
throw new IllegalArgumentException("RemoteCollectionItems has different number of ids and views");
}
if (i >= 1) {
ArrayList arrayList = new ArrayList(views.length);
for (RemoteViews remoteViews : views) {
arrayList.add(Integer.valueOf(remoteViews.getLayoutId()));
}
int size = CollectionsKt.distinct(arrayList).size();
if (size <= i) {
return;
}
throw new IllegalArgumentException(("View type count is set to " + i + ", but the collection contains " + size + " different layout ids").toString());
}
throw new IllegalArgumentException("View type count must be >= 1");
}
public n(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
int readInt = parcel.readInt();
long[] jArr = new long[readInt];
this.f1758a = jArr;
parcel.readLongArray(jArr);
Parcelable.Creator CREATOR = RemoteViews.CREATOR;
Intrinsics.checkNotNullExpressionValue(CREATOR, "CREATOR");
RemoteViews[] remoteViewsArr = new RemoteViews[readInt];
parcel.readTypedArray(remoteViewsArr, CREATOR);
this.f1759b = (RemoteViews[]) ArraysKt.requireNoNulls(remoteViewsArr);
this.f1760c = parcel.readInt() == 1;
this.f1761d = parcel.readInt();
}
}

View File

@@ -0,0 +1,27 @@
package U;
import android.os.Parcel;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.FunctionReferenceImpl;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final /* synthetic */ class o extends FunctionReferenceImpl implements Function2 {
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
Parcel dest = (Parcel) obj;
int intValue = ((Number) obj2).intValue();
Intrinsics.checkNotNullParameter(dest, "p0");
n nVar = (n) this.receiver;
nVar.getClass();
Intrinsics.checkNotNullParameter(dest, "dest");
long[] jArr = nVar.f1758a;
dest.writeInt(jArr.length);
dest.writeLongArray(jArr);
dest.writeTypedArray(nVar.f1759b, intValue);
dest.writeInt(nVar.f1760c ? 1 : 0);
dest.writeInt(nVar.f1761d);
return Unit.INSTANCE;
}
}

View File

@@ -0,0 +1,39 @@
package U;
import android.os.Parcel;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class p extends Lambda implements Function1 {
/* renamed from: b, reason: collision with root package name */
public static final p f1762b = new p(1, 0);
/* renamed from: c, reason: collision with root package name */
public static final p f1763c = new p(1, 1);
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f1764a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ p(int i, int i4) {
super(i);
this.f1764a = i4;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
switch (this.f1764a) {
case 0:
Parcel it = (Parcel) obj;
Intrinsics.checkNotNullParameter(it, "it");
return new n(it);
default:
Parcel it2 = (Parcel) obj;
Intrinsics.checkNotNullParameter(it2, "it");
return new r(it2);
}
}
}

View File

@@ -0,0 +1,36 @@
package U;
import android.os.Parcel;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class q extends Lambda implements Function2 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ r f1765a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public q(r rVar) {
super(2);
this.f1765a = rVar;
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
Parcel dest = (Parcel) obj;
((Number) obj2).intValue();
Intrinsics.checkNotNullParameter(dest, "parcel");
r rVar = this.f1765a;
rVar.getClass();
Intrinsics.checkNotNullParameter(dest, "dest");
byte[] bArr = rVar.f1766a;
dest.writeInt(bArr.length);
dest.writeByteArray(bArr);
dest.writeString(rVar.f1767b);
dest.writeLong(rVar.f1768c);
return Unit.INSTANCE;
}
}

View File

@@ -0,0 +1,36 @@
package U;
import android.os.Build;
import android.os.Parcel;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class r {
/* renamed from: a, reason: collision with root package name */
public final byte[] f1766a;
/* renamed from: b, reason: collision with root package name */
public final String f1767b;
/* renamed from: c, reason: collision with root package name */
public final long f1768c;
public r(byte[] bArr, long j4) {
String str = Build.VERSION.INCREMENTAL;
this.f1766a = bArr;
this.f1767b = str;
this.f1768c = j4;
}
public r(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
byte[] bArr = new byte[parcel.readInt()];
this.f1766a = bArr;
parcel.readByteArray(bArr);
String readString = parcel.readString();
Intrinsics.checkNotNull(readString);
this.f1767b = readString;
this.f1768c = parcel.readLong();
}
}

View File

@@ -0,0 +1,136 @@
package U;
import a.AbstractC0106b;
import android.content.SharedPreferences;
import android.os.Build;
import android.util.Base64;
import android.util.Log;
import android.widget.RemoteViews;
import android.widget.RemoteViewsService;
import androidx.core.widget.RemoteViewsCompatService;
import com.adif.elcanomovil.R;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class s implements RemoteViewsService.RemoteViewsFactory {
/* renamed from: e, reason: collision with root package name */
public static final n f1769e = new n(new long[0], new RemoteViews[0], 1);
/* renamed from: a, reason: collision with root package name */
public final RemoteViewsCompatService f1770a;
/* renamed from: b, reason: collision with root package name */
public final int f1771b;
/* renamed from: c, reason: collision with root package name */
public final int f1772c;
/* renamed from: d, reason: collision with root package name */
public n f1773d;
public s(RemoteViewsCompatService mContext, int i, int i4) {
Intrinsics.checkNotNullParameter(mContext, "mContext");
this.f1770a = mContext;
this.f1771b = i;
this.f1772c = i4;
this.f1773d = f1769e;
}
public final void a() {
RemoteViewsCompatService context = this.f1770a;
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(context, "context");
SharedPreferences sharedPreferences = context.getSharedPreferences("androidx.core.widget.prefs.RemoteViewsCompat", 0);
Intrinsics.checkNotNullExpressionValue(sharedPreferences, "context.getSharedPrefere…S_FILENAME, MODE_PRIVATE)");
StringBuilder sb = new StringBuilder();
int i = this.f1771b;
sb.append(i);
sb.append(':');
sb.append(this.f1772c);
n nVar = null;
String hexString = sharedPreferences.getString(sb.toString(), null);
if (hexString == null) {
Log.w("RemoteViewsCompatServic", "No collection items were stored for widget " + i);
} else {
Intrinsics.checkNotNullParameter(hexString, "hexString");
p creator = p.f1763c;
Intrinsics.checkNotNullParameter(creator, "creator");
byte[] decode = Base64.decode(hexString, 0);
Intrinsics.checkNotNullExpressionValue(decode, "decode(hexString, Base64.DEFAULT)");
r rVar = (r) AbstractC0106b.f(decode, creator);
if (Intrinsics.areEqual(Build.VERSION.INCREMENTAL, rVar.f1767b)) {
Long p = AbstractC0106b.p(context);
if (p == null) {
Log.w("RemoteViewsCompatServic", "Couldn't get version code, not using stored collection items for widget " + i);
} else if (p.longValue() != rVar.f1768c) {
Log.w("RemoteViewsCompatServic", "App version code has changed, not using stored collection items for widget " + i);
} else {
try {
nVar = (n) AbstractC0106b.f(rVar.f1766a, p.f1762b);
} catch (Throwable th) {
Log.e("RemoteViewsCompatServic", "Unable to deserialize stored collection items for widget " + i, th);
}
}
} else {
Log.w("RemoteViewsCompatServic", "Android version code has changed, not using stored collection items for widget " + i);
}
}
if (nVar == null) {
nVar = f1769e;
}
this.f1773d = nVar;
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final int getCount() {
return this.f1773d.f1758a.length;
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final long getItemId(int i) {
try {
return this.f1773d.f1758a[i];
} catch (ArrayIndexOutOfBoundsException unused) {
return -1L;
}
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final /* bridge */ /* synthetic */ RemoteViews getLoadingView() {
return null;
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final RemoteViews getViewAt(int i) {
try {
return this.f1773d.f1759b[i];
} catch (ArrayIndexOutOfBoundsException unused) {
return new RemoteViews(this.f1770a.getPackageName(), R.layout.invalid_list_item);
}
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final int getViewTypeCount() {
return this.f1773d.f1761d;
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final boolean hasStableIds() {
return this.f1773d.f1760c;
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final void onCreate() {
a();
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final void onDataSetChanged() {
a();
}
@Override // android.widget.RemoteViewsService.RemoteViewsFactory
public final void onDestroy() {
}
}

View File

@@ -0,0 +1,40 @@
package U;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.widget.TextView;
/* loaded from: classes.dex */
public abstract class t {
public static int a(TextView textView) {
return textView.getBreakStrategy();
}
public static ColorStateList b(TextView textView) {
return textView.getCompoundDrawableTintList();
}
public static PorterDuff.Mode c(TextView textView) {
return textView.getCompoundDrawableTintMode();
}
public static int d(TextView textView) {
return textView.getHyphenationFrequency();
}
public static void e(TextView textView, int i) {
textView.setBreakStrategy(i);
}
public static void f(TextView textView, ColorStateList colorStateList) {
textView.setCompoundDrawableTintList(colorStateList);
}
public static void g(TextView textView, PorterDuff.Mode mode) {
textView.setCompoundDrawableTintMode(mode);
}
public static void h(TextView textView, int i) {
textView.setHyphenationFrequency(i);
}
}

View File

@@ -0,0 +1,24 @@
package U;
import android.icu.text.DecimalFormatSymbols;
import android.text.PrecomputedText;
import android.widget.TextView;
/* loaded from: classes.dex */
public abstract class u {
public static CharSequence a(PrecomputedText precomputedText) {
return precomputedText;
}
public static String[] b(DecimalFormatSymbols decimalFormatSymbols) {
return decimalFormatSymbols.getDigitStrings();
}
public static PrecomputedText.Params c(TextView textView) {
return textView.getTextMetricsParams();
}
public static void d(TextView textView, int i) {
textView.setFirstBaselineToTopHeight(i);
}
}

View File

@@ -0,0 +1,10 @@
package U;
import android.widget.TextView;
/* loaded from: classes.dex */
public abstract class v {
public static void a(TextView textView, int i, float f2) {
textView.setLineHeight(i, f2);
}
}

View File

@@ -0,0 +1,59 @@
package U;
import O.C0064f;
import O.InterfaceC0062e;
import O.InterfaceC0081w;
import android.content.ClipData;
import android.content.Context;
import android.text.Editable;
import android.text.Selection;
import android.text.Spanned;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
/* loaded from: classes.dex */
public final class w implements InterfaceC0081w {
public final C0064f a(View view, C0064f c0064f) {
CharSequence coerceToStyledText;
if (Log.isLoggable("ReceiveContent", 3)) {
Log.d("ReceiveContent", "onReceive: " + c0064f);
}
if (c0064f.f1244a.getSource() == 2) {
return c0064f;
}
InterfaceC0062e interfaceC0062e = c0064f.f1244a;
ClipData d4 = interfaceC0062e.d();
int e4 = interfaceC0062e.e();
TextView textView = (TextView) view;
Editable editable = (Editable) textView.getText();
Context context = textView.getContext();
boolean z3 = false;
for (int i = 0; i < d4.getItemCount(); i++) {
ClipData.Item itemAt = d4.getItemAt(i);
if ((e4 & 1) != 0) {
coerceToStyledText = itemAt.coerceToText(context);
if (coerceToStyledText instanceof Spanned) {
coerceToStyledText = coerceToStyledText.toString();
}
} else {
coerceToStyledText = itemAt.coerceToStyledText(context);
}
if (coerceToStyledText != null) {
if (z3) {
editable.insert(Selection.getSelectionEnd(editable), "\n");
editable.insert(Selection.getSelectionEnd(editable), coerceToStyledText);
} else {
int selectionStart = Selection.getSelectionStart(editable);
int selectionEnd = Selection.getSelectionEnd(editable);
int max = Math.max(0, Math.min(selectionStart, selectionEnd));
int max2 = Math.max(0, Math.max(selectionStart, selectionEnd));
Selection.setSelection(editable, max2);
editable.replace(max, max2, coerceToStyledText);
z3 = true;
}
}
}
return null;
}
}

View File

@@ -0,0 +1,13 @@
package U;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
/* loaded from: classes.dex */
public interface x {
ColorStateList getSupportButtonTintList();
void setSupportButtonTintList(ColorStateList colorStateList);
void setSupportButtonTintMode(PorterDuff.Mode mode);
}