Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
6
apk_decompiled/sources/p2/InterfaceC0552a.java
Normal file
6
apk_decompiled/sources/p2/InterfaceC0552a.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package p2;
|
||||
|
||||
/* renamed from: p2.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes3.dex */
|
||||
public interface InterfaceC0552a {
|
||||
}
|
||||
27
apk_decompiled/sources/p2/b.java
Normal file
27
apk_decompiled/sources/p2/b.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package p2;
|
||||
|
||||
import A.g;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class b extends W.b {
|
||||
public static final Parcelable.Creator<b> CREATOR = new g(9);
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f8121c;
|
||||
|
||||
public b(Parcel parcel, ClassLoader classLoader) {
|
||||
super(parcel, classLoader);
|
||||
if (classLoader == null) {
|
||||
b.class.getClassLoader();
|
||||
}
|
||||
this.f8121c = parcel.readInt() == 1;
|
||||
}
|
||||
|
||||
@Override // W.b, android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
super.writeToParcel(parcel, i);
|
||||
parcel.writeInt(this.f8121c ? 1 : 0);
|
||||
}
|
||||
}
|
||||
196
apk_decompiled/sources/p2/c.java
Normal file
196
apk_decompiled/sources/p2/c.java
Normal file
@@ -0,0 +1,196 @@
|
||||
package p2;
|
||||
|
||||
import E2.f;
|
||||
import E2.g;
|
||||
import E2.k;
|
||||
import E2.u;
|
||||
import O.X;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.InsetDrawable;
|
||||
import android.graphics.drawable.LayerDrawable;
|
||||
import android.graphics.drawable.RippleDrawable;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final MaterialButton f8122a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public k f8123b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f8124c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f8125d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f8126e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f8127f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f8128g;
|
||||
public int h;
|
||||
public PorterDuff.Mode i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public ColorStateList f8129j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public ColorStateList f8130k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public ColorStateList f8131l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public g f8132m;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public boolean f8135q;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public RippleDrawable f8137s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public int f8138t;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public boolean f8133n = false;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public boolean f8134o = false;
|
||||
public boolean p = false;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f8136r = true;
|
||||
|
||||
public c(MaterialButton materialButton, k kVar) {
|
||||
this.f8122a = materialButton;
|
||||
this.f8123b = kVar;
|
||||
}
|
||||
|
||||
public final u a() {
|
||||
RippleDrawable rippleDrawable = this.f8137s;
|
||||
if (rippleDrawable == null || rippleDrawable.getNumberOfLayers() <= 1) {
|
||||
return null;
|
||||
}
|
||||
return this.f8137s.getNumberOfLayers() > 2 ? (u) this.f8137s.getDrawable(2) : (u) this.f8137s.getDrawable(1);
|
||||
}
|
||||
|
||||
public final g b(boolean z3) {
|
||||
RippleDrawable rippleDrawable = this.f8137s;
|
||||
if (rippleDrawable == null || rippleDrawable.getNumberOfLayers() <= 0) {
|
||||
return null;
|
||||
}
|
||||
return (g) ((LayerDrawable) ((InsetDrawable) this.f8137s.getDrawable(0)).getDrawable()).getDrawable(!z3 ? 1 : 0);
|
||||
}
|
||||
|
||||
public final void c(k kVar) {
|
||||
this.f8123b = kVar;
|
||||
if (b(false) != null) {
|
||||
b(false).setShapeAppearanceModel(kVar);
|
||||
}
|
||||
if (b(true) != null) {
|
||||
b(true).setShapeAppearanceModel(kVar);
|
||||
}
|
||||
if (a() != null) {
|
||||
a().setShapeAppearanceModel(kVar);
|
||||
}
|
||||
}
|
||||
|
||||
public final void d(int i, int i4) {
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
MaterialButton materialButton = this.f8122a;
|
||||
int paddingStart = materialButton.getPaddingStart();
|
||||
int paddingTop = materialButton.getPaddingTop();
|
||||
int paddingEnd = materialButton.getPaddingEnd();
|
||||
int paddingBottom = materialButton.getPaddingBottom();
|
||||
int i5 = this.f8126e;
|
||||
int i6 = this.f8127f;
|
||||
this.f8127f = i4;
|
||||
this.f8126e = i;
|
||||
if (!this.f8134o) {
|
||||
e();
|
||||
}
|
||||
materialButton.setPaddingRelative(paddingStart, (paddingTop + i) - i5, paddingEnd, (paddingBottom + i4) - i6);
|
||||
}
|
||||
|
||||
public final void e() {
|
||||
g gVar = new g(this.f8123b);
|
||||
MaterialButton materialButton = this.f8122a;
|
||||
gVar.h(materialButton.getContext());
|
||||
H.a.h(gVar, this.f8129j);
|
||||
PorterDuff.Mode mode = this.i;
|
||||
if (mode != null) {
|
||||
H.a.i(gVar, mode);
|
||||
}
|
||||
float f2 = this.h;
|
||||
ColorStateList colorStateList = this.f8130k;
|
||||
gVar.f400a.f393j = f2;
|
||||
gVar.invalidateSelf();
|
||||
f fVar = gVar.f400a;
|
||||
if (fVar.f389d != colorStateList) {
|
||||
fVar.f389d = colorStateList;
|
||||
gVar.onStateChange(gVar.getState());
|
||||
}
|
||||
g gVar2 = new g(this.f8123b);
|
||||
gVar2.setTint(0);
|
||||
float f4 = this.h;
|
||||
int t2 = this.f8133n ? m3.d.t(materialButton, R.attr.colorSurface) : 0;
|
||||
gVar2.f400a.f393j = f4;
|
||||
gVar2.invalidateSelf();
|
||||
ColorStateList valueOf = ColorStateList.valueOf(t2);
|
||||
f fVar2 = gVar2.f400a;
|
||||
if (fVar2.f389d != valueOf) {
|
||||
fVar2.f389d = valueOf;
|
||||
gVar2.onStateChange(gVar2.getState());
|
||||
}
|
||||
g gVar3 = new g(this.f8123b);
|
||||
this.f8132m = gVar3;
|
||||
H.a.g(gVar3, -1);
|
||||
RippleDrawable rippleDrawable = new RippleDrawable(C2.a.c(this.f8131l), new InsetDrawable((Drawable) new LayerDrawable(new Drawable[]{gVar2, gVar}), this.f8124c, this.f8126e, this.f8125d, this.f8127f), this.f8132m);
|
||||
this.f8137s = rippleDrawable;
|
||||
materialButton.setInternalBackground(rippleDrawable);
|
||||
g b4 = b(false);
|
||||
if (b4 != null) {
|
||||
b4.i(this.f8138t);
|
||||
b4.setState(materialButton.getDrawableState());
|
||||
}
|
||||
}
|
||||
|
||||
public final void f() {
|
||||
g b4 = b(false);
|
||||
g b5 = b(true);
|
||||
if (b4 != null) {
|
||||
float f2 = this.h;
|
||||
ColorStateList colorStateList = this.f8130k;
|
||||
b4.f400a.f393j = f2;
|
||||
b4.invalidateSelf();
|
||||
f fVar = b4.f400a;
|
||||
if (fVar.f389d != colorStateList) {
|
||||
fVar.f389d = colorStateList;
|
||||
b4.onStateChange(b4.getState());
|
||||
}
|
||||
if (b5 != null) {
|
||||
float f4 = this.h;
|
||||
int t2 = this.f8133n ? m3.d.t(this.f8122a, R.attr.colorSurface) : 0;
|
||||
b5.f400a.f393j = f4;
|
||||
b5.invalidateSelf();
|
||||
ColorStateList valueOf = ColorStateList.valueOf(t2);
|
||||
f fVar2 = b5.f400a;
|
||||
if (fVar2.f389d != valueOf) {
|
||||
fVar2.f389d = valueOf;
|
||||
b5.onStateChange(b5.getState());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
32
apk_decompiled/sources/p2/d.java
Normal file
32
apk_decompiled/sources/p2/d.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package p2;
|
||||
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.button.MaterialButtonToggleGroup;
|
||||
import java.util.Comparator;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class d implements Comparator {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ MaterialButtonToggleGroup f8139a;
|
||||
|
||||
public d(MaterialButtonToggleGroup materialButtonToggleGroup) {
|
||||
this.f8139a = materialButtonToggleGroup;
|
||||
}
|
||||
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(Object obj, Object obj2) {
|
||||
MaterialButton materialButton = (MaterialButton) obj;
|
||||
MaterialButton materialButton2 = (MaterialButton) obj2;
|
||||
int compareTo = Boolean.valueOf(materialButton.f5600o).compareTo(Boolean.valueOf(materialButton2.f5600o));
|
||||
if (compareTo != 0) {
|
||||
return compareTo;
|
||||
}
|
||||
int compareTo2 = Boolean.valueOf(materialButton.isPressed()).compareTo(Boolean.valueOf(materialButton2.isPressed()));
|
||||
if (compareTo2 != 0) {
|
||||
return compareTo2;
|
||||
}
|
||||
MaterialButtonToggleGroup materialButtonToggleGroup = this.f8139a;
|
||||
return Integer.valueOf(materialButtonToggleGroup.indexOfChild(materialButton)).compareTo(Integer.valueOf(materialButtonToggleGroup.indexOfChild(materialButton2)));
|
||||
}
|
||||
}
|
||||
29
apk_decompiled/sources/p2/e.java
Normal file
29
apk_decompiled/sources/p2/e.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package p2;
|
||||
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class e {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static final E2.a f8140e = new E2.a(BitmapDescriptorFactory.HUE_RED);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final E2.c f8141a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final E2.c f8142b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final E2.c f8143c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final E2.c f8144d;
|
||||
|
||||
public e(E2.c cVar, E2.c cVar2, E2.c cVar3, E2.c cVar4) {
|
||||
this.f8141a = cVar;
|
||||
this.f8142b = cVar3;
|
||||
this.f8143c = cVar4;
|
||||
this.f8144d = cVar2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user