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,24 @@
package x2;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: x2.a, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0658a extends W.b {
public static final Parcelable.Creator<C0658a> CREATOR = new A.g(10);
/* renamed from: c, reason: collision with root package name */
public boolean f8888c;
public C0658a(Parcel parcel, ClassLoader classLoader) {
super(parcel, classLoader);
this.f8888c = parcel.readInt() == 1;
}
@Override // W.b, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
super.writeToParcel(parcel, i);
parcel.writeInt(this.f8888c ? 1 : 0);
}
}

View File

@@ -0,0 +1,558 @@
package x2;
import O.X;
import android.animation.TimeInterpolator;
import android.content.res.ColorStateList;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.os.Build;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextPaint;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.animation.LinearInterpolator;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.textfield.TextInputLayout;
import i2.AbstractC0396a;
import j0.C0399a;
import java.util.WeakHashMap;
/* loaded from: classes3.dex */
public final class b {
/* renamed from: A, reason: collision with root package name */
public CharSequence f8889A;
/* renamed from: B, reason: collision with root package name */
public CharSequence f8890B;
/* renamed from: C, reason: collision with root package name */
public boolean f8891C;
/* renamed from: E, reason: collision with root package name */
public Bitmap f8893E;
/* renamed from: F, reason: collision with root package name */
public float f8894F;
/* renamed from: G, reason: collision with root package name */
public float f8895G;
/* renamed from: H, reason: collision with root package name */
public float f8896H;
/* renamed from: I, reason: collision with root package name */
public float f8897I;
public float J;
/* renamed from: K, reason: collision with root package name */
public int f8898K;
/* renamed from: L, reason: collision with root package name */
public int[] f8899L;
/* renamed from: M, reason: collision with root package name */
public boolean f8900M;
/* renamed from: N, reason: collision with root package name */
public final TextPaint f8901N;
/* renamed from: O, reason: collision with root package name */
public final TextPaint f8902O;
/* renamed from: P, reason: collision with root package name */
public LinearInterpolator f8903P;
/* renamed from: Q, reason: collision with root package name */
public LinearInterpolator f8904Q;
/* renamed from: R, reason: collision with root package name */
public float f8905R;
/* renamed from: S, reason: collision with root package name */
public float f8906S;
/* renamed from: T, reason: collision with root package name */
public float f8907T;
/* renamed from: U, reason: collision with root package name */
public ColorStateList f8908U;
/* renamed from: V, reason: collision with root package name */
public float f8909V;
/* renamed from: W, reason: collision with root package name */
public float f8910W;
/* renamed from: X, reason: collision with root package name */
public float f8911X;
/* renamed from: Y, reason: collision with root package name */
public StaticLayout f8912Y;
public float Z;
/* renamed from: a, reason: collision with root package name */
public final TextInputLayout f8913a;
/* renamed from: a0, reason: collision with root package name */
public float f8914a0;
/* renamed from: b, reason: collision with root package name */
public float f8915b;
/* renamed from: b0, reason: collision with root package name */
public float f8916b0;
/* renamed from: c, reason: collision with root package name */
public final Rect f8917c;
/* renamed from: c0, reason: collision with root package name */
public CharSequence f8918c0;
/* renamed from: d, reason: collision with root package name */
public final Rect f8919d;
/* renamed from: e, reason: collision with root package name */
public final RectF f8921e;
/* renamed from: j, reason: collision with root package name */
public ColorStateList f8926j;
/* renamed from: k, reason: collision with root package name */
public ColorStateList f8927k;
/* renamed from: l, reason: collision with root package name */
public float f8928l;
/* renamed from: m, reason: collision with root package name */
public float f8929m;
/* renamed from: n, reason: collision with root package name */
public float f8930n;
/* renamed from: o, reason: collision with root package name */
public float f8931o;
public float p;
/* renamed from: q, reason: collision with root package name */
public float f8932q;
/* renamed from: r, reason: collision with root package name */
public Typeface f8933r;
/* renamed from: s, reason: collision with root package name */
public Typeface f8934s;
/* renamed from: t, reason: collision with root package name */
public Typeface f8935t;
/* renamed from: u, reason: collision with root package name */
public Typeface f8936u;
/* renamed from: v, reason: collision with root package name */
public Typeface f8937v;
/* renamed from: w, reason: collision with root package name */
public Typeface f8938w;
/* renamed from: x, reason: collision with root package name */
public Typeface f8939x;
/* renamed from: y, reason: collision with root package name */
public B2.a f8940y;
/* renamed from: f, reason: collision with root package name */
public int f8923f = 16;
/* renamed from: g, reason: collision with root package name */
public int f8925g = 16;
public float h = 15.0f;
public float i = 15.0f;
/* renamed from: z, reason: collision with root package name */
public final TextUtils.TruncateAt f8941z = TextUtils.TruncateAt.END;
/* renamed from: D, reason: collision with root package name */
public final boolean f8892D = true;
/* renamed from: d0, reason: collision with root package name */
public final int f8920d0 = 1;
/* renamed from: e0, reason: collision with root package name */
public final float f8922e0 = 1.0f;
/* renamed from: f0, reason: collision with root package name */
public final int f8924f0 = 1;
public b(TextInputLayout textInputLayout) {
this.f8913a = textInputLayout;
TextPaint textPaint = new TextPaint(129);
this.f8901N = textPaint;
this.f8902O = new TextPaint(textPaint);
this.f8919d = new Rect();
this.f8917c = new Rect();
this.f8921e = new RectF();
g(textInputLayout.getContext().getResources().getConfiguration());
}
public static int a(float f2, int i, int i4) {
float f4 = 1.0f - f2;
return Color.argb(Math.round((Color.alpha(i4) * f2) + (Color.alpha(i) * f4)), Math.round((Color.red(i4) * f2) + (Color.red(i) * f4)), Math.round((Color.green(i4) * f2) + (Color.green(i) * f4)), Math.round((Color.blue(i4) * f2) + (Color.blue(i) * f4)));
}
public static float f(float f2, float f4, float f5, TimeInterpolator timeInterpolator) {
if (timeInterpolator != null) {
f5 = timeInterpolator.getInterpolation(f5);
}
return AbstractC0396a.a(f2, f4, f5);
}
public final boolean b(CharSequence charSequence) {
WeakHashMap weakHashMap = X.f1226a;
boolean z3 = this.f8913a.getLayoutDirection() == 1;
if (this.f8892D) {
return (z3 ? M.h.f1080d : M.h.f1079c).d(charSequence, charSequence.length());
}
return z3;
}
public final void c(float f2, boolean z3) {
float f4;
float f5;
Typeface typeface;
boolean z4;
Layout.Alignment alignment;
if (this.f8889A == null) {
return;
}
float width = this.f8919d.width();
float width2 = this.f8917c.width();
if (Math.abs(f2 - 1.0f) < 1.0E-5f) {
f4 = this.i;
f5 = this.f8909V;
this.f8894F = 1.0f;
typeface = this.f8933r;
} else {
float f6 = this.h;
float f7 = this.f8910W;
Typeface typeface2 = this.f8936u;
if (Math.abs(f2 - BitmapDescriptorFactory.HUE_RED) < 1.0E-5f) {
this.f8894F = 1.0f;
} else {
this.f8894F = f(this.h, this.i, f2, this.f8904Q) / this.h;
}
float f8 = this.i / this.h;
width = (z3 || width2 * f8 <= width) ? width2 : Math.min(width / f8, width2);
f4 = f6;
f5 = f7;
typeface = typeface2;
}
TextPaint textPaint = this.f8901N;
if (width > BitmapDescriptorFactory.HUE_RED) {
boolean z5 = this.f8895G != f4;
boolean z6 = this.f8911X != f5;
boolean z7 = this.f8939x != typeface;
StaticLayout staticLayout = this.f8912Y;
boolean z8 = z5 || z6 || (staticLayout != null && (width > ((float) staticLayout.getWidth()) ? 1 : (width == ((float) staticLayout.getWidth()) ? 0 : -1)) != 0) || z7 || this.f8900M;
this.f8895G = f4;
this.f8911X = f5;
this.f8939x = typeface;
this.f8900M = false;
textPaint.setLinearText(this.f8894F != 1.0f);
z4 = z8;
} else {
z4 = false;
}
if (this.f8890B == null || z4) {
textPaint.setTextSize(this.f8895G);
textPaint.setTypeface(this.f8939x);
textPaint.setLetterSpacing(this.f8911X);
boolean b4 = b(this.f8889A);
this.f8891C = b4;
int i = this.f8920d0;
if (i <= 1 || b4) {
i = 1;
}
if (i == 1) {
alignment = Layout.Alignment.ALIGN_NORMAL;
} else {
int absoluteGravity = Gravity.getAbsoluteGravity(this.f8923f, b4 ? 1 : 0) & 7;
alignment = absoluteGravity != 1 ? absoluteGravity != 5 ? this.f8891C ? Layout.Alignment.ALIGN_OPPOSITE : Layout.Alignment.ALIGN_NORMAL : this.f8891C ? Layout.Alignment.ALIGN_NORMAL : Layout.Alignment.ALIGN_OPPOSITE : Layout.Alignment.ALIGN_CENTER;
}
h hVar = new h(this.f8889A, textPaint, (int) width);
hVar.f8957k = this.f8941z;
hVar.f8956j = b4;
hVar.f8953e = alignment;
hVar.i = false;
hVar.f8954f = i;
hVar.f8955g = this.f8922e0;
hVar.h = this.f8924f0;
StaticLayout a2 = hVar.a();
a2.getClass();
this.f8912Y = a2;
this.f8890B = a2.getText();
}
}
public final float d() {
TextPaint textPaint = this.f8902O;
textPaint.setTextSize(this.i);
textPaint.setTypeface(this.f8933r);
textPaint.setLetterSpacing(this.f8909V);
return -textPaint.ascent();
}
public final int e(ColorStateList colorStateList) {
if (colorStateList == null) {
return 0;
}
int[] iArr = this.f8899L;
return iArr != null ? colorStateList.getColorForState(iArr, 0) : colorStateList.getDefaultColor();
}
public final void g(Configuration configuration) {
if (Build.VERSION.SDK_INT >= 31) {
Typeface typeface = this.f8935t;
if (typeface != null) {
this.f8934s = m3.d.A(configuration, typeface);
}
Typeface typeface2 = this.f8938w;
if (typeface2 != null) {
this.f8937v = m3.d.A(configuration, typeface2);
}
Typeface typeface3 = this.f8934s;
if (typeface3 == null) {
typeface3 = this.f8935t;
}
this.f8933r = typeface3;
Typeface typeface4 = this.f8937v;
if (typeface4 == null) {
typeface4 = this.f8938w;
}
this.f8936u = typeface4;
h(true);
}
}
public final void h(boolean z3) {
float measureText;
StaticLayout staticLayout;
TextInputLayout textInputLayout = this.f8913a;
if ((textInputLayout.getHeight() <= 0 || textInputLayout.getWidth() <= 0) && !z3) {
return;
}
c(1.0f, z3);
CharSequence charSequence = this.f8890B;
TextPaint textPaint = this.f8901N;
if (charSequence != null && (staticLayout = this.f8912Y) != null) {
this.f8918c0 = TextUtils.ellipsize(charSequence, textPaint, staticLayout.getWidth(), this.f8941z);
}
CharSequence charSequence2 = this.f8918c0;
if (charSequence2 != null) {
this.Z = textPaint.measureText(charSequence2, 0, charSequence2.length());
} else {
this.Z = BitmapDescriptorFactory.HUE_RED;
}
int absoluteGravity = Gravity.getAbsoluteGravity(this.f8925g, this.f8891C ? 1 : 0);
int i = absoluteGravity & 112;
Rect rect = this.f8919d;
if (i == 48) {
this.f8929m = rect.top;
} else if (i != 80) {
this.f8929m = rect.centerY() - ((textPaint.descent() - textPaint.ascent()) / 2.0f);
} else {
this.f8929m = textPaint.ascent() + rect.bottom;
}
int i4 = absoluteGravity & 8388615;
if (i4 == 1) {
this.f8931o = rect.centerX() - (this.Z / 2.0f);
} else if (i4 != 5) {
this.f8931o = rect.left;
} else {
this.f8931o = rect.right - this.Z;
}
c(BitmapDescriptorFactory.HUE_RED, z3);
float height = this.f8912Y != null ? r1.getHeight() : 0.0f;
StaticLayout staticLayout2 = this.f8912Y;
if (staticLayout2 == null || this.f8920d0 <= 1) {
CharSequence charSequence3 = this.f8890B;
measureText = charSequence3 != null ? textPaint.measureText(charSequence3, 0, charSequence3.length()) : 0.0f;
} else {
measureText = staticLayout2.getWidth();
}
StaticLayout staticLayout3 = this.f8912Y;
if (staticLayout3 != null) {
staticLayout3.getLineCount();
}
int absoluteGravity2 = Gravity.getAbsoluteGravity(this.f8923f, this.f8891C ? 1 : 0);
int i5 = absoluteGravity2 & 112;
Rect rect2 = this.f8917c;
if (i5 == 48) {
this.f8928l = rect2.top;
} else if (i5 != 80) {
this.f8928l = rect2.centerY() - (height / 2.0f);
} else {
this.f8928l = textPaint.descent() + (rect2.bottom - height);
}
int i6 = absoluteGravity2 & 8388615;
if (i6 == 1) {
this.f8930n = rect2.centerX() - (measureText / 2.0f);
} else if (i6 != 5) {
this.f8930n = rect2.left;
} else {
this.f8930n = rect2.right - measureText;
}
Bitmap bitmap = this.f8893E;
if (bitmap != null) {
bitmap.recycle();
this.f8893E = null;
}
l(this.f8915b);
float f2 = this.f8915b;
float f4 = f(rect2.left, rect.left, f2, this.f8903P);
RectF rectF = this.f8921e;
rectF.left = f4;
rectF.top = f(this.f8928l, this.f8929m, f2, this.f8903P);
rectF.right = f(rect2.right, rect.right, f2, this.f8903P);
rectF.bottom = f(rect2.bottom, rect.bottom, f2, this.f8903P);
this.p = f(this.f8930n, this.f8931o, f2, this.f8903P);
this.f8932q = f(this.f8928l, this.f8929m, f2, this.f8903P);
l(f2);
C0399a c0399a = AbstractC0396a.f6816b;
this.f8914a0 = 1.0f - f(BitmapDescriptorFactory.HUE_RED, 1.0f, 1.0f - f2, c0399a);
WeakHashMap weakHashMap = X.f1226a;
textInputLayout.postInvalidateOnAnimation();
this.f8916b0 = f(1.0f, BitmapDescriptorFactory.HUE_RED, f2, c0399a);
textInputLayout.postInvalidateOnAnimation();
ColorStateList colorStateList = this.f8927k;
ColorStateList colorStateList2 = this.f8926j;
if (colorStateList != colorStateList2) {
textPaint.setColor(a(f2, e(colorStateList2), e(this.f8927k)));
} else {
textPaint.setColor(e(colorStateList));
}
float f5 = this.f8909V;
float f6 = this.f8910W;
if (f5 != f6) {
textPaint.setLetterSpacing(f(f6, f5, f2, c0399a));
} else {
textPaint.setLetterSpacing(f5);
}
this.f8896H = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8905R, f2);
this.f8897I = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8906S, f2);
this.J = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8907T, f2);
int a2 = a(f2, 0, e(this.f8908U));
this.f8898K = a2;
textPaint.setShadowLayer(this.f8896H, this.f8897I, this.J, a2);
textInputLayout.postInvalidateOnAnimation();
}
public final void i(ColorStateList colorStateList) {
if (this.f8927k == colorStateList && this.f8926j == colorStateList) {
return;
}
this.f8927k = colorStateList;
this.f8926j = colorStateList;
h(false);
}
public final boolean j(Typeface typeface) {
B2.a aVar = this.f8940y;
if (aVar != null) {
aVar.f212c = true;
}
if (this.f8935t == typeface) {
return false;
}
this.f8935t = typeface;
Typeface A3 = m3.d.A(this.f8913a.getContext().getResources().getConfiguration(), typeface);
this.f8934s = A3;
if (A3 == null) {
A3 = this.f8935t;
}
this.f8933r = A3;
return true;
}
public final void k(float f2) {
if (f2 < BitmapDescriptorFactory.HUE_RED) {
f2 = 0.0f;
} else if (f2 > 1.0f) {
f2 = 1.0f;
}
if (f2 != this.f8915b) {
this.f8915b = f2;
float f4 = this.f8917c.left;
Rect rect = this.f8919d;
float f5 = f(f4, rect.left, f2, this.f8903P);
RectF rectF = this.f8921e;
rectF.left = f5;
rectF.top = f(this.f8928l, this.f8929m, f2, this.f8903P);
rectF.right = f(r1.right, rect.right, f2, this.f8903P);
rectF.bottom = f(r1.bottom, rect.bottom, f2, this.f8903P);
this.p = f(this.f8930n, this.f8931o, f2, this.f8903P);
this.f8932q = f(this.f8928l, this.f8929m, f2, this.f8903P);
l(f2);
C0399a c0399a = AbstractC0396a.f6816b;
this.f8914a0 = 1.0f - f(BitmapDescriptorFactory.HUE_RED, 1.0f, 1.0f - f2, c0399a);
WeakHashMap weakHashMap = X.f1226a;
TextInputLayout textInputLayout = this.f8913a;
textInputLayout.postInvalidateOnAnimation();
this.f8916b0 = f(1.0f, BitmapDescriptorFactory.HUE_RED, f2, c0399a);
textInputLayout.postInvalidateOnAnimation();
ColorStateList colorStateList = this.f8927k;
ColorStateList colorStateList2 = this.f8926j;
TextPaint textPaint = this.f8901N;
if (colorStateList != colorStateList2) {
textPaint.setColor(a(f2, e(colorStateList2), e(this.f8927k)));
} else {
textPaint.setColor(e(colorStateList));
}
float f6 = this.f8909V;
float f7 = this.f8910W;
if (f6 != f7) {
textPaint.setLetterSpacing(f(f7, f6, f2, c0399a));
} else {
textPaint.setLetterSpacing(f6);
}
this.f8896H = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8905R, f2);
this.f8897I = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8906S, f2);
this.J = AbstractC0396a.a(BitmapDescriptorFactory.HUE_RED, this.f8907T, f2);
int a2 = a(f2, 0, e(this.f8908U));
this.f8898K = a2;
textPaint.setShadowLayer(this.f8896H, this.f8897I, this.J, a2);
textInputLayout.postInvalidateOnAnimation();
}
}
public final void l(float f2) {
c(f2, false);
WeakHashMap weakHashMap = X.f1226a;
this.f8913a.postInvalidateOnAnimation();
}
public final void m(Typeface typeface) {
boolean z3;
boolean j4 = j(typeface);
if (this.f8938w != typeface) {
this.f8938w = typeface;
Typeface A3 = m3.d.A(this.f8913a.getContext().getResources().getConfiguration(), typeface);
this.f8937v = A3;
if (A3 == null) {
A3 = this.f8938w;
}
this.f8936u = A3;
z3 = true;
} else {
z3 = false;
}
if (j4 || z3) {
h(false);
}
}
}

View File

@@ -0,0 +1,28 @@
package x2;
import android.graphics.Matrix;
import android.view.View;
import android.view.ViewGroup;
/* loaded from: classes3.dex */
public abstract class c {
/* renamed from: a, reason: collision with root package name */
public static final ThreadLocal f8942a = new ThreadLocal();
/* renamed from: b, reason: collision with root package name */
public static final ThreadLocal f8943b = new ThreadLocal();
public static void a(ViewGroup viewGroup, View view, Matrix matrix) {
Object parent = view.getParent();
if ((parent instanceof View) && parent != viewGroup) {
a(viewGroup, (View) parent, matrix);
matrix.preTranslate(-r0.getScrollX(), -r0.getScrollY());
}
matrix.preTranslate(view.getLeft(), view.getTop());
if (view.getMatrix().isIdentity()) {
return;
}
matrix.preConcat(view.getMatrix());
}
}

View File

@@ -0,0 +1,177 @@
package x2;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.Gravity;
import androidx.appcompat.widget.LinearLayoutCompat;
import h2.AbstractC0379a;
/* loaded from: classes3.dex */
public abstract class d extends LinearLayoutCompat {
public Drawable p;
/* renamed from: q, reason: collision with root package name */
public final Rect f8944q;
/* renamed from: r, reason: collision with root package name */
public final Rect f8945r;
/* renamed from: s, reason: collision with root package name */
public int f8946s;
/* renamed from: t, reason: collision with root package name */
public final boolean f8947t;
/* renamed from: u, reason: collision with root package name */
public boolean f8948u;
public d(Context context, AttributeSet attributeSet) {
super(context, attributeSet, 0);
this.f8944q = new Rect();
this.f8945r = new Rect();
this.f8946s = 119;
this.f8947t = true;
this.f8948u = false;
int[] iArr = AbstractC0379a.f6762j;
m.a(context, attributeSet, 0, 0);
m.b(context, attributeSet, iArr, 0, 0, new int[0]);
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, iArr, 0, 0);
this.f8946s = obtainStyledAttributes.getInt(1, this.f8946s);
Drawable drawable = obtainStyledAttributes.getDrawable(0);
if (drawable != null) {
setForeground(drawable);
}
this.f8947t = obtainStyledAttributes.getBoolean(2, true);
obtainStyledAttributes.recycle();
}
@Override // android.view.View
public final void draw(Canvas canvas) {
super.draw(canvas);
Drawable drawable = this.p;
if (drawable != null) {
if (this.f8948u) {
this.f8948u = false;
int right = getRight() - getLeft();
int bottom = getBottom() - getTop();
boolean z3 = this.f8947t;
Rect rect = this.f8944q;
if (z3) {
rect.set(0, 0, right, bottom);
} else {
rect.set(getPaddingLeft(), getPaddingTop(), right - getPaddingRight(), bottom - getPaddingBottom());
}
int i = this.f8946s;
int intrinsicWidth = drawable.getIntrinsicWidth();
int intrinsicHeight = drawable.getIntrinsicHeight();
Rect rect2 = this.f8945r;
Gravity.apply(i, intrinsicWidth, intrinsicHeight, rect, rect2);
drawable.setBounds(rect2);
}
drawable.draw(canvas);
}
}
@Override // android.view.View
public final void drawableHotspotChanged(float f2, float f4) {
super.drawableHotspotChanged(f2, f4);
Drawable drawable = this.p;
if (drawable != null) {
drawable.setHotspot(f2, f4);
}
}
@Override // android.view.ViewGroup, android.view.View
public final void drawableStateChanged() {
super.drawableStateChanged();
Drawable drawable = this.p;
if (drawable == null || !drawable.isStateful()) {
return;
}
this.p.setState(getDrawableState());
}
@Override // android.view.View
public Drawable getForeground() {
return this.p;
}
@Override // android.view.View
public int getForegroundGravity() {
return this.f8946s;
}
@Override // android.view.ViewGroup, android.view.View
public final void jumpDrawablesToCurrentState() {
super.jumpDrawablesToCurrentState();
Drawable drawable = this.p;
if (drawable != null) {
drawable.jumpToCurrentState();
}
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup, android.view.View
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
super.onLayout(z3, i, i4, i5, i6);
this.f8948u = z3 | this.f8948u;
}
@Override // android.view.View
public final void onSizeChanged(int i, int i4, int i5, int i6) {
super.onSizeChanged(i, i4, i5, i6);
this.f8948u = true;
}
@Override // android.view.View
public void setForeground(Drawable drawable) {
Drawable drawable2 = this.p;
if (drawable2 != drawable) {
if (drawable2 != null) {
drawable2.setCallback(null);
unscheduleDrawable(this.p);
}
this.p = drawable;
this.f8948u = true;
if (drawable != null) {
setWillNotDraw(false);
drawable.setCallback(this);
if (drawable.isStateful()) {
drawable.setState(getDrawableState());
}
if (this.f8946s == 119) {
drawable.getPadding(new Rect());
}
} else {
setWillNotDraw(true);
}
requestLayout();
invalidate();
}
}
@Override // android.view.View
public void setForegroundGravity(int i) {
if (this.f8946s != i) {
if ((8388615 & i) == 0) {
i |= 8388611;
}
if ((i & 112) == 0) {
i |= 48;
}
this.f8946s = i;
if (i == 119 && this.p != null) {
this.p.getPadding(new Rect());
}
requestLayout();
}
}
@Override // android.view.View
public final boolean verifyDrawable(Drawable drawable) {
return super.verifyDrawable(drawable) || drawable == this.p;
}
}

View File

@@ -0,0 +1,5 @@
package x2;
/* loaded from: classes3.dex */
public interface e {
}

View File

@@ -0,0 +1,39 @@
package x2;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.SparseArray;
/* loaded from: classes3.dex */
public final class f extends SparseArray implements Parcelable {
public static final Parcelable.Creator<f> CREATOR = new A.g(11);
public f(Parcel parcel, ClassLoader classLoader) {
int readInt = parcel.readInt();
int[] iArr = new int[readInt];
parcel.readIntArray(iArr);
Parcelable[] readParcelableArray = parcel.readParcelableArray(classLoader);
for (int i = 0; i < readInt; i++) {
put(iArr[i], readParcelableArray[i]);
}
}
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int size = size();
int[] iArr = new int[size];
Parcelable[] parcelableArr = new Parcelable[size];
for (int i4 = 0; i4 < size; i4++) {
iArr[i4] = keyAt(i4);
parcelableArr[i4] = (Parcelable) valueAt(i4);
}
parcel.writeInt(size);
parcel.writeIntArray(iArr);
parcel.writeParcelableArray(parcelableArr, i);
}
}

View File

@@ -0,0 +1,5 @@
package x2;
/* loaded from: classes3.dex */
public abstract class g extends Exception {
}

View File

@@ -0,0 +1,83 @@
package x2;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextDirectionHeuristics;
import android.text.TextPaint;
import android.text.TextUtils;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes3.dex */
public final class h {
/* renamed from: a, reason: collision with root package name */
public CharSequence f8949a;
/* renamed from: b, reason: collision with root package name */
public final TextPaint f8950b;
/* renamed from: c, reason: collision with root package name */
public final int f8951c;
/* renamed from: d, reason: collision with root package name */
public int f8952d;
/* renamed from: j, reason: collision with root package name */
public boolean f8956j;
/* renamed from: e, reason: collision with root package name */
public Layout.Alignment f8953e = Layout.Alignment.ALIGN_NORMAL;
/* renamed from: f, reason: collision with root package name */
public int f8954f = Integer.MAX_VALUE;
/* renamed from: g, reason: collision with root package name */
public float f8955g = 1.0f;
public int h = 1;
public boolean i = true;
/* renamed from: k, reason: collision with root package name */
public TextUtils.TruncateAt f8957k = null;
public h(CharSequence charSequence, TextPaint textPaint, int i) {
this.f8949a = charSequence;
this.f8950b = textPaint;
this.f8951c = i;
this.f8952d = charSequence.length();
}
public final StaticLayout a() {
if (this.f8949a == null) {
this.f8949a = "";
}
int max = Math.max(0, this.f8951c);
CharSequence charSequence = this.f8949a;
int i = this.f8954f;
TextPaint textPaint = this.f8950b;
if (i == 1) {
charSequence = TextUtils.ellipsize(charSequence, textPaint, max, this.f8957k);
}
int min = Math.min(charSequence.length(), this.f8952d);
this.f8952d = min;
if (this.f8956j && this.f8954f == 1) {
this.f8953e = Layout.Alignment.ALIGN_OPPOSITE;
}
StaticLayout.Builder obtain = StaticLayout.Builder.obtain(charSequence, 0, min, textPaint, max);
obtain.setAlignment(this.f8953e);
obtain.setIncludePad(this.i);
obtain.setTextDirection(this.f8956j ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR);
TextUtils.TruncateAt truncateAt = this.f8957k;
if (truncateAt != null) {
obtain.setEllipsize(truncateAt);
}
obtain.setMaxLines(this.f8954f);
float f2 = this.f8955g;
if (f2 != 1.0f) {
obtain.setLineSpacing(BitmapDescriptorFactory.HUE_RED, f2);
}
if (this.f8954f > 1) {
obtain.setHyphenationFrequency(this.h);
}
return obtain.build();
}
}

View File

@@ -0,0 +1,10 @@
package x2;
/* loaded from: classes3.dex */
public interface i {
void a();
int[] getState();
boolean onStateChange(int[] iArr);
}

View File

@@ -0,0 +1,70 @@
package x2;
import android.content.Context;
import android.text.TextPaint;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.ref.WeakReference;
import s2.C0608a;
/* loaded from: classes3.dex */
public final class j {
/* renamed from: c, reason: collision with root package name */
public float f8960c;
/* renamed from: d, reason: collision with root package name */
public float f8961d;
/* renamed from: f, reason: collision with root package name */
public final WeakReference f8963f;
/* renamed from: g, reason: collision with root package name */
public B2.d f8964g;
/* renamed from: a, reason: collision with root package name */
public final TextPaint f8958a = new TextPaint(1);
/* renamed from: b, reason: collision with root package name */
public final C0608a f8959b = new C0608a(this, 1);
/* renamed from: e, reason: collision with root package name */
public boolean f8962e = true;
public j(i iVar) {
this.f8963f = new WeakReference(null);
this.f8963f = new WeakReference(iVar);
}
public final void a(String str) {
TextPaint textPaint = this.f8958a;
float f2 = BitmapDescriptorFactory.HUE_RED;
this.f8960c = str == null ? 0.0f : textPaint.measureText((CharSequence) str, 0, str.length());
if (str != null) {
f2 = Math.abs(textPaint.getFontMetrics().ascent);
}
this.f8961d = f2;
this.f8962e = false;
}
public final void b(B2.d dVar, Context context) {
if (this.f8964g != dVar) {
this.f8964g = dVar;
if (dVar != null) {
TextPaint textPaint = this.f8958a;
C0608a c0608a = this.f8959b;
dVar.f(context, textPaint, c0608a);
i iVar = (i) this.f8963f.get();
if (iVar != null) {
textPaint.drawableState = iVar.getState();
}
dVar.e(context, textPaint, c0608a);
this.f8962e = true;
}
i iVar2 = (i) this.f8963f.get();
if (iVar2 != null) {
iVar2.a();
iVar2.onStateChange(iVar2.getState());
}
}
}
}

View File

@@ -0,0 +1,51 @@
package x2;
import B0.F;
import B0.x;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.HashMap;
/* loaded from: classes3.dex */
public final class k extends x {
@Override // B0.x
public final void d(F f2) {
View view = f2.f99b;
if (view instanceof TextView) {
f2.f98a.put("android:textscale:scale", Float.valueOf(((TextView) view).getScaleX()));
}
}
@Override // B0.x
public final void g(F f2) {
View view = f2.f99b;
if (view instanceof TextView) {
f2.f98a.put("android:textscale:scale", Float.valueOf(((TextView) view).getScaleX()));
}
}
@Override // B0.x
public final Animator k(ViewGroup viewGroup, F f2, F f4) {
if (f2 == null || f4 == null || !(f2.f99b instanceof TextView)) {
return null;
}
View view = f4.f99b;
if (!(view instanceof TextView)) {
return null;
}
TextView textView = (TextView) view;
HashMap hashMap = f2.f98a;
HashMap hashMap2 = f4.f98a;
float floatValue = hashMap.get("android:textscale:scale") != null ? ((Float) hashMap.get("android:textscale:scale")).floatValue() : 1.0f;
float floatValue2 = hashMap2.get("android:textscale:scale") != null ? ((Float) hashMap2.get("android:textscale:scale")).floatValue() : 1.0f;
if (floatValue == floatValue2) {
return null;
}
ValueAnimator ofFloat = ValueAnimator.ofFloat(floatValue, floatValue2);
ofFloat.addUpdateListener(new H2.b(textView, 4));
return ofFloat;
}
}

View File

@@ -0,0 +1,14 @@
package x2;
import android.text.TextWatcher;
/* loaded from: classes3.dex */
public abstract class l implements TextWatcher {
@Override // android.text.TextWatcher
public void beforeTextChanged(CharSequence charSequence, int i, int i4, int i5) {
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i4, int i5) {
}
}

View File

@@ -0,0 +1,196 @@
package x2;
import C.w;
import O.J;
import O.L;
import O.X;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.PorterDuff;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.View;
import android.widget.TextView;
import com.adif.elcanomovil.R;
import com.google.android.material.appbar.MaterialToolbar;
import h2.AbstractC0379a;
import java.util.ArrayList;
import java.util.WeakHashMap;
/* loaded from: classes3.dex */
public abstract class m {
/* renamed from: a, reason: collision with root package name */
public static final int[] f8965a = {R.attr.colorPrimary};
/* renamed from: b, reason: collision with root package name */
public static final int[] f8966b = {R.attr.colorPrimaryVariant};
/* renamed from: c, reason: collision with root package name */
public static final A.i f8967c = new A.i(7);
/* renamed from: d, reason: collision with root package name */
public static final /* synthetic */ int f8968d = 0;
public static void a(Context context, AttributeSet attributeSet, int i, int i4) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0379a.f6754H, i, i4);
boolean z3 = obtainStyledAttributes.getBoolean(1, false);
obtainStyledAttributes.recycle();
if (z3) {
TypedValue typedValue = new TypedValue();
if (!context.getTheme().resolveAttribute(R.attr.isMaterialTheme, typedValue, true) || (typedValue.type == 18 && typedValue.data == 0)) {
c(context, f8966b, "Theme.MaterialComponents");
}
}
c(context, f8965a, "Theme.AppCompat");
}
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
if (r0.getResourceId(0, -1) != (-1)) goto L10;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static void b(android.content.Context r5, android.util.AttributeSet r6, int[] r7, int r8, int r9, int... r10) {
/*
int[] r0 = h2.AbstractC0379a.f6754H
android.content.res.TypedArray r0 = r5.obtainStyledAttributes(r6, r0, r8, r9)
r1 = 2
r2 = 0
boolean r1 = r0.getBoolean(r1, r2)
if (r1 != 0) goto L12
r0.recycle()
return
L12:
int r1 = r10.length
r3 = 1
r4 = -1
if (r1 != 0) goto L1f
int r5 = r0.getResourceId(r2, r4)
if (r5 == r4) goto L3a
L1d:
r2 = r3
goto L3a
L1f:
android.content.res.TypedArray r5 = r5.obtainStyledAttributes(r6, r7, r8, r9)
int r6 = r10.length
r7 = r2
L25:
if (r7 >= r6) goto L36
r8 = r10[r7]
int r8 = r5.getResourceId(r8, r4)
if (r8 != r4) goto L33
r5.recycle()
goto L3a
L33:
int r7 = r7 + 1
goto L25
L36:
r5.recycle()
goto L1d
L3a:
r0.recycle()
if (r2 == 0) goto L40
return
L40:
java.lang.IllegalArgumentException r5 = new java.lang.IllegalArgumentException
java.lang.String r6 = "This component requires that you specify a valid TextAppearance attribute. Update your app theme to inherit from Theme.MaterialComponents (or a descendant)."
r5.<init>(r6)
throw r5
*/
throw new UnsupportedOperationException("Method not decompiled: x2.m.b(android.content.Context, android.util.AttributeSet, int[], int, int, int[]):void");
}
public static void c(Context context, int[] iArr, String str) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(iArr);
for (int i = 0; i < iArr.length; i++) {
if (!obtainStyledAttributes.hasValue(i)) {
obtainStyledAttributes.recycle();
throw new IllegalArgumentException(w.o("The style on this component requires your app theme to be ", str, " (or a descendant)."));
}
}
obtainStyledAttributes.recycle();
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Object, x2.p] */
/* JADX WARN: Type inference failed for: r6v2, types: [java.lang.Object, android.view.View$OnAttachStateChangeListener] */
public static void d(View view, o oVar) {
WeakHashMap weakHashMap = X.f1226a;
int paddingStart = view.getPaddingStart();
int paddingTop = view.getPaddingTop();
int paddingEnd = view.getPaddingEnd();
int paddingBottom = view.getPaddingBottom();
?? obj = new Object();
obj.f8969a = paddingStart;
obj.f8970b = paddingTop;
obj.f8971c = paddingEnd;
obj.f8972d = paddingBottom;
L.u(view, new F.i(21, oVar, (Object) obj));
if (view.isAttachedToWindow()) {
J.c(view);
} else {
view.addOnAttachStateChangeListener(new Object());
}
}
public static float e(Context context, int i) {
return TypedValue.applyDimension(1, i, context.getResources().getDisplayMetrics());
}
public static ArrayList f(MaterialToolbar materialToolbar, CharSequence charSequence) {
ArrayList arrayList = new ArrayList();
for (int i = 0; i < materialToolbar.getChildCount(); i++) {
View childAt = materialToolbar.getChildAt(i);
if (childAt instanceof TextView) {
TextView textView = (TextView) childAt;
if (TextUtils.equals(textView.getText(), charSequence)) {
arrayList.add(textView);
}
}
}
return arrayList;
}
public static boolean g(View view) {
WeakHashMap weakHashMap = X.f1226a;
return view.getLayoutDirection() == 1;
}
public static TypedArray h(Context context, AttributeSet attributeSet, int[] iArr, int i, int i4, int... iArr2) {
a(context, attributeSet, i, i4);
b(context, attributeSet, iArr, i, i4, iArr2);
return context.obtainStyledAttributes(attributeSet, iArr, i, i4);
}
public static R0.h i(Context context, AttributeSet attributeSet, int[] iArr, int i, int i4, int... iArr2) {
a(context, attributeSet, i, i4);
b(context, attributeSet, iArr, i, i4, iArr2);
return new R0.h(context, context.obtainStyledAttributes(attributeSet, iArr, i, i4));
}
public static PorterDuff.Mode j(int i, PorterDuff.Mode mode) {
if (i == 3) {
return PorterDuff.Mode.SRC_OVER;
}
if (i == 5) {
return PorterDuff.Mode.SRC_IN;
}
if (i == 9) {
return PorterDuff.Mode.SRC_ATOP;
}
switch (i) {
case 14:
return PorterDuff.Mode.MULTIPLY;
case 15:
return PorterDuff.Mode.SCREEN;
case 16:
return PorterDuff.Mode.ADD;
default:
return mode;
}
}
}

View File

@@ -0,0 +1,20 @@
package x2;
import O.J;
import O.X;
import android.view.View;
import java.util.WeakHashMap;
/* loaded from: classes3.dex */
public final class n implements View.OnAttachStateChangeListener {
@Override // android.view.View.OnAttachStateChangeListener
public final void onViewAttachedToWindow(View view) {
view.removeOnAttachStateChangeListener(this);
WeakHashMap weakHashMap = X.f1226a;
J.c(view);
}
@Override // android.view.View.OnAttachStateChangeListener
public final void onViewDetachedFromWindow(View view) {
}
}

View File

@@ -0,0 +1,9 @@
package x2;
import O.D0;
import android.view.View;
/* loaded from: classes3.dex */
public interface o {
D0 c(View view, D0 d02, p pVar);
}

View File

@@ -0,0 +1,17 @@
package x2;
/* loaded from: classes3.dex */
public final class p {
/* renamed from: a, reason: collision with root package name */
public int f8969a;
/* renamed from: b, reason: collision with root package name */
public int f8970b;
/* renamed from: c, reason: collision with root package name */
public int f8971c;
/* renamed from: d, reason: collision with root package name */
public int f8972d;
}