Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package R1;
import com.adif.elcanomovil.R;
/* loaded from: classes3.dex */
public abstract class a {
/* renamed from: a, reason: collision with root package name */
public static final int[] f1416a = {R.attr.shimmer_auto_start, R.attr.shimmer_base_alpha, R.attr.shimmer_base_color, R.attr.shimmer_clip_to_children, R.attr.shimmer_colored, R.attr.shimmer_direction, R.attr.shimmer_dropoff, R.attr.shimmer_duration, R.attr.shimmer_fixed_height, R.attr.shimmer_fixed_width, R.attr.shimmer_height_ratio, R.attr.shimmer_highlight_alpha, R.attr.shimmer_highlight_color, R.attr.shimmer_intensity, R.attr.shimmer_repeat_count, R.attr.shimmer_repeat_delay, R.attr.shimmer_repeat_mode, R.attr.shimmer_shape, R.attr.shimmer_tilt, R.attr.shimmer_width_ratio};
}

View File

@@ -0,0 +1,47 @@
package R1;
import C.v;
import android.content.res.TypedArray;
/* loaded from: classes3.dex */
public final class b extends v {
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ int f1417b;
public b(int i) {
this.f1417b = i;
switch (i) {
case 1:
return;
default:
((c) this.f267a).p = true;
return;
}
}
@Override // C.v
public v c(TypedArray typedArray) {
switch (this.f1417b) {
case 1:
super.c(typedArray);
boolean hasValue = typedArray.hasValue(2);
c cVar = (c) this.f267a;
if (hasValue) {
cVar.f1422e = (typedArray.getColor(2, cVar.f1422e) & 16777215) | (cVar.f1422e & (-16777216));
}
if (typedArray.hasValue(12)) {
cVar.f1421d = typedArray.getColor(12, cVar.f1421d);
}
return this;
default:
return super.c(typedArray);
}
}
@Override // C.v
public final v e() {
int i = this.f1417b;
return this;
}
}

View File

@@ -0,0 +1,83 @@
package R1;
import android.graphics.RectF;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes3.dex */
public final class c {
/* renamed from: a, reason: collision with root package name */
public final float[] f1418a = new float[4];
/* renamed from: b, reason: collision with root package name */
public final int[] f1419b = new int[4];
/* renamed from: c, reason: collision with root package name */
public int f1420c;
/* renamed from: d, reason: collision with root package name */
public int f1421d;
/* renamed from: e, reason: collision with root package name */
public int f1422e;
/* renamed from: f, reason: collision with root package name */
public int f1423f;
/* renamed from: g, reason: collision with root package name */
public int f1424g;
public int h;
public float i;
/* renamed from: j, reason: collision with root package name */
public float f1425j;
/* renamed from: k, reason: collision with root package name */
public float f1426k;
/* renamed from: l, reason: collision with root package name */
public float f1427l;
/* renamed from: m, reason: collision with root package name */
public float f1428m;
/* renamed from: n, reason: collision with root package name */
public boolean f1429n;
/* renamed from: o, reason: collision with root package name */
public boolean f1430o;
public boolean p;
/* renamed from: q, reason: collision with root package name */
public int f1431q;
/* renamed from: r, reason: collision with root package name */
public int f1432r;
/* renamed from: s, reason: collision with root package name */
public long f1433s;
/* renamed from: t, reason: collision with root package name */
public long f1434t;
public c() {
new RectF();
this.f1420c = 0;
this.f1421d = -1;
this.f1422e = 1291845631;
this.f1423f = 0;
this.f1424g = 0;
this.h = 0;
this.i = 1.0f;
this.f1425j = 1.0f;
this.f1426k = BitmapDescriptorFactory.HUE_RED;
this.f1427l = 0.5f;
this.f1428m = 20.0f;
this.f1429n = true;
this.f1430o = true;
this.p = true;
this.f1431q = -1;
this.f1432r = 1;
this.f1433s = 1000L;
}
}

View File

@@ -0,0 +1,159 @@
package R1;
import android.animation.ValueAnimator;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.LinearGradient;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.RadialGradient;
import android.graphics.Rect;
import android.graphics.Shader;
import android.graphics.drawable.Drawable;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes3.dex */
public final class d extends Drawable {
/* renamed from: a, reason: collision with root package name */
public final H2.b f1435a = new H2.b(this, 2);
/* renamed from: b, reason: collision with root package name */
public final Paint f1436b;
/* renamed from: c, reason: collision with root package name */
public final Rect f1437c;
/* renamed from: d, reason: collision with root package name */
public final Matrix f1438d;
/* renamed from: e, reason: collision with root package name */
public ValueAnimator f1439e;
/* renamed from: f, reason: collision with root package name */
public c f1440f;
public d() {
Paint paint = new Paint();
this.f1436b = paint;
this.f1437c = new Rect();
this.f1438d = new Matrix();
paint.setAntiAlias(true);
}
public final void a() {
c cVar;
ValueAnimator valueAnimator = this.f1439e;
if (valueAnimator == null || valueAnimator.isStarted() || (cVar = this.f1440f) == null || !cVar.f1430o || getCallback() == null) {
return;
}
this.f1439e.start();
}
public final void b() {
c cVar;
Shader radialGradient;
Rect bounds = getBounds();
int width = bounds.width();
int height = bounds.height();
if (width == 0 || height == 0 || (cVar = this.f1440f) == null) {
return;
}
int i = cVar.f1424g;
if (i <= 0) {
i = Math.round(cVar.i * width);
}
c cVar2 = this.f1440f;
int i4 = cVar2.h;
if (i4 <= 0) {
i4 = Math.round(cVar2.f1425j * height);
}
c cVar3 = this.f1440f;
boolean z3 = true;
if (cVar3.f1423f != 1) {
int i5 = cVar3.f1420c;
if (i5 != 1 && i5 != 3) {
z3 = false;
}
if (z3) {
i = 0;
}
if (!z3) {
i4 = 0;
}
c cVar4 = this.f1440f;
radialGradient = new LinearGradient(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, i, i4, cVar4.f1419b, cVar4.f1418a, Shader.TileMode.CLAMP);
} else {
float max = (float) (Math.max(i, i4) / Math.sqrt(2.0d));
c cVar5 = this.f1440f;
radialGradient = new RadialGradient(i / 2.0f, i4 / 2.0f, max, cVar5.f1419b, cVar5.f1418a, Shader.TileMode.CLAMP);
}
this.f1436b.setShader(radialGradient);
}
@Override // android.graphics.drawable.Drawable
public final void draw(Canvas canvas) {
float a2;
float a4;
if (this.f1440f != null) {
Paint paint = this.f1436b;
if (paint.getShader() == null) {
return;
}
float tan = (float) Math.tan(Math.toRadians(this.f1440f.f1428m));
Rect rect = this.f1437c;
float width = (rect.width() * tan) + rect.height();
float height = (tan * rect.height()) + rect.width();
ValueAnimator valueAnimator = this.f1439e;
float f2 = BitmapDescriptorFactory.HUE_RED;
float animatedFraction = valueAnimator != null ? valueAnimator.getAnimatedFraction() : 0.0f;
int i = this.f1440f.f1420c;
if (i != 1) {
if (i == 2) {
a4 = com.google.android.gms.measurement.internal.a.a(-height, height, animatedFraction, height);
} else if (i != 3) {
float f4 = -height;
a4 = com.google.android.gms.measurement.internal.a.a(height, f4, animatedFraction, f4);
} else {
a2 = com.google.android.gms.measurement.internal.a.a(-width, width, animatedFraction, width);
}
f2 = a4;
a2 = 0.0f;
} else {
float f5 = -width;
a2 = com.google.android.gms.measurement.internal.a.a(width, f5, animatedFraction, f5);
}
Matrix matrix = this.f1438d;
matrix.reset();
matrix.setRotate(this.f1440f.f1428m, rect.width() / 2.0f, rect.height() / 2.0f);
matrix.postTranslate(f2, a2);
paint.getShader().setLocalMatrix(matrix);
canvas.drawRect(rect, paint);
}
}
@Override // android.graphics.drawable.Drawable
public final int getOpacity() {
c cVar = this.f1440f;
if (cVar != null) {
return (cVar.f1429n || cVar.p) ? -3 : -1;
}
return -1;
}
@Override // android.graphics.drawable.Drawable
public final void onBoundsChange(Rect rect) {
super.onBoundsChange(rect);
this.f1437c.set(0, 0, rect.width(), rect.height());
b();
a();
}
@Override // android.graphics.drawable.Drawable
public final void setAlpha(int i) {
}
@Override // android.graphics.drawable.Drawable
public final void setColorFilter(ColorFilter colorFilter) {
}
}