Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
64
apk_decompiled/sources/G2/a.java
Normal file
64
apk_decompiled/sources/G2/a.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package G2;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
import android.animation.TimeInterpolator;
|
||||
import android.view.ViewPropertyAnimator;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import com.google.android.material.snackbar.SnackbarContentLayout;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class a extends AnimatorListenerAdapter {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f574a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ int f575b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ k f576c;
|
||||
|
||||
public /* synthetic */ a(k kVar, int i, int i4) {
|
||||
this.f574a = i4;
|
||||
this.f576c = kVar;
|
||||
this.f575b = i;
|
||||
}
|
||||
|
||||
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
|
||||
public final void onAnimationEnd(Animator animator) {
|
||||
switch (this.f574a) {
|
||||
case 0:
|
||||
this.f576c.b(this.f575b);
|
||||
return;
|
||||
default:
|
||||
this.f576c.b(this.f575b);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
|
||||
public void onAnimationStart(Animator animator) {
|
||||
switch (this.f574a) {
|
||||
case 1:
|
||||
k kVar = this.f576c;
|
||||
SnackbarContentLayout snackbarContentLayout = kVar.f609j;
|
||||
snackbarContentLayout.f5754a.setAlpha(1.0f);
|
||||
ViewPropertyAnimator alpha = snackbarContentLayout.f5754a.animate().alpha(BitmapDescriptorFactory.HUE_RED);
|
||||
long j4 = kVar.f603b;
|
||||
ViewPropertyAnimator duration = alpha.setDuration(j4);
|
||||
TimeInterpolator timeInterpolator = snackbarContentLayout.f5756c;
|
||||
long j5 = 0;
|
||||
duration.setInterpolator(timeInterpolator).setStartDelay(j5).start();
|
||||
if (snackbarContentLayout.f5755b.getVisibility() == 0) {
|
||||
snackbarContentLayout.f5755b.setAlpha(1.0f);
|
||||
snackbarContentLayout.f5755b.animate().alpha(BitmapDescriptorFactory.HUE_RED).setDuration(j4).setInterpolator(timeInterpolator).setStartDelay(j5).start();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
super.onAnimationStart(animator);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
49
apk_decompiled/sources/G2/b.java
Normal file
49
apk_decompiled/sources/G2/b.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package G2;
|
||||
|
||||
import android.animation.ValueAnimator;
|
||||
import j0.C0399a;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class b implements ValueAnimator.AnimatorUpdateListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f577a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ k f578b;
|
||||
|
||||
public /* synthetic */ b(k kVar, int i, byte b4) {
|
||||
this.f577a = i;
|
||||
this.f578b = kVar;
|
||||
}
|
||||
|
||||
@Override // android.animation.ValueAnimator.AnimatorUpdateListener
|
||||
public final void onAnimationUpdate(ValueAnimator valueAnimator) {
|
||||
k kVar = this.f578b;
|
||||
switch (this.f577a) {
|
||||
case 0:
|
||||
kVar.i.setAlpha(((Float) valueAnimator.getAnimatedValue()).floatValue());
|
||||
return;
|
||||
case 1:
|
||||
float floatValue = ((Float) valueAnimator.getAnimatedValue()).floatValue();
|
||||
kVar.i.setScaleX(floatValue);
|
||||
kVar.i.setScaleY(floatValue);
|
||||
return;
|
||||
case 2:
|
||||
int intValue = ((Integer) valueAnimator.getAnimatedValue()).intValue();
|
||||
C0399a c0399a = k.f597v;
|
||||
kVar.i.setTranslationY(intValue);
|
||||
return;
|
||||
default:
|
||||
int intValue2 = ((Integer) valueAnimator.getAnimatedValue()).intValue();
|
||||
C0399a c0399a2 = k.f597v;
|
||||
kVar.i.setTranslationY(intValue2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public b(k kVar, int i) {
|
||||
this.f577a = 2;
|
||||
this.f578b = kVar;
|
||||
}
|
||||
}
|
||||
62
apk_decompiled/sources/G2/c.java
Normal file
62
apk_decompiled/sources/G2/c.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package G2;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
import android.animation.TimeInterpolator;
|
||||
import android.view.ViewPropertyAnimator;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import com.google.android.material.snackbar.SnackbarContentLayout;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class c extends AnimatorListenerAdapter {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f579a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ k f580b;
|
||||
|
||||
public /* synthetic */ c(k kVar, int i) {
|
||||
this.f579a = i;
|
||||
this.f580b = kVar;
|
||||
}
|
||||
|
||||
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
|
||||
public final void onAnimationEnd(Animator animator) {
|
||||
switch (this.f579a) {
|
||||
case 0:
|
||||
this.f580b.c();
|
||||
return;
|
||||
default:
|
||||
this.f580b.c();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
|
||||
public void onAnimationStart(Animator animator) {
|
||||
switch (this.f579a) {
|
||||
case 0:
|
||||
k kVar = this.f580b;
|
||||
SnackbarContentLayout snackbarContentLayout = kVar.f609j;
|
||||
int i = kVar.f604c;
|
||||
int i4 = kVar.f602a;
|
||||
int i5 = i - i4;
|
||||
snackbarContentLayout.f5754a.setAlpha(BitmapDescriptorFactory.HUE_RED);
|
||||
long j4 = i4;
|
||||
ViewPropertyAnimator duration = snackbarContentLayout.f5754a.animate().alpha(1.0f).setDuration(j4);
|
||||
TimeInterpolator timeInterpolator = snackbarContentLayout.f5756c;
|
||||
long j5 = i5;
|
||||
duration.setInterpolator(timeInterpolator).setStartDelay(j5).start();
|
||||
if (snackbarContentLayout.f5755b.getVisibility() == 0) {
|
||||
snackbarContentLayout.f5755b.setAlpha(BitmapDescriptorFactory.HUE_RED);
|
||||
snackbarContentLayout.f5755b.animate().alpha(1.0f).setDuration(j4).setInterpolator(timeInterpolator).setStartDelay(j5).start();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
super.onAnimationStart(animator);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
95
apk_decompiled/sources/G2/d.java
Normal file
95
apk_decompiled/sources/G2/d.java
Normal file
@@ -0,0 +1,95 @@
|
||||
package G2;
|
||||
|
||||
import O.X;
|
||||
import android.accessibilityservice.AccessibilityServiceInfo;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import com.google.android.material.snackbar.BaseTransientBottomBar$Behavior;
|
||||
import java.util.List;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class d implements Handler.Callback {
|
||||
@Override // android.os.Handler.Callback
|
||||
public final boolean handleMessage(Message message) {
|
||||
List<AccessibilityServiceInfo> enabledAccessibilityServiceList;
|
||||
int i = 1;
|
||||
int i4 = 0;
|
||||
int i5 = message.what;
|
||||
if (i5 == 0) {
|
||||
k kVar = (k) message.obj;
|
||||
j jVar = kVar.i;
|
||||
if (jVar.getParent() == null) {
|
||||
ViewGroup.LayoutParams layoutParams = jVar.getLayoutParams();
|
||||
if (layoutParams instanceof A.e) {
|
||||
A.e eVar = (A.e) layoutParams;
|
||||
BaseTransientBottomBar$Behavior baseTransientBottomBar$Behavior = new BaseTransientBottomBar$Behavior();
|
||||
A.a aVar = baseTransientBottomBar$Behavior.i;
|
||||
aVar.getClass();
|
||||
aVar.f7b = kVar.f619u;
|
||||
baseTransientBottomBar$Behavior.f5531b = new f(kVar);
|
||||
A.b bVar = eVar.f9a;
|
||||
if (bVar != baseTransientBottomBar$Behavior) {
|
||||
if (bVar != null) {
|
||||
bVar.i();
|
||||
}
|
||||
eVar.f9a = baseTransientBottomBar$Behavior;
|
||||
eVar.f10b = true;
|
||||
}
|
||||
eVar.f15g = 80;
|
||||
}
|
||||
jVar.f595k = true;
|
||||
kVar.f608g.addView(jVar);
|
||||
jVar.f595k = false;
|
||||
kVar.e();
|
||||
jVar.setVisibility(4);
|
||||
}
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
if (jVar.isLaidOut()) {
|
||||
kVar.d();
|
||||
return true;
|
||||
}
|
||||
kVar.f616r = true;
|
||||
return true;
|
||||
}
|
||||
if (i5 != 1) {
|
||||
return false;
|
||||
}
|
||||
k kVar2 = (k) message.obj;
|
||||
int i6 = message.arg1;
|
||||
AccessibilityManager accessibilityManager = kVar2.f618t;
|
||||
if (accessibilityManager == null || ((enabledAccessibilityServiceList = accessibilityManager.getEnabledAccessibilityServiceList(1)) != null && enabledAccessibilityServiceList.isEmpty())) {
|
||||
j jVar2 = kVar2.i;
|
||||
if (jVar2.getVisibility() == 0) {
|
||||
if (jVar2.getAnimationMode() == 1) {
|
||||
ValueAnimator ofFloat = ValueAnimator.ofFloat(1.0f, BitmapDescriptorFactory.HUE_RED);
|
||||
ofFloat.setInterpolator(kVar2.f605d);
|
||||
ofFloat.addUpdateListener(new b(kVar2, 0, (byte) 0));
|
||||
ofFloat.setDuration(kVar2.f603b);
|
||||
ofFloat.addListener(new a(kVar2, i6, i4));
|
||||
ofFloat.start();
|
||||
return true;
|
||||
}
|
||||
ValueAnimator valueAnimator = new ValueAnimator();
|
||||
int height = jVar2.getHeight();
|
||||
ViewGroup.LayoutParams layoutParams2 = jVar2.getLayoutParams();
|
||||
if (layoutParams2 instanceof ViewGroup.MarginLayoutParams) {
|
||||
height += ((ViewGroup.MarginLayoutParams) layoutParams2).bottomMargin;
|
||||
}
|
||||
valueAnimator.setIntValues(0, height);
|
||||
valueAnimator.setInterpolator(kVar2.f606e);
|
||||
valueAnimator.setDuration(kVar2.f604c);
|
||||
valueAnimator.addListener(new a(kVar2, i6, i));
|
||||
valueAnimator.addUpdateListener(new b(kVar2, 3, (byte) 0));
|
||||
valueAnimator.start();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
kVar2.b(i6);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
121
apk_decompiled/sources/G2/e.java
Normal file
121
apk_decompiled/sources/G2/e.java
Normal file
@@ -0,0 +1,121 @@
|
||||
package G2;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.content.Context;
|
||||
import android.graphics.Point;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
import android.view.Display;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import android.view.WindowManager;
|
||||
import android.view.WindowMetrics;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class e implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f581a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ k f582b;
|
||||
|
||||
public /* synthetic */ e(k kVar, int i) {
|
||||
this.f581a = i;
|
||||
this.f582b = kVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
Rect rect;
|
||||
WindowMetrics currentWindowMetrics;
|
||||
k kVar = this.f582b;
|
||||
int i = 1;
|
||||
byte b4 = 0;
|
||||
switch (this.f581a) {
|
||||
case 0:
|
||||
if (kVar.i != null) {
|
||||
Context context = kVar.h;
|
||||
int i4 = x2.m.f8968d;
|
||||
WindowManager windowManager = (WindowManager) context.getSystemService("window");
|
||||
if (Build.VERSION.SDK_INT >= 30) {
|
||||
currentWindowMetrics = windowManager.getCurrentWindowMetrics();
|
||||
rect = currentWindowMetrics.getBounds();
|
||||
} else {
|
||||
Display defaultDisplay = windowManager.getDefaultDisplay();
|
||||
Point point = new Point();
|
||||
defaultDisplay.getRealSize(point);
|
||||
rect = new Rect();
|
||||
rect.right = point.x;
|
||||
rect.bottom = point.y;
|
||||
}
|
||||
int height = rect.height();
|
||||
int[] iArr = new int[2];
|
||||
j jVar = kVar.i;
|
||||
jVar.getLocationInWindow(iArr);
|
||||
int height2 = (height - (jVar.getHeight() + iArr[1])) + ((int) jVar.getTranslationY());
|
||||
int i5 = kVar.p;
|
||||
if (height2 >= i5) {
|
||||
kVar.f615q = i5;
|
||||
return;
|
||||
}
|
||||
ViewGroup.LayoutParams layoutParams = jVar.getLayoutParams();
|
||||
if (!(layoutParams instanceof ViewGroup.MarginLayoutParams)) {
|
||||
Log.w(k.f596A, "Unable to apply gesture inset because layout params are not MarginLayoutParams");
|
||||
return;
|
||||
}
|
||||
int i6 = kVar.p;
|
||||
kVar.f615q = i6;
|
||||
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams;
|
||||
marginLayoutParams.bottomMargin = (i6 - height2) + marginLayoutParams.bottomMargin;
|
||||
jVar.requestLayout();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
case 1:
|
||||
kVar.b(3);
|
||||
return;
|
||||
default:
|
||||
j jVar2 = kVar.i;
|
||||
if (jVar2 == null) {
|
||||
return;
|
||||
}
|
||||
ViewParent parent = jVar2.getParent();
|
||||
j jVar3 = kVar.i;
|
||||
if (parent != null) {
|
||||
jVar3.setVisibility(0);
|
||||
}
|
||||
if (jVar3.getAnimationMode() == 1) {
|
||||
ValueAnimator ofFloat = ValueAnimator.ofFloat(BitmapDescriptorFactory.HUE_RED, 1.0f);
|
||||
ofFloat.setInterpolator(kVar.f605d);
|
||||
ofFloat.addUpdateListener(new b(kVar, b4, b4));
|
||||
ValueAnimator ofFloat2 = ValueAnimator.ofFloat(0.8f, 1.0f);
|
||||
ofFloat2.setInterpolator(kVar.f607f);
|
||||
ofFloat2.addUpdateListener(new b(kVar, i, b4));
|
||||
AnimatorSet animatorSet = new AnimatorSet();
|
||||
animatorSet.playTogether(ofFloat, ofFloat2);
|
||||
animatorSet.setDuration(kVar.f602a);
|
||||
animatorSet.addListener(new c(kVar, i));
|
||||
animatorSet.start();
|
||||
return;
|
||||
}
|
||||
int height3 = jVar3.getHeight();
|
||||
ViewGroup.LayoutParams layoutParams2 = jVar3.getLayoutParams();
|
||||
if (layoutParams2 instanceof ViewGroup.MarginLayoutParams) {
|
||||
height3 += ((ViewGroup.MarginLayoutParams) layoutParams2).bottomMargin;
|
||||
}
|
||||
jVar3.setTranslationY(height3);
|
||||
ValueAnimator valueAnimator = new ValueAnimator();
|
||||
valueAnimator.setIntValues(height3, 0);
|
||||
valueAnimator.setInterpolator(kVar.f606e);
|
||||
valueAnimator.setDuration(kVar.f604c);
|
||||
valueAnimator.addListener(new c(kVar, b4));
|
||||
valueAnimator.addUpdateListener(new b(kVar, height3));
|
||||
valueAnimator.start();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
34
apk_decompiled/sources/G2/f.java
Normal file
34
apk_decompiled/sources/G2/f.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package G2;
|
||||
|
||||
import O.D0;
|
||||
import O.InterfaceC0080v;
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class f implements InterfaceC0080v {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ k f583a;
|
||||
|
||||
public /* synthetic */ f(k kVar) {
|
||||
this.f583a = kVar;
|
||||
}
|
||||
|
||||
public void a(View view) {
|
||||
if (view.getParent() != null) {
|
||||
view.setVisibility(8);
|
||||
}
|
||||
this.f583a.a(0);
|
||||
}
|
||||
|
||||
@Override // O.InterfaceC0080v
|
||||
public D0 g(View view, D0 d02) {
|
||||
int a2 = d02.a();
|
||||
k kVar = this.f583a;
|
||||
kVar.f612m = a2;
|
||||
kVar.f613n = d02.b();
|
||||
kVar.f614o = d02.c();
|
||||
kVar.e();
|
||||
return d02;
|
||||
}
|
||||
}
|
||||
12
apk_decompiled/sources/G2/g.java
Normal file
12
apk_decompiled/sources/G2/g.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package G2;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class g {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ k f584a;
|
||||
|
||||
public g(k kVar) {
|
||||
this.f584a = kVar;
|
||||
}
|
||||
}
|
||||
14
apk_decompiled/sources/G2/h.java
Normal file
14
apk_decompiled/sources/G2/h.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package G2;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class h {
|
||||
public static final int DISMISS_EVENT_ACTION = 1;
|
||||
public static final int DISMISS_EVENT_CONSECUTIVE = 4;
|
||||
public static final int DISMISS_EVENT_MANUAL = 3;
|
||||
public static final int DISMISS_EVENT_SWIPE = 0;
|
||||
public static final int DISMISS_EVENT_TIMEOUT = 2;
|
||||
|
||||
public abstract void onDismissed(Object obj, int i);
|
||||
|
||||
public abstract void onShown(Object obj);
|
||||
}
|
||||
21
apk_decompiled/sources/G2/i.java
Normal file
21
apk_decompiled/sources/G2/i.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package G2;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class i implements View.OnTouchListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f585a;
|
||||
|
||||
@Override // android.view.View.OnTouchListener
|
||||
public final boolean onTouch(View view, MotionEvent motionEvent) {
|
||||
switch (this.f585a) {
|
||||
case 0:
|
||||
return true;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
260
apk_decompiled/sources/G2/j.java
Normal file
260
apk_decompiled/sources/G2/j.java
Normal file
@@ -0,0 +1,260 @@
|
||||
package G2;
|
||||
|
||||
import O.J;
|
||||
import O.L;
|
||||
import O.X;
|
||||
import a.AbstractC0105a;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.GradientDrawable;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.WindowInsets;
|
||||
import android.widget.FrameLayout;
|
||||
import com.adif.elcanomovil.R;
|
||||
import h2.AbstractC0379a;
|
||||
import j0.C0399a;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class j extends FrameLayout {
|
||||
|
||||
/* renamed from: l */
|
||||
public static final i f586l = new i(0);
|
||||
|
||||
/* renamed from: a */
|
||||
public k f587a;
|
||||
|
||||
/* renamed from: b */
|
||||
public final E2.k f588b;
|
||||
|
||||
/* renamed from: c */
|
||||
public int f589c;
|
||||
|
||||
/* renamed from: d */
|
||||
public final float f590d;
|
||||
|
||||
/* renamed from: e */
|
||||
public final float f591e;
|
||||
|
||||
/* renamed from: f */
|
||||
public final int f592f;
|
||||
|
||||
/* renamed from: g */
|
||||
public final int f593g;
|
||||
public ColorStateList h;
|
||||
public PorterDuff.Mode i;
|
||||
|
||||
/* renamed from: j */
|
||||
public Rect f594j;
|
||||
|
||||
/* renamed from: k */
|
||||
public boolean f595k;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public j(Context context, AttributeSet attributeSet) {
|
||||
super(K2.a.a(context, attributeSet, 0, 0), attributeSet);
|
||||
GradientDrawable gradientDrawable;
|
||||
Context context2 = getContext();
|
||||
TypedArray obtainStyledAttributes = context2.obtainStyledAttributes(attributeSet, AbstractC0379a.f6748B);
|
||||
if (obtainStyledAttributes.hasValue(6)) {
|
||||
float dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(6, 0);
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
L.s(this, dimensionPixelSize);
|
||||
}
|
||||
this.f589c = obtainStyledAttributes.getInt(2, 0);
|
||||
if (obtainStyledAttributes.hasValue(8) || obtainStyledAttributes.hasValue(9)) {
|
||||
this.f588b = E2.k.b(context2, attributeSet, 0, 0).a();
|
||||
}
|
||||
this.f590d = obtainStyledAttributes.getFloat(3, 1.0f);
|
||||
setBackgroundTintList(AbstractC0105a.w(context2, obtainStyledAttributes, 4));
|
||||
setBackgroundTintMode(x2.m.j(obtainStyledAttributes.getInt(5, -1), PorterDuff.Mode.SRC_IN));
|
||||
this.f591e = obtainStyledAttributes.getFloat(1, 1.0f);
|
||||
this.f592f = obtainStyledAttributes.getDimensionPixelSize(0, -1);
|
||||
this.f593g = obtainStyledAttributes.getDimensionPixelSize(7, -1);
|
||||
obtainStyledAttributes.recycle();
|
||||
setOnTouchListener(f586l);
|
||||
setFocusable(true);
|
||||
if (getBackground() == null) {
|
||||
int y3 = m3.d.y(getBackgroundOverlayColorAlpha(), m3.d.t(this, R.attr.colorSurface), m3.d.t(this, R.attr.colorOnSurface));
|
||||
E2.k kVar = this.f588b;
|
||||
if (kVar != null) {
|
||||
C0399a c0399a = k.f597v;
|
||||
E2.g gVar = new E2.g(kVar);
|
||||
gVar.j(ColorStateList.valueOf(y3));
|
||||
gradientDrawable = gVar;
|
||||
} else {
|
||||
Resources resources = getResources();
|
||||
C0399a c0399a2 = k.f597v;
|
||||
float dimension = resources.getDimension(R.dimen.mtrl_snackbar_background_corner_radius);
|
||||
GradientDrawable gradientDrawable2 = new GradientDrawable();
|
||||
gradientDrawable2.setShape(0);
|
||||
gradientDrawable2.setCornerRadius(dimension);
|
||||
gradientDrawable2.setColor(y3);
|
||||
gradientDrawable = gradientDrawable2;
|
||||
}
|
||||
ColorStateList colorStateList = this.h;
|
||||
if (colorStateList != null) {
|
||||
H.a.h(gradientDrawable, colorStateList);
|
||||
}
|
||||
WeakHashMap weakHashMap2 = X.f1226a;
|
||||
setBackground(gradientDrawable);
|
||||
}
|
||||
}
|
||||
|
||||
public static /* synthetic */ void a(j jVar, k kVar) {
|
||||
jVar.setBaseTransientBottomBar(kVar);
|
||||
}
|
||||
|
||||
public void setBaseTransientBottomBar(k kVar) {
|
||||
this.f587a = kVar;
|
||||
}
|
||||
|
||||
public float getActionTextColorAlpha() {
|
||||
return this.f591e;
|
||||
}
|
||||
|
||||
public int getAnimationMode() {
|
||||
return this.f589c;
|
||||
}
|
||||
|
||||
public float getBackgroundOverlayColorAlpha() {
|
||||
return this.f590d;
|
||||
}
|
||||
|
||||
public int getMaxInlineActionWidth() {
|
||||
return this.f593g;
|
||||
}
|
||||
|
||||
public int getMaxWidth() {
|
||||
return this.f592f;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final void onAttachedToWindow() {
|
||||
WindowInsets rootWindowInsets;
|
||||
super.onAttachedToWindow();
|
||||
k kVar = this.f587a;
|
||||
if (kVar != null && (rootWindowInsets = kVar.i.getRootWindowInsets()) != null) {
|
||||
kVar.p = rootWindowInsets.getMandatorySystemGestureInsets().bottom;
|
||||
kVar.e();
|
||||
}
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
J.c(this);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final void onDetachedFromWindow() {
|
||||
boolean z3;
|
||||
super.onDetachedFromWindow();
|
||||
k kVar = this.f587a;
|
||||
if (kVar != null) {
|
||||
A.j h = A.j.h();
|
||||
g gVar = kVar.f619u;
|
||||
synchronized (h.f27a) {
|
||||
z3 = true;
|
||||
if (!h.k(gVar)) {
|
||||
o oVar = (o) h.f30d;
|
||||
if (!(oVar != null && oVar.f627a.get() == gVar)) {
|
||||
z3 = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (z3) {
|
||||
k.f600y.post(new e(kVar, 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.FrameLayout, 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);
|
||||
k kVar = this.f587a;
|
||||
if (kVar == null || !kVar.f616r) {
|
||||
return;
|
||||
}
|
||||
kVar.d();
|
||||
kVar.f616r = false;
|
||||
}
|
||||
|
||||
@Override // android.widget.FrameLayout, android.view.View
|
||||
public void onMeasure(int i, int i4) {
|
||||
super.onMeasure(i, i4);
|
||||
int i5 = this.f592f;
|
||||
if (i5 <= 0 || getMeasuredWidth() <= i5) {
|
||||
return;
|
||||
}
|
||||
super.onMeasure(View.MeasureSpec.makeMeasureSpec(i5, 1073741824), i4);
|
||||
}
|
||||
|
||||
public void setAnimationMode(int i) {
|
||||
this.f589c = i;
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackground(Drawable drawable) {
|
||||
setBackgroundDrawable(drawable);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
if (drawable != null && this.h != null) {
|
||||
drawable = drawable.mutate();
|
||||
H.a.h(drawable, this.h);
|
||||
H.a.i(drawable, this.i);
|
||||
}
|
||||
super.setBackgroundDrawable(drawable);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundTintList(ColorStateList colorStateList) {
|
||||
this.h = colorStateList;
|
||||
if (getBackground() != null) {
|
||||
Drawable mutate = getBackground().mutate();
|
||||
H.a.h(mutate, colorStateList);
|
||||
H.a.i(mutate, this.i);
|
||||
if (mutate != getBackground()) {
|
||||
super.setBackgroundDrawable(mutate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
this.i = mode;
|
||||
if (getBackground() != null) {
|
||||
Drawable mutate = getBackground().mutate();
|
||||
H.a.i(mutate, mode);
|
||||
if (mutate != getBackground()) {
|
||||
super.setBackgroundDrawable(mutate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
|
||||
super.setLayoutParams(layoutParams);
|
||||
if (this.f595k || !(layoutParams instanceof ViewGroup.MarginLayoutParams)) {
|
||||
return;
|
||||
}
|
||||
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams;
|
||||
this.f594j = new Rect(marginLayoutParams.leftMargin, marginLayoutParams.topMargin, marginLayoutParams.rightMargin, marginLayoutParams.bottomMargin);
|
||||
k kVar = this.f587a;
|
||||
if (kVar != null) {
|
||||
C0399a c0399a = k.f597v;
|
||||
kVar.e();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setOnClickListener(View.OnClickListener onClickListener) {
|
||||
setOnTouchListener(onClickListener != null ? null : f586l);
|
||||
super.setOnClickListener(onClickListener);
|
||||
}
|
||||
}
|
||||
269
apk_decompiled/sources/G2/k.java
Normal file
269
apk_decompiled/sources/G2/k.java
Normal file
@@ -0,0 +1,269 @@
|
||||
package G2;
|
||||
|
||||
import O.L;
|
||||
import O.X;
|
||||
import a.AbstractC0106b;
|
||||
import android.accessibilityservice.AccessibilityServiceInfo;
|
||||
import android.animation.TimeInterpolator;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
import android.view.animation.LinearInterpolator;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.material.behavior.SwipeDismissBehavior;
|
||||
import com.google.android.material.snackbar.SnackbarContentLayout;
|
||||
import i2.AbstractC0396a;
|
||||
import j0.C0399a;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class k {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final int f602a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f603b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final int f604c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final TimeInterpolator f605d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final TimeInterpolator f606e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final TimeInterpolator f607f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final ViewGroup f608g;
|
||||
public final Context h;
|
||||
public final j i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final SnackbarContentLayout f609j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public int f610k;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public int f612m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public int f613n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public int f614o;
|
||||
public int p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public int f615q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f616r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public ArrayList f617s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public final AccessibilityManager f618t;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public static final C0399a f597v = AbstractC0396a.f6816b;
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public static final LinearInterpolator f598w = AbstractC0396a.f6815a;
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public static final C0399a f599x = AbstractC0396a.f6818d;
|
||||
|
||||
/* renamed from: z, reason: collision with root package name */
|
||||
public static final int[] f601z = {R.attr.snackbarStyle};
|
||||
|
||||
/* renamed from: A, reason: collision with root package name */
|
||||
public static final String f596A = k.class.getSimpleName();
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public static final Handler f600y = new Handler(Looper.getMainLooper(), new Object());
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final e f611l = new e(this, 0);
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public final g f619u = new g(this);
|
||||
|
||||
public k(Context context, ViewGroup viewGroup, SnackbarContentLayout snackbarContentLayout, SnackbarContentLayout snackbarContentLayout2) {
|
||||
int i = 1;
|
||||
if (snackbarContentLayout == null) {
|
||||
throw new IllegalArgumentException("Transient bottom bar must have non-null content");
|
||||
}
|
||||
if (snackbarContentLayout2 == null) {
|
||||
throw new IllegalArgumentException("Transient bottom bar must have non-null callback");
|
||||
}
|
||||
this.f608g = viewGroup;
|
||||
this.f609j = snackbarContentLayout2;
|
||||
this.h = context;
|
||||
x2.m.c(context, x2.m.f8965a, "Theme.AppCompat");
|
||||
LayoutInflater from = LayoutInflater.from(context);
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(f601z);
|
||||
int resourceId = obtainStyledAttributes.getResourceId(0, -1);
|
||||
obtainStyledAttributes.recycle();
|
||||
j jVar = (j) from.inflate(resourceId != -1 ? R.layout.mtrl_layout_snackbar : R.layout.design_layout_snackbar, viewGroup, false);
|
||||
this.i = jVar;
|
||||
j.a(jVar, this);
|
||||
float actionTextColorAlpha = jVar.getActionTextColorAlpha();
|
||||
if (actionTextColorAlpha != 1.0f) {
|
||||
snackbarContentLayout.f5755b.setTextColor(m3.d.y(actionTextColorAlpha, m3.d.t(snackbarContentLayout, R.attr.colorSurface), snackbarContentLayout.f5755b.getCurrentTextColor()));
|
||||
}
|
||||
snackbarContentLayout.setMaxInlineActionWidth(jVar.getMaxInlineActionWidth());
|
||||
jVar.addView(snackbarContentLayout);
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
jVar.setAccessibilityLiveRegion(1);
|
||||
jVar.setImportantForAccessibility(1);
|
||||
jVar.setFitsSystemWindows(true);
|
||||
L.u(jVar, new f(this));
|
||||
X.j(jVar, new F0.g(this, i));
|
||||
this.f618t = (AccessibilityManager) context.getSystemService("accessibility");
|
||||
this.f604c = AbstractC0106b.E(context, R.attr.motionDurationLong2, 250);
|
||||
this.f602a = AbstractC0106b.E(context, R.attr.motionDurationLong2, 150);
|
||||
this.f603b = AbstractC0106b.E(context, R.attr.motionDurationMedium1, 75);
|
||||
this.f605d = AbstractC0106b.F(context, R.attr.motionEasingEmphasizedInterpolator, f598w);
|
||||
this.f607f = AbstractC0106b.F(context, R.attr.motionEasingEmphasizedInterpolator, f599x);
|
||||
this.f606e = AbstractC0106b.F(context, R.attr.motionEasingEmphasizedInterpolator, f597v);
|
||||
}
|
||||
|
||||
public final void a(int i) {
|
||||
A.j h = A.j.h();
|
||||
g gVar = this.f619u;
|
||||
synchronized (h.f27a) {
|
||||
try {
|
||||
if (h.k(gVar)) {
|
||||
h.a((o) h.f29c, i);
|
||||
} else {
|
||||
o oVar = (o) h.f30d;
|
||||
if (oVar != null && oVar.f627a.get() == gVar) {
|
||||
h.a((o) h.f30d, i);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void b(int i) {
|
||||
A.j h = A.j.h();
|
||||
g gVar = this.f619u;
|
||||
synchronized (h.f27a) {
|
||||
try {
|
||||
if (h.k(gVar)) {
|
||||
h.f29c = null;
|
||||
if (((o) h.f30d) != null) {
|
||||
h.p();
|
||||
}
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
ArrayList arrayList = this.f617s;
|
||||
if (arrayList != null) {
|
||||
for (int size = arrayList.size() - 1; size >= 0; size--) {
|
||||
((h) this.f617s.get(size)).onDismissed(this, i);
|
||||
}
|
||||
}
|
||||
ViewParent parent = this.i.getParent();
|
||||
if (parent instanceof ViewGroup) {
|
||||
((ViewGroup) parent).removeView(this.i);
|
||||
}
|
||||
}
|
||||
|
||||
public final void c() {
|
||||
A.j h = A.j.h();
|
||||
g gVar = this.f619u;
|
||||
synchronized (h.f27a) {
|
||||
try {
|
||||
if (h.k(gVar)) {
|
||||
h.o((o) h.f29c);
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
ArrayList arrayList = this.f617s;
|
||||
if (arrayList != null) {
|
||||
for (int size = arrayList.size() - 1; size >= 0; size--) {
|
||||
((h) this.f617s.get(size)).onShown(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void d() {
|
||||
List<AccessibilityServiceInfo> enabledAccessibilityServiceList;
|
||||
boolean z3 = true;
|
||||
AccessibilityManager accessibilityManager = this.f618t;
|
||||
if (accessibilityManager != null && ((enabledAccessibilityServiceList = accessibilityManager.getEnabledAccessibilityServiceList(1)) == null || !enabledAccessibilityServiceList.isEmpty())) {
|
||||
z3 = false;
|
||||
}
|
||||
j jVar = this.i;
|
||||
if (z3) {
|
||||
jVar.post(new e(this, 2));
|
||||
return;
|
||||
}
|
||||
if (jVar.getParent() != null) {
|
||||
jVar.setVisibility(0);
|
||||
}
|
||||
c();
|
||||
}
|
||||
|
||||
public final void e() {
|
||||
j jVar = this.i;
|
||||
ViewGroup.LayoutParams layoutParams = jVar.getLayoutParams();
|
||||
boolean z3 = layoutParams instanceof ViewGroup.MarginLayoutParams;
|
||||
String str = f596A;
|
||||
if (!z3) {
|
||||
Log.w(str, "Unable to update margins because layout params are not MarginLayoutParams");
|
||||
return;
|
||||
}
|
||||
if (jVar.f594j == null) {
|
||||
Log.w(str, "Unable to update margins because original view margins are not set");
|
||||
return;
|
||||
}
|
||||
if (jVar.getParent() == null) {
|
||||
return;
|
||||
}
|
||||
int i = this.f612m;
|
||||
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams;
|
||||
Rect rect = jVar.f594j;
|
||||
int i4 = rect.bottom + i;
|
||||
int i5 = rect.left + this.f613n;
|
||||
int i6 = rect.right + this.f614o;
|
||||
int i7 = rect.top;
|
||||
boolean z4 = (marginLayoutParams.bottomMargin == i4 && marginLayoutParams.leftMargin == i5 && marginLayoutParams.rightMargin == i6 && marginLayoutParams.topMargin == i7) ? false : true;
|
||||
if (z4) {
|
||||
marginLayoutParams.bottomMargin = i4;
|
||||
marginLayoutParams.leftMargin = i5;
|
||||
marginLayoutParams.rightMargin = i6;
|
||||
marginLayoutParams.topMargin = i7;
|
||||
jVar.requestLayout();
|
||||
}
|
||||
if ((z4 || this.f615q != this.p) && this.p > 0) {
|
||||
ViewGroup.LayoutParams layoutParams2 = jVar.getLayoutParams();
|
||||
if ((layoutParams2 instanceof A.e) && (((A.e) layoutParams2).f9a instanceof SwipeDismissBehavior)) {
|
||||
e eVar = this.f611l;
|
||||
jVar.removeCallbacks(eVar);
|
||||
jVar.post(eVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
82
apk_decompiled/sources/G2/l.java
Normal file
82
apk_decompiled/sources/G2/l.java
Normal file
@@ -0,0 +1,82 @@
|
||||
package G2;
|
||||
|
||||
import android.view.View;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.incidence.IncidenceStation;
|
||||
import com.adif.elcanomovil.domain.entities.station.Station;
|
||||
import com.adif.elcanomovil.domain.entities.subscription.Subscription;
|
||||
import com.adif.elcanomovil.uiAvisa.components.details.PicturesAdapter;
|
||||
import com.adif.elcanomovil.uiAvisa.components.home.IssuesAdapter;
|
||||
import com.adif.elcanomovil.uiDialog.StationsDialogFragment;
|
||||
import com.adif.elcanomovil.uiMoreAdif.MoreItem;
|
||||
import com.adif.elcanomovil.uiSelectStation.main.StationViewHolder;
|
||||
import com.adif.elcanomovil.uiSelectTrain.entities.TrainInfo;
|
||||
import com.adif.elcanomovil.uiSelectTrain.main.TrainViewHolder;
|
||||
import com.adif.elcanomovil.uiStations.adapters.ActivityViewHolder;
|
||||
import com.adif.elcanomovil.uiStations.entities.Activity;
|
||||
import com.adif.elcanomovil.uiStations.entities.ServicesTabViewData;
|
||||
import com.adif.elcanomovil.uiStations.main.StationsPageServicesFragment;
|
||||
import com.adif.elcanomovil.uiSubscriptions.viewholder.SubscriptionViewHolder;
|
||||
import java.util.List;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final /* synthetic */ class l implements View.OnClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f620a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f621b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f622c;
|
||||
|
||||
public /* synthetic */ l(int i, Object obj, Object obj2) {
|
||||
this.f620a = i;
|
||||
this.f621b = obj;
|
||||
this.f622c = obj2;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
switch (this.f620a) {
|
||||
case 0:
|
||||
m mVar = (m) this.f621b;
|
||||
((D1.a) this.f622c).onClick(view);
|
||||
mVar.a(1);
|
||||
return;
|
||||
case 1:
|
||||
ActivityViewHolder.a((Function1) this.f621b, (Activity) this.f622c, view);
|
||||
return;
|
||||
case 2:
|
||||
SubscriptionViewHolder.bind$lambda$0((SubscriptionViewHolder) this.f621b, (Subscription) this.f622c, view);
|
||||
return;
|
||||
case 3:
|
||||
PicturesAdapter.a((PicturesAdapter) this.f621b, (PicturesAdapter.PictureViewHolder) this.f622c, view);
|
||||
return;
|
||||
case 4:
|
||||
IssuesAdapter.IssueViewHolder.a((IssuesAdapter.OnIssueListFragmentInteractionListener) this.f621b, (IncidenceStation) this.f622c, view);
|
||||
return;
|
||||
case 5:
|
||||
StationsDialogFragment.configureView$lambda$8$lambda$7$lambda$6((List) this.f621b, (StationsDialogFragment) this.f622c, view);
|
||||
return;
|
||||
case 6:
|
||||
Function1 listener = (Function1) this.f621b;
|
||||
Intrinsics.checkNotNullParameter(listener, "$listener");
|
||||
MoreItem item = (MoreItem) this.f622c;
|
||||
Intrinsics.checkNotNullParameter(item, "$item");
|
||||
listener.invoke(item.getType());
|
||||
return;
|
||||
case 7:
|
||||
StationViewHolder.a((StationViewHolder) this.f621b, (Station) this.f622c, view);
|
||||
return;
|
||||
case 8:
|
||||
TrainViewHolder.bind$lambda$0((TrainViewHolder) this.f621b, (TrainInfo) this.f622c, view);
|
||||
return;
|
||||
default:
|
||||
StationsPageServicesFragment.updateResults$lambda$10((StationsPageServicesFragment) this.f621b, (ServicesTabViewData) this.f622c, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
109
apk_decompiled/sources/G2/m.java
Normal file
109
apk_decompiled/sources/G2/m.java
Normal file
@@ -0,0 +1,109 @@
|
||||
package G2;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.os.Handler;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
import android.widget.FrameLayout;
|
||||
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.material.snackbar.SnackbarContentLayout;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class m extends k {
|
||||
|
||||
/* renamed from: D, reason: collision with root package name */
|
||||
public static final int[] f623D = {R.attr.snackbarButtonStyle, R.attr.snackbarTextViewStyle};
|
||||
|
||||
/* renamed from: B, reason: collision with root package name */
|
||||
public final AccessibilityManager f624B;
|
||||
|
||||
/* renamed from: C, reason: collision with root package name */
|
||||
public boolean f625C;
|
||||
|
||||
public m(Context context, ViewGroup viewGroup, SnackbarContentLayout snackbarContentLayout, SnackbarContentLayout snackbarContentLayout2) {
|
||||
super(context, viewGroup, snackbarContentLayout, snackbarContentLayout2);
|
||||
this.f624B = (AccessibilityManager) viewGroup.getContext().getSystemService("accessibility");
|
||||
}
|
||||
|
||||
public static m f(View view, String str, int i) {
|
||||
ViewGroup viewGroup;
|
||||
ViewGroup viewGroup2 = null;
|
||||
while (true) {
|
||||
if (view instanceof CoordinatorLayout) {
|
||||
viewGroup = (ViewGroup) view;
|
||||
break;
|
||||
}
|
||||
if (view instanceof FrameLayout) {
|
||||
if (view.getId() == 16908290) {
|
||||
viewGroup = (ViewGroup) view;
|
||||
break;
|
||||
}
|
||||
viewGroup2 = (ViewGroup) view;
|
||||
}
|
||||
if (view != null) {
|
||||
Object parent = view.getParent();
|
||||
view = parent instanceof View ? (View) parent : null;
|
||||
}
|
||||
if (view == null) {
|
||||
viewGroup = viewGroup2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (viewGroup == null) {
|
||||
throw new IllegalArgumentException("No suitable parent found from the given view. Please provide a valid view.");
|
||||
}
|
||||
Context context = viewGroup.getContext();
|
||||
LayoutInflater from = LayoutInflater.from(context);
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(f623D);
|
||||
int resourceId = obtainStyledAttributes.getResourceId(0, -1);
|
||||
int resourceId2 = obtainStyledAttributes.getResourceId(1, -1);
|
||||
obtainStyledAttributes.recycle();
|
||||
SnackbarContentLayout snackbarContentLayout = (SnackbarContentLayout) from.inflate((resourceId == -1 || resourceId2 == -1) ? R.layout.design_layout_snackbar_include : R.layout.mtrl_layout_snackbar_include, viewGroup, false);
|
||||
m mVar = new m(context, viewGroup, snackbarContentLayout, snackbarContentLayout);
|
||||
((SnackbarContentLayout) mVar.i.getChildAt(0)).getMessageView().setText(str);
|
||||
mVar.f610k = i;
|
||||
return mVar;
|
||||
}
|
||||
|
||||
public final void g() {
|
||||
A.j h = A.j.h();
|
||||
int i = this.f610k;
|
||||
boolean z3 = false;
|
||||
int i4 = -2;
|
||||
if (i != -2) {
|
||||
i4 = this.f624B.getRecommendedTimeoutMillis(i, (this.f625C ? 4 : 0) | 3);
|
||||
}
|
||||
g gVar = this.f619u;
|
||||
synchronized (h.f27a) {
|
||||
try {
|
||||
if (h.k(gVar)) {
|
||||
o oVar = (o) h.f29c;
|
||||
oVar.f628b = i4;
|
||||
((Handler) h.f28b).removeCallbacksAndMessages(oVar);
|
||||
h.o((o) h.f29c);
|
||||
return;
|
||||
}
|
||||
o oVar2 = (o) h.f30d;
|
||||
if (oVar2 != null && oVar2.f627a.get() == gVar) {
|
||||
z3 = true;
|
||||
}
|
||||
if (z3) {
|
||||
((o) h.f30d).f628b = i4;
|
||||
} else {
|
||||
h.f30d = new o(i4, gVar);
|
||||
}
|
||||
o oVar3 = (o) h.f29c;
|
||||
if (oVar3 == null || !h.a(oVar3, 4)) {
|
||||
h.f29c = null;
|
||||
h.p();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
30
apk_decompiled/sources/G2/n.java
Normal file
30
apk_decompiled/sources/G2/n.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package G2;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class n implements Handler.Callback {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ A.j f626a;
|
||||
|
||||
public n(A.j jVar) {
|
||||
this.f626a = jVar;
|
||||
}
|
||||
|
||||
@Override // android.os.Handler.Callback
|
||||
public final boolean handleMessage(Message message) {
|
||||
if (message.what != 0) {
|
||||
return false;
|
||||
}
|
||||
A.j jVar = this.f626a;
|
||||
o oVar = (o) message.obj;
|
||||
synchronized (jVar.f27a) {
|
||||
if (((o) jVar.f29c) == oVar || ((o) jVar.f30d) == oVar) {
|
||||
jVar.a(oVar, 2);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
21
apk_decompiled/sources/G2/o.java
Normal file
21
apk_decompiled/sources/G2/o.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package G2;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class o {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final WeakReference f627a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f628b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f629c;
|
||||
|
||||
public o(int i, g gVar) {
|
||||
this.f627a = new WeakReference(gVar);
|
||||
this.f628b = i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user