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:
10
apk_decompiled/sources/m/A0.java
Normal file
10
apk_decompiled/sources/m/A0.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package m;
|
||||
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class A0 {
|
||||
public static void a(PopupWindow popupWindow, boolean z3) {
|
||||
popupWindow.setTouchModal(z3);
|
||||
}
|
||||
}
|
||||
57
apk_decompiled/sources/m/AbstractC0444C.java
Normal file
57
apk_decompiled/sources/m/AbstractC0444C.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package m;
|
||||
|
||||
import O.C0060d;
|
||||
import O.InterfaceC0058c;
|
||||
import android.app.Activity;
|
||||
import android.content.ClipData;
|
||||
import android.os.Build;
|
||||
import android.text.Selection;
|
||||
import android.text.Spannable;
|
||||
import android.view.DragEvent;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
/* renamed from: m.C, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0444C {
|
||||
public static boolean a(DragEvent dragEvent, TextView textView, Activity activity) {
|
||||
InterfaceC0058c interfaceC0058c;
|
||||
activity.requestDragAndDropPermissions(dragEvent);
|
||||
int offsetForPosition = textView.getOffsetForPosition(dragEvent.getX(), dragEvent.getY());
|
||||
textView.beginBatchEdit();
|
||||
try {
|
||||
Selection.setSelection((Spannable) textView.getText(), offsetForPosition);
|
||||
ClipData clipData = dragEvent.getClipData();
|
||||
if (Build.VERSION.SDK_INT >= 31) {
|
||||
interfaceC0058c = new A.a(clipData, 3);
|
||||
} else {
|
||||
C0060d c0060d = new C0060d();
|
||||
c0060d.f1236b = clipData;
|
||||
c0060d.f1237c = 3;
|
||||
interfaceC0058c = c0060d;
|
||||
}
|
||||
O.X.g(textView, interfaceC0058c.build());
|
||||
textView.endBatchEdit();
|
||||
return true;
|
||||
} catch (Throwable th) {
|
||||
textView.endBatchEdit();
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean b(DragEvent dragEvent, View view, Activity activity) {
|
||||
InterfaceC0058c interfaceC0058c;
|
||||
activity.requestDragAndDropPermissions(dragEvent);
|
||||
ClipData clipData = dragEvent.getClipData();
|
||||
if (Build.VERSION.SDK_INT >= 31) {
|
||||
interfaceC0058c = new A.a(clipData, 3);
|
||||
} else {
|
||||
C0060d c0060d = new C0060d();
|
||||
c0060d.f1236b = clipData;
|
||||
c0060d.f1237c = 3;
|
||||
interfaceC0058c = c0060d;
|
||||
}
|
||||
O.X.g(view, interfaceC0058c.build());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/m/AbstractC0448G.java
Normal file
16
apk_decompiled/sources/m/AbstractC0448G.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package m;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.widget.ThemedSpinnerAdapter;
|
||||
import java.util.Objects;
|
||||
|
||||
/* renamed from: m.G, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0448G {
|
||||
public static void a(ThemedSpinnerAdapter themedSpinnerAdapter, Resources.Theme theme) {
|
||||
if (Objects.equals(themedSpinnerAdapter.getDropDownViewTheme(), theme)) {
|
||||
return;
|
||||
}
|
||||
themedSpinnerAdapter.setDropDownViewTheme(theme);
|
||||
}
|
||||
}
|
||||
12
apk_decompiled/sources/m/AbstractC0461f0.java
Normal file
12
apk_decompiled/sources/m/AbstractC0461f0.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.Insets;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
/* renamed from: m.f0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0461f0 {
|
||||
public static Insets a(Drawable drawable) {
|
||||
return drawable.getOpticalInsets();
|
||||
}
|
||||
}
|
||||
63
apk_decompiled/sources/m/AbstractC0463g0.java
Normal file
63
apk_decompiled/sources/m/AbstractC0463g0.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package m;
|
||||
|
||||
import android.R;
|
||||
import android.graphics.Insets;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
|
||||
/* renamed from: m.g0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0463g0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final int[] f7662a = {R.attr.state_checked};
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final int[] f7663b = new int[0];
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final Rect f7664c = new Rect();
|
||||
|
||||
public static void a(Drawable drawable) {
|
||||
String name = drawable.getClass().getName();
|
||||
if (Build.VERSION.SDK_INT >= 31 || !"android.graphics.drawable.ColorStateListDrawable".equals(name)) {
|
||||
return;
|
||||
}
|
||||
int[] state = drawable.getState();
|
||||
if (state == null || state.length == 0) {
|
||||
drawable.setState(f7662a);
|
||||
} else {
|
||||
drawable.setState(f7663b);
|
||||
}
|
||||
drawable.setState(state);
|
||||
}
|
||||
|
||||
public static Rect b(Drawable drawable) {
|
||||
Insets a2 = AbstractC0461f0.a(drawable);
|
||||
return new Rect(a2.left, a2.top, a2.right, a2.bottom);
|
||||
}
|
||||
|
||||
public static PorterDuff.Mode c(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;
|
||||
}
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/m/AbstractC0465h0.java
Normal file
11
apk_decompiled/sources/m/AbstractC0465h0.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: m.h0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0465h0 {
|
||||
public static void a(View view, float f2, float f4) {
|
||||
view.drawableHotspotChanged(f2, f4);
|
||||
}
|
||||
}
|
||||
43
apk_decompiled/sources/m/AbstractC0467i0.java
Normal file
43
apk_decompiled/sources/m/AbstractC0467i0.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.AbsListView;
|
||||
import android.widget.AdapterView;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/* renamed from: m.i0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0467i0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final Method f7668a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final Method f7669b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final Method f7670c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final boolean f7671d;
|
||||
|
||||
static {
|
||||
try {
|
||||
Class cls = Integer.TYPE;
|
||||
Class cls2 = Boolean.TYPE;
|
||||
Class cls3 = Float.TYPE;
|
||||
Method declaredMethod = AbsListView.class.getDeclaredMethod("positionSelector", cls, View.class, cls2, cls3, cls3);
|
||||
f7668a = declaredMethod;
|
||||
declaredMethod.setAccessible(true);
|
||||
Method declaredMethod2 = AdapterView.class.getDeclaredMethod("setSelectedPositionInt", cls);
|
||||
f7669b = declaredMethod2;
|
||||
declaredMethod2.setAccessible(true);
|
||||
Method declaredMethod3 = AdapterView.class.getDeclaredMethod("setNextSelectedPositionInt", cls);
|
||||
f7670c = declaredMethod3;
|
||||
declaredMethod3.setAccessible(true);
|
||||
f7671d = true;
|
||||
} catch (NoSuchMethodException e4) {
|
||||
e4.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/m/AbstractC0469j0.java
Normal file
15
apk_decompiled/sources/m/AbstractC0469j0.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package m;
|
||||
|
||||
import android.widget.AbsListView;
|
||||
|
||||
/* renamed from: m.j0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0469j0 {
|
||||
public static boolean a(AbsListView absListView) {
|
||||
return absListView.isSelectedChildViewEnabled();
|
||||
}
|
||||
|
||||
public static void b(AbsListView absListView, boolean z3) {
|
||||
absListView.setSelectedChildViewEnabled(z3);
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/m/AbstractC0473l0.java
Normal file
23
apk_decompiled/sources/m/AbstractC0473l0.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package m;
|
||||
|
||||
import android.widget.AbsListView;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
/* renamed from: m.l0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0473l0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final Field f7698a;
|
||||
|
||||
static {
|
||||
Field field = null;
|
||||
try {
|
||||
field = AbsListView.class.getDeclaredField("mIsChildViewEnabled");
|
||||
field.setAccessible(true);
|
||||
} catch (NoSuchFieldException e4) {
|
||||
e4.printStackTrace();
|
||||
}
|
||||
f7698a = field;
|
||||
}
|
||||
}
|
||||
12
apk_decompiled/sources/m/AbstractC0486s0.java
Normal file
12
apk_decompiled/sources/m/AbstractC0486s0.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
/* renamed from: m.s0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0486s0 {
|
||||
public static int a(PopupWindow popupWindow, View view, int i, boolean z3) {
|
||||
return popupWindow.getMaxAvailableHeight(view, i, z3);
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/m/AbstractC0488t0.java
Normal file
16
apk_decompiled/sources/m/AbstractC0488t0.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
/* renamed from: m.t0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0488t0 {
|
||||
public static void a(PopupWindow popupWindow, Rect rect) {
|
||||
popupWindow.setEpicenterBounds(rect);
|
||||
}
|
||||
|
||||
public static void b(PopupWindow popupWindow, boolean z3) {
|
||||
popupWindow.setIsClippedToScreen(z3);
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/m/AbstractC0500z0.java
Normal file
16
apk_decompiled/sources/m/AbstractC0500z0.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package m;
|
||||
|
||||
import android.transition.Transition;
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
/* renamed from: m.z0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0500z0 {
|
||||
public static void a(PopupWindow popupWindow, Transition transition) {
|
||||
popupWindow.setEnterTransition(transition);
|
||||
}
|
||||
|
||||
public static void b(PopupWindow popupWindow, Transition transition) {
|
||||
popupWindow.setExitTransition(transition);
|
||||
}
|
||||
}
|
||||
104
apk_decompiled/sources/m/AbstractViewOnTouchListenerC0481p0.java
Normal file
104
apk_decompiled/sources/m/AbstractViewOnTouchListenerC0481p0.java
Normal file
@@ -0,0 +1,104 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewConfiguration;
|
||||
import l.InterfaceC0420C;
|
||||
|
||||
/* renamed from: m.p0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractViewOnTouchListenerC0481p0 implements View.OnTouchListener, View.OnAttachStateChangeListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final float f7721a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f7722b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final int f7723c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final View f7724d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public RunnableC0479o0 f7725e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public RunnableC0479o0 f7726f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f7727g;
|
||||
public int h;
|
||||
public final int[] i = new int[2];
|
||||
|
||||
public AbstractViewOnTouchListenerC0481p0(View view) {
|
||||
this.f7724d = view;
|
||||
view.setLongClickable(true);
|
||||
view.addOnAttachStateChangeListener(this);
|
||||
this.f7721a = ViewConfiguration.get(view.getContext()).getScaledTouchSlop();
|
||||
int tapTimeout = ViewConfiguration.getTapTimeout();
|
||||
this.f7722b = tapTimeout;
|
||||
this.f7723c = (ViewConfiguration.getLongPressTimeout() + tapTimeout) / 2;
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
RunnableC0479o0 runnableC0479o0 = this.f7726f;
|
||||
View view = this.f7724d;
|
||||
if (runnableC0479o0 != null) {
|
||||
view.removeCallbacks(runnableC0479o0);
|
||||
}
|
||||
RunnableC0479o0 runnableC0479o02 = this.f7725e;
|
||||
if (runnableC0479o02 != null) {
|
||||
view.removeCallbacks(runnableC0479o02);
|
||||
}
|
||||
}
|
||||
|
||||
public abstract InterfaceC0420C b();
|
||||
|
||||
public abstract boolean c();
|
||||
|
||||
public boolean d() {
|
||||
InterfaceC0420C b4 = b();
|
||||
if (b4 == null || !b4.a()) {
|
||||
return true;
|
||||
}
|
||||
b4.dismiss();
|
||||
return true;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:16:0x0059, code lost:
|
||||
|
||||
if (r14 != false) goto L24;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:35:0x007b, code lost:
|
||||
|
||||
if (r4 != 3) goto L58;
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:50:0x0100 */
|
||||
@Override // android.view.View.OnTouchListener
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final boolean onTouch(android.view.View r13, android.view.MotionEvent r14) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 284
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.AbstractViewOnTouchListenerC0481p0.onTouch(android.view.View, android.view.MotionEvent):boolean");
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewAttachedToWindow(View view) {
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewDetachedFromWindow(View view) {
|
||||
this.f7727g = false;
|
||||
this.h = -1;
|
||||
RunnableC0479o0 runnableC0479o0 = this.f7725e;
|
||||
if (runnableC0479o0 != null) {
|
||||
this.f7724d.removeCallbacks(runnableC0479o0);
|
||||
}
|
||||
}
|
||||
}
|
||||
94
apk_decompiled/sources/m/B0.java
Normal file
94
apk_decompiled/sources/m/B0.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.widget.HeaderViewListAdapter;
|
||||
import android.widget.ListAdapter;
|
||||
import androidx.appcompat.view.menu.ListMenuItemView;
|
||||
import l.C0432j;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class B0 extends C0475m0 {
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final int f7502m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public final int f7503n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public InterfaceC0498y0 f7504o;
|
||||
public l.o p;
|
||||
|
||||
public B0(Context context, boolean z3) {
|
||||
super(context, z3);
|
||||
if (1 == context.getResources().getConfiguration().getLayoutDirection()) {
|
||||
this.f7502m = 21;
|
||||
this.f7503n = 22;
|
||||
} else {
|
||||
this.f7502m = 22;
|
||||
this.f7503n = 21;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m.C0475m0, android.view.View
|
||||
public final boolean onHoverEvent(MotionEvent motionEvent) {
|
||||
C0432j c0432j;
|
||||
int i;
|
||||
int pointToPosition;
|
||||
int i4;
|
||||
if (this.f7504o != null) {
|
||||
ListAdapter adapter = getAdapter();
|
||||
if (adapter instanceof HeaderViewListAdapter) {
|
||||
HeaderViewListAdapter headerViewListAdapter = (HeaderViewListAdapter) adapter;
|
||||
i = headerViewListAdapter.getHeadersCount();
|
||||
c0432j = (C0432j) headerViewListAdapter.getWrappedAdapter();
|
||||
} else {
|
||||
c0432j = (C0432j) adapter;
|
||||
i = 0;
|
||||
}
|
||||
l.o item = (motionEvent.getAction() == 10 || (pointToPosition = pointToPosition((int) motionEvent.getX(), (int) motionEvent.getY())) == -1 || (i4 = pointToPosition - i) < 0 || i4 >= c0432j.getCount()) ? null : c0432j.getItem(i4);
|
||||
l.o oVar = this.p;
|
||||
if (oVar != item) {
|
||||
l.m mVar = c0432j.f7234a;
|
||||
if (oVar != null) {
|
||||
this.f7504o.e(mVar, oVar);
|
||||
}
|
||||
this.p = item;
|
||||
if (item != null) {
|
||||
this.f7504o.m(mVar, item);
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onHoverEvent(motionEvent);
|
||||
}
|
||||
|
||||
@Override // android.widget.ListView, android.widget.AbsListView, android.view.View, android.view.KeyEvent.Callback
|
||||
public final boolean onKeyDown(int i, KeyEvent keyEvent) {
|
||||
ListMenuItemView listMenuItemView = (ListMenuItemView) getSelectedView();
|
||||
if (listMenuItemView != null && i == this.f7502m) {
|
||||
if (listMenuItemView.isEnabled() && listMenuItemView.getItemData().hasSubMenu()) {
|
||||
performItemClick(listMenuItemView, getSelectedItemPosition(), getSelectedItemId());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (listMenuItemView == null || i != this.f7503n) {
|
||||
return super.onKeyDown(i, keyEvent);
|
||||
}
|
||||
setSelection(-1);
|
||||
ListAdapter adapter = getAdapter();
|
||||
(adapter instanceof HeaderViewListAdapter ? (C0432j) ((HeaderViewListAdapter) adapter).getWrappedAdapter() : (C0432j) adapter).f7234a.c(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void setHoverListener(InterfaceC0498y0 interfaceC0498y0) {
|
||||
this.f7504o = interfaceC0498y0;
|
||||
}
|
||||
|
||||
@Override // m.C0475m0, android.widget.AbsListView
|
||||
public /* bridge */ /* synthetic */ void setSelector(Drawable drawable) {
|
||||
super.setSelector(drawable);
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/m/C0.java
Normal file
33
apk_decompiled/sources/m/C0.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0 extends C0496x0 implements InterfaceC0498y0 {
|
||||
|
||||
/* renamed from: A, reason: collision with root package name */
|
||||
public h3.d f7505A;
|
||||
|
||||
@Override // m.InterfaceC0498y0
|
||||
public final void e(l.m mVar, l.o oVar) {
|
||||
h3.d dVar = this.f7505A;
|
||||
if (dVar != null) {
|
||||
dVar.e(mVar, oVar);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m.InterfaceC0498y0
|
||||
public final void m(l.m mVar, l.o oVar) {
|
||||
h3.d dVar = this.f7505A;
|
||||
if (dVar != null) {
|
||||
dVar.m(mVar, oVar);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m.C0496x0
|
||||
public final C0475m0 q(Context context, boolean z3) {
|
||||
B0 b02 = new B0(context, z3);
|
||||
b02.setHoverListener(this);
|
||||
return b02;
|
||||
}
|
||||
}
|
||||
223
apk_decompiled/sources/m/C0442A.java
Normal file
223
apk_decompiled/sources/m/C0442A.java
Normal file
@@ -0,0 +1,223 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.InputFilter;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.RadioButton;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
import com.adif.elcanomovil.R;
|
||||
|
||||
/* renamed from: m.A, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0442A extends RadioButton implements U.x {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0485s f7497a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final C0207b f7498b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final T f7499c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public C0491v f7500d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0442A(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, R.attr.radioButtonStyle);
|
||||
L0.a(context);
|
||||
K0.a(this, getContext());
|
||||
C0485s c0485s = new C0485s(this);
|
||||
this.f7497a = c0485s;
|
||||
c0485s.c(attributeSet, R.attr.radioButtonStyle);
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7498b = c0207b;
|
||||
c0207b.k(attributeSet, R.attr.radioButtonStyle);
|
||||
T t2 = new T(this);
|
||||
this.f7499c = t2;
|
||||
t2.f(attributeSet, R.attr.radioButtonStyle);
|
||||
getEmojiTextViewHelper().b(attributeSet, R.attr.radioButtonStyle);
|
||||
}
|
||||
|
||||
private C0491v getEmojiTextViewHelper() {
|
||||
if (this.f7500d == null) {
|
||||
this.f7500d = new C0491v(this);
|
||||
}
|
||||
return this.f7500d;
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton, android.widget.TextView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7499c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public ColorStateList getSupportButtonTintList() {
|
||||
C0485s c0485s = this.f7497a;
|
||||
if (c0485s != null) {
|
||||
return c0485s.f7737a;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportButtonTintMode() {
|
||||
C0485s c0485s = this.f7497a;
|
||||
if (c0485s != null) {
|
||||
return c0485s.f7738b;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7499c.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7499c.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setAllCaps(boolean z3) {
|
||||
super.setAllCaps(z3);
|
||||
getEmojiTextViewHelper().c(z3);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton
|
||||
public void setButtonDrawable(Drawable drawable) {
|
||||
super.setButtonDrawable(drawable);
|
||||
C0485s c0485s = this.f7497a;
|
||||
if (c0485s != null) {
|
||||
if (c0485s.f7741e) {
|
||||
c0485s.f7741e = false;
|
||||
} else {
|
||||
c0485s.f7741e = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7499c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7499c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
getEmojiTextViewHelper().d(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setFilters(InputFilter[] inputFilterArr) {
|
||||
super.setFilters(getEmojiTextViewHelper().a(inputFilterArr));
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7498b;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public void setSupportButtonTintList(ColorStateList colorStateList) {
|
||||
C0485s c0485s = this.f7497a;
|
||||
if (c0485s != null) {
|
||||
c0485s.f7737a = colorStateList;
|
||||
c0485s.f7739c = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public void setSupportButtonTintMode(PorterDuff.Mode mode) {
|
||||
C0485s c0485s = this.f7497a;
|
||||
if (c0485s != null) {
|
||||
c0485s.f7738b = mode;
|
||||
c0485s.f7740d = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7499c;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7499c;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton
|
||||
public void setButtonDrawable(int i) {
|
||||
setButtonDrawable(AbstractC0106b.m(getContext(), i));
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/m/C0443B.java
Normal file
33
apk_decompiled/sources/m/C0443B.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.widget.RatingBar;
|
||||
import com.adif.elcanomovil.R;
|
||||
|
||||
/* renamed from: m.B, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0443B extends RatingBar {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0499z f7501a;
|
||||
|
||||
public C0443B(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, R.attr.ratingBarStyle);
|
||||
K0.a(this, getContext());
|
||||
C0499z c0499z = new C0499z(this);
|
||||
this.f7501a = c0499z;
|
||||
c0499z.e(attributeSet, R.attr.ratingBarStyle);
|
||||
}
|
||||
|
||||
@Override // android.widget.RatingBar, android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
|
||||
public final synchronized void onMeasure(int i, int i4) {
|
||||
super.onMeasure(i, i4);
|
||||
Bitmap bitmap = (Bitmap) this.f7501a.f7786c;
|
||||
if (bitmap != null) {
|
||||
setMeasuredDimension(View.resolveSizeAndState(bitmap.getWidth() * getNumStars(), i, 0), getMeasuredHeight());
|
||||
}
|
||||
}
|
||||
}
|
||||
53
apk_decompiled/sources/m/C0445D.java
Normal file
53
apk_decompiled/sources/m/C0445D.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.SeekBar;
|
||||
import com.adif.elcanomovil.R;
|
||||
|
||||
/* renamed from: m.D, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0445D extends SeekBar {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0446E f7506a;
|
||||
|
||||
public C0445D(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, R.attr.seekBarStyle);
|
||||
K0.a(this, getContext());
|
||||
C0446E c0446e = new C0446E(this);
|
||||
this.f7506a = c0446e;
|
||||
c0446e.e(attributeSet, R.attr.seekBarStyle);
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0446E c0446e = this.f7506a;
|
||||
Drawable drawable = c0446e.f7508f;
|
||||
if (drawable == null || !drawable.isStateful()) {
|
||||
return;
|
||||
}
|
||||
C0445D c0445d = c0446e.f7507e;
|
||||
if (drawable.setState(c0445d.getDrawableState())) {
|
||||
c0445d.invalidateDrawable(drawable);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
|
||||
public final void jumpDrawablesToCurrentState() {
|
||||
super.jumpDrawablesToCurrentState();
|
||||
Drawable drawable = this.f7506a.f7508f;
|
||||
if (drawable != null) {
|
||||
drawable.jumpToCurrentState();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
|
||||
public final synchronized void onDraw(Canvas canvas) {
|
||||
super.onDraw(canvas);
|
||||
this.f7506a.j(canvas);
|
||||
}
|
||||
}
|
||||
123
apk_decompiled/sources/m/C0446E.java
Normal file
123
apk_decompiled/sources/m/C0446E.java
Normal file
@@ -0,0 +1,123 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import f.AbstractC0336a;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* renamed from: m.E, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0446E extends C0499z {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final C0445D f7507e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public Drawable f7508f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public ColorStateList f7509g;
|
||||
public PorterDuff.Mode h;
|
||||
public boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public boolean f7510j;
|
||||
|
||||
public C0446E(C0445D c0445d) {
|
||||
super(c0445d);
|
||||
this.f7509g = null;
|
||||
this.h = null;
|
||||
this.i = false;
|
||||
this.f7510j = false;
|
||||
this.f7507e = c0445d;
|
||||
}
|
||||
|
||||
@Override // m.C0499z
|
||||
public final void e(AttributeSet attributeSet, int i) {
|
||||
super.e(attributeSet, R.attr.seekBarStyle);
|
||||
C0445D c0445d = this.f7507e;
|
||||
Context context = c0445d.getContext();
|
||||
int[] iArr = AbstractC0336a.f6428g;
|
||||
R0.h l4 = R0.h.l(context, attributeSet, iArr, R.attr.seekBarStyle);
|
||||
Context context2 = c0445d.getContext();
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
O.S.d(c0445d, context2, iArr, attributeSet, (TypedArray) l4.f1414b, R.attr.seekBarStyle, 0);
|
||||
Drawable g4 = l4.g(0);
|
||||
if (g4 != null) {
|
||||
c0445d.setThumb(g4);
|
||||
}
|
||||
Drawable f2 = l4.f(1);
|
||||
Drawable drawable = this.f7508f;
|
||||
if (drawable != null) {
|
||||
drawable.setCallback(null);
|
||||
}
|
||||
this.f7508f = f2;
|
||||
if (f2 != null) {
|
||||
f2.setCallback(c0445d);
|
||||
H.b.b(f2, c0445d.getLayoutDirection());
|
||||
if (f2.isStateful()) {
|
||||
f2.setState(c0445d.getDrawableState());
|
||||
}
|
||||
i();
|
||||
}
|
||||
c0445d.invalidate();
|
||||
TypedArray typedArray = (TypedArray) l4.f1414b;
|
||||
if (typedArray.hasValue(3)) {
|
||||
this.h = AbstractC0463g0.c(typedArray.getInt(3, -1), this.h);
|
||||
this.f7510j = true;
|
||||
}
|
||||
if (typedArray.hasValue(2)) {
|
||||
this.f7509g = l4.e(2);
|
||||
this.i = true;
|
||||
}
|
||||
l4.n();
|
||||
i();
|
||||
}
|
||||
|
||||
public final void i() {
|
||||
Drawable drawable = this.f7508f;
|
||||
if (drawable != null) {
|
||||
if (this.i || this.f7510j) {
|
||||
Drawable mutate = drawable.mutate();
|
||||
this.f7508f = mutate;
|
||||
if (this.i) {
|
||||
H.a.h(mutate, this.f7509g);
|
||||
}
|
||||
if (this.f7510j) {
|
||||
H.a.i(this.f7508f, this.h);
|
||||
}
|
||||
if (this.f7508f.isStateful()) {
|
||||
this.f7508f.setState(this.f7507e.getDrawableState());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void j(Canvas canvas) {
|
||||
if (this.f7508f != null) {
|
||||
int max = this.f7507e.getMax();
|
||||
if (max > 1) {
|
||||
int intrinsicWidth = this.f7508f.getIntrinsicWidth();
|
||||
int intrinsicHeight = this.f7508f.getIntrinsicHeight();
|
||||
int i = intrinsicWidth >= 0 ? intrinsicWidth / 2 : 1;
|
||||
int i4 = intrinsicHeight >= 0 ? intrinsicHeight / 2 : 1;
|
||||
this.f7508f.setBounds(-i, -i4, i, i4);
|
||||
float width = ((r0.getWidth() - r0.getPaddingLeft()) - r0.getPaddingRight()) / max;
|
||||
int save = canvas.save();
|
||||
canvas.translate(r0.getPaddingLeft(), r0.getHeight() / 2);
|
||||
for (int i5 = 0; i5 <= max; i5++) {
|
||||
this.f7508f.draw(canvas);
|
||||
canvas.translate(width, BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
canvas.restoreToCount(save);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
36
apk_decompiled/sources/m/C0447F.java
Normal file
36
apk_decompiled/sources/m/C0447F.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package m;
|
||||
|
||||
import l.InterfaceC0420C;
|
||||
|
||||
/* renamed from: m.F, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0447F extends AbstractViewOnTouchListenerC0481p0 {
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final /* synthetic */ K f7518j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final /* synthetic */ N f7519k;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0447F(N n4, N n5, K k4) {
|
||||
super(n5);
|
||||
this.f7519k = n4;
|
||||
this.f7518j = k4;
|
||||
}
|
||||
|
||||
@Override // m.AbstractViewOnTouchListenerC0481p0
|
||||
public final InterfaceC0420C b() {
|
||||
return this.f7518j;
|
||||
}
|
||||
|
||||
@Override // m.AbstractViewOnTouchListenerC0481p0
|
||||
public final boolean c() {
|
||||
N n4 = this.f7519k;
|
||||
if (n4.getInternalPopup().a()) {
|
||||
return true;
|
||||
}
|
||||
n4.f7595f.l(n4.getTextDirection(), n4.getTextAlignment());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
42
apk_decompiled/sources/m/C0450a.java
Normal file
42
apk_decompiled/sources/m/C0450a.java
Normal file
@@ -0,0 +1,42 @@
|
||||
package m;
|
||||
|
||||
import androidx.appcompat.widget.ActionBarContextView;
|
||||
|
||||
/* renamed from: m.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0450a implements O.i0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f7644a = false;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7645b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ ActionBarContextView f7646c;
|
||||
|
||||
public C0450a(ActionBarContextView actionBarContextView) {
|
||||
this.f7646c = actionBarContextView;
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void a() {
|
||||
if (this.f7644a) {
|
||||
return;
|
||||
}
|
||||
ActionBarContextView actionBarContextView = this.f7646c;
|
||||
actionBarContextView.f2372f = null;
|
||||
super/*android.view.View*/.setVisibility(this.f7645b);
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void b() {
|
||||
this.f7644a = true;
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void c() {
|
||||
super/*android.view.View*/.setVisibility(0);
|
||||
this.f7644a = false;
|
||||
}
|
||||
}
|
||||
74
apk_decompiled/sources/m/C0451a0.java
Normal file
74
apk_decompiled/sources/m/C0451a0.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.RectF;
|
||||
import android.widget.TextView;
|
||||
import androidx.appcompat.widget.AppCompatEditText;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/* renamed from: m.a0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0451a0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f7647a = 0;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public float f7648b = -1.0f;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public float f7649c = -1.0f;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public float f7650d = -1.0f;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int[] f7651e = new int[0];
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f7652f = false;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final TextView f7653g;
|
||||
public final Context h;
|
||||
|
||||
static {
|
||||
new RectF();
|
||||
new ConcurrentHashMap();
|
||||
}
|
||||
|
||||
public C0451a0(TextView textView) {
|
||||
this.f7653g = textView;
|
||||
this.h = textView.getContext();
|
||||
new Y();
|
||||
}
|
||||
|
||||
public static int[] a(int[] iArr) {
|
||||
int length = iArr.length;
|
||||
if (length != 0) {
|
||||
Arrays.sort(iArr);
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (int i : iArr) {
|
||||
if (i > 0 && Collections.binarySearch(arrayList, Integer.valueOf(i)) < 0) {
|
||||
arrayList.add(Integer.valueOf(i));
|
||||
}
|
||||
}
|
||||
if (length != arrayList.size()) {
|
||||
int size = arrayList.size();
|
||||
int[] iArr2 = new int[size];
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
iArr2[i4] = ((Integer) arrayList.get(i4)).intValue();
|
||||
}
|
||||
return iArr2;
|
||||
}
|
||||
}
|
||||
return iArr;
|
||||
}
|
||||
|
||||
public final boolean b() {
|
||||
return !(this.f7653g instanceof AppCompatEditText);
|
||||
}
|
||||
}
|
||||
69
apk_decompiled/sources/m/C0452b.java
Normal file
69
apk_decompiled/sources/m/C0452b.java
Normal file
@@ -0,0 +1,69 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.ColorFilter;
|
||||
import android.graphics.Outline;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import androidx.appcompat.widget.ActionBarContainer;
|
||||
|
||||
/* renamed from: m.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0452b extends Drawable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ActionBarContainer f7654a;
|
||||
|
||||
public C0452b(ActionBarContainer actionBarContainer) {
|
||||
this.f7654a = actionBarContainer;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void draw(Canvas canvas) {
|
||||
ActionBarContainer actionBarContainer = this.f7654a;
|
||||
if (actionBarContainer.f2366g) {
|
||||
Drawable drawable = actionBarContainer.f2365f;
|
||||
if (drawable != null) {
|
||||
drawable.draw(canvas);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Drawable drawable2 = actionBarContainer.f2363d;
|
||||
if (drawable2 != null) {
|
||||
drawable2.draw(canvas);
|
||||
}
|
||||
Drawable drawable3 = actionBarContainer.f2364e;
|
||||
if (drawable3 == null || !actionBarContainer.h) {
|
||||
return;
|
||||
}
|
||||
drawable3.draw(canvas);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int getOpacity() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void getOutline(Outline outline) {
|
||||
ActionBarContainer actionBarContainer = this.f7654a;
|
||||
if (actionBarContainer.f2366g) {
|
||||
if (actionBarContainer.f2365f != null) {
|
||||
actionBarContainer.f2363d.getOutline(outline);
|
||||
}
|
||||
} else {
|
||||
Drawable drawable = actionBarContainer.f2363d;
|
||||
if (drawable != null) {
|
||||
drawable.getOutline(outline);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setAlpha(int i) {
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setColorFilter(ColorFilter colorFilter) {
|
||||
}
|
||||
}
|
||||
158
apk_decompiled/sources/m/C0453b0.java
Normal file
158
apk_decompiled/sources/m/C0453b0.java
Normal file
@@ -0,0 +1,158 @@
|
||||
package m;
|
||||
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.InputFilter;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.ToggleButton;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
|
||||
/* renamed from: m.b0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0453b0 extends ToggleButton {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7655a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final T f7656b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public C0491v f7657c;
|
||||
|
||||
public C0453b0(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, R.attr.buttonStyleToggle);
|
||||
K0.a(this, getContext());
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7655a = c0207b;
|
||||
c0207b.k(attributeSet, R.attr.buttonStyleToggle);
|
||||
T t2 = new T(this);
|
||||
this.f7656b = t2;
|
||||
t2.f(attributeSet, R.attr.buttonStyleToggle);
|
||||
getEmojiTextViewHelper().b(attributeSet, R.attr.buttonStyleToggle);
|
||||
}
|
||||
|
||||
private C0491v getEmojiTextViewHelper() {
|
||||
if (this.f7657c == null) {
|
||||
this.f7657c = new C0491v(this);
|
||||
}
|
||||
return this.f7657c;
|
||||
}
|
||||
|
||||
@Override // android.widget.ToggleButton, android.widget.CompoundButton, android.widget.TextView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7656b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7656b.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7656b.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setAllCaps(boolean z3) {
|
||||
super.setAllCaps(z3);
|
||||
getEmojiTextViewHelper().c(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.ToggleButton, android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7656b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7656b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
getEmojiTextViewHelper().d(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setFilters(InputFilter[] inputFilterArr) {
|
||||
super.setFilters(getEmojiTextViewHelper().a(inputFilterArr));
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7655a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7656b;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7656b;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/m/C0458e.java
Normal file
8
apk_decompiled/sources/m/C0458e.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/* renamed from: m.e, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0458e extends ViewGroup.MarginLayoutParams {
|
||||
}
|
||||
12
apk_decompiled/sources/m/C0460f.java
Normal file
12
apk_decompiled/sources/m/C0460f.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: m.f, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0460f extends View {
|
||||
@Override // android.view.View
|
||||
public final int getWindowSystemUiVisibility() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
67
apk_decompiled/sources/m/C0462g.java
Normal file
67
apk_decompiled/sources/m/C0462g.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import com.adif.elcanomovil.R;
|
||||
import l.SubMenuC0422E;
|
||||
|
||||
/* renamed from: m.g, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0462g extends l.w {
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7660l = 0;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final /* synthetic */ C0472l f7661m;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0462g(C0472l c0472l, Context context, l.m mVar, View view) {
|
||||
super(R.attr.actionOverflowMenuStyle, context, view, mVar, true);
|
||||
this.f7661m = c0472l;
|
||||
this.f7308f = 8388613;
|
||||
h3.d dVar = c0472l.f7696x;
|
||||
this.h = dVar;
|
||||
l.u uVar = this.i;
|
||||
if (uVar != null) {
|
||||
uVar.e(dVar);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // l.w
|
||||
public final void c() {
|
||||
switch (this.f7660l) {
|
||||
case 0:
|
||||
C0472l c0472l = this.f7661m;
|
||||
c0472l.f7693u = null;
|
||||
c0472l.f7697y = 0;
|
||||
super.c();
|
||||
return;
|
||||
default:
|
||||
C0472l c0472l2 = this.f7661m;
|
||||
l.m mVar = c0472l2.f7678c;
|
||||
if (mVar != null) {
|
||||
mVar.c(true);
|
||||
}
|
||||
c0472l2.f7692t = null;
|
||||
super.c();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0462g(C0472l c0472l, Context context, SubMenuC0422E subMenuC0422E, View view) {
|
||||
super(R.attr.actionOverflowMenuStyle, context, view, subMenuC0422E, false);
|
||||
this.f7661m = c0472l;
|
||||
if ((subMenuC0422E.f7178A.f7288x & 32) != 32) {
|
||||
View view2 = c0472l.f7683j;
|
||||
this.f7307e = view2 == null ? (View) c0472l.h : view2;
|
||||
}
|
||||
h3.d dVar = c0472l.f7696x;
|
||||
this.h = dVar;
|
||||
l.u uVar = this.i;
|
||||
if (uVar != null) {
|
||||
uVar.e(dVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/m/C0464h.java
Normal file
15
apk_decompiled/sources/m/C0464h.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package m;
|
||||
|
||||
import l.AbstractC0425c;
|
||||
|
||||
/* renamed from: m.h, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0464h extends AbstractC0425c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0472l f7665a;
|
||||
|
||||
public C0464h(C0472l c0472l) {
|
||||
this.f7665a = c0472l;
|
||||
}
|
||||
}
|
||||
63
apk_decompiled/sources/m/C0468j.java
Normal file
63
apk_decompiled/sources/m/C0468j.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import androidx.appcompat.widget.AppCompatImageView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import l.C0424b;
|
||||
|
||||
/* renamed from: m.j, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0468j extends AppCompatImageView implements InterfaceC0474m {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ C0472l f7672d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0468j(C0472l c0472l, Context context) {
|
||||
super(context, null, R.attr.actionOverflowButtonStyle);
|
||||
this.f7672d = c0472l;
|
||||
setClickable(true);
|
||||
setFocusable(true);
|
||||
setVisibility(0);
|
||||
setEnabled(true);
|
||||
W0.a(this, getContentDescription());
|
||||
setOnTouchListener(new C0424b(this, this));
|
||||
}
|
||||
|
||||
@Override // m.InterfaceC0474m
|
||||
public final boolean a() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // m.InterfaceC0474m
|
||||
public final boolean c() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final boolean performClick() {
|
||||
if (super.performClick()) {
|
||||
return true;
|
||||
}
|
||||
playSoundEffect(0);
|
||||
this.f7672d.n();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public final boolean setFrame(int i, int i4, int i5, int i6) {
|
||||
boolean frame = super.setFrame(i, i4, i5, i6);
|
||||
Drawable drawable = getDrawable();
|
||||
Drawable background = getBackground();
|
||||
if (drawable != null && background != null) {
|
||||
int width = getWidth();
|
||||
int height = getHeight();
|
||||
int max = Math.max(width, height) / 2;
|
||||
int paddingLeft = (width + (getPaddingLeft() - getPaddingRight())) / 2;
|
||||
int paddingTop = (height + (getPaddingTop() - getPaddingBottom())) / 2;
|
||||
H.a.f(background, paddingLeft - max, paddingTop - max, paddingLeft + max, paddingTop + max);
|
||||
}
|
||||
return frame;
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/m/C0470k.java
Normal file
23
apk_decompiled/sources/m/C0470k.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package m;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* renamed from: m.k, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0470k implements Parcelable {
|
||||
public static final Parcelable.Creator<C0470k> CREATOR = new D0.a(14);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f7673a;
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeInt(this.f7673a);
|
||||
}
|
||||
}
|
||||
208
apk_decompiled/sources/m/C0471k0.java
Normal file
208
apk_decompiled/sources/m/C0471k0.java
Normal file
@@ -0,0 +1,208 @@
|
||||
package m;
|
||||
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.ColorFilter;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.Region;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
/* renamed from: m.k0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0471k0 extends Drawable implements Drawable.Callback {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Drawable f7674a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public boolean f7675b;
|
||||
|
||||
public final void a(Canvas canvas) {
|
||||
this.f7674a.draw(canvas);
|
||||
}
|
||||
|
||||
public final void b(float f2, float f4) {
|
||||
H.a.e(this.f7674a, f2, f4);
|
||||
}
|
||||
|
||||
public final void c(int i, int i4, int i5, int i6) {
|
||||
H.a.f(this.f7674a, i, i4, i5, i6);
|
||||
}
|
||||
|
||||
public final boolean d(boolean z3, boolean z4) {
|
||||
return super.setVisible(z3, z4) || this.f7674a.setVisible(z3, z4);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void draw(Canvas canvas) {
|
||||
if (this.f7675b) {
|
||||
a(canvas);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int getChangingConfigurations() {
|
||||
return this.f7674a.getChangingConfigurations();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final Drawable getCurrent() {
|
||||
return this.f7674a.getCurrent();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public int getIntrinsicHeight() {
|
||||
return this.f7674a.getIntrinsicHeight();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public int getIntrinsicWidth() {
|
||||
return this.f7674a.getIntrinsicWidth();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int getMinimumHeight() {
|
||||
return this.f7674a.getMinimumHeight();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int getMinimumWidth() {
|
||||
return this.f7674a.getMinimumWidth();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int getOpacity() {
|
||||
return this.f7674a.getOpacity();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean getPadding(Rect rect) {
|
||||
return this.f7674a.getPadding(rect);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final int[] getState() {
|
||||
return this.f7674a.getState();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final Region getTransparentRegion() {
|
||||
return this.f7674a.getTransparentRegion();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable.Callback
|
||||
public final void invalidateDrawable(Drawable drawable) {
|
||||
invalidateSelf();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean isAutoMirrored() {
|
||||
return this.f7674a.isAutoMirrored();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean isStateful() {
|
||||
return this.f7674a.isStateful();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void jumpToCurrentState() {
|
||||
this.f7674a.jumpToCurrentState();
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void onBoundsChange(Rect rect) {
|
||||
this.f7674a.setBounds(rect);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean onLevelChange(int i) {
|
||||
return this.f7674a.setLevel(i);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable.Callback
|
||||
public final void scheduleDrawable(Drawable drawable, Runnable runnable, long j4) {
|
||||
scheduleSelf(runnable, j4);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setAlpha(int i) {
|
||||
this.f7674a.setAlpha(i);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setAutoMirrored(boolean z3) {
|
||||
this.f7674a.setAutoMirrored(z3);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setChangingConfigurations(int i) {
|
||||
this.f7674a.setChangingConfigurations(i);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setColorFilter(ColorFilter colorFilter) {
|
||||
this.f7674a.setColorFilter(colorFilter);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setDither(boolean z3) {
|
||||
this.f7674a.setDither(z3);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setFilterBitmap(boolean z3) {
|
||||
this.f7674a.setFilterBitmap(z3);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setHotspot(float f2, float f4) {
|
||||
if (this.f7675b) {
|
||||
b(f2, f4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setHotspotBounds(int i, int i4, int i5, int i6) {
|
||||
if (this.f7675b) {
|
||||
c(i, i4, i5, i6);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean setState(int[] iArr) {
|
||||
if (this.f7675b) {
|
||||
return this.f7674a.setState(iArr);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setTint(int i) {
|
||||
H.a.g(this.f7674a, i);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setTintList(ColorStateList colorStateList) {
|
||||
H.a.h(this.f7674a, colorStateList);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final void setTintMode(PorterDuff.Mode mode) {
|
||||
H.a.i(this.f7674a, mode);
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public final boolean setVisible(boolean z3, boolean z4) {
|
||||
if (this.f7675b) {
|
||||
return d(z3, z4);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable.Callback
|
||||
public final void unscheduleDrawable(Drawable drawable, Runnable runnable) {
|
||||
unscheduleSelf(runnable);
|
||||
}
|
||||
}
|
||||
536
apk_decompiled/sources/m/C0472l.java
Normal file
536
apk_decompiled/sources/m/C0472l.java
Normal file
@@ -0,0 +1,536 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcelable;
|
||||
import android.util.SparseBooleanArray;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.appcompat.view.menu.ActionMenuItemView;
|
||||
import androidx.appcompat.widget.ActionMenuView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import java.util.ArrayList;
|
||||
import l.InterfaceC0418A;
|
||||
import l.SubMenuC0422E;
|
||||
|
||||
/* renamed from: m.l, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0472l implements l.y {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Context f7676a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Context f7677b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public l.m f7678c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final LayoutInflater f7679d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public l.x f7680e;
|
||||
public InterfaceC0418A h;
|
||||
public int i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public C0468j f7683j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public Drawable f7684k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public boolean f7685l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public boolean f7686m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public boolean f7687n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public int f7688o;
|
||||
public int p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public int f7689q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f7690r;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public C0462g f7692t;
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public C0462g f7693u;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public RunnableC0466i f7694v;
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public C0464h f7695w;
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public int f7697y;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final int f7681f = R.layout.abc_action_menu_layout;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final int f7682g = R.layout.abc_action_menu_item_layout;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public final SparseBooleanArray f7691s = new SparseBooleanArray();
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public final h3.d f7696x = new h3.d(this, 5);
|
||||
|
||||
public C0472l(Context context) {
|
||||
this.f7676a = context;
|
||||
this.f7679d = LayoutInflater.from(context);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r5v0, types: [android.view.View] */
|
||||
/* JADX WARN: Type inference failed for: r5v4, types: [l.z] */
|
||||
/* JADX WARN: Type inference failed for: r5v6 */
|
||||
/* JADX WARN: Type inference failed for: r5v7 */
|
||||
public final View a(l.o oVar, View view, ViewGroup viewGroup) {
|
||||
View actionView = oVar.getActionView();
|
||||
if (actionView == null || oVar.e()) {
|
||||
ActionMenuItemView actionMenuItemView = view instanceof l.z ? (l.z) view : (l.z) this.f7679d.inflate(this.f7682g, viewGroup, false);
|
||||
actionMenuItemView.b(oVar);
|
||||
ActionMenuItemView actionMenuItemView2 = actionMenuItemView;
|
||||
actionMenuItemView2.setItemInvoker((ActionMenuView) this.h);
|
||||
if (this.f7695w == null) {
|
||||
this.f7695w = new C0464h(this);
|
||||
}
|
||||
actionMenuItemView2.setPopupCallback(this.f7695w);
|
||||
actionView = actionMenuItemView;
|
||||
}
|
||||
actionView.setVisibility(oVar.f7267C ? 8 : 0);
|
||||
ViewGroup.LayoutParams layoutParams = actionView.getLayoutParams();
|
||||
((ActionMenuView) viewGroup).getClass();
|
||||
if (!(layoutParams instanceof C0476n)) {
|
||||
actionView.setLayoutParams(ActionMenuView.k(layoutParams));
|
||||
}
|
||||
return actionView;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void b(l.m mVar, boolean z3) {
|
||||
c();
|
||||
C0462g c0462g = this.f7693u;
|
||||
if (c0462g != null && c0462g.b()) {
|
||||
c0462g.i.dismiss();
|
||||
}
|
||||
l.x xVar = this.f7680e;
|
||||
if (xVar != null) {
|
||||
xVar.b(mVar, z3);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean c() {
|
||||
Object obj;
|
||||
RunnableC0466i runnableC0466i = this.f7694v;
|
||||
if (runnableC0466i != null && (obj = this.h) != null) {
|
||||
((View) obj).removeCallbacks(runnableC0466i);
|
||||
this.f7694v = null;
|
||||
return true;
|
||||
}
|
||||
C0462g c0462g = this.f7692t;
|
||||
if (c0462g == null) {
|
||||
return false;
|
||||
}
|
||||
if (c0462g.b()) {
|
||||
c0462g.i.dismiss();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void d(Parcelable parcelable) {
|
||||
int i;
|
||||
MenuItem findItem;
|
||||
if ((parcelable instanceof C0470k) && (i = ((C0470k) parcelable).f7673a) > 0 && (findItem = this.f7678c.findItem(i)) != null) {
|
||||
l((SubMenuC0422E) findItem.getSubMenu());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void e(l.x xVar) {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public final boolean f() {
|
||||
C0462g c0462g = this.f7692t;
|
||||
return c0462g != null && c0462g.b();
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean g(l.o oVar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final int getId() {
|
||||
return this.i;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // l.y
|
||||
public final void h(boolean z3) {
|
||||
int i;
|
||||
ViewGroup viewGroup = (ViewGroup) this.h;
|
||||
ArrayList arrayList = null;
|
||||
boolean z4 = false;
|
||||
if (viewGroup != null) {
|
||||
l.m mVar = this.f7678c;
|
||||
if (mVar != null) {
|
||||
mVar.i();
|
||||
ArrayList l4 = this.f7678c.l();
|
||||
int size = l4.size();
|
||||
i = 0;
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
l.o oVar = (l.o) l4.get(i4);
|
||||
if ((oVar.f7288x & 32) == 32) {
|
||||
View childAt = viewGroup.getChildAt(i);
|
||||
l.o itemData = childAt instanceof l.z ? ((l.z) childAt).getItemData() : null;
|
||||
View a2 = a(oVar, childAt, viewGroup);
|
||||
if (oVar != itemData) {
|
||||
a2.setPressed(false);
|
||||
a2.jumpDrawablesToCurrentState();
|
||||
}
|
||||
if (a2 != childAt) {
|
||||
ViewGroup viewGroup2 = (ViewGroup) a2.getParent();
|
||||
if (viewGroup2 != null) {
|
||||
viewGroup2.removeView(a2);
|
||||
}
|
||||
((ViewGroup) this.h).addView(a2, i);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
i = 0;
|
||||
}
|
||||
while (i < viewGroup.getChildCount()) {
|
||||
if (viewGroup.getChildAt(i) == this.f7683j) {
|
||||
i++;
|
||||
} else {
|
||||
viewGroup.removeViewAt(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
((View) this.h).requestLayout();
|
||||
l.m mVar2 = this.f7678c;
|
||||
if (mVar2 != null) {
|
||||
mVar2.i();
|
||||
ArrayList arrayList2 = mVar2.i;
|
||||
int size2 = arrayList2.size();
|
||||
for (int i5 = 0; i5 < size2; i5++) {
|
||||
l.p pVar = ((l.o) arrayList2.get(i5)).f7265A;
|
||||
}
|
||||
}
|
||||
l.m mVar3 = this.f7678c;
|
||||
if (mVar3 != null) {
|
||||
mVar3.i();
|
||||
arrayList = mVar3.f7248j;
|
||||
}
|
||||
if (this.f7686m && arrayList != null) {
|
||||
int size3 = arrayList.size();
|
||||
if (size3 == 1) {
|
||||
z4 = !((l.o) arrayList.get(0)).f7267C;
|
||||
} else if (size3 > 0) {
|
||||
z4 = true;
|
||||
}
|
||||
}
|
||||
if (z4) {
|
||||
if (this.f7683j == null) {
|
||||
this.f7683j = new C0468j(this, this.f7676a);
|
||||
}
|
||||
ViewGroup viewGroup3 = (ViewGroup) this.f7683j.getParent();
|
||||
if (viewGroup3 != this.h) {
|
||||
if (viewGroup3 != null) {
|
||||
viewGroup3.removeView(this.f7683j);
|
||||
}
|
||||
ActionMenuView actionMenuView = (ActionMenuView) this.h;
|
||||
C0468j c0468j = this.f7683j;
|
||||
actionMenuView.getClass();
|
||||
C0476n j4 = ActionMenuView.j();
|
||||
j4.f7709a = true;
|
||||
actionMenuView.addView(c0468j, j4);
|
||||
}
|
||||
} else {
|
||||
C0468j c0468j2 = this.f7683j;
|
||||
if (c0468j2 != null) {
|
||||
Object parent = c0468j2.getParent();
|
||||
Object obj = this.h;
|
||||
if (parent == obj) {
|
||||
((ViewGroup) obj).removeView(this.f7683j);
|
||||
}
|
||||
}
|
||||
}
|
||||
((ActionMenuView) this.h).setOverflowReserved(this.f7686m);
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void i(Context context, l.m mVar) {
|
||||
this.f7677b = context;
|
||||
LayoutInflater.from(context);
|
||||
this.f7678c = mVar;
|
||||
Resources resources = context.getResources();
|
||||
if (!this.f7687n) {
|
||||
this.f7686m = true;
|
||||
}
|
||||
int i = 2;
|
||||
this.f7688o = context.getResources().getDisplayMetrics().widthPixels / 2;
|
||||
Configuration configuration = context.getResources().getConfiguration();
|
||||
int i4 = configuration.screenWidthDp;
|
||||
int i5 = configuration.screenHeightDp;
|
||||
if (configuration.smallestScreenWidthDp > 600 || i4 > 600 || ((i4 > 960 && i5 > 720) || (i4 > 720 && i5 > 960))) {
|
||||
i = 5;
|
||||
} else if (i4 >= 500 || ((i4 > 640 && i5 > 480) || (i4 > 480 && i5 > 640))) {
|
||||
i = 4;
|
||||
} else if (i4 >= 360) {
|
||||
i = 3;
|
||||
}
|
||||
this.f7689q = i;
|
||||
int i6 = this.f7688o;
|
||||
if (this.f7686m) {
|
||||
if (this.f7683j == null) {
|
||||
C0468j c0468j = new C0468j(this, this.f7676a);
|
||||
this.f7683j = c0468j;
|
||||
if (this.f7685l) {
|
||||
c0468j.setImageDrawable(this.f7684k);
|
||||
this.f7684k = null;
|
||||
this.f7685l = false;
|
||||
}
|
||||
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, 0);
|
||||
this.f7683j.measure(makeMeasureSpec, makeMeasureSpec);
|
||||
}
|
||||
i6 -= this.f7683j.getMeasuredWidth();
|
||||
} else {
|
||||
this.f7683j = null;
|
||||
}
|
||||
this.p = i6;
|
||||
float f2 = resources.getDisplayMetrics().density;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean j() {
|
||||
int i;
|
||||
ArrayList arrayList;
|
||||
int i4;
|
||||
boolean z3;
|
||||
C0472l c0472l = this;
|
||||
l.m mVar = c0472l.f7678c;
|
||||
if (mVar != null) {
|
||||
arrayList = mVar.l();
|
||||
i = arrayList.size();
|
||||
} else {
|
||||
i = 0;
|
||||
arrayList = null;
|
||||
}
|
||||
int i5 = c0472l.f7689q;
|
||||
int i6 = c0472l.p;
|
||||
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, 0);
|
||||
ViewGroup viewGroup = (ViewGroup) c0472l.h;
|
||||
int i7 = 0;
|
||||
boolean z4 = false;
|
||||
int i8 = 0;
|
||||
int i9 = 0;
|
||||
while (true) {
|
||||
i4 = 2;
|
||||
z3 = true;
|
||||
if (i7 >= i) {
|
||||
break;
|
||||
}
|
||||
l.o oVar = (l.o) arrayList.get(i7);
|
||||
int i10 = oVar.f7289y;
|
||||
if ((i10 & 2) == 2) {
|
||||
i8++;
|
||||
} else if ((i10 & 1) == 1) {
|
||||
i9++;
|
||||
} else {
|
||||
z4 = true;
|
||||
}
|
||||
if (c0472l.f7690r && oVar.f7267C) {
|
||||
i5 = 0;
|
||||
}
|
||||
i7++;
|
||||
}
|
||||
if (c0472l.f7686m && (z4 || i9 + i8 > i5)) {
|
||||
i5--;
|
||||
}
|
||||
int i11 = i5 - i8;
|
||||
SparseBooleanArray sparseBooleanArray = c0472l.f7691s;
|
||||
sparseBooleanArray.clear();
|
||||
int i12 = 0;
|
||||
int i13 = 0;
|
||||
while (i12 < i) {
|
||||
l.o oVar2 = (l.o) arrayList.get(i12);
|
||||
int i14 = oVar2.f7289y;
|
||||
boolean z5 = (i14 & 2) == i4 ? z3 : false;
|
||||
int i15 = oVar2.f7269b;
|
||||
if (z5) {
|
||||
View a2 = c0472l.a(oVar2, null, viewGroup);
|
||||
a2.measure(makeMeasureSpec, makeMeasureSpec);
|
||||
int measuredWidth = a2.getMeasuredWidth();
|
||||
i6 -= measuredWidth;
|
||||
if (i13 == 0) {
|
||||
i13 = measuredWidth;
|
||||
}
|
||||
if (i15 != 0) {
|
||||
sparseBooleanArray.put(i15, z3);
|
||||
}
|
||||
oVar2.g(z3);
|
||||
} else if ((i14 & 1) == z3) {
|
||||
boolean z6 = sparseBooleanArray.get(i15);
|
||||
boolean z7 = ((i11 > 0 || z6) && i6 > 0) ? z3 : false;
|
||||
if (z7) {
|
||||
View a4 = c0472l.a(oVar2, null, viewGroup);
|
||||
a4.measure(makeMeasureSpec, makeMeasureSpec);
|
||||
int measuredWidth2 = a4.getMeasuredWidth();
|
||||
i6 -= measuredWidth2;
|
||||
if (i13 == 0) {
|
||||
i13 = measuredWidth2;
|
||||
}
|
||||
z7 &= i6 + i13 > 0;
|
||||
}
|
||||
if (z7 && i15 != 0) {
|
||||
sparseBooleanArray.put(i15, true);
|
||||
} else if (z6) {
|
||||
sparseBooleanArray.put(i15, false);
|
||||
for (int i16 = 0; i16 < i12; i16++) {
|
||||
l.o oVar3 = (l.o) arrayList.get(i16);
|
||||
if (oVar3.f7269b == i15) {
|
||||
if ((oVar3.f7288x & 32) == 32) {
|
||||
i11++;
|
||||
}
|
||||
oVar3.g(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (z7) {
|
||||
i11--;
|
||||
}
|
||||
oVar2.g(z7);
|
||||
} else {
|
||||
oVar2.g(false);
|
||||
i12++;
|
||||
i4 = 2;
|
||||
c0472l = this;
|
||||
z3 = true;
|
||||
}
|
||||
i12++;
|
||||
i4 = 2;
|
||||
c0472l = this;
|
||||
z3 = true;
|
||||
}
|
||||
return z3;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [android.os.Parcelable, java.lang.Object, m.k] */
|
||||
@Override // l.y
|
||||
public final Parcelable k() {
|
||||
?? obj = new Object();
|
||||
obj.f7673a = this.f7697y;
|
||||
return obj;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // l.y
|
||||
public final boolean l(SubMenuC0422E subMenuC0422E) {
|
||||
boolean z3;
|
||||
if (subMenuC0422E.hasVisibleItems()) {
|
||||
SubMenuC0422E subMenuC0422E2 = subMenuC0422E;
|
||||
while (true) {
|
||||
l.m mVar = subMenuC0422E2.f7179z;
|
||||
if (mVar == this.f7678c) {
|
||||
break;
|
||||
}
|
||||
subMenuC0422E2 = (SubMenuC0422E) mVar;
|
||||
}
|
||||
ViewGroup viewGroup = (ViewGroup) this.h;
|
||||
View view = null;
|
||||
if (viewGroup != null) {
|
||||
int childCount = viewGroup.getChildCount();
|
||||
int i = 0;
|
||||
while (true) {
|
||||
if (i >= childCount) {
|
||||
break;
|
||||
}
|
||||
View childAt = viewGroup.getChildAt(i);
|
||||
if ((childAt instanceof l.z) && ((l.z) childAt).getItemData() == subMenuC0422E2.f7178A) {
|
||||
view = childAt;
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
if (view != null) {
|
||||
this.f7697y = subMenuC0422E.f7178A.f7268a;
|
||||
int size = subMenuC0422E.f7246f.size();
|
||||
int i4 = 0;
|
||||
while (true) {
|
||||
if (i4 >= size) {
|
||||
z3 = false;
|
||||
break;
|
||||
}
|
||||
MenuItem item = subMenuC0422E.getItem(i4);
|
||||
if (item.isVisible() && item.getIcon() != null) {
|
||||
z3 = true;
|
||||
break;
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
C0462g c0462g = new C0462g(this, this.f7677b, subMenuC0422E, view);
|
||||
this.f7693u = c0462g;
|
||||
c0462g.f7309g = z3;
|
||||
l.u uVar = c0462g.i;
|
||||
if (uVar != null) {
|
||||
uVar.q(z3);
|
||||
}
|
||||
C0462g c0462g2 = this.f7693u;
|
||||
if (!c0462g2.b()) {
|
||||
if (c0462g2.f7307e == null) {
|
||||
throw new IllegalStateException("MenuPopupHelper cannot be used without an anchor");
|
||||
}
|
||||
c0462g2.d(0, 0, false, false);
|
||||
}
|
||||
l.x xVar = this.f7680e;
|
||||
if (xVar != null) {
|
||||
xVar.f(subMenuC0422E);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean m(l.o oVar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean n() {
|
||||
l.m mVar;
|
||||
if (!this.f7686m || f() || (mVar = this.f7678c) == null || this.h == null || this.f7694v != null) {
|
||||
return false;
|
||||
}
|
||||
mVar.i();
|
||||
if (mVar.f7248j.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
RunnableC0466i runnableC0466i = new RunnableC0466i(this, new C0462g(this, this.f7677b, this.f7678c, this.f7683j));
|
||||
this.f7694v = runnableC0466i;
|
||||
((View) this.h).post(runnableC0466i);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
260
apk_decompiled/sources/m/C0475m0.java
Normal file
260
apk_decompiled/sources/m/C0475m0.java
Normal file
@@ -0,0 +1,260 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.ListView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
/* renamed from: m.m0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0475m0 extends ListView {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Rect f7699a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7700b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f7701c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f7702d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f7703e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f7704f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public C0471k0 f7705g;
|
||||
public boolean h;
|
||||
public final boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public boolean f7706j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public U.g f7707k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public F0.c f7708l;
|
||||
|
||||
public C0475m0(Context context, boolean z3) {
|
||||
super(context, null, R.attr.dropDownListViewStyle);
|
||||
this.f7699a = new Rect();
|
||||
this.f7700b = 0;
|
||||
this.f7701c = 0;
|
||||
this.f7702d = 0;
|
||||
this.f7703e = 0;
|
||||
this.i = z3;
|
||||
setCacheColorHint(0);
|
||||
}
|
||||
|
||||
public final int a(int i, int i4) {
|
||||
int listPaddingTop = getListPaddingTop();
|
||||
int listPaddingBottom = getListPaddingBottom();
|
||||
int dividerHeight = getDividerHeight();
|
||||
Drawable divider = getDivider();
|
||||
ListAdapter adapter = getAdapter();
|
||||
if (adapter == null) {
|
||||
return listPaddingTop + listPaddingBottom;
|
||||
}
|
||||
int i5 = listPaddingTop + listPaddingBottom;
|
||||
if (dividerHeight <= 0 || divider == null) {
|
||||
dividerHeight = 0;
|
||||
}
|
||||
int count = adapter.getCount();
|
||||
int i6 = 0;
|
||||
View view = null;
|
||||
for (int i7 = 0; i7 < count; i7++) {
|
||||
int itemViewType = adapter.getItemViewType(i7);
|
||||
if (itemViewType != i6) {
|
||||
view = null;
|
||||
i6 = itemViewType;
|
||||
}
|
||||
view = adapter.getView(i7, view, this);
|
||||
ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
|
||||
if (layoutParams == null) {
|
||||
layoutParams = generateDefaultLayoutParams();
|
||||
view.setLayoutParams(layoutParams);
|
||||
}
|
||||
int i8 = layoutParams.height;
|
||||
view.measure(i, i8 > 0 ? View.MeasureSpec.makeMeasureSpec(i8, 1073741824) : View.MeasureSpec.makeMeasureSpec(0, 0));
|
||||
view.forceLayout();
|
||||
if (i7 > 0) {
|
||||
i5 += dividerHeight;
|
||||
}
|
||||
i5 += view.getMeasuredHeight();
|
||||
if (i5 >= i4) {
|
||||
return i4;
|
||||
}
|
||||
}
|
||||
return i5;
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:11:0x0167 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:17:0x017d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:25:0x0162 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:9:0x014a A[ADDED_TO_REGION] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final boolean b(android.view.MotionEvent r18, int r19) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 396
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.C0475m0.b(android.view.MotionEvent, int):boolean");
|
||||
}
|
||||
|
||||
@Override // android.widget.ListView, android.widget.AbsListView, android.view.ViewGroup, android.view.View
|
||||
public final void dispatchDraw(Canvas canvas) {
|
||||
Drawable selector;
|
||||
Rect rect = this.f7699a;
|
||||
if (!rect.isEmpty() && (selector = getSelector()) != null) {
|
||||
selector.setBounds(rect);
|
||||
selector.draw(canvas);
|
||||
}
|
||||
super.dispatchDraw(canvas);
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsListView, android.view.ViewGroup, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
if (this.f7708l != null) {
|
||||
return;
|
||||
}
|
||||
super.drawableStateChanged();
|
||||
C0471k0 c0471k0 = this.f7705g;
|
||||
if (c0471k0 != null) {
|
||||
c0471k0.f7675b = true;
|
||||
}
|
||||
Drawable selector = getSelector();
|
||||
if (selector != null && this.f7706j && isPressed()) {
|
||||
selector.setState(getDrawableState());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final boolean hasFocus() {
|
||||
return this.i || super.hasFocus();
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final boolean hasWindowFocus() {
|
||||
return this.i || super.hasWindowFocus();
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final boolean isFocused() {
|
||||
return this.i || super.isFocused();
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final boolean isInTouchMode() {
|
||||
return (this.i && this.h) || super.isInTouchMode();
|
||||
}
|
||||
|
||||
@Override // android.widget.ListView, android.widget.AbsListView, android.widget.AdapterView, android.view.ViewGroup, android.view.View
|
||||
public final void onDetachedFromWindow() {
|
||||
this.f7708l = null;
|
||||
super.onDetachedFromWindow();
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public boolean onHoverEvent(MotionEvent motionEvent) {
|
||||
int i = Build.VERSION.SDK_INT;
|
||||
int actionMasked = motionEvent.getActionMasked();
|
||||
if (actionMasked == 10 && this.f7708l == null) {
|
||||
F0.c cVar = new F0.c(this, 9);
|
||||
this.f7708l = cVar;
|
||||
post(cVar);
|
||||
}
|
||||
boolean onHoverEvent = super.onHoverEvent(motionEvent);
|
||||
if (actionMasked != 9 && actionMasked != 7) {
|
||||
setSelection(-1);
|
||||
return onHoverEvent;
|
||||
}
|
||||
int pointToPosition = pointToPosition((int) motionEvent.getX(), (int) motionEvent.getY());
|
||||
if (pointToPosition != -1 && pointToPosition != getSelectedItemPosition()) {
|
||||
View childAt = getChildAt(pointToPosition - getFirstVisiblePosition());
|
||||
if (childAt.isEnabled()) {
|
||||
requestFocus();
|
||||
if (i < 30 || !AbstractC0467i0.f7671d) {
|
||||
setSelectionFromTop(pointToPosition, childAt.getTop() - getTop());
|
||||
} else {
|
||||
try {
|
||||
AbstractC0467i0.f7668a.invoke(this, Integer.valueOf(pointToPosition), childAt, Boolean.FALSE, -1, -1);
|
||||
AbstractC0467i0.f7669b.invoke(this, Integer.valueOf(pointToPosition));
|
||||
AbstractC0467i0.f7670c.invoke(this, Integer.valueOf(pointToPosition));
|
||||
} catch (IllegalAccessException e4) {
|
||||
e4.printStackTrace();
|
||||
} catch (InvocationTargetException e5) {
|
||||
e5.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Drawable selector = getSelector();
|
||||
if (selector != null && this.f7706j && isPressed()) {
|
||||
selector.setState(getDrawableState());
|
||||
}
|
||||
}
|
||||
return onHoverEvent;
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsListView, android.view.View
|
||||
public final boolean onTouchEvent(MotionEvent motionEvent) {
|
||||
if (motionEvent.getAction() == 0) {
|
||||
this.f7704f = pointToPosition((int) motionEvent.getX(), (int) motionEvent.getY());
|
||||
}
|
||||
F0.c cVar = this.f7708l;
|
||||
if (cVar != null) {
|
||||
C0475m0 c0475m0 = (C0475m0) cVar.f517b;
|
||||
c0475m0.f7708l = null;
|
||||
c0475m0.removeCallbacks(cVar);
|
||||
}
|
||||
return super.onTouchEvent(motionEvent);
|
||||
}
|
||||
|
||||
public void setListSelectionHidden(boolean z3) {
|
||||
this.h = z3;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r1v0, types: [m.k0, android.graphics.drawable.Drawable$Callback, android.graphics.drawable.Drawable] */
|
||||
@Override // android.widget.AbsListView
|
||||
public void setSelector(Drawable drawable) {
|
||||
C0471k0 c0471k0 = null;
|
||||
if (drawable != 0) {
|
||||
?? drawable2 = new Drawable();
|
||||
Drawable drawable3 = drawable2.f7674a;
|
||||
if (drawable3 != null) {
|
||||
drawable3.setCallback(null);
|
||||
}
|
||||
drawable2.f7674a = drawable;
|
||||
drawable.setCallback(drawable2);
|
||||
drawable2.f7675b = true;
|
||||
c0471k0 = drawable2;
|
||||
}
|
||||
this.f7705g = c0471k0;
|
||||
super.setSelector(c0471k0);
|
||||
Rect rect = new Rect();
|
||||
if (drawable != 0) {
|
||||
drawable.getPadding(rect);
|
||||
}
|
||||
this.f7700b = rect.left;
|
||||
this.f7701c = rect.top;
|
||||
this.f7702d = rect.right;
|
||||
this.f7703e = rect.bottom;
|
||||
}
|
||||
}
|
||||
24
apk_decompiled/sources/m/C0476n.java
Normal file
24
apk_decompiled/sources/m/C0476n.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.n, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0476n extends C0483q0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f7709a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7710b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f7711c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f7712d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f7713e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f7714f;
|
||||
}
|
||||
212
apk_decompiled/sources/m/C0480p.java
Normal file
212
apk_decompiled/sources/m/C0480p.java
Normal file
@@ -0,0 +1,212 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.method.KeyListener;
|
||||
import android.text.method.NumberKeyListener;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.ActionMode;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.widget.AutoCompleteTextView;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
|
||||
/* renamed from: m.p, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0480p extends AutoCompleteTextView {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final int[] f7717d = {R.attr.popupBackground};
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7718a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final T f7719b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final C0499z f7720c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0480p(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
L0.a(context);
|
||||
K0.a(this, getContext());
|
||||
R0.h l4 = R0.h.l(getContext(), attributeSet, f7717d, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
if (((TypedArray) l4.f1414b).hasValue(0)) {
|
||||
setDropDownBackgroundDrawable(l4.f(0));
|
||||
}
|
||||
l4.n();
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7718a = c0207b;
|
||||
c0207b.k(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
T t2 = new T(this);
|
||||
this.f7719b = t2;
|
||||
t2.f(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
t2.b();
|
||||
C0499z c0499z = new C0499z(this);
|
||||
this.f7720c = c0499z;
|
||||
c0499z.e(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
KeyListener keyListener = getKeyListener();
|
||||
if (keyListener instanceof NumberKeyListener) {
|
||||
return;
|
||||
}
|
||||
boolean isFocusable = super.isFocusable();
|
||||
boolean isClickable = super.isClickable();
|
||||
boolean isLongClickable = super.isLongClickable();
|
||||
int inputType = super.getInputType();
|
||||
KeyListener d4 = c0499z.d(keyListener);
|
||||
if (d4 == keyListener) {
|
||||
return;
|
||||
}
|
||||
super.setKeyListener(d4);
|
||||
super.setRawInputType(inputType);
|
||||
super.setFocusable(isFocusable);
|
||||
super.setClickable(isClickable);
|
||||
super.setLongClickable(isLongClickable);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7719b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public ActionMode.Callback getCustomSelectionActionModeCallback() {
|
||||
return super.getCustomSelectionActionModeCallback();
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7719b.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7719b.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
|
||||
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
|
||||
AbstractC0106b.x(editorInfo, onCreateInputConnection, this);
|
||||
return this.f7720c.f(onCreateInputConnection, editorInfo);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7719b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7719b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
|
||||
super.setCustomSelectionActionModeCallback(callback);
|
||||
}
|
||||
|
||||
@Override // android.widget.AutoCompleteTextView
|
||||
public void setDropDownBackgroundResource(int i) {
|
||||
setDropDownBackgroundDrawable(AbstractC0106b.m(getContext(), i));
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
this.f7720c.g(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setKeyListener(KeyListener keyListener) {
|
||||
super.setKeyListener(this.f7720c.d(keyListener));
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7718a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7719b;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7719b;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setTextAppearance(Context context, int i) {
|
||||
super.setTextAppearance(context, i);
|
||||
T t2 = this.f7719b;
|
||||
if (t2 != null) {
|
||||
t2.g(context, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
222
apk_decompiled/sources/m/C0482q.java
Normal file
222
apk_decompiled/sources/m/C0482q.java
Normal file
@@ -0,0 +1,222 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.InputFilter;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.CheckBox;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
|
||||
/* renamed from: m.q, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0482q extends CheckBox implements U.x {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0485s f7728a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final C0207b f7729b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final T f7730c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public C0491v f7731d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0482q(Context context, AttributeSet attributeSet, int i) {
|
||||
super(context, attributeSet, i);
|
||||
L0.a(context);
|
||||
K0.a(this, getContext());
|
||||
C0485s c0485s = new C0485s(this);
|
||||
this.f7728a = c0485s;
|
||||
c0485s.c(attributeSet, i);
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7729b = c0207b;
|
||||
c0207b.k(attributeSet, i);
|
||||
T t2 = new T(this);
|
||||
this.f7730c = t2;
|
||||
t2.f(attributeSet, i);
|
||||
getEmojiTextViewHelper().b(attributeSet, i);
|
||||
}
|
||||
|
||||
private C0491v getEmojiTextViewHelper() {
|
||||
if (this.f7731d == null) {
|
||||
this.f7731d = new C0491v(this);
|
||||
}
|
||||
return this.f7731d;
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton, android.widget.TextView, android.view.View
|
||||
public void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7730c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public ColorStateList getSupportButtonTintList() {
|
||||
C0485s c0485s = this.f7728a;
|
||||
if (c0485s != null) {
|
||||
return c0485s.f7737a;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportButtonTintMode() {
|
||||
C0485s c0485s = this.f7728a;
|
||||
if (c0485s != null) {
|
||||
return c0485s.f7738b;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7730c.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7730c.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setAllCaps(boolean z3) {
|
||||
super.setAllCaps(z3);
|
||||
getEmojiTextViewHelper().c(z3);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton
|
||||
public void setButtonDrawable(Drawable drawable) {
|
||||
super.setButtonDrawable(drawable);
|
||||
C0485s c0485s = this.f7728a;
|
||||
if (c0485s != null) {
|
||||
if (c0485s.f7741e) {
|
||||
c0485s.f7741e = false;
|
||||
} else {
|
||||
c0485s.f7741e = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7730c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7730c;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
getEmojiTextViewHelper().d(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setFilters(InputFilter[] inputFilterArr) {
|
||||
super.setFilters(getEmojiTextViewHelper().a(inputFilterArr));
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7729b;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public void setSupportButtonTintList(ColorStateList colorStateList) {
|
||||
C0485s c0485s = this.f7728a;
|
||||
if (c0485s != null) {
|
||||
c0485s.f7737a = colorStateList;
|
||||
c0485s.f7739c = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // U.x
|
||||
public void setSupportButtonTintMode(PorterDuff.Mode mode) {
|
||||
C0485s c0485s = this.f7728a;
|
||||
if (c0485s != null) {
|
||||
c0485s.f7738b = mode;
|
||||
c0485s.f7740d = true;
|
||||
c0485s.a();
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7730c;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7730c;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.CompoundButton
|
||||
public void setButtonDrawable(int i) {
|
||||
setButtonDrawable(AbstractC0106b.m(getContext(), i));
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/m/C0483q0.java
Normal file
8
apk_decompiled/sources/m/C0483q0.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
/* renamed from: m.q0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0483q0 extends LinearLayout.LayoutParams {
|
||||
}
|
||||
29
apk_decompiled/sources/m/C0484r0.java
Normal file
29
apk_decompiled/sources/m/C0484r0.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
|
||||
/* renamed from: m.r0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0484r0 implements AdapterView.OnItemSelectedListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0496x0 f7736a;
|
||||
|
||||
public C0484r0(C0496x0 c0496x0) {
|
||||
this.f7736a = c0496x0;
|
||||
}
|
||||
|
||||
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||||
public final void onItemSelected(AdapterView adapterView, View view, int i, long j4) {
|
||||
C0475m0 c0475m0;
|
||||
if (i == -1 || (c0475m0 = this.f7736a.f7762c) == null) {
|
||||
return;
|
||||
}
|
||||
c0475m0.setListSelectionHidden(false);
|
||||
}
|
||||
|
||||
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||||
public final void onNothingSelected(AdapterView adapterView) {
|
||||
}
|
||||
}
|
||||
148
apk_decompiled/sources/m/C0485s.java
Normal file
148
apk_decompiled/sources/m/C0485s.java
Normal file
@@ -0,0 +1,148 @@
|
||||
package m;
|
||||
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.TextView;
|
||||
|
||||
/* renamed from: m.s, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0485s {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public ColorStateList f7737a = null;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public PorterDuff.Mode f7738b = null;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f7739c = false;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f7740d = false;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f7741e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final TextView f7742f;
|
||||
|
||||
public /* synthetic */ C0485s(TextView textView) {
|
||||
this.f7742f = textView;
|
||||
}
|
||||
|
||||
public void a() {
|
||||
CompoundButton compoundButton = (CompoundButton) this.f7742f;
|
||||
Drawable a2 = U.c.a(compoundButton);
|
||||
if (a2 != null) {
|
||||
if (this.f7739c || this.f7740d) {
|
||||
Drawable mutate = a2.mutate();
|
||||
if (this.f7739c) {
|
||||
H.a.h(mutate, this.f7737a);
|
||||
}
|
||||
if (this.f7740d) {
|
||||
H.a.i(mutate, this.f7738b);
|
||||
}
|
||||
if (mutate.isStateful()) {
|
||||
mutate.setState(compoundButton.getDrawableState());
|
||||
}
|
||||
compoundButton.setButtonDrawable(mutate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void b() {
|
||||
r rVar = (r) this.f7742f;
|
||||
Drawable checkMarkDrawable = rVar.getCheckMarkDrawable();
|
||||
if (checkMarkDrawable != null) {
|
||||
if (this.f7739c || this.f7740d) {
|
||||
Drawable mutate = checkMarkDrawable.mutate();
|
||||
if (this.f7739c) {
|
||||
H.a.h(mutate, this.f7737a);
|
||||
}
|
||||
if (this.f7740d) {
|
||||
H.a.i(mutate, this.f7738b);
|
||||
}
|
||||
if (mutate.isStateful()) {
|
||||
mutate.setState(rVar.getDrawableState());
|
||||
}
|
||||
rVar.setCheckMarkDrawable(mutate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:11:0x0060 A[Catch: all -> 0x003f, TryCatch #1 {all -> 0x003f, blocks: (B:3:0x0026, B:5:0x002d, B:8:0x0033, B:9:0x0059, B:11:0x0060, B:12:0x0067, B:14:0x006e, B:21:0x0042, B:23:0x0048, B:25:0x004e), top: B:2:0x0026 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:14:0x006e A[Catch: all -> 0x003f, TRY_LEAVE, TryCatch #1 {all -> 0x003f, blocks: (B:3:0x0026, B:5:0x002d, B:8:0x0033, B:9:0x0059, B:11:0x0060, B:12:0x0067, B:14:0x006e, B:21:0x0042, B:23:0x0048, B:25:0x004e), top: B:2:0x0026 }] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public void c(android.util.AttributeSet r9, int r10) {
|
||||
/*
|
||||
r8 = this;
|
||||
android.widget.TextView r8 = r8.f7742f
|
||||
r0 = r8
|
||||
android.widget.CompoundButton r0 = (android.widget.CompoundButton) r0
|
||||
android.content.Context r8 = r0.getContext()
|
||||
int[] r2 = f.AbstractC0336a.f6432m
|
||||
R0.h r8 = R0.h.l(r8, r9, r2, r10)
|
||||
java.lang.Object r1 = r8.f1414b
|
||||
r7 = r1
|
||||
android.content.res.TypedArray r7 = (android.content.res.TypedArray) r7
|
||||
android.content.Context r1 = r0.getContext()
|
||||
java.util.WeakHashMap r3 = O.X.f1226a
|
||||
java.lang.Object r3 = r8.f1414b
|
||||
r4 = r3
|
||||
android.content.res.TypedArray r4 = (android.content.res.TypedArray) r4
|
||||
r6 = 0
|
||||
r3 = r9
|
||||
r5 = r10
|
||||
O.S.d(r0, r1, r2, r3, r4, r5, r6)
|
||||
r9 = 1
|
||||
boolean r10 = r7.hasValue(r9) // Catch: java.lang.Throwable -> L3f
|
||||
r1 = 0
|
||||
if (r10 == 0) goto L42
|
||||
int r9 = r7.getResourceId(r9, r1) // Catch: java.lang.Throwable -> L3f
|
||||
if (r9 == 0) goto L42
|
||||
android.content.Context r10 = r0.getContext() // Catch: java.lang.Throwable -> L3f android.content.res.Resources.NotFoundException -> L42
|
||||
android.graphics.drawable.Drawable r9 = a.AbstractC0106b.m(r10, r9) // Catch: java.lang.Throwable -> L3f android.content.res.Resources.NotFoundException -> L42
|
||||
r0.setButtonDrawable(r9) // Catch: java.lang.Throwable -> L3f android.content.res.Resources.NotFoundException -> L42
|
||||
goto L59
|
||||
L3f:
|
||||
r0 = move-exception
|
||||
r9 = r0
|
||||
goto L7f
|
||||
L42:
|
||||
boolean r9 = r7.hasValue(r1) // Catch: java.lang.Throwable -> L3f
|
||||
if (r9 == 0) goto L59
|
||||
int r9 = r7.getResourceId(r1, r1) // Catch: java.lang.Throwable -> L3f
|
||||
if (r9 == 0) goto L59
|
||||
android.content.Context r10 = r0.getContext() // Catch: java.lang.Throwable -> L3f
|
||||
android.graphics.drawable.Drawable r9 = a.AbstractC0106b.m(r10, r9) // Catch: java.lang.Throwable -> L3f
|
||||
r0.setButtonDrawable(r9) // Catch: java.lang.Throwable -> L3f
|
||||
L59:
|
||||
r9 = 2
|
||||
boolean r10 = r7.hasValue(r9) // Catch: java.lang.Throwable -> L3f
|
||||
if (r10 == 0) goto L67
|
||||
android.content.res.ColorStateList r9 = r8.e(r9) // Catch: java.lang.Throwable -> L3f
|
||||
U.b.c(r0, r9) // Catch: java.lang.Throwable -> L3f
|
||||
L67:
|
||||
r9 = 3
|
||||
boolean r10 = r7.hasValue(r9) // Catch: java.lang.Throwable -> L3f
|
||||
if (r10 == 0) goto L7b
|
||||
r10 = -1
|
||||
int r9 = r7.getInt(r9, r10) // Catch: java.lang.Throwable -> L3f
|
||||
r10 = 0
|
||||
android.graphics.PorterDuff$Mode r9 = m.AbstractC0463g0.c(r9, r10) // Catch: java.lang.Throwable -> L3f
|
||||
U.b.d(r0, r9) // Catch: java.lang.Throwable -> L3f
|
||||
L7b:
|
||||
r8.n()
|
||||
return
|
||||
L7f:
|
||||
r8.n()
|
||||
throw r9
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.C0485s.c(android.util.AttributeSet, int):void");
|
||||
}
|
||||
}
|
||||
100
apk_decompiled/sources/m/C0487t.java
Normal file
100
apk_decompiled/sources/m/C0487t.java
Normal file
@@ -0,0 +1,100 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.PorterDuffColorFilter;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.LayerDrawable;
|
||||
import android.util.Log;
|
||||
import com.adif.elcanomovil.R;
|
||||
import e3.C0325k;
|
||||
|
||||
/* renamed from: m.t, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0487t {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final PorterDuff.Mode f7743b = PorterDuff.Mode.SRC_IN;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static C0487t f7744c;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public E0 f7745a;
|
||||
|
||||
public static synchronized C0487t a() {
|
||||
C0487t c0487t;
|
||||
synchronized (C0487t.class) {
|
||||
try {
|
||||
if (f7744c == null) {
|
||||
d();
|
||||
}
|
||||
c0487t = f7744c;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return c0487t;
|
||||
}
|
||||
|
||||
public static synchronized PorterDuffColorFilter c(int i, PorterDuff.Mode mode) {
|
||||
PorterDuffColorFilter e4;
|
||||
synchronized (C0487t.class) {
|
||||
e4 = E0.e(i, mode);
|
||||
}
|
||||
return e4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [m.t, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r3v1, types: [I0.g, java.lang.Object] */
|
||||
public static synchronized void d() {
|
||||
synchronized (C0487t.class) {
|
||||
if (f7744c == null) {
|
||||
?? obj = new Object();
|
||||
f7744c = obj;
|
||||
obj.f7745a = E0.b();
|
||||
E0 e02 = f7744c.f7745a;
|
||||
?? obj2 = new Object();
|
||||
obj2.f753a = new int[]{R.drawable.abc_textfield_search_default_mtrl_alpha, R.drawable.abc_textfield_default_mtrl_alpha, R.drawable.abc_ab_share_pack_mtrl_alpha};
|
||||
obj2.f754b = new int[]{R.drawable.abc_ic_commit_search_api_mtrl_alpha, R.drawable.abc_seekbar_tick_mark_material, R.drawable.abc_ic_menu_share_mtrl_alpha, R.drawable.abc_ic_menu_copy_mtrl_am_alpha, R.drawable.abc_ic_menu_cut_mtrl_alpha, R.drawable.abc_ic_menu_selectall_mtrl_alpha, R.drawable.abc_ic_menu_paste_mtrl_am_alpha};
|
||||
obj2.f755c = new int[]{R.drawable.abc_textfield_activated_mtrl_alpha, R.drawable.abc_textfield_search_activated_mtrl_alpha, R.drawable.abc_cab_background_top_mtrl_alpha, R.drawable.abc_text_cursor_material, R.drawable.abc_text_select_handle_left_mtrl, R.drawable.abc_text_select_handle_middle_mtrl, R.drawable.abc_text_select_handle_right_mtrl};
|
||||
obj2.f756d = new int[]{R.drawable.abc_popup_background_mtrl_mult, R.drawable.abc_cab_background_internal_bg, R.drawable.abc_menu_hardkey_panel_mtrl_mult};
|
||||
obj2.f757e = new int[]{R.drawable.abc_tab_indicator_material, R.drawable.abc_textfield_search_material};
|
||||
obj2.f758f = new int[]{R.drawable.abc_btn_check_material, R.drawable.abc_btn_radio_material, R.drawable.abc_btn_check_material_anim, R.drawable.abc_btn_radio_material_anim};
|
||||
synchronized (e02) {
|
||||
e02.f7517e = obj2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void e(Drawable drawable, C0325k c0325k, int[] iArr) {
|
||||
PorterDuff.Mode mode = E0.f7511f;
|
||||
int[] state = drawable.getState();
|
||||
if (drawable.mutate() != drawable) {
|
||||
Log.d("ResourceManagerInternal", "Mutated drawable is not the same instance as the input.");
|
||||
return;
|
||||
}
|
||||
if ((drawable instanceof LayerDrawable) && drawable.isStateful()) {
|
||||
drawable.setState(new int[0]);
|
||||
drawable.setState(state);
|
||||
}
|
||||
boolean z3 = c0325k.f6367b;
|
||||
if (!z3 && !c0325k.f6366a) {
|
||||
drawable.clearColorFilter();
|
||||
return;
|
||||
}
|
||||
PorterDuffColorFilter porterDuffColorFilter = null;
|
||||
ColorStateList colorStateList = z3 ? (ColorStateList) c0325k.f6368c : null;
|
||||
PorterDuff.Mode mode2 = c0325k.f6366a ? (PorterDuff.Mode) c0325k.f6369d : E0.f7511f;
|
||||
if (colorStateList != null && mode2 != null) {
|
||||
porterDuffColorFilter = E0.e(colorStateList.getColorForState(iArr, 0), mode2);
|
||||
}
|
||||
drawable.setColorFilter(porterDuffColorFilter);
|
||||
}
|
||||
|
||||
public final synchronized Drawable b(Context context, int i) {
|
||||
return this.f7745a.c(context, i);
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/m/C0489u.java
Normal file
15
apk_decompiled/sources/m/C0489u.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package m;
|
||||
|
||||
import androidx.appcompat.widget.AppCompatEditText;
|
||||
|
||||
/* renamed from: m.u, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0489u {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AppCompatEditText f7746a;
|
||||
|
||||
public C0489u(AppCompatEditText appCompatEditText) {
|
||||
this.f7746a = appCompatEditText;
|
||||
}
|
||||
}
|
||||
47
apk_decompiled/sources/m/C0491v.java
Normal file
47
apk_decompiled/sources/m/C0491v.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package m;
|
||||
|
||||
import android.content.res.TypedArray;
|
||||
import android.text.InputFilter;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.TextView;
|
||||
import f.AbstractC0336a;
|
||||
|
||||
/* renamed from: m.v, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0491v {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final TextView f7749a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final A.a f7750b;
|
||||
|
||||
public C0491v(TextView textView) {
|
||||
this.f7749a = textView;
|
||||
this.f7750b = new A.a(textView);
|
||||
}
|
||||
|
||||
public final InputFilter[] a(InputFilter[] inputFilterArr) {
|
||||
return ((m3.l) this.f7750b.f7b).u(inputFilterArr);
|
||||
}
|
||||
|
||||
public final void b(AttributeSet attributeSet, int i) {
|
||||
TypedArray obtainStyledAttributes = this.f7749a.getContext().obtainStyledAttributes(attributeSet, AbstractC0336a.i, i, 0);
|
||||
try {
|
||||
boolean z3 = obtainStyledAttributes.hasValue(14) ? obtainStyledAttributes.getBoolean(14, true) : true;
|
||||
obtainStyledAttributes.recycle();
|
||||
d(z3);
|
||||
} catch (Throwable th) {
|
||||
obtainStyledAttributes.recycle();
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
public final void c(boolean z3) {
|
||||
((m3.l) this.f7750b.f7b).W(z3);
|
||||
}
|
||||
|
||||
public final void d(boolean z3) {
|
||||
((m3.l) this.f7750b.f7b).X(z3);
|
||||
}
|
||||
}
|
||||
34
apk_decompiled/sources/m/C0492v0.java
Normal file
34
apk_decompiled/sources/m/C0492v0.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package m;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.widget.AbsListView;
|
||||
|
||||
/* renamed from: m.v0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0492v0 implements AbsListView.OnScrollListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0496x0 f7751a;
|
||||
|
||||
public C0492v0(C0496x0 c0496x0) {
|
||||
this.f7751a = c0496x0;
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsListView.OnScrollListener
|
||||
public final void onScroll(AbsListView absListView, int i, int i4, int i5) {
|
||||
}
|
||||
|
||||
@Override // android.widget.AbsListView.OnScrollListener
|
||||
public final void onScrollStateChanged(AbsListView absListView, int i) {
|
||||
if (i == 1) {
|
||||
C0496x0 c0496x0 = this.f7751a;
|
||||
if (c0496x0.f7782z.getInputMethodMode() == 2 || c0496x0.f7782z.getContentView() == null) {
|
||||
return;
|
||||
}
|
||||
Handler handler = c0496x0.f7778v;
|
||||
RunnableC0490u0 runnableC0490u0 = c0496x0.f7774r;
|
||||
handler.removeCallbacks(runnableC0490u0);
|
||||
runnableC0490u0.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
212
apk_decompiled/sources/m/C0493w.java
Normal file
212
apk_decompiled/sources/m/C0493w.java
Normal file
@@ -0,0 +1,212 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.RippleDrawable;
|
||||
import android.net.Uri;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
import e3.C0325k;
|
||||
|
||||
/* renamed from: m.w, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0493w extends ImageButton {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7752a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final B0.G f7753b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f7754c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0493w(Context context, AttributeSet attributeSet, int i) {
|
||||
super(context, attributeSet, i);
|
||||
L0.a(context);
|
||||
this.f7754c = false;
|
||||
K0.a(this, getContext());
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7752a = c0207b;
|
||||
c0207b.k(attributeSet, i);
|
||||
B0.G g4 = new B0.G(this);
|
||||
this.f7753b = g4;
|
||||
g4.e(attributeSet, i);
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null) {
|
||||
g4.b();
|
||||
}
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportImageTintList() {
|
||||
C0325k c0325k;
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 == null || (c0325k = (C0325k) g4.f104d) == null) {
|
||||
return null;
|
||||
}
|
||||
return (ColorStateList) c0325k.f6368c;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportImageTintMode() {
|
||||
C0325k c0325k;
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 == null || (c0325k = (C0325k) g4.f104d) == null) {
|
||||
return null;
|
||||
}
|
||||
return (PorterDuff.Mode) c0325k.f6369d;
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView, android.view.View
|
||||
public final boolean hasOverlappingRendering() {
|
||||
return !(((ImageView) this.f7753b.f103c).getBackground() instanceof RippleDrawable) && super.hasOverlappingRendering();
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public void setImageBitmap(Bitmap bitmap) {
|
||||
super.setImageBitmap(bitmap);
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null) {
|
||||
g4.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public void setImageDrawable(Drawable drawable) {
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null && drawable != null && !this.f7754c) {
|
||||
g4.f102b = drawable.getLevel();
|
||||
}
|
||||
super.setImageDrawable(drawable);
|
||||
if (g4 != null) {
|
||||
g4.b();
|
||||
if (this.f7754c) {
|
||||
return;
|
||||
}
|
||||
ImageView imageView = (ImageView) g4.f103c;
|
||||
if (imageView.getDrawable() != null) {
|
||||
imageView.getDrawable().setLevel(g4.f102b);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public void setImageLevel(int i) {
|
||||
super.setImageLevel(i);
|
||||
this.f7754c = true;
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public void setImageResource(int i) {
|
||||
B0.G g4 = this.f7753b;
|
||||
ImageView imageView = (ImageView) g4.f103c;
|
||||
if (i != 0) {
|
||||
Drawable m4 = AbstractC0106b.m(imageView.getContext(), i);
|
||||
if (m4 != null) {
|
||||
AbstractC0463g0.a(m4);
|
||||
}
|
||||
imageView.setImageDrawable(m4);
|
||||
} else {
|
||||
imageView.setImageDrawable(null);
|
||||
}
|
||||
g4.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.ImageView
|
||||
public void setImageURI(Uri uri) {
|
||||
super.setImageURI(uri);
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null) {
|
||||
g4.b();
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7752a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportImageTintList(ColorStateList colorStateList) {
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null) {
|
||||
if (((C0325k) g4.f104d) == null) {
|
||||
g4.f104d = new Object();
|
||||
}
|
||||
C0325k c0325k = (C0325k) g4.f104d;
|
||||
c0325k.f6368c = colorStateList;
|
||||
c0325k.f6367b = true;
|
||||
g4.b();
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportImageTintMode(PorterDuff.Mode mode) {
|
||||
B0.G g4 = this.f7753b;
|
||||
if (g4 != null) {
|
||||
if (((C0325k) g4.f104d) == null) {
|
||||
g4.f104d = new Object();
|
||||
}
|
||||
C0325k c0325k = (C0325k) g4.f104d;
|
||||
c0325k.f6369d = mode;
|
||||
c0325k.f6366a = true;
|
||||
g4.b();
|
||||
}
|
||||
}
|
||||
}
|
||||
201
apk_decompiled/sources/m/C0495x.java
Normal file
201
apk_decompiled/sources/m/C0495x.java
Normal file
@@ -0,0 +1,201 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.method.KeyListener;
|
||||
import android.text.method.NumberKeyListener;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.widget.MultiAutoCompleteTextView;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
|
||||
/* renamed from: m.x, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0495x extends MultiAutoCompleteTextView {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final int[] f7756d = {R.attr.popupBackground};
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7757a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final T f7758b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final C0499z f7759c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0495x(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
L0.a(context);
|
||||
K0.a(this, getContext());
|
||||
R0.h l4 = R0.h.l(getContext(), attributeSet, f7756d, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
if (((TypedArray) l4.f1414b).hasValue(0)) {
|
||||
setDropDownBackgroundDrawable(l4.f(0));
|
||||
}
|
||||
l4.n();
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7757a = c0207b;
|
||||
c0207b.k(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
T t2 = new T(this);
|
||||
this.f7758b = t2;
|
||||
t2.f(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
t2.b();
|
||||
C0499z c0499z = new C0499z(this);
|
||||
this.f7759c = c0499z;
|
||||
c0499z.e(attributeSet, com.adif.elcanomovil.R.attr.autoCompleteTextViewStyle);
|
||||
KeyListener keyListener = getKeyListener();
|
||||
if (keyListener instanceof NumberKeyListener) {
|
||||
return;
|
||||
}
|
||||
boolean isFocusable = isFocusable();
|
||||
boolean isClickable = isClickable();
|
||||
boolean isLongClickable = isLongClickable();
|
||||
int inputType = getInputType();
|
||||
KeyListener d4 = c0499z.d(keyListener);
|
||||
if (d4 == keyListener) {
|
||||
return;
|
||||
}
|
||||
super.setKeyListener(d4);
|
||||
setRawInputType(inputType);
|
||||
setFocusable(isFocusable);
|
||||
setClickable(isClickable);
|
||||
setLongClickable(isLongClickable);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7758b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7758b.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7758b.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final InputConnection onCreateInputConnection(EditorInfo editorInfo) {
|
||||
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
|
||||
AbstractC0106b.x(editorInfo, onCreateInputConnection, this);
|
||||
return this.f7759c.f(onCreateInputConnection, editorInfo);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7758b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7758b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.AutoCompleteTextView
|
||||
public void setDropDownBackgroundResource(int i) {
|
||||
setDropDownBackgroundDrawable(AbstractC0106b.m(getContext(), i));
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
this.f7759c.g(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setKeyListener(KeyListener keyListener) {
|
||||
super.setKeyListener(this.f7759c.d(keyListener));
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7757a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7758b;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7758b;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setTextAppearance(Context context, int i) {
|
||||
super.setTextAppearance(context, i);
|
||||
T t2 = this.f7758b;
|
||||
if (t2 != null) {
|
||||
t2.g(context, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
310
apk_decompiled/sources/m/C0496x0.java
Normal file
310
apk_decompiled/sources/m/C0496x0.java
Normal file
@@ -0,0 +1,310 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Handler;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.PopupWindow;
|
||||
import f.AbstractC0336a;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
import l.InterfaceC0420C;
|
||||
|
||||
/* renamed from: m.x0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0496x0 implements InterfaceC0420C {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Context f7760a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public ListAdapter f7761b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public C0475m0 f7762c;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f7765f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f7766g;
|
||||
public boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public boolean f7767j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public boolean f7768k;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public F0.i f7771n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public View f7772o;
|
||||
public AdapterView.OnItemClickListener p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public AdapterView.OnItemSelectedListener f7773q;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public final Handler f7778v;
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public Rect f7780x;
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public boolean f7781y;
|
||||
|
||||
/* renamed from: z, reason: collision with root package name */
|
||||
public final C0497y f7782z;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final int f7763d = -2;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f7764e = -2;
|
||||
public final int h = 1002;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public int f7769l = 0;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final int f7770m = Integer.MAX_VALUE;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public final RunnableC0490u0 f7774r = new RunnableC0490u0(this, 1);
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public final ViewOnTouchListenerC0494w0 f7775s = new ViewOnTouchListenerC0494w0(this);
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public final C0492v0 f7776t = new C0492v0(this);
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public final RunnableC0490u0 f7777u = new RunnableC0490u0(this, 0);
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public final Rect f7779w = new Rect();
|
||||
|
||||
/* JADX WARN: Type inference failed for: r1v9, types: [android.widget.PopupWindow, m.y] */
|
||||
public C0496x0(Context context, AttributeSet attributeSet, int i) {
|
||||
int resourceId;
|
||||
this.f7760a = context;
|
||||
this.f7778v = new Handler(context.getMainLooper());
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6434o, i, 0);
|
||||
this.f7765f = obtainStyledAttributes.getDimensionPixelOffset(0, 0);
|
||||
int dimensionPixelOffset = obtainStyledAttributes.getDimensionPixelOffset(1, 0);
|
||||
this.f7766g = dimensionPixelOffset;
|
||||
if (dimensionPixelOffset != 0) {
|
||||
this.i = true;
|
||||
}
|
||||
obtainStyledAttributes.recycle();
|
||||
?? popupWindow = new PopupWindow(context, attributeSet, i, 0);
|
||||
TypedArray obtainStyledAttributes2 = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6437s, i, 0);
|
||||
if (obtainStyledAttributes2.hasValue(2)) {
|
||||
U.l.c(popupWindow, obtainStyledAttributes2.getBoolean(2, false));
|
||||
}
|
||||
popupWindow.setBackgroundDrawable((!obtainStyledAttributes2.hasValue(0) || (resourceId = obtainStyledAttributes2.getResourceId(0, 0)) == 0) ? obtainStyledAttributes2.getDrawable(0) : AbstractC0106b.m(context, resourceId));
|
||||
obtainStyledAttributes2.recycle();
|
||||
this.f7782z = popupWindow;
|
||||
popupWindow.setInputMethodMode(1);
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0420C
|
||||
public final boolean a() {
|
||||
return this.f7782z.isShowing();
|
||||
}
|
||||
|
||||
public final int b() {
|
||||
return this.f7765f;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0420C
|
||||
public final void c() {
|
||||
int i;
|
||||
int paddingBottom;
|
||||
C0475m0 c0475m0;
|
||||
C0475m0 c0475m02 = this.f7762c;
|
||||
C0497y c0497y = this.f7782z;
|
||||
Context context = this.f7760a;
|
||||
if (c0475m02 == null) {
|
||||
C0475m0 q4 = q(context, !this.f7781y);
|
||||
this.f7762c = q4;
|
||||
q4.setAdapter(this.f7761b);
|
||||
this.f7762c.setOnItemClickListener(this.p);
|
||||
this.f7762c.setFocusable(true);
|
||||
this.f7762c.setFocusableInTouchMode(true);
|
||||
this.f7762c.setOnItemSelectedListener(new C0484r0(this));
|
||||
this.f7762c.setOnScrollListener(this.f7776t);
|
||||
AdapterView.OnItemSelectedListener onItemSelectedListener = this.f7773q;
|
||||
if (onItemSelectedListener != null) {
|
||||
this.f7762c.setOnItemSelectedListener(onItemSelectedListener);
|
||||
}
|
||||
c0497y.setContentView(this.f7762c);
|
||||
}
|
||||
Drawable background = c0497y.getBackground();
|
||||
Rect rect = this.f7779w;
|
||||
if (background != null) {
|
||||
background.getPadding(rect);
|
||||
int i4 = rect.top;
|
||||
i = rect.bottom + i4;
|
||||
if (!this.i) {
|
||||
this.f7766g = -i4;
|
||||
}
|
||||
} else {
|
||||
rect.setEmpty();
|
||||
i = 0;
|
||||
}
|
||||
int a2 = AbstractC0486s0.a(c0497y, this.f7772o, this.f7766g, c0497y.getInputMethodMode() == 2);
|
||||
int i5 = this.f7763d;
|
||||
if (i5 == -1) {
|
||||
paddingBottom = a2 + i;
|
||||
} else {
|
||||
int i6 = this.f7764e;
|
||||
int a4 = this.f7762c.a(i6 != -2 ? i6 != -1 ? View.MeasureSpec.makeMeasureSpec(i6, 1073741824) : View.MeasureSpec.makeMeasureSpec(context.getResources().getDisplayMetrics().widthPixels - (rect.left + rect.right), 1073741824) : View.MeasureSpec.makeMeasureSpec(context.getResources().getDisplayMetrics().widthPixels - (rect.left + rect.right), IntCompanionObject.MIN_VALUE), a2);
|
||||
paddingBottom = a4 + (a4 > 0 ? this.f7762c.getPaddingBottom() + this.f7762c.getPaddingTop() + i : 0);
|
||||
}
|
||||
boolean z3 = this.f7782z.getInputMethodMode() == 2;
|
||||
U.l.d(c0497y, this.h);
|
||||
if (c0497y.isShowing()) {
|
||||
if (this.f7772o.isAttachedToWindow()) {
|
||||
int i7 = this.f7764e;
|
||||
if (i7 == -1) {
|
||||
i7 = -1;
|
||||
} else if (i7 == -2) {
|
||||
i7 = this.f7772o.getWidth();
|
||||
}
|
||||
if (i5 == -1) {
|
||||
i5 = z3 ? paddingBottom : -1;
|
||||
if (z3) {
|
||||
c0497y.setWidth(this.f7764e == -1 ? -1 : 0);
|
||||
c0497y.setHeight(0);
|
||||
} else {
|
||||
c0497y.setWidth(this.f7764e == -1 ? -1 : 0);
|
||||
c0497y.setHeight(-1);
|
||||
}
|
||||
} else if (i5 == -2) {
|
||||
i5 = paddingBottom;
|
||||
}
|
||||
c0497y.setOutsideTouchable(true);
|
||||
View view = this.f7772o;
|
||||
int i8 = this.f7765f;
|
||||
int i9 = this.f7766g;
|
||||
if (i7 < 0) {
|
||||
i7 = -1;
|
||||
}
|
||||
c0497y.update(view, i8, i9, i7, i5 < 0 ? -1 : i5);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
int i10 = this.f7764e;
|
||||
if (i10 == -1) {
|
||||
i10 = -1;
|
||||
} else if (i10 == -2) {
|
||||
i10 = this.f7772o.getWidth();
|
||||
}
|
||||
if (i5 == -1) {
|
||||
i5 = -1;
|
||||
} else if (i5 == -2) {
|
||||
i5 = paddingBottom;
|
||||
}
|
||||
c0497y.setWidth(i10);
|
||||
c0497y.setHeight(i5);
|
||||
AbstractC0488t0.b(c0497y, true);
|
||||
c0497y.setOutsideTouchable(true);
|
||||
c0497y.setTouchInterceptor(this.f7775s);
|
||||
if (this.f7768k) {
|
||||
U.l.c(c0497y, this.f7767j);
|
||||
}
|
||||
AbstractC0488t0.a(c0497y, this.f7780x);
|
||||
c0497y.showAsDropDown(this.f7772o, this.f7765f, this.f7766g, this.f7769l);
|
||||
this.f7762c.setSelection(-1);
|
||||
if ((!this.f7781y || this.f7762c.isInTouchMode()) && (c0475m0 = this.f7762c) != null) {
|
||||
c0475m0.setListSelectionHidden(true);
|
||||
c0475m0.requestLayout();
|
||||
}
|
||||
if (this.f7781y) {
|
||||
return;
|
||||
}
|
||||
this.f7778v.post(this.f7777u);
|
||||
}
|
||||
|
||||
public final Drawable d() {
|
||||
return this.f7782z.getBackground();
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0420C
|
||||
public final void dismiss() {
|
||||
C0497y c0497y = this.f7782z;
|
||||
c0497y.dismiss();
|
||||
c0497y.setContentView(null);
|
||||
this.f7762c = null;
|
||||
this.f7778v.removeCallbacks(this.f7774r);
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0420C
|
||||
public final C0475m0 f() {
|
||||
return this.f7762c;
|
||||
}
|
||||
|
||||
public final void h(Drawable drawable) {
|
||||
this.f7782z.setBackgroundDrawable(drawable);
|
||||
}
|
||||
|
||||
public final void i(int i) {
|
||||
this.f7766g = i;
|
||||
this.i = true;
|
||||
}
|
||||
|
||||
public final void k(int i) {
|
||||
this.f7765f = i;
|
||||
}
|
||||
|
||||
public final int n() {
|
||||
if (this.i) {
|
||||
return this.f7766g;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void p(ListAdapter listAdapter) {
|
||||
F0.i iVar = this.f7771n;
|
||||
if (iVar == null) {
|
||||
this.f7771n = new F0.i(this, 2);
|
||||
} else {
|
||||
ListAdapter listAdapter2 = this.f7761b;
|
||||
if (listAdapter2 != null) {
|
||||
listAdapter2.unregisterDataSetObserver(iVar);
|
||||
}
|
||||
}
|
||||
this.f7761b = listAdapter;
|
||||
if (listAdapter != null) {
|
||||
listAdapter.registerDataSetObserver(this.f7771n);
|
||||
}
|
||||
C0475m0 c0475m0 = this.f7762c;
|
||||
if (c0475m0 != null) {
|
||||
c0475m0.setAdapter(this.f7761b);
|
||||
}
|
||||
}
|
||||
|
||||
public C0475m0 q(Context context, boolean z3) {
|
||||
return new C0475m0(context, z3);
|
||||
}
|
||||
|
||||
public final void r(int i) {
|
||||
Drawable background = this.f7782z.getBackground();
|
||||
if (background == null) {
|
||||
this.f7764e = i;
|
||||
return;
|
||||
}
|
||||
Rect rect = this.f7779w;
|
||||
background.getPadding(rect);
|
||||
this.f7764e = rect.left + rect.right + i;
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/m/C0497y.java
Normal file
8
apk_decompiled/sources/m/C0497y.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
/* renamed from: m.y, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0497y extends PopupWindow {
|
||||
}
|
||||
214
apk_decompiled/sources/m/C0499z.java
Normal file
214
apk_decompiled/sources/m/C0499z.java
Normal file
@@ -0,0 +1,214 @@
|
||||
package m;
|
||||
|
||||
import android.R;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapShader;
|
||||
import android.graphics.Shader;
|
||||
import android.graphics.drawable.AnimationDrawable;
|
||||
import android.graphics.drawable.BitmapDrawable;
|
||||
import android.graphics.drawable.ClipDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.LayerDrawable;
|
||||
import android.graphics.drawable.ShapeDrawable;
|
||||
import android.graphics.drawable.shapes.RoundRectShape;
|
||||
import android.text.method.KeyListener;
|
||||
import android.text.method.NumberKeyListener;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.widget.AbsSeekBar;
|
||||
import android.widget.EditText;
|
||||
import f.AbstractC0336a;
|
||||
import f0.C0339c;
|
||||
import f0.C0342f;
|
||||
import f0.C0345i;
|
||||
import f0.C0346j;
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
|
||||
/* renamed from: m.z, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class C0499z implements U {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final int[] f7783d = {R.attr.indeterminateDrawable, R.attr.progressDrawable};
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7784a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final View f7785b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Object f7786c;
|
||||
|
||||
public C0499z(AbsSeekBar absSeekBar) {
|
||||
this.f7784a = 0;
|
||||
this.f7785b = absSeekBar;
|
||||
}
|
||||
|
||||
@Override // m.U
|
||||
public void a(int i) {
|
||||
W.e((W) this.f7786c, i);
|
||||
}
|
||||
|
||||
@Override // m.U
|
||||
public void b(int i) {
|
||||
W.d((W) this.f7786c, i);
|
||||
}
|
||||
|
||||
@Override // m.U
|
||||
public void c(int i, float f2) {
|
||||
}
|
||||
|
||||
public KeyListener d(KeyListener keyListener) {
|
||||
if (keyListener instanceof NumberKeyListener) {
|
||||
return keyListener;
|
||||
}
|
||||
((F.i) ((A.a) this.f7786c).f7b).getClass();
|
||||
if (keyListener instanceof C0342f) {
|
||||
return keyListener;
|
||||
}
|
||||
if (keyListener == null) {
|
||||
return null;
|
||||
}
|
||||
return keyListener instanceof NumberKeyListener ? keyListener : new C0342f(keyListener);
|
||||
}
|
||||
|
||||
public void e(AttributeSet attributeSet, int i) {
|
||||
switch (this.f7784a) {
|
||||
case 0:
|
||||
AbsSeekBar absSeekBar = (AbsSeekBar) this.f7785b;
|
||||
R0.h l4 = R0.h.l(absSeekBar.getContext(), attributeSet, f7783d, i);
|
||||
Drawable g4 = l4.g(0);
|
||||
if (g4 != null) {
|
||||
if (g4 instanceof AnimationDrawable) {
|
||||
AnimationDrawable animationDrawable = (AnimationDrawable) g4;
|
||||
int numberOfFrames = animationDrawable.getNumberOfFrames();
|
||||
AnimationDrawable animationDrawable2 = new AnimationDrawable();
|
||||
animationDrawable2.setOneShot(animationDrawable.isOneShot());
|
||||
for (int i4 = 0; i4 < numberOfFrames; i4++) {
|
||||
Drawable h = h(animationDrawable.getFrame(i4), true);
|
||||
h.setLevel(10000);
|
||||
animationDrawable2.addFrame(h, animationDrawable.getDuration(i4));
|
||||
}
|
||||
animationDrawable2.setLevel(10000);
|
||||
g4 = animationDrawable2;
|
||||
}
|
||||
absSeekBar.setIndeterminateDrawable(g4);
|
||||
}
|
||||
Drawable g5 = l4.g(1);
|
||||
if (g5 != null) {
|
||||
absSeekBar.setProgressDrawable(h(g5, false));
|
||||
}
|
||||
l4.n();
|
||||
return;
|
||||
default:
|
||||
TypedArray obtainStyledAttributes = ((EditText) this.f7785b).getContext().obtainStyledAttributes(attributeSet, AbstractC0336a.i, i, 0);
|
||||
try {
|
||||
boolean z3 = obtainStyledAttributes.hasValue(14) ? obtainStyledAttributes.getBoolean(14, true) : true;
|
||||
obtainStyledAttributes.recycle();
|
||||
g(z3);
|
||||
return;
|
||||
} catch (Throwable th) {
|
||||
obtainStyledAttributes.recycle();
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public C0339c f(InputConnection inputConnection, EditorInfo editorInfo) {
|
||||
A.a aVar = (A.a) this.f7786c;
|
||||
if (inputConnection == null) {
|
||||
aVar.getClass();
|
||||
inputConnection = null;
|
||||
} else {
|
||||
F.i iVar = (F.i) aVar.f7b;
|
||||
iVar.getClass();
|
||||
if (!(inputConnection instanceof C0339c)) {
|
||||
inputConnection = new C0339c((EditText) iVar.f490b, inputConnection, editorInfo);
|
||||
}
|
||||
}
|
||||
return (C0339c) inputConnection;
|
||||
}
|
||||
|
||||
public void g(boolean z3) {
|
||||
C0346j c0346j = (C0346j) ((F.i) ((A.a) this.f7786c).f7b).f491c;
|
||||
if (c0346j.f6465c != z3) {
|
||||
if (c0346j.f6464b != null) {
|
||||
d0.h a2 = d0.h.a();
|
||||
C0345i c0345i = c0346j.f6464b;
|
||||
a2.getClass();
|
||||
m3.d.i(c0345i, "initCallback cannot be null");
|
||||
ReentrantReadWriteLock reentrantReadWriteLock = a2.f6124a;
|
||||
reentrantReadWriteLock.writeLock().lock();
|
||||
try {
|
||||
a2.f6125b.remove(c0345i);
|
||||
} finally {
|
||||
reentrantReadWriteLock.writeLock().unlock();
|
||||
}
|
||||
}
|
||||
c0346j.f6465c = z3;
|
||||
if (z3) {
|
||||
C0346j.a(c0346j.f6463a, d0.h.a().b());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public Drawable h(Drawable drawable, boolean z3) {
|
||||
if (drawable instanceof H.g) {
|
||||
((H.h) ((H.g) drawable)).getClass();
|
||||
} else {
|
||||
if (drawable instanceof LayerDrawable) {
|
||||
LayerDrawable layerDrawable = (LayerDrawable) drawable;
|
||||
int numberOfLayers = layerDrawable.getNumberOfLayers();
|
||||
Drawable[] drawableArr = new Drawable[numberOfLayers];
|
||||
for (int i = 0; i < numberOfLayers; i++) {
|
||||
int id = layerDrawable.getId(i);
|
||||
drawableArr[i] = h(layerDrawable.getDrawable(i), id == 16908301 || id == 16908303);
|
||||
}
|
||||
LayerDrawable layerDrawable2 = new LayerDrawable(drawableArr);
|
||||
for (int i4 = 0; i4 < numberOfLayers; i4++) {
|
||||
layerDrawable2.setId(i4, layerDrawable.getId(i4));
|
||||
layerDrawable2.setLayerGravity(i4, layerDrawable.getLayerGravity(i4));
|
||||
layerDrawable2.setLayerWidth(i4, layerDrawable.getLayerWidth(i4));
|
||||
layerDrawable2.setLayerHeight(i4, layerDrawable.getLayerHeight(i4));
|
||||
layerDrawable2.setLayerInsetLeft(i4, layerDrawable.getLayerInsetLeft(i4));
|
||||
layerDrawable2.setLayerInsetRight(i4, layerDrawable.getLayerInsetRight(i4));
|
||||
layerDrawable2.setLayerInsetTop(i4, layerDrawable.getLayerInsetTop(i4));
|
||||
layerDrawable2.setLayerInsetBottom(i4, layerDrawable.getLayerInsetBottom(i4));
|
||||
layerDrawable2.setLayerInsetStart(i4, layerDrawable.getLayerInsetStart(i4));
|
||||
layerDrawable2.setLayerInsetEnd(i4, layerDrawable.getLayerInsetEnd(i4));
|
||||
}
|
||||
return layerDrawable2;
|
||||
}
|
||||
if (drawable instanceof BitmapDrawable) {
|
||||
BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable;
|
||||
Bitmap bitmap = bitmapDrawable.getBitmap();
|
||||
if (((Bitmap) this.f7786c) == null) {
|
||||
this.f7786c = bitmap;
|
||||
}
|
||||
ShapeDrawable shapeDrawable = new ShapeDrawable(new RoundRectShape(new float[]{5.0f, 5.0f, 5.0f, 5.0f, 5.0f, 5.0f, 5.0f, 5.0f}, null, null));
|
||||
shapeDrawable.getPaint().setShader(new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.CLAMP));
|
||||
shapeDrawable.getPaint().setColorFilter(bitmapDrawable.getPaint().getColorFilter());
|
||||
return z3 ? new ClipDrawable(shapeDrawable, 3, 1) : shapeDrawable;
|
||||
}
|
||||
}
|
||||
return drawable;
|
||||
}
|
||||
|
||||
public C0499z(EditText editText) {
|
||||
this.f7784a = 1;
|
||||
this.f7785b = editText;
|
||||
this.f7786c = new A.a(editText);
|
||||
}
|
||||
|
||||
public C0499z(W w3) {
|
||||
this.f7784a = 2;
|
||||
this.f7786c = w3;
|
||||
this.f7784a = 2;
|
||||
this.f7785b = w3;
|
||||
}
|
||||
}
|
||||
5
apk_decompiled/sources/m/D0.java
Normal file
5
apk_decompiled/sources/m/D0.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class D0 extends s.i {
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
package m;
|
||||
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.Log;
|
||||
import android.widget.ListAdapter;
|
||||
import androidx.appcompat.app.AlertController$RecycleListView;
|
||||
import g.C0357d;
|
||||
import g.C0361h;
|
||||
import g.DialogInterfaceC0362i;
|
||||
|
||||
/* renamed from: m.H, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class DialogInterfaceOnClickListenerC0449H implements M, DialogInterface.OnClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public DialogInterfaceC0362i f7527a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public I f7528b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public CharSequence f7529c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ N f7530d;
|
||||
|
||||
public DialogInterfaceOnClickListenerC0449H(N n4) {
|
||||
this.f7530d = n4;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final boolean a() {
|
||||
DialogInterfaceC0362i dialogInterfaceC0362i = this.f7527a;
|
||||
if (dialogInterfaceC0362i != null) {
|
||||
return dialogInterfaceC0362i.isShowing();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final int b() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final Drawable d() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void dismiss() {
|
||||
DialogInterfaceC0362i dialogInterfaceC0362i = this.f7527a;
|
||||
if (dialogInterfaceC0362i != null) {
|
||||
dialogInterfaceC0362i.dismiss();
|
||||
this.f7527a = null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void g(CharSequence charSequence) {
|
||||
this.f7529c = charSequence;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void h(Drawable drawable) {
|
||||
Log.e("AppCompatSpinner", "Cannot set popup background for MODE_DIALOG, ignoring");
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void i(int i) {
|
||||
Log.e("AppCompatSpinner", "Cannot set vertical offset for MODE_DIALOG, ignoring");
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void j(int i) {
|
||||
Log.e("AppCompatSpinner", "Cannot set horizontal (original) offset for MODE_DIALOG, ignoring");
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void k(int i) {
|
||||
Log.e("AppCompatSpinner", "Cannot set horizontal offset for MODE_DIALOG, ignoring");
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void l(int i, int i4) {
|
||||
if (this.f7528b == null) {
|
||||
return;
|
||||
}
|
||||
N n4 = this.f7530d;
|
||||
C0361h c0361h = new C0361h(n4.getPopupContext());
|
||||
CharSequence charSequence = this.f7529c;
|
||||
C0357d c0357d = c0361h.f6647a;
|
||||
if (charSequence != null) {
|
||||
c0357d.f6604d = charSequence;
|
||||
}
|
||||
I i5 = this.f7528b;
|
||||
int selectedItemPosition = n4.getSelectedItemPosition();
|
||||
c0357d.f6613o = i5;
|
||||
c0357d.p = this;
|
||||
c0357d.f6616s = selectedItemPosition;
|
||||
c0357d.f6615r = true;
|
||||
DialogInterfaceC0362i a2 = c0361h.a();
|
||||
this.f7527a = a2;
|
||||
AlertController$RecycleListView alertController$RecycleListView = a2.f6649f.f6629f;
|
||||
alertController$RecycleListView.setTextDirection(i);
|
||||
alertController$RecycleListView.setTextAlignment(i4);
|
||||
this.f7527a.show();
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final int n() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final CharSequence o() {
|
||||
return this.f7529c;
|
||||
}
|
||||
|
||||
@Override // android.content.DialogInterface.OnClickListener
|
||||
public final void onClick(DialogInterface dialogInterface, int i) {
|
||||
N n4 = this.f7530d;
|
||||
n4.setSelection(i);
|
||||
if (n4.getOnItemClickListener() != null) {
|
||||
n4.performItemClick(null, i, this.f7528b.getItemId(i));
|
||||
}
|
||||
dismiss();
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void p(ListAdapter listAdapter) {
|
||||
this.f7528b = (I) listAdapter;
|
||||
}
|
||||
}
|
||||
198
apk_decompiled/sources/m/E0.java
Normal file
198
apk_decompiled/sources/m/E0.java
Normal file
@@ -0,0 +1,198 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.PorterDuffColorFilter;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.LayerDrawable;
|
||||
import android.util.TypedValue;
|
||||
import com.adif.elcanomovil.R;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class E0 {
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public static E0 f7512g;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public WeakHashMap f7513a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final WeakHashMap f7514b = new WeakHashMap(0);
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public TypedValue f7515c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f7516d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public I0.g f7517e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static final PorterDuff.Mode f7511f = PorterDuff.Mode.SRC_IN;
|
||||
public static final D0 h = new s.i(6);
|
||||
|
||||
public static synchronized E0 b() {
|
||||
E0 e02;
|
||||
synchronized (E0.class) {
|
||||
try {
|
||||
if (f7512g == null) {
|
||||
f7512g = new E0();
|
||||
}
|
||||
e02 = f7512g;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return e02;
|
||||
}
|
||||
|
||||
public static synchronized PorterDuffColorFilter e(int i, PorterDuff.Mode mode) {
|
||||
PorterDuffColorFilter porterDuffColorFilter;
|
||||
synchronized (E0.class) {
|
||||
D0 d02 = h;
|
||||
d02.getClass();
|
||||
int i4 = (31 + i) * 31;
|
||||
porterDuffColorFilter = (PorterDuffColorFilter) d02.get(Integer.valueOf(mode.hashCode() + i4));
|
||||
if (porterDuffColorFilter == null) {
|
||||
porterDuffColorFilter = new PorterDuffColorFilter(i, mode);
|
||||
}
|
||||
}
|
||||
return porterDuffColorFilter;
|
||||
}
|
||||
|
||||
public final Drawable a(Context context, int i) {
|
||||
Drawable drawable;
|
||||
if (this.f7515c == null) {
|
||||
this.f7515c = new TypedValue();
|
||||
}
|
||||
TypedValue typedValue = this.f7515c;
|
||||
context.getResources().getValue(i, typedValue, true);
|
||||
long j4 = (typedValue.assetCookie << 32) | typedValue.data;
|
||||
synchronized (this) {
|
||||
s.g gVar = (s.g) this.f7514b.get(context);
|
||||
drawable = null;
|
||||
if (gVar != null) {
|
||||
WeakReference weakReference = (WeakReference) gVar.b(j4);
|
||||
if (weakReference != null) {
|
||||
Drawable.ConstantState constantState = (Drawable.ConstantState) weakReference.get();
|
||||
if (constantState != null) {
|
||||
drawable = constantState.newDrawable(context.getResources());
|
||||
} else {
|
||||
gVar.f(j4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (drawable != null) {
|
||||
return drawable;
|
||||
}
|
||||
LayerDrawable layerDrawable = null;
|
||||
if (this.f7517e != null) {
|
||||
if (i == R.drawable.abc_cab_background_top_material) {
|
||||
layerDrawable = new LayerDrawable(new Drawable[]{c(context, R.drawable.abc_cab_background_internal_bg), c(context, R.drawable.abc_cab_background_top_mtrl_alpha)});
|
||||
} else if (i == R.drawable.abc_ratingbar_material) {
|
||||
layerDrawable = I0.g.f(this, context, R.dimen.abc_star_big);
|
||||
} else if (i == R.drawable.abc_ratingbar_indicator_material) {
|
||||
layerDrawable = I0.g.f(this, context, R.dimen.abc_star_medium);
|
||||
} else if (i == R.drawable.abc_ratingbar_small_material) {
|
||||
layerDrawable = I0.g.f(this, context, R.dimen.abc_star_small);
|
||||
}
|
||||
}
|
||||
if (layerDrawable == null) {
|
||||
return layerDrawable;
|
||||
}
|
||||
layerDrawable.setChangingConfigurations(typedValue.changingConfigurations);
|
||||
synchronized (this) {
|
||||
try {
|
||||
Drawable.ConstantState constantState2 = layerDrawable.getConstantState();
|
||||
if (constantState2 != null) {
|
||||
s.g gVar2 = (s.g) this.f7514b.get(context);
|
||||
if (gVar2 == null) {
|
||||
gVar2 = new s.g();
|
||||
this.f7514b.put(context, gVar2);
|
||||
}
|
||||
gVar2.e(j4, new WeakReference(constantState2));
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return layerDrawable;
|
||||
}
|
||||
|
||||
public final synchronized Drawable c(Context context, int i) {
|
||||
return d(context, i, false);
|
||||
}
|
||||
|
||||
public final synchronized Drawable d(Context context, int i, boolean z3) {
|
||||
Drawable a2;
|
||||
try {
|
||||
if (!this.f7516d) {
|
||||
this.f7516d = true;
|
||||
Drawable c4 = c(context, R.drawable.abc_vector_test);
|
||||
if (c4 == null || (!(c4 instanceof C0.p) && !"android.graphics.drawable.VectorDrawable".equals(c4.getClass().getName()))) {
|
||||
this.f7516d = false;
|
||||
throw new IllegalStateException("This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.");
|
||||
}
|
||||
}
|
||||
a2 = a(context, i);
|
||||
if (a2 == null) {
|
||||
a2 = D.h.getDrawable(context, i);
|
||||
}
|
||||
if (a2 != null) {
|
||||
a2 = g(context, i, z3, a2);
|
||||
}
|
||||
if (a2 != null) {
|
||||
AbstractC0463g0.a(a2);
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
return a2;
|
||||
}
|
||||
|
||||
public final synchronized ColorStateList f(Context context, int i) {
|
||||
ColorStateList colorStateList;
|
||||
s.k kVar;
|
||||
WeakHashMap weakHashMap = this.f7513a;
|
||||
ColorStateList colorStateList2 = null;
|
||||
colorStateList = (weakHashMap == null || (kVar = (s.k) weakHashMap.get(context)) == null) ? null : (ColorStateList) kVar.c(i);
|
||||
if (colorStateList == null) {
|
||||
I0.g gVar = this.f7517e;
|
||||
if (gVar != null) {
|
||||
colorStateList2 = gVar.g(context, i);
|
||||
}
|
||||
if (colorStateList2 != null) {
|
||||
if (this.f7513a == null) {
|
||||
this.f7513a = new WeakHashMap();
|
||||
}
|
||||
s.k kVar2 = (s.k) this.f7513a.get(context);
|
||||
if (kVar2 == null) {
|
||||
kVar2 = new s.k();
|
||||
this.f7513a.put(context, kVar2);
|
||||
}
|
||||
kVar2.a(i, colorStateList2);
|
||||
}
|
||||
colorStateList = colorStateList2;
|
||||
}
|
||||
return colorStateList;
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:34:0x00eb */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final android.graphics.drawable.Drawable g(android.content.Context r8, int r9, boolean r10, android.graphics.drawable.Drawable r11) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 262
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.E0.g(android.content.Context, int, boolean, android.graphics.drawable.Drawable):android.graphics.drawable.Drawable");
|
||||
}
|
||||
}
|
||||
7
apk_decompiled/sources/m/F0.java
Normal file
7
apk_decompiled/sources/m/F0.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package m;
|
||||
|
||||
import android.content.res.Resources;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class F0 extends Resources {
|
||||
}
|
||||
49
apk_decompiled/sources/m/G0.java
Normal file
49
apk_decompiled/sources/m/G0.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class G0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f7520a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7521b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f7522c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f7523d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f7524e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f7525f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f7526g;
|
||||
public boolean h;
|
||||
|
||||
public final void a(int i, int i4) {
|
||||
this.f7522c = i;
|
||||
this.f7523d = i4;
|
||||
this.h = true;
|
||||
if (this.f7526g) {
|
||||
if (i4 != Integer.MIN_VALUE) {
|
||||
this.f7520a = i4;
|
||||
}
|
||||
if (i != Integer.MIN_VALUE) {
|
||||
this.f7521b = i;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (i != Integer.MIN_VALUE) {
|
||||
this.f7520a = i;
|
||||
}
|
||||
if (i4 != Integer.MIN_VALUE) {
|
||||
this.f7521b = i4;
|
||||
}
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/m/H0.java
Normal file
8
apk_decompiled/sources/m/H0.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.HorizontalScrollView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class H0 extends HorizontalScrollView implements AdapterView.OnItemSelectedListener {
|
||||
}
|
||||
113
apk_decompiled/sources/m/I.java
Normal file
113
apk_decompiled/sources/m/I.java
Normal file
@@ -0,0 +1,113 @@
|
||||
package m;
|
||||
|
||||
import android.database.DataSetObserver;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.SpinnerAdapter;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class I implements ListAdapter, SpinnerAdapter {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public SpinnerAdapter f7531a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public ListAdapter f7532b;
|
||||
|
||||
@Override // android.widget.ListAdapter
|
||||
public final boolean areAllItemsEnabled() {
|
||||
ListAdapter listAdapter = this.f7532b;
|
||||
if (listAdapter != null) {
|
||||
return listAdapter.areAllItemsEnabled();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final int getCount() {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter == null) {
|
||||
return 0;
|
||||
}
|
||||
return spinnerAdapter.getCount();
|
||||
}
|
||||
|
||||
@Override // android.widget.SpinnerAdapter
|
||||
public final View getDropDownView(int i, View view, ViewGroup viewGroup) {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter == null) {
|
||||
return null;
|
||||
}
|
||||
return spinnerAdapter.getDropDownView(i, view, viewGroup);
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final Object getItem(int i) {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter == null) {
|
||||
return null;
|
||||
}
|
||||
return spinnerAdapter.getItem(i);
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final long getItemId(int i) {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter == null) {
|
||||
return -1L;
|
||||
}
|
||||
return spinnerAdapter.getItemId(i);
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final int getItemViewType(int i) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final View getView(int i, View view, ViewGroup viewGroup) {
|
||||
return getDropDownView(i, view, viewGroup);
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final int getViewTypeCount() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final boolean hasStableIds() {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
return spinnerAdapter != null && spinnerAdapter.hasStableIds();
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final boolean isEmpty() {
|
||||
return getCount() == 0;
|
||||
}
|
||||
|
||||
@Override // android.widget.ListAdapter
|
||||
public final boolean isEnabled(int i) {
|
||||
ListAdapter listAdapter = this.f7532b;
|
||||
if (listAdapter != null) {
|
||||
return listAdapter.isEnabled(i);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final void registerDataSetObserver(DataSetObserver dataSetObserver) {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter != null) {
|
||||
spinnerAdapter.registerDataSetObserver(dataSetObserver);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Adapter
|
||||
public final void unregisterDataSetObserver(DataSetObserver dataSetObserver) {
|
||||
SpinnerAdapter spinnerAdapter = this.f7531a;
|
||||
if (spinnerAdapter != null) {
|
||||
spinnerAdapter.unregisterDataSetObserver(dataSetObserver);
|
||||
}
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/m/I0.java
Normal file
8
apk_decompiled/sources/m/I0.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
import androidx.appcompat.widget.LinearLayoutCompat;
|
||||
import k.InterfaceC0406c;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class I0 extends LinearLayoutCompat implements InterfaceC0406c {
|
||||
}
|
||||
6
apk_decompiled/sources/m/InterfaceC0455c0.java
Normal file
6
apk_decompiled/sources/m/InterfaceC0455c0.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.c0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0455c0 {
|
||||
}
|
||||
6
apk_decompiled/sources/m/InterfaceC0456d.java
Normal file
6
apk_decompiled/sources/m/InterfaceC0456d.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0456d {
|
||||
}
|
||||
11
apk_decompiled/sources/m/InterfaceC0457d0.java
Normal file
11
apk_decompiled/sources/m/InterfaceC0457d0.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package m;
|
||||
|
||||
import android.view.Window;
|
||||
|
||||
/* renamed from: m.d0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0457d0 {
|
||||
void setWindowCallback(Window.Callback callback);
|
||||
|
||||
void setWindowTitle(CharSequence charSequence);
|
||||
}
|
||||
6
apk_decompiled/sources/m/InterfaceC0459e0.java
Normal file
6
apk_decompiled/sources/m/InterfaceC0459e0.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.e0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0459e0 {
|
||||
}
|
||||
9
apk_decompiled/sources/m/InterfaceC0474m.java
Normal file
9
apk_decompiled/sources/m/InterfaceC0474m.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.m, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0474m {
|
||||
boolean a();
|
||||
|
||||
boolean c();
|
||||
}
|
||||
6
apk_decompiled/sources/m/InterfaceC0477n0.java
Normal file
6
apk_decompiled/sources/m/InterfaceC0477n0.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.n0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0477n0 {
|
||||
}
|
||||
6
apk_decompiled/sources/m/InterfaceC0478o.java
Normal file
6
apk_decompiled/sources/m/InterfaceC0478o.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.o, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0478o {
|
||||
}
|
||||
9
apk_decompiled/sources/m/InterfaceC0498y0.java
Normal file
9
apk_decompiled/sources/m/InterfaceC0498y0.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.y0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0498y0 {
|
||||
void e(l.m mVar, l.o oVar);
|
||||
|
||||
void m(l.m mVar, l.o oVar);
|
||||
}
|
||||
28
apk_decompiled/sources/m/J.java
Normal file
28
apk_decompiled/sources/m/J.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package m;
|
||||
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.widget.PopupWindow;
|
||||
import l.ViewTreeObserverOnGlobalLayoutListenerC0426d;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class J implements PopupWindow.OnDismissListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ ViewTreeObserverOnGlobalLayoutListenerC0426d f7533a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ K f7534b;
|
||||
|
||||
public J(K k4, ViewTreeObserverOnGlobalLayoutListenerC0426d viewTreeObserverOnGlobalLayoutListenerC0426d) {
|
||||
this.f7534b = k4;
|
||||
this.f7533a = viewTreeObserverOnGlobalLayoutListenerC0426d;
|
||||
}
|
||||
|
||||
@Override // android.widget.PopupWindow.OnDismissListener
|
||||
public final void onDismiss() {
|
||||
ViewTreeObserver viewTreeObserver = this.f7534b.f7580E.getViewTreeObserver();
|
||||
if (viewTreeObserver != null) {
|
||||
viewTreeObserver.removeGlobalOnLayoutListener(this.f7533a);
|
||||
}
|
||||
}
|
||||
}
|
||||
1014
apk_decompiled/sources/m/J0.java
Normal file
1014
apk_decompiled/sources/m/J0.java
Normal file
File diff suppressed because it is too large
Load Diff
128
apk_decompiled/sources/m/K.java
Normal file
128
apk_decompiled/sources/m/K.java
Normal file
@@ -0,0 +1,128 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.widget.ListAdapter;
|
||||
import com.adif.elcanomovil.R;
|
||||
import l.ViewTreeObserverOnGlobalLayoutListenerC0426d;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class K extends C0496x0 implements M {
|
||||
|
||||
/* renamed from: A, reason: collision with root package name */
|
||||
public CharSequence f7576A;
|
||||
|
||||
/* renamed from: B, reason: collision with root package name */
|
||||
public I f7577B;
|
||||
|
||||
/* renamed from: C, reason: collision with root package name */
|
||||
public final Rect f7578C;
|
||||
|
||||
/* renamed from: D, reason: collision with root package name */
|
||||
public int f7579D;
|
||||
|
||||
/* renamed from: E, reason: collision with root package name */
|
||||
public final /* synthetic */ N f7580E;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public K(N n4, Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, R.attr.spinnerStyle);
|
||||
this.f7580E = n4;
|
||||
this.f7578C = new Rect();
|
||||
this.f7772o = n4;
|
||||
this.f7781y = true;
|
||||
this.f7782z.setFocusable(true);
|
||||
this.p = new I2.v(this, 1);
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void g(CharSequence charSequence) {
|
||||
this.f7576A = charSequence;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void j(int i) {
|
||||
this.f7579D = i;
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final void l(int i, int i4) {
|
||||
ViewTreeObserver viewTreeObserver;
|
||||
C0497y c0497y = this.f7782z;
|
||||
boolean isShowing = c0497y.isShowing();
|
||||
s();
|
||||
this.f7782z.setInputMethodMode(2);
|
||||
c();
|
||||
C0475m0 c0475m0 = this.f7762c;
|
||||
c0475m0.setChoiceMode(1);
|
||||
c0475m0.setTextDirection(i);
|
||||
c0475m0.setTextAlignment(i4);
|
||||
N n4 = this.f7580E;
|
||||
int selectedItemPosition = n4.getSelectedItemPosition();
|
||||
C0475m0 c0475m02 = this.f7762c;
|
||||
if (c0497y.isShowing() && c0475m02 != null) {
|
||||
c0475m02.setListSelectionHidden(false);
|
||||
c0475m02.setSelection(selectedItemPosition);
|
||||
if (c0475m02.getChoiceMode() != 0) {
|
||||
c0475m02.setItemChecked(selectedItemPosition, true);
|
||||
}
|
||||
}
|
||||
if (isShowing || (viewTreeObserver = n4.getViewTreeObserver()) == null) {
|
||||
return;
|
||||
}
|
||||
ViewTreeObserverOnGlobalLayoutListenerC0426d viewTreeObserverOnGlobalLayoutListenerC0426d = new ViewTreeObserverOnGlobalLayoutListenerC0426d(this, 3);
|
||||
viewTreeObserver.addOnGlobalLayoutListener(viewTreeObserverOnGlobalLayoutListenerC0426d);
|
||||
this.f7782z.setOnDismissListener(new J(this, viewTreeObserverOnGlobalLayoutListenerC0426d));
|
||||
}
|
||||
|
||||
@Override // m.M
|
||||
public final CharSequence o() {
|
||||
return this.f7576A;
|
||||
}
|
||||
|
||||
@Override // m.C0496x0, m.M
|
||||
public final void p(ListAdapter listAdapter) {
|
||||
super.p(listAdapter);
|
||||
this.f7577B = (I) listAdapter;
|
||||
}
|
||||
|
||||
public final void s() {
|
||||
int i;
|
||||
C0497y c0497y = this.f7782z;
|
||||
Drawable background = c0497y.getBackground();
|
||||
N n4 = this.f7580E;
|
||||
if (background != null) {
|
||||
background.getPadding(n4.h);
|
||||
int layoutDirection = n4.getLayoutDirection();
|
||||
Rect rect = n4.h;
|
||||
i = layoutDirection == 1 ? rect.right : -rect.left;
|
||||
} else {
|
||||
Rect rect2 = n4.h;
|
||||
rect2.right = 0;
|
||||
rect2.left = 0;
|
||||
i = 0;
|
||||
}
|
||||
int paddingLeft = n4.getPaddingLeft();
|
||||
int paddingRight = n4.getPaddingRight();
|
||||
int width = n4.getWidth();
|
||||
int i4 = n4.f7596g;
|
||||
if (i4 == -2) {
|
||||
int a2 = n4.a(this.f7577B, c0497y.getBackground());
|
||||
int i5 = n4.getContext().getResources().getDisplayMetrics().widthPixels;
|
||||
Rect rect3 = n4.h;
|
||||
int i6 = (i5 - rect3.left) - rect3.right;
|
||||
if (a2 > i6) {
|
||||
a2 = i6;
|
||||
}
|
||||
r(Math.max(a2, (width - paddingLeft) - paddingRight));
|
||||
} else if (i4 == -1) {
|
||||
r((width - paddingLeft) - paddingRight);
|
||||
} else {
|
||||
r(i4);
|
||||
}
|
||||
this.f7765f = n4.getLayoutDirection() == 1 ? (((width - paddingRight) - this.f7764e) - this.f7579D) + i : paddingLeft + this.f7579D + i;
|
||||
}
|
||||
}
|
||||
91
apk_decompiled/sources/m/K0.java
Normal file
91
apk_decompiled/sources/m/K0.java
Normal file
@@ -0,0 +1,91 @@
|
||||
package m;
|
||||
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Color;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.util.TypedValue;
|
||||
import android.view.View;
|
||||
import f.AbstractC0336a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class K0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final ThreadLocal f7581a = new ThreadLocal();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final int[] f7582b = {-16842910};
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final int[] f7583c = {R.attr.state_focused};
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final int[] f7584d = {R.attr.state_pressed};
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static final int[] f7585e = {R.attr.state_checked};
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static final int[] f7586f = new int[0];
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public static final int[] f7587g = new int[1];
|
||||
|
||||
public static void a(View view, Context context) {
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(AbstractC0336a.f6429j);
|
||||
try {
|
||||
if (!obtainStyledAttributes.hasValue(117)) {
|
||||
Log.e("ThemeUtils", "View " + view.getClass() + " is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).");
|
||||
}
|
||||
} finally {
|
||||
obtainStyledAttributes.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
public static int b(Context context, int i) {
|
||||
ColorStateList d4 = d(context, i);
|
||||
if (d4 != null && d4.isStateful()) {
|
||||
return d4.getColorForState(f7582b, d4.getDefaultColor());
|
||||
}
|
||||
ThreadLocal threadLocal = f7581a;
|
||||
TypedValue typedValue = (TypedValue) threadLocal.get();
|
||||
if (typedValue == null) {
|
||||
typedValue = new TypedValue();
|
||||
threadLocal.set(typedValue);
|
||||
}
|
||||
context.getTheme().resolveAttribute(R.attr.disabledAlpha, typedValue, true);
|
||||
float f2 = typedValue.getFloat();
|
||||
return G.a.d(c(context, i), Math.round(Color.alpha(r4) * f2));
|
||||
}
|
||||
|
||||
public static int c(Context context, int i) {
|
||||
int[] iArr = f7587g;
|
||||
iArr[0] = i;
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes((AttributeSet) null, iArr);
|
||||
try {
|
||||
return obtainStyledAttributes.getColor(0, 0);
|
||||
} finally {
|
||||
obtainStyledAttributes.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
public static ColorStateList d(Context context, int i) {
|
||||
ColorStateList colorStateList;
|
||||
int resourceId;
|
||||
int[] iArr = f7587g;
|
||||
iArr[0] = i;
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes((AttributeSet) null, iArr);
|
||||
try {
|
||||
if (!obtainStyledAttributes.hasValue(0) || (resourceId = obtainStyledAttributes.getResourceId(0, 0)) == 0 || (colorStateList = D.h.getColorStateList(context, resourceId)) == null) {
|
||||
colorStateList = obtainStyledAttributes.getColorStateList(0);
|
||||
}
|
||||
return colorStateList;
|
||||
} finally {
|
||||
obtainStyledAttributes.recycle();
|
||||
}
|
||||
}
|
||||
}
|
||||
19
apk_decompiled/sources/m/L.java
Normal file
19
apk_decompiled/sources/m/L.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package m;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class L extends View.BaseSavedState {
|
||||
public static final Parcelable.Creator<L> CREATOR = new D0.a(15);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f7588a;
|
||||
|
||||
@Override // android.view.View.BaseSavedState, android.view.AbsSavedState, android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
super.writeToParcel(parcel, i);
|
||||
parcel.writeByte(this.f7588a ? (byte) 1 : (byte) 0);
|
||||
}
|
||||
}
|
||||
19
apk_decompiled/sources/m/L0.java
Normal file
19
apk_decompiled/sources/m/L0.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class L0 extends ContextWrapper {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final Object f7589a = null;
|
||||
|
||||
public static void a(Context context) {
|
||||
if (context.getResources() instanceof M0) {
|
||||
return;
|
||||
}
|
||||
context.getResources();
|
||||
int i = X0.f7643a;
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/m/M.java
Normal file
33
apk_decompiled/sources/m/M.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.widget.ListAdapter;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface M {
|
||||
boolean a();
|
||||
|
||||
int b();
|
||||
|
||||
Drawable d();
|
||||
|
||||
void dismiss();
|
||||
|
||||
void g(CharSequence charSequence);
|
||||
|
||||
void h(Drawable drawable);
|
||||
|
||||
void i(int i);
|
||||
|
||||
void j(int i);
|
||||
|
||||
void k(int i);
|
||||
|
||||
void l(int i, int i4);
|
||||
|
||||
int n();
|
||||
|
||||
CharSequence o();
|
||||
|
||||
void p(ListAdapter listAdapter);
|
||||
}
|
||||
5
apk_decompiled/sources/m/M0.java
Normal file
5
apk_decompiled/sources/m/M0.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class M0 extends F0 {
|
||||
}
|
||||
449
apk_decompiled/sources/m/N.java
Normal file
449
apk_decompiled/sources/m/N.java
Normal file
@@ -0,0 +1,449 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcelable;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.Spinner;
|
||||
import android.widget.SpinnerAdapter;
|
||||
import android.widget.ThemedSpinnerAdapter;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
import l.ViewTreeObserverOnGlobalLayoutListenerC0426d;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class N extends Spinner {
|
||||
public static final int[] i = {R.attr.spinnerMode};
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7590a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Context f7591b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final C0447F f7592c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public SpinnerAdapter f7593d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final boolean f7594e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final M f7595f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f7596g;
|
||||
public final Rect h;
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:29:0x0060, code lost:
|
||||
|
||||
if (r7 == null) goto L24;
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:34:0x00d7 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public N(android.content.Context r13, android.util.AttributeSet r14) {
|
||||
/*
|
||||
r12 = this;
|
||||
r0 = 2130904166(0x7f030466, float:1.741517E38)
|
||||
r12.<init>(r13, r14, r0)
|
||||
android.graphics.Rect r1 = new android.graphics.Rect
|
||||
r1.<init>()
|
||||
r12.h = r1
|
||||
android.content.Context r1 = r12.getContext()
|
||||
m.K0.a(r12, r1)
|
||||
int[] r1 = f.AbstractC0336a.f6439u
|
||||
R0.h r2 = R0.h.l(r13, r14, r1, r0)
|
||||
androidx.recyclerview.widget.b r3 = new androidx.recyclerview.widget.b
|
||||
r3.<init>(r12)
|
||||
r12.f7590a = r3
|
||||
java.lang.Object r3 = r2.f1414b
|
||||
android.content.res.TypedArray r3 = (android.content.res.TypedArray) r3
|
||||
r4 = 4
|
||||
r5 = 0
|
||||
int r4 = r3.getResourceId(r4, r5)
|
||||
if (r4 == 0) goto L35
|
||||
k.d r6 = new k.d
|
||||
r6.<init>(r13, r4)
|
||||
r12.f7591b = r6
|
||||
goto L37
|
||||
L35:
|
||||
r12.f7591b = r13
|
||||
L37:
|
||||
r4 = -1
|
||||
r6 = 0
|
||||
int[] r7 = m.N.i // Catch: java.lang.Throwable -> L54 java.lang.Exception -> L57
|
||||
android.content.res.TypedArray r7 = r13.obtainStyledAttributes(r14, r7, r0, r5) // Catch: java.lang.Throwable -> L54 java.lang.Exception -> L57
|
||||
boolean r8 = r7.hasValue(r5) // Catch: java.lang.Throwable -> L4a java.lang.Exception -> L4e
|
||||
if (r8 == 0) goto L50
|
||||
int r4 = r7.getInt(r5, r5) // Catch: java.lang.Throwable -> L4a java.lang.Exception -> L4e
|
||||
goto L50
|
||||
L4a:
|
||||
r12 = move-exception
|
||||
r6 = r7
|
||||
goto Ld5
|
||||
L4e:
|
||||
r8 = move-exception
|
||||
goto L59
|
||||
L50:
|
||||
r7.recycle()
|
||||
goto L63
|
||||
L54:
|
||||
r12 = move-exception
|
||||
goto Ld5
|
||||
L57:
|
||||
r8 = move-exception
|
||||
r7 = r6
|
||||
L59:
|
||||
java.lang.String r9 = "AppCompatSpinner"
|
||||
java.lang.String r10 = "Could not read android:spinnerMode"
|
||||
android.util.Log.i(r9, r10, r8) // Catch: java.lang.Throwable -> L4a
|
||||
if (r7 == 0) goto L63
|
||||
goto L50
|
||||
L63:
|
||||
r7 = 2
|
||||
r8 = 1
|
||||
if (r4 == 0) goto L9d
|
||||
if (r4 == r8) goto L6a
|
||||
goto Laa
|
||||
L6a:
|
||||
m.K r4 = new m.K
|
||||
android.content.Context r9 = r12.f7591b
|
||||
r4.<init>(r12, r9, r14)
|
||||
android.content.Context r9 = r12.f7591b
|
||||
R0.h r1 = R0.h.l(r9, r14, r1, r0)
|
||||
r9 = 3
|
||||
r10 = -2
|
||||
java.lang.Object r11 = r1.f1414b
|
||||
android.content.res.TypedArray r11 = (android.content.res.TypedArray) r11
|
||||
int r9 = r11.getLayoutDimension(r9, r10)
|
||||
r12.f7596g = r9
|
||||
android.graphics.drawable.Drawable r9 = r1.f(r8)
|
||||
r4.h(r9)
|
||||
java.lang.String r7 = r3.getString(r7)
|
||||
r4.f7576A = r7
|
||||
r1.n()
|
||||
r12.f7595f = r4
|
||||
m.F r1 = new m.F
|
||||
r1.<init>(r12, r12, r4)
|
||||
r12.f7592c = r1
|
||||
goto Laa
|
||||
L9d:
|
||||
m.H r1 = new m.H
|
||||
r1.<init>(r12)
|
||||
r12.f7595f = r1
|
||||
java.lang.String r4 = r3.getString(r7)
|
||||
r1.f7529c = r4
|
||||
Laa:
|
||||
java.lang.CharSequence[] r1 = r3.getTextArray(r5)
|
||||
if (r1 == 0) goto Lc1
|
||||
android.widget.ArrayAdapter r3 = new android.widget.ArrayAdapter
|
||||
r4 = 17367048(0x1090008, float:2.5162948E-38)
|
||||
r3.<init>(r13, r4, r1)
|
||||
r13 = 2131493046(0x7f0c00b6, float:1.8609561E38)
|
||||
r3.setDropDownViewResource(r13)
|
||||
r12.setAdapter(r3)
|
||||
Lc1:
|
||||
r2.n()
|
||||
r12.f7594e = r8
|
||||
android.widget.SpinnerAdapter r13 = r12.f7593d
|
||||
if (r13 == 0) goto Lcf
|
||||
r12.setAdapter(r13)
|
||||
r12.f7593d = r6
|
||||
Lcf:
|
||||
androidx.recyclerview.widget.b r12 = r12.f7590a
|
||||
r12.k(r14, r0)
|
||||
return
|
||||
Ld5:
|
||||
if (r6 == 0) goto Lda
|
||||
r6.recycle()
|
||||
Lda:
|
||||
throw r12
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.N.<init>(android.content.Context, android.util.AttributeSet):void");
|
||||
}
|
||||
|
||||
public final int a(SpinnerAdapter spinnerAdapter, Drawable drawable) {
|
||||
int i4 = 0;
|
||||
if (spinnerAdapter == null) {
|
||||
return 0;
|
||||
}
|
||||
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(getMeasuredWidth(), 0);
|
||||
int makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(getMeasuredHeight(), 0);
|
||||
int max = Math.max(0, getSelectedItemPosition());
|
||||
int min = Math.min(spinnerAdapter.getCount(), max + 15);
|
||||
View view = null;
|
||||
int i5 = 0;
|
||||
for (int max2 = Math.max(0, max - (15 - (min - max))); max2 < min; max2++) {
|
||||
int itemViewType = spinnerAdapter.getItemViewType(max2);
|
||||
if (itemViewType != i4) {
|
||||
view = null;
|
||||
i4 = itemViewType;
|
||||
}
|
||||
view = spinnerAdapter.getView(max2, view, this);
|
||||
if (view.getLayoutParams() == null) {
|
||||
view.setLayoutParams(new ViewGroup.LayoutParams(-2, -2));
|
||||
}
|
||||
view.measure(makeMeasureSpec, makeMeasureSpec2);
|
||||
i5 = Math.max(i5, view.getMeasuredWidth());
|
||||
}
|
||||
if (drawable == null) {
|
||||
return i5;
|
||||
}
|
||||
Rect rect = this.h;
|
||||
drawable.getPadding(rect);
|
||||
return rect.left + rect.right + i5;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public int getDropDownHorizontalOffset() {
|
||||
M m4 = this.f7595f;
|
||||
return m4 != null ? m4.b() : super.getDropDownHorizontalOffset();
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public int getDropDownVerticalOffset() {
|
||||
M m4 = this.f7595f;
|
||||
return m4 != null ? m4.n() : super.getDropDownVerticalOffset();
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public int getDropDownWidth() {
|
||||
return this.f7595f != null ? this.f7596g : super.getDropDownWidth();
|
||||
}
|
||||
|
||||
public final M getInternalPopup() {
|
||||
return this.f7595f;
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public Drawable getPopupBackground() {
|
||||
M m4 = this.f7595f;
|
||||
return m4 != null ? m4.d() : super.getPopupBackground();
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public Context getPopupContext() {
|
||||
return this.f7591b;
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public CharSequence getPrompt() {
|
||||
M m4 = this.f7595f;
|
||||
return m4 != null ? m4.o() : super.getPrompt();
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner, android.widget.AdapterView, android.view.ViewGroup, android.view.View
|
||||
public final void onDetachedFromWindow() {
|
||||
super.onDetachedFromWindow();
|
||||
M m4 = this.f7595f;
|
||||
if (m4 == null || !m4.a()) {
|
||||
return;
|
||||
}
|
||||
m4.dismiss();
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner, android.widget.AbsSpinner, android.view.View
|
||||
public final void onMeasure(int i4, int i5) {
|
||||
super.onMeasure(i4, i5);
|
||||
if (this.f7595f == null || View.MeasureSpec.getMode(i4) != Integer.MIN_VALUE) {
|
||||
return;
|
||||
}
|
||||
setMeasuredDimension(Math.min(Math.max(getMeasuredWidth(), a(getAdapter(), getBackground())), View.MeasureSpec.getSize(i4)), getMeasuredHeight());
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner, android.widget.AbsSpinner, android.view.View
|
||||
public final void onRestoreInstanceState(Parcelable parcelable) {
|
||||
ViewTreeObserver viewTreeObserver;
|
||||
L l4 = (L) parcelable;
|
||||
super.onRestoreInstanceState(l4.getSuperState());
|
||||
if (!l4.f7588a || (viewTreeObserver = getViewTreeObserver()) == null) {
|
||||
return;
|
||||
}
|
||||
viewTreeObserver.addOnGlobalLayoutListener(new ViewTreeObserverOnGlobalLayoutListenerC0426d(this, 2));
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [android.view.View$BaseSavedState, android.os.Parcelable, m.L] */
|
||||
@Override // android.widget.Spinner, android.widget.AbsSpinner, android.view.View
|
||||
public final Parcelable onSaveInstanceState() {
|
||||
?? baseSavedState = new View.BaseSavedState(super.onSaveInstanceState());
|
||||
M m4 = this.f7595f;
|
||||
baseSavedState.f7588a = m4 != null && m4.a();
|
||||
return baseSavedState;
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner, android.view.View
|
||||
public final boolean onTouchEvent(MotionEvent motionEvent) {
|
||||
C0447F c0447f = this.f7592c;
|
||||
if (c0447f == null || !c0447f.onTouch(this, motionEvent)) {
|
||||
return super.onTouchEvent(motionEvent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner, android.view.View
|
||||
public final boolean performClick() {
|
||||
M m4 = this.f7595f;
|
||||
if (m4 == null) {
|
||||
return super.performClick();
|
||||
}
|
||||
if (m4.a()) {
|
||||
return true;
|
||||
}
|
||||
this.f7595f.l(getTextDirection(), getTextAlignment());
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i4) {
|
||||
super.setBackgroundResource(i4);
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setDropDownHorizontalOffset(int i4) {
|
||||
M m4 = this.f7595f;
|
||||
if (m4 == null) {
|
||||
super.setDropDownHorizontalOffset(i4);
|
||||
} else {
|
||||
m4.j(i4);
|
||||
m4.k(i4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setDropDownVerticalOffset(int i4) {
|
||||
M m4 = this.f7595f;
|
||||
if (m4 != null) {
|
||||
m4.i(i4);
|
||||
} else {
|
||||
super.setDropDownVerticalOffset(i4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setDropDownWidth(int i4) {
|
||||
if (this.f7595f != null) {
|
||||
this.f7596g = i4;
|
||||
} else {
|
||||
super.setDropDownWidth(i4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setPopupBackgroundDrawable(Drawable drawable) {
|
||||
M m4 = this.f7595f;
|
||||
if (m4 != null) {
|
||||
m4.h(drawable);
|
||||
} else {
|
||||
super.setPopupBackgroundDrawable(drawable);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setPopupBackgroundResource(int i4) {
|
||||
setPopupBackgroundDrawable(AbstractC0106b.m(getPopupContext(), i4));
|
||||
}
|
||||
|
||||
@Override // android.widget.Spinner
|
||||
public void setPrompt(CharSequence charSequence) {
|
||||
M m4 = this.f7595f;
|
||||
if (m4 != null) {
|
||||
m4.g(charSequence);
|
||||
} else {
|
||||
super.setPrompt(charSequence);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7590a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r3v1, types: [android.widget.ListAdapter, m.I, java.lang.Object] */
|
||||
@Override // android.widget.AdapterView
|
||||
public void setAdapter(SpinnerAdapter spinnerAdapter) {
|
||||
if (!this.f7594e) {
|
||||
this.f7593d = spinnerAdapter;
|
||||
return;
|
||||
}
|
||||
super.setAdapter(spinnerAdapter);
|
||||
M m4 = this.f7595f;
|
||||
if (m4 != 0) {
|
||||
Context context = this.f7591b;
|
||||
if (context == null) {
|
||||
context = getContext();
|
||||
}
|
||||
Resources.Theme theme = context.getTheme();
|
||||
?? obj = new Object();
|
||||
obj.f7531a = spinnerAdapter;
|
||||
if (spinnerAdapter instanceof ListAdapter) {
|
||||
obj.f7532b = (ListAdapter) spinnerAdapter;
|
||||
}
|
||||
if (theme != null && (spinnerAdapter instanceof ThemedSpinnerAdapter)) {
|
||||
AbstractC0448G.a((ThemedSpinnerAdapter) spinnerAdapter, theme);
|
||||
}
|
||||
m4.p(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
apk_decompiled/sources/m/N0.java
Normal file
35
apk_decompiled/sources/m/N0.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package m;
|
||||
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class N0 implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7597a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Toolbar f7598b;
|
||||
|
||||
public /* synthetic */ N0(Toolbar toolbar, int i) {
|
||||
this.f7597a = i;
|
||||
this.f7598b = toolbar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f7597a) {
|
||||
case 0:
|
||||
Q0 q02 = this.f7598b.f2472M;
|
||||
l.o oVar = q02 == null ? null : q02.f7604b;
|
||||
if (oVar != null) {
|
||||
oVar.collapseActionView();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
this.f7598b.n();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/m/O.java
Normal file
50
apk_decompiled/sources/m/O.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.Typeface;
|
||||
import android.widget.TextView;
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class O extends F.b {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7599e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7600f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final /* synthetic */ WeakReference f7601g;
|
||||
public final /* synthetic */ T h;
|
||||
|
||||
public O(T t2, int i, int i4, WeakReference weakReference) {
|
||||
this.h = t2;
|
||||
this.f7599e = i;
|
||||
this.f7600f = i4;
|
||||
this.f7601g = weakReference;
|
||||
}
|
||||
|
||||
@Override // F.b
|
||||
public final void g(int i) {
|
||||
}
|
||||
|
||||
@Override // F.b
|
||||
public final void h(Typeface typeface) {
|
||||
int i = this.f7599e;
|
||||
if (i != -1) {
|
||||
typeface = S.a(typeface, i, (this.f7600f & 2) != 0);
|
||||
}
|
||||
T t2 = this.h;
|
||||
if (t2.f7618m) {
|
||||
t2.f7617l = typeface;
|
||||
TextView textView = (TextView) this.f7601g.get();
|
||||
if (textView != null) {
|
||||
if (textView.isAttachedToWindow()) {
|
||||
textView.post(new androidx.recyclerview.widget.I(textView, typeface, t2.f7615j));
|
||||
} else {
|
||||
textView.setTypeface(typeface, t2.f7615j);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
41
apk_decompiled/sources/m/O0.java
Normal file
41
apk_decompiled/sources/m/O0.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package m;
|
||||
|
||||
import O.InterfaceC0076q;
|
||||
import android.view.MenuItem;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import androidx.fragment.app.C0140c0;
|
||||
import java.util.Iterator;
|
||||
import l.InterfaceC0433k;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class O0 implements InterfaceC0478o, InterfaceC0433k {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ Toolbar f7602a;
|
||||
|
||||
public /* synthetic */ O0(Toolbar toolbar) {
|
||||
this.f7602a = toolbar;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public boolean c(l.m mVar, MenuItem menuItem) {
|
||||
g.M m4 = this.f7602a.f2474O;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public void i(l.m mVar) {
|
||||
Toolbar toolbar = this.f7602a;
|
||||
C0472l c0472l = toolbar.f2480a.f2416t;
|
||||
if (c0472l == null || !c0472l.f()) {
|
||||
Iterator it = toolbar.f2467G.f1276b.iterator();
|
||||
while (it.hasNext()) {
|
||||
((C0140c0) ((InterfaceC0076q) it.next())).f3105a.t(mVar);
|
||||
}
|
||||
}
|
||||
g.M m4 = toolbar.f2474O;
|
||||
if (m4 != null) {
|
||||
m4.i(mVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/m/P.java
Normal file
15
apk_decompiled/sources/m/P.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package m;
|
||||
|
||||
import android.os.LocaleList;
|
||||
import android.widget.TextView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class P {
|
||||
public static LocaleList a(String str) {
|
||||
return LocaleList.forLanguageTags(str);
|
||||
}
|
||||
|
||||
public static void b(TextView textView, LocaleList localeList) {
|
||||
textView.setTextLocales(localeList);
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/m/P0.java
Normal file
27
apk_decompiled/sources/m/P0.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import android.window.OnBackInvokedCallback;
|
||||
import android.window.OnBackInvokedDispatcher;
|
||||
import java.util.Objects;
|
||||
import kotlin.time.DurationKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class P0 {
|
||||
public static OnBackInvokedDispatcher a(View view) {
|
||||
return view.findOnBackInvokedDispatcher();
|
||||
}
|
||||
|
||||
public static OnBackInvokedCallback b(Runnable runnable) {
|
||||
Objects.requireNonNull(runnable);
|
||||
return new b.u(runnable, 2);
|
||||
}
|
||||
|
||||
public static void c(Object obj, Object obj2) {
|
||||
((OnBackInvokedDispatcher) obj).registerOnBackInvokedCallback(DurationKt.NANOS_IN_MILLIS, (OnBackInvokedCallback) obj2);
|
||||
}
|
||||
|
||||
public static void d(Object obj, Object obj2) {
|
||||
((OnBackInvokedDispatcher) obj).unregisterOnBackInvokedCallback((OnBackInvokedCallback) obj2);
|
||||
}
|
||||
}
|
||||
22
apk_decompiled/sources/m/Q.java
Normal file
22
apk_decompiled/sources/m/Q.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package m;
|
||||
|
||||
import android.widget.TextView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class Q {
|
||||
public static int a(TextView textView) {
|
||||
return textView.getAutoSizeStepGranularity();
|
||||
}
|
||||
|
||||
public static void b(TextView textView, int i, int i4, int i5, int i6) {
|
||||
textView.setAutoSizeTextTypeUniformWithConfiguration(i, i4, i5, i6);
|
||||
}
|
||||
|
||||
public static void c(TextView textView, int[] iArr, int i) {
|
||||
textView.setAutoSizeTextTypeUniformWithPresetSizes(iArr, i);
|
||||
}
|
||||
|
||||
public static boolean d(TextView textView, String str) {
|
||||
return textView.setFontVariationSettings(str);
|
||||
}
|
||||
}
|
||||
149
apk_decompiled/sources/m/Q0.java
Normal file
149
apk_decompiled/sources/m/Q0.java
Normal file
@@ -0,0 +1,149 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Parcelable;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import java.util.ArrayList;
|
||||
import k.InterfaceC0406c;
|
||||
import l.SubMenuC0422E;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class Q0 implements l.y {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public l.m f7603a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public l.o f7604b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Toolbar f7605c;
|
||||
|
||||
public Q0(Toolbar toolbar) {
|
||||
this.f7605c = toolbar;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void b(l.m mVar, boolean z3) {
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void d(Parcelable parcelable) {
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean g(l.o oVar) {
|
||||
Toolbar toolbar = this.f7605c;
|
||||
toolbar.c();
|
||||
ViewParent parent = toolbar.h.getParent();
|
||||
if (parent != toolbar) {
|
||||
if (parent instanceof ViewGroup) {
|
||||
((ViewGroup) parent).removeView(toolbar.h);
|
||||
}
|
||||
toolbar.addView(toolbar.h);
|
||||
}
|
||||
View actionView = oVar.getActionView();
|
||||
toolbar.i = actionView;
|
||||
this.f7604b = oVar;
|
||||
ViewParent parent2 = actionView.getParent();
|
||||
if (parent2 != toolbar) {
|
||||
if (parent2 instanceof ViewGroup) {
|
||||
((ViewGroup) parent2).removeView(toolbar.i);
|
||||
}
|
||||
R0 h = Toolbar.h();
|
||||
h.f7606a = (toolbar.f2491n & 112) | 8388611;
|
||||
h.f7607b = 2;
|
||||
toolbar.i.setLayoutParams(h);
|
||||
toolbar.addView(toolbar.i);
|
||||
}
|
||||
for (int childCount = toolbar.getChildCount() - 1; childCount >= 0; childCount--) {
|
||||
View childAt = toolbar.getChildAt(childCount);
|
||||
if (((R0) childAt.getLayoutParams()).f7607b != 2 && childAt != toolbar.f2480a) {
|
||||
toolbar.removeViewAt(childCount);
|
||||
toolbar.f2465E.add(childAt);
|
||||
}
|
||||
}
|
||||
toolbar.requestLayout();
|
||||
oVar.f7267C = true;
|
||||
oVar.f7279n.p(false);
|
||||
KeyEvent.Callback callback = toolbar.i;
|
||||
if (callback instanceof InterfaceC0406c) {
|
||||
((l.q) ((InterfaceC0406c) callback)).f7294a.onActionViewExpanded();
|
||||
}
|
||||
toolbar.w();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final int getId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void h(boolean z3) {
|
||||
if (this.f7604b != null) {
|
||||
l.m mVar = this.f7603a;
|
||||
if (mVar != null) {
|
||||
int size = mVar.f7246f.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (this.f7603a.getItem(i) == this.f7604b) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
m(this.f7604b);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final void i(Context context, l.m mVar) {
|
||||
l.o oVar;
|
||||
l.m mVar2 = this.f7603a;
|
||||
if (mVar2 != null && (oVar = this.f7604b) != null) {
|
||||
mVar2.d(oVar);
|
||||
}
|
||||
this.f7603a = mVar;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean j() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final Parcelable k() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean l(SubMenuC0422E subMenuC0422E) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.y
|
||||
public final boolean m(l.o oVar) {
|
||||
Toolbar toolbar = this.f7605c;
|
||||
KeyEvent.Callback callback = toolbar.i;
|
||||
if (callback instanceof InterfaceC0406c) {
|
||||
((l.q) ((InterfaceC0406c) callback)).f7294a.onActionViewCollapsed();
|
||||
}
|
||||
toolbar.removeView(toolbar.i);
|
||||
toolbar.removeView(toolbar.h);
|
||||
toolbar.i = null;
|
||||
ArrayList arrayList = toolbar.f2465E;
|
||||
for (int size = arrayList.size() - 1; size >= 0; size--) {
|
||||
toolbar.addView((View) arrayList.get(size));
|
||||
}
|
||||
arrayList.clear();
|
||||
this.f7604b = null;
|
||||
toolbar.requestLayout();
|
||||
oVar.f7267C = false;
|
||||
oVar.f7279n.p(false);
|
||||
toolbar.w();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
24
apk_decompiled/sources/m/R0.java
Normal file
24
apk_decompiled/sources/m/R0.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package m;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class R0 extends ViewGroup.MarginLayoutParams {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f7606a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7607b;
|
||||
|
||||
public R0(R0 r02) {
|
||||
super((ViewGroup.MarginLayoutParams) r02);
|
||||
this.f7606a = 0;
|
||||
this.f7606a = r02.f7606a;
|
||||
}
|
||||
|
||||
public R0(ViewGroup.LayoutParams layoutParams) {
|
||||
super(layoutParams);
|
||||
this.f7606a = 0;
|
||||
}
|
||||
}
|
||||
36
apk_decompiled/sources/m/RunnableC0454c.java
Normal file
36
apk_decompiled/sources/m/RunnableC0454c.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package m;
|
||||
|
||||
import androidx.appcompat.widget.ActionBarOverlayLayout;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
|
||||
/* renamed from: m.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0454c implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7658a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ ActionBarOverlayLayout f7659b;
|
||||
|
||||
public /* synthetic */ RunnableC0454c(ActionBarOverlayLayout actionBarOverlayLayout, int i) {
|
||||
this.f7658a = i;
|
||||
this.f7659b = actionBarOverlayLayout;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f7658a) {
|
||||
case 0:
|
||||
ActionBarOverlayLayout actionBarOverlayLayout = this.f7659b;
|
||||
actionBarOverlayLayout.h();
|
||||
actionBarOverlayLayout.f2408w = actionBarOverlayLayout.f2392d.animate().translationY(BitmapDescriptorFactory.HUE_RED).setListener(actionBarOverlayLayout.f2409x);
|
||||
return;
|
||||
default:
|
||||
ActionBarOverlayLayout actionBarOverlayLayout2 = this.f7659b;
|
||||
actionBarOverlayLayout2.h();
|
||||
actionBarOverlayLayout2.f2408w = actionBarOverlayLayout2.f2392d.animate().translationY(-actionBarOverlayLayout2.f2392d.getHeight()).setListener(actionBarOverlayLayout2.f2409x);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
41
apk_decompiled/sources/m/RunnableC0466i.java
Normal file
41
apk_decompiled/sources/m/RunnableC0466i.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
import l.InterfaceC0433k;
|
||||
|
||||
/* renamed from: m.i, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0466i implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0462g f7666a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ C0472l f7667b;
|
||||
|
||||
public RunnableC0466i(C0472l c0472l, C0462g c0462g) {
|
||||
this.f7667b = c0472l;
|
||||
this.f7666a = c0462g;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
InterfaceC0433k interfaceC0433k;
|
||||
C0472l c0472l = this.f7667b;
|
||||
l.m mVar = c0472l.f7678c;
|
||||
if (mVar != null && (interfaceC0433k = mVar.f7245e) != null) {
|
||||
interfaceC0433k.i(mVar);
|
||||
}
|
||||
View view = (View) c0472l.h;
|
||||
if (view != null && view.getWindowToken() != null) {
|
||||
C0462g c0462g = this.f7666a;
|
||||
if (!c0462g.b()) {
|
||||
if (c0462g.f7307e != null) {
|
||||
c0462g.d(0, 0, false, false);
|
||||
}
|
||||
}
|
||||
c0472l.f7692t = c0462g;
|
||||
}
|
||||
c0472l.f7694v = null;
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/m/RunnableC0479o0.java
Normal file
50
apk_decompiled/sources/m/RunnableC0479o0.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package m;
|
||||
|
||||
import android.os.SystemClock;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewParent;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
|
||||
/* renamed from: m.o0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0479o0 implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7715a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractViewOnTouchListenerC0481p0 f7716b;
|
||||
|
||||
public /* synthetic */ RunnableC0479o0(AbstractViewOnTouchListenerC0481p0 abstractViewOnTouchListenerC0481p0, int i) {
|
||||
this.f7715a = i;
|
||||
this.f7716b = abstractViewOnTouchListenerC0481p0;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f7715a) {
|
||||
case 0:
|
||||
ViewParent parent = this.f7716b.f7724d.getParent();
|
||||
if (parent != null) {
|
||||
parent.requestDisallowInterceptTouchEvent(true);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
AbstractViewOnTouchListenerC0481p0 abstractViewOnTouchListenerC0481p0 = this.f7716b;
|
||||
abstractViewOnTouchListenerC0481p0.a();
|
||||
View view = abstractViewOnTouchListenerC0481p0.f7724d;
|
||||
if (view.isEnabled() && !view.isLongClickable() && abstractViewOnTouchListenerC0481p0.c()) {
|
||||
view.getParent().requestDisallowInterceptTouchEvent(true);
|
||||
long uptimeMillis = SystemClock.uptimeMillis();
|
||||
MotionEvent obtain = MotionEvent.obtain(uptimeMillis, uptimeMillis, 3, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0);
|
||||
view.onTouchEvent(obtain);
|
||||
obtain.recycle();
|
||||
abstractViewOnTouchListenerC0481p0.f7727g = true;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
40
apk_decompiled/sources/m/RunnableC0490u0.java
Normal file
40
apk_decompiled/sources/m/RunnableC0490u0.java
Normal file
@@ -0,0 +1,40 @@
|
||||
package m;
|
||||
|
||||
/* renamed from: m.u0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0490u0 implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7747a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ C0496x0 f7748b;
|
||||
|
||||
public /* synthetic */ RunnableC0490u0(C0496x0 c0496x0, int i) {
|
||||
this.f7747a = i;
|
||||
this.f7748b = c0496x0;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f7747a) {
|
||||
case 0:
|
||||
C0475m0 c0475m0 = this.f7748b.f7762c;
|
||||
if (c0475m0 != null) {
|
||||
c0475m0.setListSelectionHidden(true);
|
||||
c0475m0.requestLayout();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
C0496x0 c0496x0 = this.f7748b;
|
||||
C0475m0 c0475m02 = c0496x0.f7762c;
|
||||
if (c0475m02 == null || !c0475m02.isAttachedToWindow() || c0496x0.f7762c.getCount() <= c0496x0.f7762c.getChildCount() || c0496x0.f7762c.getChildCount() > c0496x0.f7770m) {
|
||||
return;
|
||||
}
|
||||
c0496x0.f7782z.setInputMethodMode(2);
|
||||
c0496x0.c();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/m/S.java
Normal file
10
apk_decompiled/sources/m/S.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package m;
|
||||
|
||||
import android.graphics.Typeface;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class S {
|
||||
public static Typeface a(Typeface typeface, int i, boolean z3) {
|
||||
return Typeface.create(typeface, i, z3);
|
||||
}
|
||||
}
|
||||
5
apk_decompiled/sources/m/S0.java
Normal file
5
apk_decompiled/sources/m/S0.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface S0 {
|
||||
}
|
||||
300
apk_decompiled/sources/m/T.java
Normal file
300
apk_decompiled/sources/m/T.java
Normal file
@@ -0,0 +1,300 @@
|
||||
package m;
|
||||
|
||||
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.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.text.TextUtils;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.widget.TextView;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import e3.C0325k;
|
||||
import f.AbstractC0336a;
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class T {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final TextView f7608a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public C0325k f7609b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public C0325k f7610c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public C0325k f7611d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public C0325k f7612e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public C0325k f7613f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public C0325k f7614g;
|
||||
public C0325k h;
|
||||
public final C0451a0 i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f7615j = 0;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public int f7616k = -1;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public Typeface f7617l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public boolean f7618m;
|
||||
|
||||
public T(TextView textView) {
|
||||
this.f7608a = textView;
|
||||
this.i = new C0451a0(textView);
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [e3.k, java.lang.Object] */
|
||||
public static C0325k c(Context context, C0487t c0487t, int i) {
|
||||
ColorStateList f2;
|
||||
synchronized (c0487t) {
|
||||
f2 = c0487t.f7745a.f(context, i);
|
||||
}
|
||||
if (f2 == null) {
|
||||
return null;
|
||||
}
|
||||
?? obj = new Object();
|
||||
obj.f6367b = true;
|
||||
obj.f6368c = f2;
|
||||
return obj;
|
||||
}
|
||||
|
||||
public static void h(EditorInfo editorInfo, InputConnection inputConnection, TextView textView) {
|
||||
int i = Build.VERSION.SDK_INT;
|
||||
if (i >= 30 || inputConnection == null) {
|
||||
return;
|
||||
}
|
||||
CharSequence text = textView.getText();
|
||||
if (i >= 30) {
|
||||
T.a.a(editorInfo, text);
|
||||
return;
|
||||
}
|
||||
text.getClass();
|
||||
if (i >= 30) {
|
||||
T.a.a(editorInfo, text);
|
||||
return;
|
||||
}
|
||||
int i4 = editorInfo.initialSelStart;
|
||||
int i5 = editorInfo.initialSelEnd;
|
||||
int i6 = i4 > i5 ? i5 : i4;
|
||||
if (i4 <= i5) {
|
||||
i4 = i5;
|
||||
}
|
||||
int length = text.length();
|
||||
if (i6 < 0 || i4 > length) {
|
||||
m3.d.I(editorInfo, null, 0, 0);
|
||||
return;
|
||||
}
|
||||
int i7 = editorInfo.inputType & 4095;
|
||||
if (i7 == 129 || i7 == 225 || i7 == 18) {
|
||||
m3.d.I(editorInfo, null, 0, 0);
|
||||
return;
|
||||
}
|
||||
if (length <= 2048) {
|
||||
m3.d.I(editorInfo, text, i6, i4);
|
||||
return;
|
||||
}
|
||||
int i8 = i4 - i6;
|
||||
int i9 = i8 > 1024 ? 0 : i8;
|
||||
int i10 = 2048 - i9;
|
||||
int min = Math.min(text.length() - i4, i10 - Math.min(i6, (int) (i10 * 0.8d)));
|
||||
int min2 = Math.min(i6, i10 - min);
|
||||
int i11 = i6 - min2;
|
||||
if (Character.isLowSurrogate(text.charAt(i11))) {
|
||||
i11++;
|
||||
min2--;
|
||||
}
|
||||
if (Character.isHighSurrogate(text.charAt((i4 + min) - 1))) {
|
||||
min--;
|
||||
}
|
||||
int i12 = min2 + i9;
|
||||
m3.d.I(editorInfo, i9 != i8 ? TextUtils.concat(text.subSequence(i11, i11 + min2), text.subSequence(i4, min + i4)) : text.subSequence(i11, i12 + min + i11), min2, i12);
|
||||
}
|
||||
|
||||
public final void a(Drawable drawable, C0325k c0325k) {
|
||||
if (drawable == null || c0325k == null) {
|
||||
return;
|
||||
}
|
||||
C0487t.e(drawable, c0325k, this.f7608a.getDrawableState());
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
C0325k c0325k = this.f7609b;
|
||||
TextView textView = this.f7608a;
|
||||
if (c0325k != null || this.f7610c != null || this.f7611d != null || this.f7612e != null) {
|
||||
Drawable[] compoundDrawables = textView.getCompoundDrawables();
|
||||
a(compoundDrawables[0], this.f7609b);
|
||||
a(compoundDrawables[1], this.f7610c);
|
||||
a(compoundDrawables[2], this.f7611d);
|
||||
a(compoundDrawables[3], this.f7612e);
|
||||
}
|
||||
if (this.f7613f == null && this.f7614g == null) {
|
||||
return;
|
||||
}
|
||||
Drawable[] compoundDrawablesRelative = textView.getCompoundDrawablesRelative();
|
||||
a(compoundDrawablesRelative[0], this.f7613f);
|
||||
a(compoundDrawablesRelative[2], this.f7614g);
|
||||
}
|
||||
|
||||
public final ColorStateList d() {
|
||||
C0325k c0325k = this.h;
|
||||
if (c0325k != null) {
|
||||
return (ColorStateList) c0325k.f6368c;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final PorterDuff.Mode e() {
|
||||
C0325k c0325k = this.h;
|
||||
if (c0325k != null) {
|
||||
return (PorterDuff.Mode) c0325k.f6369d;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Removed duplicated region for block: B:195:0x0464 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:197:0x046c */
|
||||
/* JADX WARN: Removed duplicated region for block: B:206:0x049c */
|
||||
/* JADX WARN: Removed duplicated region for block: B:216:? A[RETURN, SYNTHETIC] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void f(android.util.AttributeSet r28, int r29) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 1218
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: m.T.f(android.util.AttributeSet, int):void");
|
||||
}
|
||||
|
||||
public final void g(Context context, int i) {
|
||||
String string;
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(i, AbstractC0336a.f6441w);
|
||||
R0.h hVar = new R0.h(context, obtainStyledAttributes);
|
||||
boolean hasValue = obtainStyledAttributes.hasValue(14);
|
||||
TextView textView = this.f7608a;
|
||||
if (hasValue) {
|
||||
textView.setAllCaps(obtainStyledAttributes.getBoolean(14, false));
|
||||
}
|
||||
if (obtainStyledAttributes.hasValue(0) && obtainStyledAttributes.getDimensionPixelSize(0, -1) == 0) {
|
||||
textView.setTextSize(0, BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
k(context, hVar);
|
||||
if (obtainStyledAttributes.hasValue(13) && (string = obtainStyledAttributes.getString(13)) != null) {
|
||||
Q.d(textView, string);
|
||||
}
|
||||
hVar.n();
|
||||
Typeface typeface = this.f7617l;
|
||||
if (typeface != null) {
|
||||
textView.setTypeface(typeface, this.f7615j);
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v2, types: [e3.k, java.lang.Object] */
|
||||
public final void i(ColorStateList colorStateList) {
|
||||
if (this.h == null) {
|
||||
this.h = new Object();
|
||||
}
|
||||
C0325k c0325k = this.h;
|
||||
c0325k.f6368c = colorStateList;
|
||||
c0325k.f6367b = colorStateList != null;
|
||||
this.f7609b = c0325k;
|
||||
this.f7610c = c0325k;
|
||||
this.f7611d = c0325k;
|
||||
this.f7612e = c0325k;
|
||||
this.f7613f = c0325k;
|
||||
this.f7614g = c0325k;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v2, types: [e3.k, java.lang.Object] */
|
||||
public final void j(PorterDuff.Mode mode) {
|
||||
if (this.h == null) {
|
||||
this.h = new Object();
|
||||
}
|
||||
C0325k c0325k = this.h;
|
||||
c0325k.f6369d = mode;
|
||||
c0325k.f6366a = mode != null;
|
||||
this.f7609b = c0325k;
|
||||
this.f7610c = c0325k;
|
||||
this.f7611d = c0325k;
|
||||
this.f7612e = c0325k;
|
||||
this.f7613f = c0325k;
|
||||
this.f7614g = c0325k;
|
||||
}
|
||||
|
||||
public final void k(Context context, R0.h hVar) {
|
||||
String string;
|
||||
int i = this.f7615j;
|
||||
TypedArray typedArray = (TypedArray) hVar.f1414b;
|
||||
this.f7615j = typedArray.getInt(2, i);
|
||||
int i4 = typedArray.getInt(11, -1);
|
||||
this.f7616k = i4;
|
||||
if (i4 != -1) {
|
||||
this.f7615j &= 2;
|
||||
}
|
||||
if (!typedArray.hasValue(10) && !typedArray.hasValue(12)) {
|
||||
if (typedArray.hasValue(1)) {
|
||||
this.f7618m = false;
|
||||
int i5 = typedArray.getInt(1, 1);
|
||||
if (i5 == 1) {
|
||||
this.f7617l = Typeface.SANS_SERIF;
|
||||
return;
|
||||
} else if (i5 == 2) {
|
||||
this.f7617l = Typeface.SERIF;
|
||||
return;
|
||||
} else {
|
||||
if (i5 != 3) {
|
||||
return;
|
||||
}
|
||||
this.f7617l = Typeface.MONOSPACE;
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
this.f7617l = null;
|
||||
int i6 = typedArray.hasValue(12) ? 12 : 10;
|
||||
int i7 = this.f7616k;
|
||||
int i8 = this.f7615j;
|
||||
if (!context.isRestricted()) {
|
||||
try {
|
||||
Typeface h = hVar.h(i6, this.f7615j, new O(this, i7, i8, new WeakReference(this.f7608a)));
|
||||
if (h != null) {
|
||||
if (this.f7616k != -1) {
|
||||
this.f7617l = S.a(Typeface.create(h, 0), this.f7616k, (this.f7615j & 2) != 0);
|
||||
} else {
|
||||
this.f7617l = h;
|
||||
}
|
||||
}
|
||||
this.f7618m = this.f7617l == null;
|
||||
} catch (Resources.NotFoundException | UnsupportedOperationException unused) {
|
||||
}
|
||||
}
|
||||
if (this.f7617l != null || (string = typedArray.getString(i6)) == null) {
|
||||
return;
|
||||
}
|
||||
if (this.f7616k != -1) {
|
||||
this.f7617l = S.a(Typeface.create(string, 0), this.f7616k, (this.f7615j & 2) != 0);
|
||||
} else {
|
||||
this.f7617l = Typeface.create(string, this.f7615j);
|
||||
}
|
||||
}
|
||||
}
|
||||
28
apk_decompiled/sources/m/T0.java
Normal file
28
apk_decompiled/sources/m/T0.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package m;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class T0 extends W.b {
|
||||
public static final Parcelable.Creator<T0> CREATOR = new A.g(7);
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f7619c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f7620d;
|
||||
|
||||
public T0(Parcel parcel, ClassLoader classLoader) {
|
||||
super(parcel, classLoader);
|
||||
this.f7619c = parcel.readInt();
|
||||
this.f7620d = parcel.readInt() != 0;
|
||||
}
|
||||
|
||||
@Override // W.b, android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
super.writeToParcel(parcel, i);
|
||||
parcel.writeInt(this.f7619c);
|
||||
parcel.writeInt(this.f7620d ? 1 : 0);
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/m/U.java
Normal file
10
apk_decompiled/sources/m/U.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface U {
|
||||
void a(int i);
|
||||
|
||||
void b(int i);
|
||||
|
||||
void c(int i, float f2);
|
||||
}
|
||||
45
apk_decompiled/sources/m/U0.java
Normal file
45
apk_decompiled/sources/m/U0.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import l.C0423a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class U0 implements View.OnClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0423a f7621a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ V0 f7622b;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Object, l.a] */
|
||||
public U0(V0 v02) {
|
||||
this.f7622b = v02;
|
||||
Context context = v02.f7624a.getContext();
|
||||
CharSequence charSequence = v02.h;
|
||||
?? obj = new Object();
|
||||
obj.f7184e = ConstantsKt.DEFAULT_BLOCK_SIZE;
|
||||
obj.f7186g = ConstantsKt.DEFAULT_BLOCK_SIZE;
|
||||
obj.f7189l = null;
|
||||
obj.f7190m = null;
|
||||
obj.f7191n = false;
|
||||
obj.f7192o = false;
|
||||
obj.p = 16;
|
||||
obj.i = context;
|
||||
obj.f7180a = charSequence;
|
||||
this.f7621a = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
V0 v02 = this.f7622b;
|
||||
Window.Callback callback = v02.f7632k;
|
||||
if (callback == null || !v02.f7633l) {
|
||||
return;
|
||||
}
|
||||
callback.onMenuItemSelected(0, this.f7621a);
|
||||
}
|
||||
}
|
||||
19
apk_decompiled/sources/m/V.java
Normal file
19
apk_decompiled/sources/m/V.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class V extends C0499z {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ W f7623e;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public V(W w3) {
|
||||
super(w3);
|
||||
this.f7623e = w3;
|
||||
}
|
||||
|
||||
@Override // m.C0499z, m.U
|
||||
public final void c(int i, float f2) {
|
||||
super/*android.widget.TextView*/.setLineHeight(i, f2);
|
||||
}
|
||||
}
|
||||
255
apk_decompiled/sources/m/V0.java
Normal file
255
apk_decompiled/sources/m/V0.java
Normal file
@@ -0,0 +1,255 @@
|
||||
package m;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.Window;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import com.adif.elcanomovil.R;
|
||||
import f.AbstractC0336a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class V0 implements InterfaceC0459e0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Toolbar f7624a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f7625b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final View f7626c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Drawable f7627d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public Drawable f7628e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final Drawable f7629f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final boolean f7630g;
|
||||
public CharSequence h;
|
||||
public final CharSequence i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final CharSequence f7631j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public Window.Callback f7632k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public boolean f7633l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public C0472l f7634m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public final int f7635n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public final Drawable f7636o;
|
||||
|
||||
public V0(Toolbar toolbar, boolean z3) {
|
||||
Drawable drawable;
|
||||
this.f7635n = 0;
|
||||
this.f7624a = toolbar;
|
||||
this.h = toolbar.getTitle();
|
||||
this.i = toolbar.getSubtitle();
|
||||
this.f7630g = this.h != null;
|
||||
this.f7629f = toolbar.getNavigationIcon();
|
||||
R0.h l4 = R0.h.l(toolbar.getContext(), null, AbstractC0336a.f6422a, R.attr.actionBarStyle);
|
||||
int i = 15;
|
||||
this.f7636o = l4.f(15);
|
||||
if (z3) {
|
||||
TypedArray typedArray = (TypedArray) l4.f1414b;
|
||||
CharSequence text = typedArray.getText(27);
|
||||
if (!TextUtils.isEmpty(text)) {
|
||||
this.f7630g = true;
|
||||
this.h = text;
|
||||
if ((this.f7625b & 8) != 0) {
|
||||
Toolbar toolbar2 = this.f7624a;
|
||||
toolbar2.setTitle(text);
|
||||
if (this.f7630g) {
|
||||
O.X.k(toolbar2.getRootView(), text);
|
||||
}
|
||||
}
|
||||
}
|
||||
CharSequence text2 = typedArray.getText(25);
|
||||
if (!TextUtils.isEmpty(text2)) {
|
||||
this.i = text2;
|
||||
if ((this.f7625b & 8) != 0) {
|
||||
toolbar.setSubtitle(text2);
|
||||
}
|
||||
}
|
||||
Drawable f2 = l4.f(20);
|
||||
if (f2 != null) {
|
||||
this.f7628e = f2;
|
||||
c();
|
||||
}
|
||||
Drawable f4 = l4.f(17);
|
||||
if (f4 != null) {
|
||||
this.f7627d = f4;
|
||||
c();
|
||||
}
|
||||
if (this.f7629f == null && (drawable = this.f7636o) != null) {
|
||||
this.f7629f = drawable;
|
||||
int i4 = this.f7625b & 4;
|
||||
Toolbar toolbar3 = this.f7624a;
|
||||
if (i4 != 0) {
|
||||
toolbar3.setNavigationIcon(drawable);
|
||||
} else {
|
||||
toolbar3.setNavigationIcon((Drawable) null);
|
||||
}
|
||||
}
|
||||
a(typedArray.getInt(10, 0));
|
||||
int resourceId = typedArray.getResourceId(9, 0);
|
||||
if (resourceId != 0) {
|
||||
View inflate = LayoutInflater.from(toolbar.getContext()).inflate(resourceId, (ViewGroup) toolbar, false);
|
||||
View view = this.f7626c;
|
||||
if (view != null && (this.f7625b & 16) != 0) {
|
||||
toolbar.removeView(view);
|
||||
}
|
||||
this.f7626c = inflate;
|
||||
if (inflate != null && (this.f7625b & 16) != 0) {
|
||||
toolbar.addView(inflate);
|
||||
}
|
||||
a(this.f7625b | 16);
|
||||
}
|
||||
int layoutDimension = typedArray.getLayoutDimension(13, 0);
|
||||
if (layoutDimension > 0) {
|
||||
ViewGroup.LayoutParams layoutParams = toolbar.getLayoutParams();
|
||||
layoutParams.height = layoutDimension;
|
||||
toolbar.setLayoutParams(layoutParams);
|
||||
}
|
||||
int dimensionPixelOffset = typedArray.getDimensionPixelOffset(7, -1);
|
||||
int dimensionPixelOffset2 = typedArray.getDimensionPixelOffset(3, -1);
|
||||
if (dimensionPixelOffset >= 0 || dimensionPixelOffset2 >= 0) {
|
||||
int max = Math.max(dimensionPixelOffset, 0);
|
||||
int max2 = Math.max(dimensionPixelOffset2, 0);
|
||||
toolbar.d();
|
||||
toolbar.f2496t.a(max, max2);
|
||||
}
|
||||
int resourceId2 = typedArray.getResourceId(28, 0);
|
||||
if (resourceId2 != 0) {
|
||||
Context context = toolbar.getContext();
|
||||
toolbar.f2489l = resourceId2;
|
||||
W w3 = toolbar.f2481b;
|
||||
if (w3 != null) {
|
||||
w3.setTextAppearance(context, resourceId2);
|
||||
}
|
||||
}
|
||||
int resourceId3 = typedArray.getResourceId(26, 0);
|
||||
if (resourceId3 != 0) {
|
||||
Context context2 = toolbar.getContext();
|
||||
toolbar.f2490m = resourceId3;
|
||||
W w4 = toolbar.f2482c;
|
||||
if (w4 != null) {
|
||||
w4.setTextAppearance(context2, resourceId3);
|
||||
}
|
||||
}
|
||||
int resourceId4 = typedArray.getResourceId(22, 0);
|
||||
if (resourceId4 != 0) {
|
||||
toolbar.setPopupTheme(resourceId4);
|
||||
}
|
||||
} else {
|
||||
if (toolbar.getNavigationIcon() != null) {
|
||||
this.f7636o = toolbar.getNavigationIcon();
|
||||
} else {
|
||||
i = 11;
|
||||
}
|
||||
this.f7625b = i;
|
||||
}
|
||||
l4.n();
|
||||
if (R.string.abc_action_bar_up_description != this.f7635n) {
|
||||
this.f7635n = R.string.abc_action_bar_up_description;
|
||||
if (TextUtils.isEmpty(toolbar.getNavigationContentDescription())) {
|
||||
int i5 = this.f7635n;
|
||||
this.f7631j = i5 != 0 ? toolbar.getContext().getString(i5) : null;
|
||||
b();
|
||||
}
|
||||
}
|
||||
this.f7631j = toolbar.getNavigationContentDescription();
|
||||
toolbar.setNavigationOnClickListener(new U0(this));
|
||||
}
|
||||
|
||||
public final void a(int i) {
|
||||
View view;
|
||||
int i4 = this.f7625b ^ i;
|
||||
this.f7625b = i;
|
||||
if (i4 != 0) {
|
||||
if ((i4 & 4) != 0) {
|
||||
if ((i & 4) != 0) {
|
||||
b();
|
||||
}
|
||||
int i5 = this.f7625b & 4;
|
||||
Toolbar toolbar = this.f7624a;
|
||||
if (i5 != 0) {
|
||||
Drawable drawable = this.f7629f;
|
||||
if (drawable == null) {
|
||||
drawable = this.f7636o;
|
||||
}
|
||||
toolbar.setNavigationIcon(drawable);
|
||||
} else {
|
||||
toolbar.setNavigationIcon((Drawable) null);
|
||||
}
|
||||
}
|
||||
if ((i4 & 3) != 0) {
|
||||
c();
|
||||
}
|
||||
int i6 = i4 & 8;
|
||||
Toolbar toolbar2 = this.f7624a;
|
||||
if (i6 != 0) {
|
||||
if ((i & 8) != 0) {
|
||||
toolbar2.setTitle(this.h);
|
||||
toolbar2.setSubtitle(this.i);
|
||||
} else {
|
||||
toolbar2.setTitle((CharSequence) null);
|
||||
toolbar2.setSubtitle((CharSequence) null);
|
||||
}
|
||||
}
|
||||
if ((i4 & 16) == 0 || (view = this.f7626c) == null) {
|
||||
return;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
toolbar2.addView(view);
|
||||
} else {
|
||||
toolbar2.removeView(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
if ((this.f7625b & 4) != 0) {
|
||||
boolean isEmpty = TextUtils.isEmpty(this.f7631j);
|
||||
Toolbar toolbar = this.f7624a;
|
||||
if (isEmpty) {
|
||||
toolbar.setNavigationContentDescription(this.f7635n);
|
||||
} else {
|
||||
toolbar.setNavigationContentDescription(this.f7631j);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void c() {
|
||||
Drawable drawable;
|
||||
int i = this.f7625b;
|
||||
if ((i & 2) == 0) {
|
||||
drawable = null;
|
||||
} else if ((i & 1) != 0) {
|
||||
drawable = this.f7628e;
|
||||
if (drawable == null) {
|
||||
drawable = this.f7627d;
|
||||
}
|
||||
} else {
|
||||
drawable = this.f7627d;
|
||||
}
|
||||
this.f7624a.setLogo(drawable);
|
||||
}
|
||||
}
|
||||
34
apk_decompiled/sources/m/ViewOnTouchListenerC0494w0.java
Normal file
34
apk_decompiled/sources/m/ViewOnTouchListenerC0494w0.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package m;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: m.w0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class ViewOnTouchListenerC0494w0 implements View.OnTouchListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0496x0 f7755a;
|
||||
|
||||
public ViewOnTouchListenerC0494w0(C0496x0 c0496x0) {
|
||||
this.f7755a = c0496x0;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnTouchListener
|
||||
public final boolean onTouch(View view, MotionEvent motionEvent) {
|
||||
C0497y c0497y;
|
||||
int action = motionEvent.getAction();
|
||||
int x3 = (int) motionEvent.getX();
|
||||
int y3 = (int) motionEvent.getY();
|
||||
C0496x0 c0496x0 = this.f7755a;
|
||||
if (action == 0 && (c0497y = c0496x0.f7782z) != null && c0497y.isShowing() && x3 >= 0 && x3 < c0496x0.f7782z.getWidth() && y3 >= 0 && y3 < c0496x0.f7782z.getHeight()) {
|
||||
c0496x0.f7778v.postDelayed(c0496x0.f7774r, 250L);
|
||||
return false;
|
||||
}
|
||||
if (action != 1) {
|
||||
return false;
|
||||
}
|
||||
c0496x0.f7778v.removeCallbacks(c0496x0.f7774r);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
481
apk_decompiled/sources/m/W.java
Normal file
481
apk_decompiled/sources/m/W.java
Normal file
@@ -0,0 +1,481 @@
|
||||
package m;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.text.InputFilter;
|
||||
import android.text.TextDirectionHeuristic;
|
||||
import android.text.TextDirectionHeuristics;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.TypedValue;
|
||||
import android.view.ActionMode;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.view.textclassifier.TextClassifier;
|
||||
import android.widget.TextView;
|
||||
import androidx.recyclerview.widget.C0207b;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class W extends TextView {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0207b f7637a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final T f7638b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public C0491v f7639c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f7640d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public C0499z f7641e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public Future f7642f;
|
||||
|
||||
public W(Context context, AttributeSet attributeSet) {
|
||||
this(context, attributeSet, R.attr.textViewStyle);
|
||||
}
|
||||
|
||||
public static /* synthetic */ void d(W w3, int i) {
|
||||
super.setFirstBaselineToTopHeight(i);
|
||||
}
|
||||
|
||||
public static /* synthetic */ void e(W w3, int i) {
|
||||
super.setLastBaselineToBottomHeight(i);
|
||||
}
|
||||
|
||||
private C0491v getEmojiTextViewHelper() {
|
||||
if (this.f7639c == null) {
|
||||
this.f7639c = new C0491v(this);
|
||||
}
|
||||
return this.f7639c;
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final void drawableStateChanged() {
|
||||
super.drawableStateChanged();
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
c0207b.a();
|
||||
}
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
public final void g() {
|
||||
Future future = this.f7642f;
|
||||
if (future == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
this.f7642f = null;
|
||||
if (future.get() != null) {
|
||||
throw new ClassCastException();
|
||||
}
|
||||
throw null;
|
||||
} catch (InterruptedException | ExecutionException unused) {
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int getAutoSizeMaxTextSize() {
|
||||
return super.getAutoSizeMaxTextSize();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int getAutoSizeMinTextSize() {
|
||||
return super.getAutoSizeMinTextSize();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int getAutoSizeStepGranularity() {
|
||||
return super.getAutoSizeStepGranularity();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int[] getAutoSizeTextAvailableSizes() {
|
||||
return super.getAutoSizeTextAvailableSizes();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
@SuppressLint({"WrongConstant"})
|
||||
public int getAutoSizeTextType() {
|
||||
return super.getAutoSizeTextType() == 1 ? 1 : 0;
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public ActionMode.Callback getCustomSelectionActionModeCallback() {
|
||||
return super.getCustomSelectionActionModeCallback();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int getFirstBaselineToTopHeight() {
|
||||
return getPaddingTop() - getPaint().getFontMetricsInt().top;
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public int getLastBaselineToBottomHeight() {
|
||||
return getPaddingBottom() + getPaint().getFontMetricsInt().bottom;
|
||||
}
|
||||
|
||||
public U getSuperCaller() {
|
||||
if (this.f7641e == null) {
|
||||
if (Build.VERSION.SDK_INT >= 34) {
|
||||
this.f7641e = new V(this);
|
||||
} else {
|
||||
this.f7641e = new C0499z(this);
|
||||
}
|
||||
}
|
||||
return this.f7641e;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportBackgroundTintList() {
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.h();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportBackgroundTintMode() {
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
return c0207b.i();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public ColorStateList getSupportCompoundDrawablesTintList() {
|
||||
return this.f7638b.d();
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
|
||||
return this.f7638b.e();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public CharSequence getText() {
|
||||
g();
|
||||
return super.getText();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public TextClassifier getTextClassifier() {
|
||||
return super.getTextClassifier();
|
||||
}
|
||||
|
||||
public M.d getTextMetricsParamsCompat() {
|
||||
return new M.d(U.u.c(this));
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final InputConnection onCreateInputConnection(EditorInfo editorInfo) {
|
||||
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
|
||||
this.f7638b.getClass();
|
||||
T.h(editorInfo, onCreateInputConnection, this);
|
||||
AbstractC0106b.x(editorInfo, onCreateInputConnection, this);
|
||||
return onCreateInputConnection;
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final void onDetachedFromWindow() {
|
||||
super.onDetachedFromWindow();
|
||||
int i = Build.VERSION.SDK_INT;
|
||||
if (i < 30 || i >= 33 || !onCheckIsTextEditor()) {
|
||||
return;
|
||||
}
|
||||
((InputMethodManager) getContext().getSystemService("input_method")).isActive(this);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
|
||||
super.onLayout(z3, i, i4, i5, i6);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.getClass();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView, android.view.View
|
||||
public void onMeasure(int i, int i4) {
|
||||
g();
|
||||
super.onMeasure(i, i4);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void onTextChanged(CharSequence charSequence, int i, int i4, int i5) {
|
||||
super.onTextChanged(charSequence, i, i4, i5);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setAllCaps(boolean z3) {
|
||||
super.setAllCaps(z3);
|
||||
getEmojiTextViewHelper().c(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setAutoSizeTextTypeUniformWithConfiguration(int i, int i4, int i5, int i6) {
|
||||
super.setAutoSizeTextTypeUniformWithConfiguration(i, i4, i5, i6);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setAutoSizeTextTypeUniformWithPresetSizes(int[] iArr, int i) {
|
||||
super.setAutoSizeTextTypeUniformWithPresetSizes(iArr, i);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setAutoSizeTextTypeWithDefaults(int i) {
|
||||
super.setAutoSizeTextTypeWithDefaults(i);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
super.setBackgroundDrawable(drawable);
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
c0207b.m();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setBackgroundResource(int i) {
|
||||
super.setBackgroundResource(i);
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
c0207b.n(i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesRelativeWithIntrinsicBounds(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesWithIntrinsicBounds(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
|
||||
super.setCompoundDrawablesWithIntrinsicBounds(drawable, drawable2, drawable3, drawable4);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
|
||||
super.setCustomSelectionActionModeCallback(callback);
|
||||
}
|
||||
|
||||
public void setEmojiCompatEnabled(boolean z3) {
|
||||
getEmojiTextViewHelper().d(z3);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setFilters(InputFilter[] inputFilterArr) {
|
||||
super.setFilters(getEmojiTextViewHelper().a(inputFilterArr));
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setFirstBaselineToTopHeight(int i) {
|
||||
getSuperCaller().b(i);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setLastBaselineToBottomHeight(int i) {
|
||||
getSuperCaller().a(i);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setLineHeight(int i) {
|
||||
m3.d.G(this, i);
|
||||
}
|
||||
|
||||
public void setPrecomputedText(M.e eVar) {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
c0207b.s(colorStateList);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
|
||||
C0207b c0207b = this.f7637a;
|
||||
if (c0207b != null) {
|
||||
c0207b.t(mode);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
|
||||
T t2 = this.f7638b;
|
||||
t2.i(colorStateList);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
|
||||
T t2 = this.f7638b;
|
||||
t2.j(mode);
|
||||
t2.b();
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setTextAppearance(Context context, int i) {
|
||||
super.setTextAppearance(context, i);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.g(context, i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public void setTextClassifier(TextClassifier textClassifier) {
|
||||
super.setTextClassifier(textClassifier);
|
||||
}
|
||||
|
||||
public void setTextFuture(Future<M.e> future) {
|
||||
this.f7642f = future;
|
||||
if (future != null) {
|
||||
requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
public void setTextMetricsParamsCompat(M.d dVar) {
|
||||
TextDirectionHeuristic textDirectionHeuristic;
|
||||
TextDirectionHeuristic textDirectionHeuristic2 = dVar.f1071b;
|
||||
TextDirectionHeuristic textDirectionHeuristic3 = TextDirectionHeuristics.FIRSTSTRONG_RTL;
|
||||
int i = 1;
|
||||
if (textDirectionHeuristic2 != textDirectionHeuristic3 && textDirectionHeuristic2 != (textDirectionHeuristic = TextDirectionHeuristics.FIRSTSTRONG_LTR)) {
|
||||
if (textDirectionHeuristic2 == TextDirectionHeuristics.ANYRTL_LTR) {
|
||||
i = 2;
|
||||
} else if (textDirectionHeuristic2 == TextDirectionHeuristics.LTR) {
|
||||
i = 3;
|
||||
} else if (textDirectionHeuristic2 == TextDirectionHeuristics.RTL) {
|
||||
i = 4;
|
||||
} else if (textDirectionHeuristic2 == TextDirectionHeuristics.LOCALE) {
|
||||
i = 5;
|
||||
} else if (textDirectionHeuristic2 == textDirectionHeuristic) {
|
||||
i = 6;
|
||||
} else if (textDirectionHeuristic2 == textDirectionHeuristic3) {
|
||||
i = 7;
|
||||
}
|
||||
}
|
||||
setTextDirection(i);
|
||||
getPaint().set(dVar.f1070a);
|
||||
U.t.e(this, dVar.f1072c);
|
||||
U.t.h(this, dVar.f1073d);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setTypeface(Typeface typeface, int i) {
|
||||
Typeface typeface2;
|
||||
if (this.f7640d) {
|
||||
return;
|
||||
}
|
||||
if (typeface == null || i <= 0) {
|
||||
typeface2 = null;
|
||||
} else {
|
||||
Context context = getContext();
|
||||
E2.e eVar = G.g.f565a;
|
||||
if (context == null) {
|
||||
throw new IllegalArgumentException("Context cannot be null");
|
||||
}
|
||||
typeface2 = Typeface.create(typeface, i);
|
||||
}
|
||||
this.f7640d = true;
|
||||
if (typeface2 != null) {
|
||||
typeface = typeface2;
|
||||
}
|
||||
try {
|
||||
super.setTypeface(typeface, i);
|
||||
} finally {
|
||||
this.f7640d = false;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public W(Context context, AttributeSet attributeSet, int i) {
|
||||
super(context, attributeSet, i);
|
||||
L0.a(context);
|
||||
this.f7640d = false;
|
||||
this.f7641e = null;
|
||||
K0.a(this, getContext());
|
||||
C0207b c0207b = new C0207b(this);
|
||||
this.f7637a = c0207b;
|
||||
c0207b.k(attributeSet, i);
|
||||
T t2 = new T(this);
|
||||
this.f7638b = t2;
|
||||
t2.f(attributeSet, i);
|
||||
t2.b();
|
||||
getEmojiTextViewHelper().b(attributeSet, i);
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setLineHeight(int i, float f2) {
|
||||
int i4 = Build.VERSION.SDK_INT;
|
||||
if (i4 >= 34) {
|
||||
getSuperCaller().c(i, f2);
|
||||
} else if (i4 >= 34) {
|
||||
U.v.a(this, i, f2);
|
||||
} else {
|
||||
m3.d.G(this, Math.round(TypedValue.applyDimension(i, f2, getResources().getDisplayMetrics())));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesRelativeWithIntrinsicBounds(int i, int i4, int i5, int i6) {
|
||||
Context context = getContext();
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(i != 0 ? AbstractC0106b.m(context, i) : null, i4 != 0 ? AbstractC0106b.m(context, i4) : null, i5 != 0 ? AbstractC0106b.m(context, i5) : null, i6 != 0 ? AbstractC0106b.m(context, i6) : null);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.widget.TextView
|
||||
public final void setCompoundDrawablesWithIntrinsicBounds(int i, int i4, int i5, int i6) {
|
||||
Context context = getContext();
|
||||
setCompoundDrawablesWithIntrinsicBounds(i != 0 ? AbstractC0106b.m(context, i) : null, i4 != 0 ? AbstractC0106b.m(context, i4) : null, i5 != 0 ? AbstractC0106b.m(context, i5) : null, i6 != 0 ? AbstractC0106b.m(context, i6) : null);
|
||||
T t2 = this.f7638b;
|
||||
if (t2 != null) {
|
||||
t2.b();
|
||||
}
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/m/W0.java
Normal file
10
apk_decompiled/sources/m/W0.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package m;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class W0 {
|
||||
public static void a(View view, CharSequence charSequence) {
|
||||
view.setTooltipText(charSequence);
|
||||
}
|
||||
}
|
||||
5
apk_decompiled/sources/m/X.java
Normal file
5
apk_decompiled/sources/m/X.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class X extends Z {
|
||||
}
|
||||
8
apk_decompiled/sources/m/X0.java
Normal file
8
apk_decompiled/sources/m/X0.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class X0 extends F0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final /* synthetic */ int f7643a = 0;
|
||||
}
|
||||
5
apk_decompiled/sources/m/Y.java
Normal file
5
apk_decompiled/sources/m/Y.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class Y extends X {
|
||||
}
|
||||
5
apk_decompiled/sources/m/Y0.java
Normal file
5
apk_decompiled/sources/m/Y0.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package m;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface Y0 {
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user