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:
594
apk_decompiled/sources/g/AbstractActivityC0364k.java
Normal file
594
apk_decompiled/sources/g/AbstractActivityC0364k.java
Normal file
@@ -0,0 +1,594 @@
|
||||
package g;
|
||||
|
||||
import C.AbstractC0044h;
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.app.Activity;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import androidx.lifecycle.q0;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import f0.C0338b;
|
||||
import k.AbstractC0405b;
|
||||
import k.C0407d;
|
||||
import k.C0412i;
|
||||
import k.InterfaceC0404a;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import m.C0487t;
|
||||
import m.E0;
|
||||
import m.X0;
|
||||
|
||||
/* renamed from: g.k, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractActivityC0364k extends androidx.fragment.app.P implements InterfaceC0365l, C.L {
|
||||
private static final String DELEGATE_TAG = "androidx:appcompat";
|
||||
private r mDelegate;
|
||||
private Resources mResources;
|
||||
|
||||
public AbstractActivityC0364k() {
|
||||
getSavedStateRegistry().c(DELEGATE_TAG, new C0363j(this));
|
||||
addOnContextAvailableListener(new com.adif.elcanomovil.main.q(this, 2));
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void addContentView(View view, ViewGroup.LayoutParams layoutParams) {
|
||||
f();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.x();
|
||||
((ViewGroup) layoutInflaterFactory2C0351E.f6495A.findViewById(R.id.content)).addView(view, layoutParams);
|
||||
layoutInflaterFactory2C0351E.f6529m.a(layoutInflaterFactory2C0351E.f6528l.getCallback());
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
|
||||
public void attachBaseContext(Context context) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.f6508O = true;
|
||||
int i = layoutInflaterFactory2C0351E.f6512S;
|
||||
if (i == -100) {
|
||||
i = r.f6659b;
|
||||
}
|
||||
int D3 = layoutInflaterFactory2C0351E.D(context, i);
|
||||
if (r.d(context) && r.d(context)) {
|
||||
if (Build.VERSION.SDK_INT < 33) {
|
||||
synchronized (r.i) {
|
||||
try {
|
||||
K.i iVar = r.f6660c;
|
||||
if (iVar == null) {
|
||||
if (r.f6661d == null) {
|
||||
r.f6661d = K.i.a(AbstractC0044h.e(context));
|
||||
}
|
||||
if (!r.f6661d.f972a.f973a.isEmpty()) {
|
||||
r.f6660c = r.f6661d;
|
||||
}
|
||||
} else if (!iVar.equals(r.f6661d)) {
|
||||
K.i iVar2 = r.f6660c;
|
||||
r.f6661d = iVar2;
|
||||
AbstractC0044h.d(context, iVar2.f972a.f973a.toLanguageTags());
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
} else if (!r.f6663f) {
|
||||
r.f6658a.execute(new RunnableC0366m(context, 0));
|
||||
}
|
||||
}
|
||||
K.i q4 = LayoutInflaterFactory2C0351E.q(context);
|
||||
Configuration configuration = null;
|
||||
if (context instanceof ContextThemeWrapper) {
|
||||
try {
|
||||
((ContextThemeWrapper) context).applyOverrideConfiguration(LayoutInflaterFactory2C0351E.u(context, D3, q4, null, false));
|
||||
} catch (IllegalStateException unused) {
|
||||
}
|
||||
super.attachBaseContext(context);
|
||||
}
|
||||
if (context instanceof C0407d) {
|
||||
try {
|
||||
((C0407d) context).a(LayoutInflaterFactory2C0351E.u(context, D3, q4, null, false));
|
||||
} catch (IllegalStateException unused2) {
|
||||
}
|
||||
super.attachBaseContext(context);
|
||||
}
|
||||
if (LayoutInflaterFactory2C0351E.f6494j0) {
|
||||
Configuration configuration2 = new Configuration();
|
||||
configuration2.uiMode = -1;
|
||||
configuration2.fontScale = BitmapDescriptorFactory.HUE_RED;
|
||||
Configuration configuration3 = context.createConfigurationContext(configuration2).getResources().getConfiguration();
|
||||
Configuration configuration4 = context.getResources().getConfiguration();
|
||||
configuration3.uiMode = configuration4.uiMode;
|
||||
if (!configuration3.equals(configuration4)) {
|
||||
configuration = new Configuration();
|
||||
configuration.fontScale = BitmapDescriptorFactory.HUE_RED;
|
||||
if (configuration3.diff(configuration4) != 0) {
|
||||
float f2 = configuration3.fontScale;
|
||||
float f4 = configuration4.fontScale;
|
||||
if (f2 != f4) {
|
||||
configuration.fontScale = f4;
|
||||
}
|
||||
int i4 = configuration3.mcc;
|
||||
int i5 = configuration4.mcc;
|
||||
if (i4 != i5) {
|
||||
configuration.mcc = i5;
|
||||
}
|
||||
int i6 = configuration3.mnc;
|
||||
int i7 = configuration4.mnc;
|
||||
if (i6 != i7) {
|
||||
configuration.mnc = i7;
|
||||
}
|
||||
w.a(configuration3, configuration4, configuration);
|
||||
int i8 = configuration3.touchscreen;
|
||||
int i9 = configuration4.touchscreen;
|
||||
if (i8 != i9) {
|
||||
configuration.touchscreen = i9;
|
||||
}
|
||||
int i10 = configuration3.keyboard;
|
||||
int i11 = configuration4.keyboard;
|
||||
if (i10 != i11) {
|
||||
configuration.keyboard = i11;
|
||||
}
|
||||
int i12 = configuration3.keyboardHidden;
|
||||
int i13 = configuration4.keyboardHidden;
|
||||
if (i12 != i13) {
|
||||
configuration.keyboardHidden = i13;
|
||||
}
|
||||
int i14 = configuration3.navigation;
|
||||
int i15 = configuration4.navigation;
|
||||
if (i14 != i15) {
|
||||
configuration.navigation = i15;
|
||||
}
|
||||
int i16 = configuration3.navigationHidden;
|
||||
int i17 = configuration4.navigationHidden;
|
||||
if (i16 != i17) {
|
||||
configuration.navigationHidden = i17;
|
||||
}
|
||||
int i18 = configuration3.orientation;
|
||||
int i19 = configuration4.orientation;
|
||||
if (i18 != i19) {
|
||||
configuration.orientation = i19;
|
||||
}
|
||||
int i20 = configuration3.screenLayout & 15;
|
||||
int i21 = configuration4.screenLayout & 15;
|
||||
if (i20 != i21) {
|
||||
configuration.screenLayout |= i21;
|
||||
}
|
||||
int i22 = configuration3.screenLayout & 192;
|
||||
int i23 = configuration4.screenLayout & 192;
|
||||
if (i22 != i23) {
|
||||
configuration.screenLayout |= i23;
|
||||
}
|
||||
int i24 = configuration3.screenLayout & 48;
|
||||
int i25 = configuration4.screenLayout & 48;
|
||||
if (i24 != i25) {
|
||||
configuration.screenLayout |= i25;
|
||||
}
|
||||
int i26 = configuration3.screenLayout & 768;
|
||||
int i27 = configuration4.screenLayout & 768;
|
||||
if (i26 != i27) {
|
||||
configuration.screenLayout |= i27;
|
||||
}
|
||||
int i28 = configuration3.colorMode & 3;
|
||||
int i29 = configuration4.colorMode & 3;
|
||||
if (i28 != i29) {
|
||||
configuration.colorMode |= i29;
|
||||
}
|
||||
int i30 = configuration3.colorMode & 12;
|
||||
int i31 = configuration4.colorMode & 12;
|
||||
if (i30 != i31) {
|
||||
configuration.colorMode |= i31;
|
||||
}
|
||||
int i32 = configuration3.uiMode & 15;
|
||||
int i33 = configuration4.uiMode & 15;
|
||||
if (i32 != i33) {
|
||||
configuration.uiMode |= i33;
|
||||
}
|
||||
int i34 = configuration3.uiMode & 48;
|
||||
int i35 = configuration4.uiMode & 48;
|
||||
if (i34 != i35) {
|
||||
configuration.uiMode |= i35;
|
||||
}
|
||||
int i36 = configuration3.screenWidthDp;
|
||||
int i37 = configuration4.screenWidthDp;
|
||||
if (i36 != i37) {
|
||||
configuration.screenWidthDp = i37;
|
||||
}
|
||||
int i38 = configuration3.screenHeightDp;
|
||||
int i39 = configuration4.screenHeightDp;
|
||||
if (i38 != i39) {
|
||||
configuration.screenHeightDp = i39;
|
||||
}
|
||||
int i40 = configuration3.smallestScreenWidthDp;
|
||||
int i41 = configuration4.smallestScreenWidthDp;
|
||||
if (i40 != i41) {
|
||||
configuration.smallestScreenWidthDp = i41;
|
||||
}
|
||||
int i42 = configuration3.densityDpi;
|
||||
int i43 = configuration4.densityDpi;
|
||||
if (i42 != i43) {
|
||||
configuration.densityDpi = i43;
|
||||
}
|
||||
}
|
||||
}
|
||||
Configuration u3 = LayoutInflaterFactory2C0351E.u(context, D3, q4, configuration, true);
|
||||
C0407d c0407d = new C0407d(context, 2132017801);
|
||||
c0407d.a(u3);
|
||||
try {
|
||||
if (context.getTheme() != null) {
|
||||
F.p.a(c0407d.getTheme());
|
||||
}
|
||||
} catch (NullPointerException unused3) {
|
||||
}
|
||||
context = c0407d;
|
||||
}
|
||||
super.attachBaseContext(context);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void closeOptionsMenu() {
|
||||
AbstractC0354a supportActionBar = getSupportActionBar();
|
||||
if (getWindow().hasFeature(0)) {
|
||||
if (supportActionBar == null || !supportActionBar.a()) {
|
||||
super.closeOptionsMenu();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // C.AbstractActivityC0048l, android.app.Activity, android.view.Window.Callback
|
||||
public boolean dispatchKeyEvent(KeyEvent keyEvent) {
|
||||
int keyCode = keyEvent.getKeyCode();
|
||||
AbstractC0354a supportActionBar = getSupportActionBar();
|
||||
if (keyCode == 82 && supportActionBar != null && supportActionBar.j(keyEvent)) {
|
||||
return true;
|
||||
}
|
||||
return super.dispatchKeyEvent(keyEvent);
|
||||
}
|
||||
|
||||
public final void f() {
|
||||
q0.m(getWindow().getDecorView(), this);
|
||||
View decorView = getWindow().getDecorView();
|
||||
Intrinsics.checkNotNullParameter(decorView, "<this>");
|
||||
decorView.setTag(com.adif.elcanomovil.R.id.view_tree_view_model_store_owner, this);
|
||||
m3.d.D(getWindow().getDecorView(), this);
|
||||
AbstractC0106b.H(getWindow().getDecorView(), this);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public <T extends View> T findViewById(int i) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.x();
|
||||
return (T) layoutInflaterFactory2C0351E.f6528l.findViewById(i);
|
||||
}
|
||||
|
||||
public r getDelegate() {
|
||||
if (this.mDelegate == null) {
|
||||
ExecutorC0369p executorC0369p = r.f6658a;
|
||||
this.mDelegate = new LayoutInflaterFactory2C0351E(this, null, this, this);
|
||||
}
|
||||
return this.mDelegate;
|
||||
}
|
||||
|
||||
public InterfaceC0355b getDrawerToggleDelegate() {
|
||||
((LayoutInflaterFactory2C0351E) getDelegate()).getClass();
|
||||
return new C0338b(4);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public MenuInflater getMenuInflater() {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
if (layoutInflaterFactory2C0351E.p == null) {
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
layoutInflaterFactory2C0351E.p = new C0412i(abstractC0354a != null ? abstractC0354a.e() : layoutInflaterFactory2C0351E.f6527k);
|
||||
}
|
||||
return layoutInflaterFactory2C0351E.p;
|
||||
}
|
||||
|
||||
@Override // android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context
|
||||
public Resources getResources() {
|
||||
Resources resources = this.mResources;
|
||||
if (resources == null) {
|
||||
int i = X0.f7643a;
|
||||
}
|
||||
return resources == null ? super.getResources() : resources;
|
||||
}
|
||||
|
||||
public AbstractC0354a getSupportActionBar() {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
return layoutInflaterFactory2C0351E.f6531o;
|
||||
}
|
||||
|
||||
@Override // C.L
|
||||
public Intent getSupportParentActivityIntent() {
|
||||
return AbstractC0044h.b(this);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void invalidateOptionsMenu() {
|
||||
getDelegate().b();
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity, android.content.ComponentCallbacks
|
||||
public void onConfigurationChanged(Configuration configuration) {
|
||||
super.onConfigurationChanged(configuration);
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
if (layoutInflaterFactory2C0351E.f6500F && layoutInflaterFactory2C0351E.f6541z) {
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.g();
|
||||
}
|
||||
}
|
||||
C0487t a2 = C0487t.a();
|
||||
Context context = layoutInflaterFactory2C0351E.f6527k;
|
||||
synchronized (a2) {
|
||||
E0 e02 = a2.f7745a;
|
||||
synchronized (e02) {
|
||||
s.g gVar = (s.g) e02.f7514b.get(context);
|
||||
if (gVar != null) {
|
||||
gVar.a();
|
||||
}
|
||||
}
|
||||
}
|
||||
layoutInflaterFactory2C0351E.f6511R = new Configuration(layoutInflaterFactory2C0351E.f6527k.getResources().getConfiguration());
|
||||
layoutInflaterFactory2C0351E.o(false, false);
|
||||
if (this.mResources != null) {
|
||||
this.mResources.updateConfiguration(super.getResources().getConfiguration(), super.getResources().getDisplayMetrics());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.Window.Callback
|
||||
public void onContentChanged() {
|
||||
onSupportContentChanged();
|
||||
}
|
||||
|
||||
public void onCreateSupportNavigateUpTaskStack(C.M m4) {
|
||||
m4.getClass();
|
||||
Intent supportParentActivityIntent = getSupportParentActivityIntent();
|
||||
if (supportParentActivityIntent == null) {
|
||||
supportParentActivityIntent = AbstractC0044h.b(this);
|
||||
}
|
||||
if (supportParentActivityIntent != null) {
|
||||
ComponentName component = supportParentActivityIntent.getComponent();
|
||||
if (component == null) {
|
||||
component = supportParentActivityIntent.resolveActivity(m4.f234b.getPackageManager());
|
||||
}
|
||||
m4.a(component);
|
||||
m4.f233a.add(supportParentActivityIntent);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.P, android.app.Activity
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
getDelegate().f();
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.KeyEvent.Callback
|
||||
public boolean onKeyDown(int i, KeyEvent keyEvent) {
|
||||
return super.onKeyDown(i, keyEvent);
|
||||
}
|
||||
|
||||
public void onLocalesChanged(K.i iVar) {
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.P, b.o, android.app.Activity, android.view.Window.Callback
|
||||
public final boolean onMenuItemSelected(int i, MenuItem menuItem) {
|
||||
if (super.onMenuItemSelected(i, menuItem)) {
|
||||
return true;
|
||||
}
|
||||
AbstractC0354a supportActionBar = getSupportActionBar();
|
||||
if (menuItem.getItemId() != 16908332 || supportActionBar == null || (supportActionBar.d() & 4) == 0) {
|
||||
return false;
|
||||
}
|
||||
return onSupportNavigateUp();
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.Window.Callback
|
||||
public boolean onMenuOpened(int i, Menu menu) {
|
||||
return super.onMenuOpened(i, menu);
|
||||
}
|
||||
|
||||
public void onNightModeChanged(int i) {
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity, android.view.Window.Callback
|
||||
public void onPanelClosed(int i, Menu menu) {
|
||||
super.onPanelClosed(i, menu);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onPostCreate(Bundle bundle) {
|
||||
super.onPostCreate(bundle);
|
||||
((LayoutInflaterFactory2C0351E) getDelegate()).x();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.P, android.app.Activity
|
||||
public void onPostResume() {
|
||||
super.onPostResume();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.m(true);
|
||||
}
|
||||
}
|
||||
|
||||
public void onPrepareSupportNavigateUpTaskStack(C.M m4) {
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.P, android.app.Activity
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
((LayoutInflaterFactory2C0351E) getDelegate()).o(true, false);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.P, android.app.Activity
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.m(false);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public void onSupportActionModeFinished(AbstractC0405b abstractC0405b) {
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public void onSupportActionModeStarted(AbstractC0405b abstractC0405b) {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void onSupportContentChanged() {
|
||||
}
|
||||
|
||||
public boolean onSupportNavigateUp() {
|
||||
Intent supportParentActivityIntent = getSupportParentActivityIntent();
|
||||
if (supportParentActivityIntent == null) {
|
||||
return false;
|
||||
}
|
||||
if (!supportShouldUpRecreateTask(supportParentActivityIntent)) {
|
||||
supportNavigateUpTo(supportParentActivityIntent);
|
||||
return true;
|
||||
}
|
||||
C.M m4 = new C.M(this);
|
||||
onCreateSupportNavigateUpTaskStack(m4);
|
||||
onPrepareSupportNavigateUpTaskStack(m4);
|
||||
m4.b();
|
||||
try {
|
||||
finishAffinity();
|
||||
return true;
|
||||
} catch (IllegalStateException unused) {
|
||||
finish();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onTitleChanged(CharSequence charSequence, int i) {
|
||||
super.onTitleChanged(charSequence, i);
|
||||
getDelegate().m(charSequence);
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public AbstractC0405b onWindowStartingSupportActionMode(InterfaceC0404a interfaceC0404a) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void openOptionsMenu() {
|
||||
AbstractC0354a supportActionBar = getSupportActionBar();
|
||||
if (getWindow().hasFeature(0)) {
|
||||
if (supportActionBar == null || !supportActionBar.k()) {
|
||||
super.openOptionsMenu();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity
|
||||
public void setContentView(int i) {
|
||||
f();
|
||||
getDelegate().j(i);
|
||||
}
|
||||
|
||||
public void setSupportActionBar(Toolbar toolbar) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) getDelegate();
|
||||
if (layoutInflaterFactory2C0351E.f6526j instanceof Activity) {
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a instanceof T) {
|
||||
throw new IllegalStateException("This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.");
|
||||
}
|
||||
layoutInflaterFactory2C0351E.p = null;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.h();
|
||||
}
|
||||
layoutInflaterFactory2C0351E.f6531o = null;
|
||||
if (toolbar != null) {
|
||||
Object obj = layoutInflaterFactory2C0351E.f6526j;
|
||||
N n4 = new N(toolbar, obj instanceof Activity ? ((Activity) obj).getTitle() : layoutInflaterFactory2C0351E.f6532q, layoutInflaterFactory2C0351E.f6529m);
|
||||
layoutInflaterFactory2C0351E.f6531o = n4;
|
||||
layoutInflaterFactory2C0351E.f6529m.f6672b = n4.f6558c;
|
||||
toolbar.setBackInvokedCallbackEnabled(true);
|
||||
} else {
|
||||
layoutInflaterFactory2C0351E.f6529m.f6672b = null;
|
||||
}
|
||||
layoutInflaterFactory2C0351E.b();
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSupportProgress(int i) {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSupportProgressBarIndeterminate(boolean z3) {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSupportProgressBarIndeterminateVisibility(boolean z3) {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSupportProgressBarVisibility(boolean z3) {
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context
|
||||
public void setTheme(int i) {
|
||||
super.setTheme(i);
|
||||
((LayoutInflaterFactory2C0351E) getDelegate()).f6513T = i;
|
||||
}
|
||||
|
||||
public AbstractC0405b startSupportActionMode(InterfaceC0404a interfaceC0404a) {
|
||||
return getDelegate().n(interfaceC0404a);
|
||||
}
|
||||
|
||||
public void supportInvalidateOptionsMenu() {
|
||||
getDelegate().b();
|
||||
}
|
||||
|
||||
public void supportNavigateUpTo(Intent intent) {
|
||||
navigateUpTo(intent);
|
||||
}
|
||||
|
||||
public boolean supportRequestWindowFeature(int i) {
|
||||
return getDelegate().h(i);
|
||||
}
|
||||
|
||||
public boolean supportShouldUpRecreateTask(Intent intent) {
|
||||
return shouldUpRecreateTask(intent);
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity
|
||||
public void setContentView(View view) {
|
||||
f();
|
||||
getDelegate().k(view);
|
||||
}
|
||||
|
||||
public AbstractActivityC0364k(int i) {
|
||||
super(i);
|
||||
getSavedStateRegistry().c(DELEGATE_TAG, new C0363j(this));
|
||||
addOnContextAvailableListener(new com.adif.elcanomovil.main.q(this, 2));
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void setContentView(View view, ViewGroup.LayoutParams layoutParams) {
|
||||
f();
|
||||
getDelegate().l(view, layoutParams);
|
||||
}
|
||||
}
|
||||
70
apk_decompiled/sources/g/AbstractC0348B.java
Normal file
70
apk_decompiled/sources/g/AbstractC0348B.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.IntentFilter;
|
||||
import android.view.MenuItem;
|
||||
|
||||
/* renamed from: g.B, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0348B {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Object f6477a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Object f6478b;
|
||||
|
||||
public AbstractC0348B(Context context) {
|
||||
this.f6477a = context;
|
||||
}
|
||||
|
||||
public void c() {
|
||||
C0347A c0347a = (C0347A) this.f6477a;
|
||||
if (c0347a != null) {
|
||||
try {
|
||||
((LayoutInflaterFactory2C0351E) this.f6478b).f6527k.unregisterReceiver(c0347a);
|
||||
} catch (IllegalArgumentException unused) {
|
||||
}
|
||||
this.f6477a = null;
|
||||
}
|
||||
}
|
||||
|
||||
public abstract IntentFilter d();
|
||||
|
||||
public abstract int e();
|
||||
|
||||
public MenuItem f(MenuItem menuItem) {
|
||||
if (!(menuItem instanceof I.a)) {
|
||||
return menuItem;
|
||||
}
|
||||
I.a aVar = (I.a) menuItem;
|
||||
if (((s.j) this.f6478b) == null) {
|
||||
this.f6478b = new s.j(0);
|
||||
}
|
||||
MenuItem menuItem2 = (MenuItem) ((s.j) this.f6478b).get(aVar);
|
||||
if (menuItem2 != null) {
|
||||
return menuItem2;
|
||||
}
|
||||
l.t tVar = new l.t((Context) this.f6477a, aVar);
|
||||
((s.j) this.f6478b).put(aVar, tVar);
|
||||
return tVar;
|
||||
}
|
||||
|
||||
public abstract void g();
|
||||
|
||||
public void h() {
|
||||
c();
|
||||
IntentFilter d4 = d();
|
||||
if (d4.countActions() == 0) {
|
||||
return;
|
||||
}
|
||||
if (((C0347A) this.f6477a) == null) {
|
||||
this.f6477a = new C0347A(this);
|
||||
}
|
||||
((LayoutInflaterFactory2C0351E) this.f6478b).f6527k.registerReceiver((C0347A) this.f6477a, d4);
|
||||
}
|
||||
|
||||
public AbstractC0348B(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E) {
|
||||
this.f6478b = layoutInflaterFactory2C0351E;
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/g/AbstractC0354a.java
Normal file
50
apk_decompiled/sources/g/AbstractC0354a.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.KeyEvent;
|
||||
import k.AbstractC0405b;
|
||||
|
||||
/* renamed from: g.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0354a {
|
||||
public boolean a() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract boolean b();
|
||||
|
||||
public abstract void c(boolean z3);
|
||||
|
||||
public abstract int d();
|
||||
|
||||
public abstract Context e();
|
||||
|
||||
public boolean f() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract void g();
|
||||
|
||||
public void h() {
|
||||
}
|
||||
|
||||
public abstract boolean i(int i, KeyEvent keyEvent);
|
||||
|
||||
public boolean j(KeyEvent keyEvent) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean k() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract void l(boolean z3);
|
||||
|
||||
public abstract void m(boolean z3);
|
||||
|
||||
public abstract void n(CharSequence charSequence);
|
||||
|
||||
public AbstractC0405b o(F.i iVar) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/g/AbstractC0367n.java
Normal file
11
apk_decompiled/sources/g/AbstractC0367n.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package g;
|
||||
|
||||
import android.os.LocaleList;
|
||||
|
||||
/* renamed from: g.n, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0367n {
|
||||
public static LocaleList a(String str) {
|
||||
return LocaleList.forLanguageTags(str);
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/g/AbstractC0368o.java
Normal file
16
apk_decompiled/sources/g/AbstractC0368o.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package g;
|
||||
|
||||
import android.app.LocaleManager;
|
||||
import android.os.LocaleList;
|
||||
|
||||
/* renamed from: g.o, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0368o {
|
||||
public static LocaleList a(Object obj) {
|
||||
return ((LocaleManager) obj).getApplicationLocales();
|
||||
}
|
||||
|
||||
public static void b(Object obj, LocaleList localeList) {
|
||||
((LocaleManager) obj).setApplicationLocales(localeList);
|
||||
}
|
||||
}
|
||||
22
apk_decompiled/sources/g/C0347A.java
Normal file
22
apk_decompiled/sources/g/C0347A.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package g;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
/* renamed from: g.A, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0347A extends BroadcastReceiver {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0348B f6476a;
|
||||
|
||||
public C0347A(AbstractC0348B abstractC0348B) {
|
||||
this.f6476a = abstractC0348B;
|
||||
}
|
||||
|
||||
@Override // android.content.BroadcastReceiver
|
||||
public final void onReceive(Context context, Intent intent) {
|
||||
this.f6476a.g();
|
||||
}
|
||||
}
|
||||
43
apk_decompiled/sources/g/C0349C.java
Normal file
43
apk_decompiled/sources/g/C0349C.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package g;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import androidx.appcompat.widget.ContentFrameLayout;
|
||||
import k.C0407d;
|
||||
|
||||
/* renamed from: g.C, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0349C extends ContentFrameLayout {
|
||||
public final /* synthetic */ LayoutInflaterFactory2C0351E i;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0349C(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, C0407d c0407d) {
|
||||
super(c0407d, null);
|
||||
this.i = layoutInflaterFactory2C0351E;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final boolean dispatchKeyEvent(KeyEvent keyEvent) {
|
||||
return this.i.v(keyEvent) || super.dispatchKeyEvent(keyEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final boolean onInterceptTouchEvent(MotionEvent motionEvent) {
|
||||
if (motionEvent.getAction() == 0) {
|
||||
int x3 = (int) motionEvent.getX();
|
||||
int y3 = (int) motionEvent.getY();
|
||||
if (x3 < -5 || y3 < -5 || x3 > getWidth() + 5 || y3 > getHeight() + 5) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.i;
|
||||
layoutInflaterFactory2C0351E.t(layoutInflaterFactory2C0351E.A(0), true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return super.onInterceptTouchEvent(motionEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final void setBackgroundResource(int i) {
|
||||
setBackgroundDrawable(AbstractC0106b.m(getContext(), i));
|
||||
}
|
||||
}
|
||||
53
apk_decompiled/sources/g/C0350D.java
Normal file
53
apk_decompiled/sources/g/C0350D.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package g;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import k.C0407d;
|
||||
import l.C0431i;
|
||||
|
||||
/* renamed from: g.D, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0350D {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6479a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f6480b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f6481c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f6482d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public C0349C f6483e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public View f6484f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public View f6485g;
|
||||
public l.m h;
|
||||
public C0431i i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public C0407d f6486j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public boolean f6487k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public boolean f6488l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public boolean f6489m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public boolean f6490n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public boolean f6491o;
|
||||
public Bundle p;
|
||||
}
|
||||
17
apk_decompiled/sources/g/C0352F.java
Normal file
17
apk_decompiled/sources/g/C0352F.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package g;
|
||||
|
||||
import O.InterfaceC0069j;
|
||||
import android.view.KeyEvent;
|
||||
|
||||
/* renamed from: g.F, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class C0352F implements InterfaceC0069j {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ DialogC0353G f6542a;
|
||||
|
||||
@Override // O.InterfaceC0069j
|
||||
public final boolean superDispatchKeyEvent(KeyEvent keyEvent) {
|
||||
return this.f6542a.e(keyEvent);
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/g/C0356c.java
Normal file
33
apk_decompiled/sources/g/C0356c.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package g;
|
||||
|
||||
import android.content.DialogInterface;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
|
||||
/* renamed from: g.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0356c implements AdapterView.OnItemClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0360g f6599a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ C0357d f6600b;
|
||||
|
||||
public C0356c(C0357d c0357d, C0360g c0360g) {
|
||||
this.f6600b = c0357d;
|
||||
this.f6599a = c0360g;
|
||||
}
|
||||
|
||||
@Override // android.widget.AdapterView.OnItemClickListener
|
||||
public final void onItemClick(AdapterView adapterView, View view, int i, long j4) {
|
||||
C0357d c0357d = this.f6600b;
|
||||
DialogInterface.OnClickListener onClickListener = c0357d.p;
|
||||
C0360g c0360g = this.f6599a;
|
||||
onClickListener.onClick(c0360g.f6625b, i);
|
||||
if (c0357d.f6615r) {
|
||||
return;
|
||||
}
|
||||
c0360g.f6625b.dismiss();
|
||||
}
|
||||
}
|
||||
70
apk_decompiled/sources/g/C0357d.java
Normal file
70
apk_decompiled/sources/g/C0357d.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package g;
|
||||
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import c1.DialogInterfaceOnDismissListenerC0282b;
|
||||
|
||||
/* renamed from: g.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0357d {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ContextThemeWrapper f6601a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final LayoutInflater f6602b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Drawable f6603c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public CharSequence f6604d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public View f6605e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public CharSequence f6606f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public CharSequence f6607g;
|
||||
public DialogInterface.OnClickListener h;
|
||||
public String i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public com.adif.elcanomovil.uiDialog.a f6608j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public String f6609k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public com.adif.elcanomovil.uiDialog.a f6610l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public DialogInterfaceOnDismissListenerC0282b f6611m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public l.n f6612n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public Object f6613o;
|
||||
public DialogInterface.OnClickListener p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public ConstraintLayout f6614q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f6615r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public int f6616s = -1;
|
||||
|
||||
public C0357d(ContextThemeWrapper contextThemeWrapper) {
|
||||
this.f6601a = contextThemeWrapper;
|
||||
this.f6602b = (LayoutInflater) contextThemeWrapper.getSystemService("layout_inflater");
|
||||
}
|
||||
}
|
||||
17
apk_decompiled/sources/g/C0359f.java
Normal file
17
apk_decompiled/sources/g/C0359f.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package g;
|
||||
|
||||
import android.widget.ArrayAdapter;
|
||||
|
||||
/* renamed from: g.f, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0359f extends ArrayAdapter {
|
||||
@Override // android.widget.ArrayAdapter, android.widget.Adapter
|
||||
public final long getItemId(int i) {
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override // android.widget.BaseAdapter, android.widget.Adapter
|
||||
public final boolean hasStableIds() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
193
apk_decompiled/sources/g/C0360g.java
Normal file
193
apk_decompiled/sources/g/C0360g.java
Normal file
@@ -0,0 +1,193 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import android.view.ViewStub;
|
||||
import android.view.Window;
|
||||
import android.widget.Button;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.TextView;
|
||||
import androidx.appcompat.app.AlertController$RecycleListView;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.core.widget.NestedScrollView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import f.AbstractC0336a;
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/* renamed from: g.g, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0360g {
|
||||
|
||||
/* renamed from: A, reason: collision with root package name */
|
||||
public final int f6618A;
|
||||
|
||||
/* renamed from: B, reason: collision with root package name */
|
||||
public final int f6619B;
|
||||
|
||||
/* renamed from: C, reason: collision with root package name */
|
||||
public final int f6620C;
|
||||
|
||||
/* renamed from: D, reason: collision with root package name */
|
||||
public final boolean f6621D;
|
||||
|
||||
/* renamed from: E, reason: collision with root package name */
|
||||
public final HandlerC0358e f6622E;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Context f6624a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final DialogInterfaceC0362i f6625b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final Window f6626c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public CharSequence f6627d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public CharSequence f6628e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public AlertController$RecycleListView f6629f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public ConstraintLayout f6630g;
|
||||
public Button i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public CharSequence f6631j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public Message f6632k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public Button f6633l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public CharSequence f6634m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public Message f6635n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public Button f6636o;
|
||||
public CharSequence p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public Message f6637q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public NestedScrollView f6638r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public Drawable f6639s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public ImageView f6640t;
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public TextView f6641u;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public TextView f6642v;
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public View f6643w;
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public ListAdapter f6644x;
|
||||
|
||||
/* renamed from: z, reason: collision with root package name */
|
||||
public final int f6646z;
|
||||
public boolean h = false;
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public int f6645y = -1;
|
||||
|
||||
/* renamed from: F, reason: collision with root package name */
|
||||
public final com.google.android.material.datepicker.j f6623F = new com.google.android.material.datepicker.j(this, 1);
|
||||
|
||||
/* JADX WARN: Type inference failed for: r6v1, types: [android.os.Handler, g.e] */
|
||||
public C0360g(Context context, DialogInterfaceC0362i dialogInterfaceC0362i, Window window) {
|
||||
this.f6624a = context;
|
||||
this.f6625b = dialogInterfaceC0362i;
|
||||
this.f6626c = window;
|
||||
?? handler = new Handler();
|
||||
handler.f6617a = new WeakReference(dialogInterfaceC0362i);
|
||||
this.f6622E = handler;
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(null, AbstractC0336a.f6426e, R.attr.alertDialogStyle, 0);
|
||||
this.f6646z = obtainStyledAttributes.getResourceId(0, 0);
|
||||
obtainStyledAttributes.getResourceId(2, 0);
|
||||
this.f6618A = obtainStyledAttributes.getResourceId(4, 0);
|
||||
obtainStyledAttributes.getResourceId(5, 0);
|
||||
this.f6619B = obtainStyledAttributes.getResourceId(7, 0);
|
||||
this.f6620C = obtainStyledAttributes.getResourceId(3, 0);
|
||||
this.f6621D = obtainStyledAttributes.getBoolean(6, true);
|
||||
obtainStyledAttributes.getDimensionPixelSize(1, 0);
|
||||
obtainStyledAttributes.recycle();
|
||||
dialogInterfaceC0362i.c().h(1);
|
||||
}
|
||||
|
||||
public static boolean a(View view) {
|
||||
if (view.onCheckIsTextEditor()) {
|
||||
return true;
|
||||
}
|
||||
if (!(view instanceof ViewGroup)) {
|
||||
return false;
|
||||
}
|
||||
ViewGroup viewGroup = (ViewGroup) view;
|
||||
int childCount = viewGroup.getChildCount();
|
||||
while (childCount > 0) {
|
||||
childCount--;
|
||||
if (a(viewGroup.getChildAt(childCount))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static ViewGroup b(View view, View view2) {
|
||||
if (view == null) {
|
||||
if (view2 instanceof ViewStub) {
|
||||
view2 = ((ViewStub) view2).inflate();
|
||||
}
|
||||
return (ViewGroup) view2;
|
||||
}
|
||||
if (view2 != null) {
|
||||
ViewParent parent = view2.getParent();
|
||||
if (parent instanceof ViewGroup) {
|
||||
((ViewGroup) parent).removeView(view2);
|
||||
}
|
||||
}
|
||||
if (view instanceof ViewStub) {
|
||||
view = ((ViewStub) view).inflate();
|
||||
}
|
||||
return (ViewGroup) view;
|
||||
}
|
||||
|
||||
public final void c(int i, CharSequence charSequence, DialogInterface.OnClickListener onClickListener) {
|
||||
Message obtainMessage = onClickListener != null ? this.f6622E.obtainMessage(i, onClickListener) : null;
|
||||
if (i == -3) {
|
||||
this.p = charSequence;
|
||||
this.f6637q = obtainMessage;
|
||||
} else if (i == -2) {
|
||||
this.f6634m = charSequence;
|
||||
this.f6635n = obtainMessage;
|
||||
} else {
|
||||
if (i != -1) {
|
||||
throw new IllegalArgumentException("Button does not exist");
|
||||
}
|
||||
this.f6631j = charSequence;
|
||||
this.f6632k = obtainMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
114
apk_decompiled/sources/g/C0361h.java
Normal file
114
apk_decompiled/sources/g/C0361h.java
Normal file
@@ -0,0 +1,114 @@
|
||||
package g;
|
||||
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import androidx.appcompat.app.AlertController$RecycleListView;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
|
||||
/* renamed from: g.h, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0361h {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0357d f6647a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f6648b;
|
||||
|
||||
public C0361h(Context context) {
|
||||
int f2 = DialogInterfaceC0362i.f(context, 0);
|
||||
this.f6647a = new C0357d(new ContextThemeWrapper(context, DialogInterfaceC0362i.f(context, f2)));
|
||||
this.f6648b = f2;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r7v1, types: [android.widget.ListAdapter] */
|
||||
/* JADX WARN: Type inference failed for: r7v3 */
|
||||
/* JADX WARN: Type inference failed for: r7v4 */
|
||||
public final DialogInterfaceC0362i a() {
|
||||
C0357d c0357d = this.f6647a;
|
||||
DialogInterfaceC0362i dialogInterfaceC0362i = new DialogInterfaceC0362i(c0357d.f6601a, this.f6648b);
|
||||
View view = c0357d.f6605e;
|
||||
C0360g c0360g = dialogInterfaceC0362i.f6649f;
|
||||
if (view != null) {
|
||||
c0360g.f6643w = view;
|
||||
} else {
|
||||
CharSequence charSequence = c0357d.f6604d;
|
||||
if (charSequence != null) {
|
||||
c0360g.f6627d = charSequence;
|
||||
TextView textView = c0360g.f6641u;
|
||||
if (textView != null) {
|
||||
textView.setText(charSequence);
|
||||
}
|
||||
}
|
||||
Drawable drawable = c0357d.f6603c;
|
||||
if (drawable != null) {
|
||||
c0360g.f6639s = drawable;
|
||||
ImageView imageView = c0360g.f6640t;
|
||||
if (imageView != null) {
|
||||
imageView.setVisibility(0);
|
||||
c0360g.f6640t.setImageDrawable(drawable);
|
||||
}
|
||||
}
|
||||
}
|
||||
CharSequence charSequence2 = c0357d.f6606f;
|
||||
if (charSequence2 != null) {
|
||||
c0360g.f6628e = charSequence2;
|
||||
TextView textView2 = c0360g.f6642v;
|
||||
if (textView2 != null) {
|
||||
textView2.setText(charSequence2);
|
||||
}
|
||||
}
|
||||
CharSequence charSequence3 = c0357d.f6607g;
|
||||
if (charSequence3 != null) {
|
||||
c0360g.c(-1, charSequence3, c0357d.h);
|
||||
}
|
||||
String str = c0357d.i;
|
||||
if (str != null) {
|
||||
c0360g.c(-2, str, c0357d.f6608j);
|
||||
}
|
||||
String str2 = c0357d.f6609k;
|
||||
if (str2 != null) {
|
||||
c0360g.c(-3, str2, c0357d.f6610l);
|
||||
}
|
||||
if (c0357d.f6613o != null) {
|
||||
AlertController$RecycleListView alertController$RecycleListView = (AlertController$RecycleListView) c0357d.f6602b.inflate(c0360g.f6618A, (ViewGroup) null);
|
||||
int i = c0357d.f6615r ? c0360g.f6619B : c0360g.f6620C;
|
||||
Object obj = c0357d.f6613o;
|
||||
?? r7 = obj;
|
||||
if (obj == null) {
|
||||
r7 = new ArrayAdapter(c0357d.f6601a, i, R.id.text1, (Object[]) null);
|
||||
}
|
||||
c0360g.f6644x = r7;
|
||||
c0360g.f6645y = c0357d.f6616s;
|
||||
if (c0357d.p != null) {
|
||||
alertController$RecycleListView.setOnItemClickListener(new C0356c(c0357d, c0360g));
|
||||
}
|
||||
if (c0357d.f6615r) {
|
||||
alertController$RecycleListView.setChoiceMode(1);
|
||||
}
|
||||
c0360g.f6629f = alertController$RecycleListView;
|
||||
}
|
||||
ConstraintLayout constraintLayout = c0357d.f6614q;
|
||||
if (constraintLayout != null) {
|
||||
c0360g.f6630g = constraintLayout;
|
||||
c0360g.h = false;
|
||||
}
|
||||
dialogInterfaceC0362i.setCancelable(true);
|
||||
dialogInterfaceC0362i.setCanceledOnTouchOutside(true);
|
||||
dialogInterfaceC0362i.setOnCancelListener(null);
|
||||
dialogInterfaceC0362i.setOnDismissListener(c0357d.f6611m);
|
||||
l.n nVar = c0357d.f6612n;
|
||||
if (nVar != null) {
|
||||
dialogInterfaceC0362i.setOnKeyListener(nVar);
|
||||
}
|
||||
return dialogInterfaceC0362i;
|
||||
}
|
||||
}
|
||||
43
apk_decompiled/sources/g/C0363j.java
Normal file
43
apk_decompiled/sources/g/C0363j.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package g;
|
||||
|
||||
import android.os.Bundle;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashSet;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import v0.C0639d;
|
||||
import v0.InterfaceC0638c;
|
||||
|
||||
/* renamed from: g.j, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0363j implements InterfaceC0638c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6650a = 0;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Object f6651b;
|
||||
|
||||
public C0363j(C0639d registry) {
|
||||
Intrinsics.checkNotNullParameter(registry, "registry");
|
||||
this.f6651b = new LinkedHashSet();
|
||||
registry.c("androidx.savedstate.Restarter", this);
|
||||
}
|
||||
|
||||
@Override // v0.InterfaceC0638c
|
||||
public final Bundle a() {
|
||||
switch (this.f6650a) {
|
||||
case 0:
|
||||
Bundle bundle = new Bundle();
|
||||
((AbstractActivityC0364k) this.f6651b).getDelegate().getClass();
|
||||
return bundle;
|
||||
default:
|
||||
Bundle bundle2 = new Bundle();
|
||||
bundle2.putStringArrayList("classes_to_restore", new ArrayList<>((LinkedHashSet) this.f6651b));
|
||||
return bundle2;
|
||||
}
|
||||
}
|
||||
|
||||
public C0363j(AbstractActivityC0364k abstractActivityC0364k) {
|
||||
this.f6651b = abstractActivityC0364k;
|
||||
}
|
||||
}
|
||||
201
apk_decompiled/sources/g/C0372t.java
Normal file
201
apk_decompiled/sources/g/C0372t.java
Normal file
@@ -0,0 +1,201 @@
|
||||
package g;
|
||||
|
||||
import O.D0;
|
||||
import O.InterfaceC0080v;
|
||||
import O.X;
|
||||
import O.t0;
|
||||
import O.u0;
|
||||
import O.v0;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Build;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.Window;
|
||||
import android.widget.FrameLayout;
|
||||
import androidx.appcompat.widget.ActionBarContextView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import java.util.WeakHashMap;
|
||||
import m.InterfaceC0455c0;
|
||||
import m.Z0;
|
||||
|
||||
/* renamed from: g.t, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0372t implements InterfaceC0080v, InterfaceC0455c0, l.x {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6667a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ LayoutInflaterFactory2C0351E f6668b;
|
||||
|
||||
public /* synthetic */ C0372t(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, int i) {
|
||||
this.f6667a = i;
|
||||
this.f6668b = layoutInflaterFactory2C0351E;
|
||||
}
|
||||
|
||||
@Override // l.x
|
||||
public void b(l.m mVar, boolean z3) {
|
||||
C0350D c0350d;
|
||||
switch (this.f6667a) {
|
||||
case 2:
|
||||
this.f6668b.s(mVar);
|
||||
return;
|
||||
default:
|
||||
l.m k4 = mVar.k();
|
||||
int i = 0;
|
||||
boolean z4 = k4 != mVar;
|
||||
if (z4) {
|
||||
mVar = k4;
|
||||
}
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6668b;
|
||||
C0350D[] c0350dArr = layoutInflaterFactory2C0351E.f6505L;
|
||||
int length = c0350dArr != null ? c0350dArr.length : 0;
|
||||
while (true) {
|
||||
if (i >= length) {
|
||||
c0350d = null;
|
||||
} else {
|
||||
c0350d = c0350dArr[i];
|
||||
if (c0350d == null || c0350d.h != mVar) {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (c0350d != null) {
|
||||
if (!z4) {
|
||||
layoutInflaterFactory2C0351E.t(c0350d, z3);
|
||||
return;
|
||||
} else {
|
||||
layoutInflaterFactory2C0351E.r(c0350d.f6479a, c0350d, k4);
|
||||
layoutInflaterFactory2C0351E.t(c0350d, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // l.x
|
||||
public boolean f(l.m mVar) {
|
||||
Window.Callback callback;
|
||||
switch (this.f6667a) {
|
||||
case 2:
|
||||
Window.Callback callback2 = this.f6668b.f6528l.getCallback();
|
||||
if (callback2 == null) {
|
||||
return true;
|
||||
}
|
||||
callback2.onMenuOpened(108, mVar);
|
||||
return true;
|
||||
default:
|
||||
if (mVar != mVar.k()) {
|
||||
return true;
|
||||
}
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6668b;
|
||||
if (!layoutInflaterFactory2C0351E.f6500F || (callback = layoutInflaterFactory2C0351E.f6528l.getCallback()) == null || layoutInflaterFactory2C0351E.f6510Q) {
|
||||
return true;
|
||||
}
|
||||
callback.onMenuOpened(108, mVar);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // O.InterfaceC0080v
|
||||
public D0 g(View view, D0 d02) {
|
||||
boolean z3;
|
||||
boolean z4;
|
||||
D0 d03 = d02;
|
||||
int d4 = d03.d();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6668b;
|
||||
layoutInflaterFactory2C0351E.getClass();
|
||||
int d5 = d03.d();
|
||||
ActionBarContextView actionBarContextView = layoutInflaterFactory2C0351E.f6537v;
|
||||
if (actionBarContextView == null || !(actionBarContextView.getLayoutParams() instanceof ViewGroup.MarginLayoutParams)) {
|
||||
z3 = false;
|
||||
} else {
|
||||
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutInflaterFactory2C0351E.f6537v.getLayoutParams();
|
||||
if (layoutInflaterFactory2C0351E.f6537v.isShown()) {
|
||||
if (layoutInflaterFactory2C0351E.f6521c0 == null) {
|
||||
layoutInflaterFactory2C0351E.f6521c0 = new Rect();
|
||||
layoutInflaterFactory2C0351E.f6522d0 = new Rect();
|
||||
}
|
||||
Rect rect = layoutInflaterFactory2C0351E.f6521c0;
|
||||
Rect rect2 = layoutInflaterFactory2C0351E.f6522d0;
|
||||
rect.set(d03.b(), d03.d(), d03.c(), d03.a());
|
||||
Z0.a(layoutInflaterFactory2C0351E.f6495A, rect, rect2);
|
||||
int i = rect.top;
|
||||
int i4 = rect.left;
|
||||
int i5 = rect.right;
|
||||
ViewGroup viewGroup = layoutInflaterFactory2C0351E.f6495A;
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
D0 a2 = O.M.a(viewGroup);
|
||||
int b4 = a2 == null ? 0 : a2.b();
|
||||
int c4 = a2 == null ? 0 : a2.c();
|
||||
if (marginLayoutParams.topMargin == i && marginLayoutParams.leftMargin == i4 && marginLayoutParams.rightMargin == i5) {
|
||||
z4 = false;
|
||||
} else {
|
||||
marginLayoutParams.topMargin = i;
|
||||
marginLayoutParams.leftMargin = i4;
|
||||
marginLayoutParams.rightMargin = i5;
|
||||
z4 = true;
|
||||
}
|
||||
Context context = layoutInflaterFactory2C0351E.f6527k;
|
||||
if (i <= 0 || layoutInflaterFactory2C0351E.f6497C != null) {
|
||||
View view2 = layoutInflaterFactory2C0351E.f6497C;
|
||||
if (view2 != null) {
|
||||
ViewGroup.MarginLayoutParams marginLayoutParams2 = (ViewGroup.MarginLayoutParams) view2.getLayoutParams();
|
||||
int i6 = marginLayoutParams2.height;
|
||||
int i7 = marginLayoutParams.topMargin;
|
||||
if (i6 != i7 || marginLayoutParams2.leftMargin != b4 || marginLayoutParams2.rightMargin != c4) {
|
||||
marginLayoutParams2.height = i7;
|
||||
marginLayoutParams2.leftMargin = b4;
|
||||
marginLayoutParams2.rightMargin = c4;
|
||||
layoutInflaterFactory2C0351E.f6497C.setLayoutParams(marginLayoutParams2);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
View view3 = new View(context);
|
||||
layoutInflaterFactory2C0351E.f6497C = view3;
|
||||
view3.setVisibility(8);
|
||||
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(-1, marginLayoutParams.topMargin, 51);
|
||||
layoutParams.leftMargin = b4;
|
||||
layoutParams.rightMargin = c4;
|
||||
layoutInflaterFactory2C0351E.f6495A.addView(layoutInflaterFactory2C0351E.f6497C, -1, layoutParams);
|
||||
}
|
||||
View view4 = layoutInflaterFactory2C0351E.f6497C;
|
||||
r8 = view4 != null;
|
||||
if (r8 && view4.getVisibility() != 0) {
|
||||
View view5 = layoutInflaterFactory2C0351E.f6497C;
|
||||
view5.setBackgroundColor((view5.getWindowSystemUiVisibility() & 8192) != 0 ? D.h.getColor(context, R.color.abc_decor_view_status_guard_light) : D.h.getColor(context, R.color.abc_decor_view_status_guard));
|
||||
}
|
||||
if (!layoutInflaterFactory2C0351E.f6502H && r8) {
|
||||
d5 = 0;
|
||||
}
|
||||
boolean z5 = r8;
|
||||
r8 = z4;
|
||||
z3 = z5;
|
||||
} else if (marginLayoutParams.topMargin != 0) {
|
||||
marginLayoutParams.topMargin = 0;
|
||||
z3 = false;
|
||||
} else {
|
||||
z3 = false;
|
||||
r8 = false;
|
||||
}
|
||||
if (r8) {
|
||||
layoutInflaterFactory2C0351E.f6537v.setLayoutParams(marginLayoutParams);
|
||||
}
|
||||
}
|
||||
View view6 = layoutInflaterFactory2C0351E.f6497C;
|
||||
if (view6 != null) {
|
||||
view6.setVisibility(z3 ? 0 : 8);
|
||||
}
|
||||
if (d4 != d5) {
|
||||
int b5 = d03.b();
|
||||
int c5 = d03.c();
|
||||
int a4 = d03.a();
|
||||
v0 u0Var = Build.VERSION.SDK_INT >= 30 ? new u0(d03) : new t0(d03);
|
||||
u0Var.f(G.c.b(b5, d5, c5, a4));
|
||||
d03 = u0Var.b();
|
||||
}
|
||||
return X.f(view, d03);
|
||||
}
|
||||
}
|
||||
178
apk_decompiled/sources/g/DialogC0353G.java
Normal file
178
apk_decompiled/sources/g/DialogC0353G.java
Normal file
@@ -0,0 +1,178 @@
|
||||
package g;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.R;
|
||||
import android.os.Bundle;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.lifecycle.q0;
|
||||
import k.AbstractC0405b;
|
||||
import k.InterfaceC0404a;
|
||||
|
||||
/* renamed from: g.G, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public class DialogC0353G extends b.p implements InterfaceC0365l {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public LayoutInflaterFactory2C0351E f6543d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final C0352F f6544e;
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public DialogC0353G(android.content.Context r5, int r6) {
|
||||
/*
|
||||
r4 = this;
|
||||
r0 = 1
|
||||
r1 = 2130903463(0x7f0301a7, float:1.7413745E38)
|
||||
if (r6 != 0) goto L15
|
||||
android.util.TypedValue r2 = new android.util.TypedValue
|
||||
r2.<init>()
|
||||
android.content.res.Resources$Theme r3 = r5.getTheme()
|
||||
r3.resolveAttribute(r1, r2, r0)
|
||||
int r2 = r2.resourceId
|
||||
goto L16
|
||||
L15:
|
||||
r2 = r6
|
||||
L16:
|
||||
r4.<init>(r5, r2)
|
||||
g.F r2 = new g.F
|
||||
r2.<init>(r4)
|
||||
r4.f6544e = r2
|
||||
g.r r4 = r4.c()
|
||||
if (r6 != 0) goto L34
|
||||
android.util.TypedValue r6 = new android.util.TypedValue
|
||||
r6.<init>()
|
||||
android.content.res.Resources$Theme r5 = r5.getTheme()
|
||||
r5.resolveAttribute(r1, r6, r0)
|
||||
int r6 = r6.resourceId
|
||||
L34:
|
||||
r5 = r4
|
||||
g.E r5 = (g.LayoutInflaterFactory2C0351E) r5
|
||||
r5.f6513T = r6
|
||||
r4.e()
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: g.DialogC0353G.<init>(android.content.Context, int):void");
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public final void addContentView(View view, ViewGroup.LayoutParams layoutParams) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) c();
|
||||
layoutInflaterFactory2C0351E.x();
|
||||
((ViewGroup) layoutInflaterFactory2C0351E.f6495A.findViewById(R.id.content)).addView(view, layoutParams);
|
||||
layoutInflaterFactory2C0351E.f6529m.a(layoutInflaterFactory2C0351E.f6528l.getCallback());
|
||||
}
|
||||
|
||||
public final r c() {
|
||||
if (this.f6543d == null) {
|
||||
ExecutorC0369p executorC0369p = r.f6658a;
|
||||
this.f6543d = new LayoutInflaterFactory2C0351E(getContext(), getWindow(), this, this);
|
||||
}
|
||||
return this.f6543d;
|
||||
}
|
||||
|
||||
public final void d() {
|
||||
q0.m(getWindow().getDecorView(), this);
|
||||
m3.d.D(getWindow().getDecorView(), this);
|
||||
AbstractC0106b.H(getWindow().getDecorView(), this);
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog, android.content.DialogInterface
|
||||
public final void dismiss() {
|
||||
super.dismiss();
|
||||
c().f();
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog, android.view.Window.Callback
|
||||
public final boolean dispatchKeyEvent(KeyEvent keyEvent) {
|
||||
getWindow().getDecorView();
|
||||
C0352F c0352f = this.f6544e;
|
||||
if (c0352f == null) {
|
||||
return false;
|
||||
}
|
||||
return c0352f.f6542a.e(keyEvent);
|
||||
}
|
||||
|
||||
public final boolean e(KeyEvent keyEvent) {
|
||||
return super.dispatchKeyEvent(keyEvent);
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog
|
||||
public final View findViewById(int i) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) c();
|
||||
layoutInflaterFactory2C0351E.x();
|
||||
return layoutInflaterFactory2C0351E.f6528l.findViewById(i);
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog
|
||||
public final void invalidateOptionsMenu() {
|
||||
c().b();
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public void onCreate(Bundle bundle) {
|
||||
c().a();
|
||||
super.onCreate(bundle);
|
||||
c().e();
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public final void onStop() {
|
||||
super.onStop();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) c();
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.m(false);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public final void onSupportActionModeFinished(AbstractC0405b abstractC0405b) {
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public final void onSupportActionModeStarted(AbstractC0405b abstractC0405b) {
|
||||
}
|
||||
|
||||
@Override // g.InterfaceC0365l
|
||||
public final AbstractC0405b onWindowStartingSupportActionMode(InterfaceC0404a interfaceC0404a) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public void setContentView(int i) {
|
||||
d();
|
||||
c().j(i);
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog
|
||||
public void setTitle(CharSequence charSequence) {
|
||||
super.setTitle(charSequence);
|
||||
c().m(charSequence);
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public void setContentView(View view) {
|
||||
d();
|
||||
c().k(view);
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog
|
||||
public final void setTitle(int i) {
|
||||
super.setTitle(i);
|
||||
c().m(getContext().getString(i));
|
||||
}
|
||||
|
||||
@Override // b.p, android.app.Dialog
|
||||
public void setContentView(View view, ViewGroup.LayoutParams layoutParams) {
|
||||
d();
|
||||
c().l(view, layoutParams);
|
||||
}
|
||||
}
|
||||
86
apk_decompiled/sources/g/DialogInterfaceC0362i.java
Normal file
86
apk_decompiled/sources/g/DialogInterfaceC0362i.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.util.TypedValue;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.KeyEvent;
|
||||
import android.widget.TextView;
|
||||
import androidx.core.widget.NestedScrollView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import kotlin.KotlinVersion;
|
||||
|
||||
/* renamed from: g.i, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class DialogInterfaceC0362i extends DialogC0353G implements DialogInterface {
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final C0360g f6649f;
|
||||
|
||||
public DialogInterfaceC0362i(ContextThemeWrapper contextThemeWrapper, int i) {
|
||||
super(contextThemeWrapper, f(contextThemeWrapper, i));
|
||||
this.f6649f = new C0360g(getContext(), this, getWindow());
|
||||
}
|
||||
|
||||
public static int f(Context context, int i) {
|
||||
if (((i >>> 24) & KotlinVersion.MAX_COMPONENT_VALUE) >= 1) {
|
||||
return i;
|
||||
}
|
||||
TypedValue typedValue = new TypedValue();
|
||||
context.getTheme().resolveAttribute(R.attr.alertDialogTheme, typedValue, true);
|
||||
return typedValue.resourceId;
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:113:0x0292 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:116:0x0262 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:118:0x024e */
|
||||
/* JADX WARN: Removed duplicated region for block: B:119:0x01e3 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:45:0x01c6 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:48:0x01d0 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:51:0x024c */
|
||||
/* JADX WARN: Removed duplicated region for block: B:58:0x0260 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:64:0x0273 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:76:0x02a2 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:89:0x02c8 */
|
||||
@Override // g.DialogC0353G, b.p, android.app.Dialog
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void onCreate(android.os.Bundle r19) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 778
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: g.DialogInterfaceC0362i.onCreate(android.os.Bundle):void");
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog, android.view.KeyEvent.Callback
|
||||
public final boolean onKeyDown(int i, KeyEvent keyEvent) {
|
||||
NestedScrollView nestedScrollView = this.f6649f.f6638r;
|
||||
if (nestedScrollView == null || !nestedScrollView.j(keyEvent)) {
|
||||
return super.onKeyDown(i, keyEvent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.app.Dialog, android.view.KeyEvent.Callback
|
||||
public final boolean onKeyUp(int i, KeyEvent keyEvent) {
|
||||
NestedScrollView nestedScrollView = this.f6649f.f6638r;
|
||||
if (nestedScrollView == null || !nestedScrollView.j(keyEvent)) {
|
||||
return super.onKeyUp(i, keyEvent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // g.DialogC0353G, android.app.Dialog
|
||||
public final void setTitle(CharSequence charSequence) {
|
||||
super.setTitle(charSequence);
|
||||
C0360g c0360g = this.f6649f;
|
||||
c0360g.f6627d = charSequence;
|
||||
TextView textView = c0360g.f6641u;
|
||||
if (textView != null) {
|
||||
textView.setText(charSequence);
|
||||
}
|
||||
}
|
||||
}
|
||||
53
apk_decompiled/sources/g/ExecutorC0369p.java
Normal file
53
apk_decompiled/sources/g/ExecutorC0369p.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package g;
|
||||
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
/* renamed from: g.p, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class ExecutorC0369p implements Executor {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Object f6654a = new Object();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ArrayDeque f6655b = new ArrayDeque();
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final ExecutorC0370q f6656c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Runnable f6657d;
|
||||
|
||||
public ExecutorC0369p(ExecutorC0370q executorC0370q) {
|
||||
this.f6656c = executorC0370q;
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
synchronized (this.f6654a) {
|
||||
try {
|
||||
Runnable runnable = (Runnable) this.f6655b.poll();
|
||||
this.f6657d = runnable;
|
||||
if (runnable != null) {
|
||||
this.f6656c.execute(runnable);
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Executor
|
||||
public final void execute(Runnable runnable) {
|
||||
synchronized (this.f6654a) {
|
||||
try {
|
||||
this.f6655b.add(new F.n(7, this, runnable));
|
||||
if (this.f6657d == null) {
|
||||
a();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
12
apk_decompiled/sources/g/ExecutorC0370q.java
Normal file
12
apk_decompiled/sources/g/ExecutorC0370q.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package g;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
/* renamed from: g.q, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class ExecutorC0370q implements Executor {
|
||||
@Override // java.util.concurrent.Executor
|
||||
public final void execute(Runnable runnable) {
|
||||
new Thread(runnable).start();
|
||||
}
|
||||
}
|
||||
30
apk_decompiled/sources/g/H.java
Normal file
30
apk_decompiled/sources/g/H.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package g;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.os.Bundle;
|
||||
import androidx.fragment.app.DialogInterfaceOnCancelListenerC0174y;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class H extends DialogInterfaceOnCancelListenerC0174y {
|
||||
@Override // androidx.fragment.app.DialogInterfaceOnCancelListenerC0174y
|
||||
public Dialog onCreateDialog(Bundle bundle) {
|
||||
return new DialogC0353G(getContext(), getTheme());
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.DialogInterfaceOnCancelListenerC0174y
|
||||
public void setupDialog(Dialog dialog, int i) {
|
||||
if (!(dialog instanceof DialogC0353G)) {
|
||||
super.setupDialog(dialog, i);
|
||||
return;
|
||||
}
|
||||
DialogC0353G dialogC0353G = (DialogC0353G) dialog;
|
||||
if (i != 1 && i != 2) {
|
||||
if (i != 3) {
|
||||
return;
|
||||
} else {
|
||||
dialog.getWindow().addFlags(24);
|
||||
}
|
||||
}
|
||||
dialogC0353G.c().h(1);
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/g/HandlerC0358e.java
Normal file
27
apk_decompiled/sources/g/HandlerC0358e.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package g;
|
||||
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/* renamed from: g.e, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class HandlerC0358e extends Handler {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public WeakReference f6617a;
|
||||
|
||||
@Override // android.os.Handler
|
||||
public final void handleMessage(Message message) {
|
||||
int i = message.what;
|
||||
if (i == -3 || i == -2 || i == -1) {
|
||||
((DialogInterface.OnClickListener) message.obj).onClick((DialogInterface) this.f6617a.get(), message.what);
|
||||
} else {
|
||||
if (i != 1) {
|
||||
return;
|
||||
}
|
||||
((DialogInterface) message.obj).dismiss();
|
||||
}
|
||||
}
|
||||
}
|
||||
68
apk_decompiled/sources/g/I.java
Normal file
68
apk_decompiled/sources/g/I.java
Normal file
@@ -0,0 +1,68 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.view.View;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class I implements View.OnClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final View f6545a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final String f6546b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Method f6547c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Context f6548d;
|
||||
|
||||
public I(View view, String str) {
|
||||
this.f6545a = view;
|
||||
this.f6546b = str;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
String str;
|
||||
Method method;
|
||||
if (this.f6547c == null) {
|
||||
View view2 = this.f6545a;
|
||||
Context context = view2.getContext();
|
||||
while (true) {
|
||||
String str2 = this.f6546b;
|
||||
if (context == null) {
|
||||
int id = view2.getId();
|
||||
if (id == -1) {
|
||||
str = "";
|
||||
} else {
|
||||
str = " with id '" + view2.getContext().getResources().getResourceEntryName(id) + "'";
|
||||
}
|
||||
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Could not find method ", str2, "(View) in a parent or ancestor Context for android:onClick attribute defined on view ");
|
||||
p.append(view2.getClass());
|
||||
p.append(str);
|
||||
throw new IllegalStateException(p.toString());
|
||||
}
|
||||
try {
|
||||
if (!context.isRestricted() && (method = context.getClass().getMethod(str2, View.class)) != null) {
|
||||
this.f6547c = method;
|
||||
this.f6548d = context;
|
||||
}
|
||||
} catch (NoSuchMethodException unused) {
|
||||
}
|
||||
context = context instanceof ContextWrapper ? ((ContextWrapper) context).getBaseContext() : null;
|
||||
}
|
||||
}
|
||||
try {
|
||||
this.f6547c.invoke(this.f6548d, view);
|
||||
} catch (IllegalAccessException e4) {
|
||||
throw new IllegalStateException("Could not execute non-public method for android:onClick", e4);
|
||||
} catch (InvocationTargetException e5) {
|
||||
throw new IllegalStateException("Could not execute method for android:onClick", e5);
|
||||
}
|
||||
}
|
||||
}
|
||||
6
apk_decompiled/sources/g/InterfaceC0355b.java
Normal file
6
apk_decompiled/sources/g/InterfaceC0355b.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package g;
|
||||
|
||||
/* renamed from: g.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0355b {
|
||||
}
|
||||
14
apk_decompiled/sources/g/InterfaceC0365l.java
Normal file
14
apk_decompiled/sources/g/InterfaceC0365l.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package g;
|
||||
|
||||
import k.AbstractC0405b;
|
||||
import k.InterfaceC0404a;
|
||||
|
||||
/* renamed from: g.l, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0365l {
|
||||
void onSupportActionModeFinished(AbstractC0405b abstractC0405b);
|
||||
|
||||
void onSupportActionModeStarted(AbstractC0405b abstractC0405b);
|
||||
|
||||
AbstractC0405b onWindowStartingSupportActionMode(InterfaceC0404a interfaceC0404a);
|
||||
}
|
||||
72
apk_decompiled/sources/g/J.java
Normal file
72
apk_decompiled/sources/g/J.java
Normal file
@@ -0,0 +1,72 @@
|
||||
package g;
|
||||
|
||||
import android.R;
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import androidx.appcompat.widget.AppCompatButton;
|
||||
import java.lang.reflect.Constructor;
|
||||
import m.C0442A;
|
||||
import m.C0480p;
|
||||
import m.C0482q;
|
||||
import m.W;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class J {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final Class[] f6549b = {Context.class, AttributeSet.class};
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final int[] f6550c = {R.attr.onClick};
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final String[] f6551d = {"android.widget.", "android.view.", "android.webkit."};
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static final s.j f6552e = new s.j(0);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Object[] f6553a = new Object[2];
|
||||
|
||||
public C0480p a(Context context, AttributeSet attributeSet) {
|
||||
return new C0480p(context, attributeSet);
|
||||
}
|
||||
|
||||
public AppCompatButton b(Context context, AttributeSet attributeSet) {
|
||||
return new AppCompatButton(context, attributeSet);
|
||||
}
|
||||
|
||||
public C0482q c(Context context, AttributeSet attributeSet) {
|
||||
return new C0482q(context, attributeSet, com.adif.elcanomovil.R.attr.checkboxStyle);
|
||||
}
|
||||
|
||||
public C0442A d(Context context, AttributeSet attributeSet) {
|
||||
return new C0442A(context, attributeSet);
|
||||
}
|
||||
|
||||
public W e(Context context, AttributeSet attributeSet) {
|
||||
return new W(context, attributeSet);
|
||||
}
|
||||
|
||||
public final View f(Context context, String str, String str2) {
|
||||
String concat;
|
||||
s.j jVar = f6552e;
|
||||
Constructor constructor = (Constructor) jVar.get(str);
|
||||
if (constructor == null) {
|
||||
if (str2 != null) {
|
||||
try {
|
||||
concat = str2.concat(str);
|
||||
} catch (Exception unused) {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
concat = str;
|
||||
}
|
||||
constructor = Class.forName(concat, false, context.getClassLoader()).asSubclass(View.class).getConstructor(f6549b);
|
||||
jVar.put(str, constructor);
|
||||
}
|
||||
constructor.setAccessible(true);
|
||||
return (View) constructor.newInstance(this.f6553a);
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/g/K.java
Normal file
10
apk_decompiled/sources/g/K.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package g;
|
||||
|
||||
import kotlin.io.ConstantsKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class K {
|
||||
public static int a() {
|
||||
return ConstantsKt.MINIMUM_BLOCK_SIZE;
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/g/L.java
Normal file
10
apk_decompiled/sources/g/L.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package g;
|
||||
|
||||
import android.app.Service;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class L extends Service {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final /* synthetic */ int f6554a = 0;
|
||||
}
|
||||
1271
apk_decompiled/sources/g/LayoutInflaterFactory2C0351E.java
Normal file
1271
apk_decompiled/sources/g/LayoutInflaterFactory2C0351E.java
Normal file
File diff suppressed because it is too large
Load Diff
33
apk_decompiled/sources/g/M.java
Normal file
33
apk_decompiled/sources/g/M.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package g;
|
||||
|
||||
import android.view.MenuItem;
|
||||
import l.InterfaceC0433k;
|
||||
import m.S0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class M implements S0, InterfaceC0433k {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ N f6555a;
|
||||
|
||||
public /* synthetic */ M(N n4) {
|
||||
this.f6555a = n4;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public boolean c(l.m mVar, MenuItem menuItem) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public void i(l.m mVar) {
|
||||
N n4 = this.f6555a;
|
||||
boolean p = n4.f6556a.f7624a.p();
|
||||
y yVar = n4.f6557b;
|
||||
if (p) {
|
||||
yVar.onPanelClosed(108, mVar);
|
||||
} else if (yVar.onPreparePanel(0, null, mVar)) {
|
||||
yVar.onMenuOpened(108, mVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
196
apk_decompiled/sources/g/N.java
Normal file
196
apk_decompiled/sources/g/N.java
Normal file
@@ -0,0 +1,196 @@
|
||||
package g;
|
||||
|
||||
import O.X;
|
||||
import android.content.Context;
|
||||
import android.view.KeyCharacterMap;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.Menu;
|
||||
import androidx.appcompat.widget.ActionMenuView;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import java.util.ArrayList;
|
||||
import java.util.WeakHashMap;
|
||||
import m.C0472l;
|
||||
import m.Q0;
|
||||
import m.V0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class N extends AbstractC0354a {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final V0 f6556a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final y f6557b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final M f6558c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f6559d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f6560e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f6561f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final ArrayList f6562g = new ArrayList();
|
||||
public final F0.c h = new F0.c(this, 7);
|
||||
|
||||
public N(Toolbar toolbar, CharSequence charSequence, y yVar) {
|
||||
M m4 = new M(this);
|
||||
V0 v02 = new V0(toolbar, false);
|
||||
this.f6556a = v02;
|
||||
yVar.getClass();
|
||||
this.f6557b = yVar;
|
||||
v02.f7632k = yVar;
|
||||
toolbar.setOnMenuItemClickListener(m4);
|
||||
if (!v02.f7630g) {
|
||||
v02.h = charSequence;
|
||||
if ((v02.f7625b & 8) != 0) {
|
||||
Toolbar toolbar2 = v02.f7624a;
|
||||
toolbar2.setTitle(charSequence);
|
||||
if (v02.f7630g) {
|
||||
X.k(toolbar2.getRootView(), charSequence);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.f6558c = new M(this);
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean a() {
|
||||
C0472l c0472l;
|
||||
ActionMenuView actionMenuView = this.f6556a.f7624a.f2480a;
|
||||
return (actionMenuView == null || (c0472l = actionMenuView.f2416t) == null || !c0472l.c()) ? false : true;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean b() {
|
||||
l.o oVar;
|
||||
Q0 q02 = this.f6556a.f7624a.f2472M;
|
||||
if (q02 == null || (oVar = q02.f7604b) == null) {
|
||||
return false;
|
||||
}
|
||||
if (q02 == null) {
|
||||
oVar = null;
|
||||
}
|
||||
if (oVar == null) {
|
||||
return true;
|
||||
}
|
||||
oVar.collapseActionView();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void c(boolean z3) {
|
||||
if (z3 == this.f6561f) {
|
||||
return;
|
||||
}
|
||||
this.f6561f = z3;
|
||||
ArrayList arrayList = this.f6562g;
|
||||
if (arrayList.size() <= 0) {
|
||||
return;
|
||||
}
|
||||
arrayList.get(0).getClass();
|
||||
throw new ClassCastException();
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final int d() {
|
||||
return this.f6556a.f7625b;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final Context e() {
|
||||
return this.f6556a.f7624a.getContext();
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean f() {
|
||||
V0 v02 = this.f6556a;
|
||||
Toolbar toolbar = v02.f7624a;
|
||||
F0.c cVar = this.h;
|
||||
toolbar.removeCallbacks(cVar);
|
||||
Toolbar toolbar2 = v02.f7624a;
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
toolbar2.postOnAnimation(cVar);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void g() {
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void h() {
|
||||
this.f6556a.f7624a.removeCallbacks(this.h);
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean i(int i, KeyEvent keyEvent) {
|
||||
Menu p = p();
|
||||
if (p == null) {
|
||||
return false;
|
||||
}
|
||||
p.setQwertyMode(KeyCharacterMap.load(keyEvent.getDeviceId()).getKeyboardType() != 1);
|
||||
return p.performShortcut(i, keyEvent, 0);
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean j(KeyEvent keyEvent) {
|
||||
if (keyEvent.getAction() == 1) {
|
||||
k();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean k() {
|
||||
return this.f6556a.f7624a.v();
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void l(boolean z3) {
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void m(boolean z3) {
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void n(CharSequence charSequence) {
|
||||
V0 v02 = this.f6556a;
|
||||
if (v02.f7630g) {
|
||||
return;
|
||||
}
|
||||
v02.h = charSequence;
|
||||
if ((v02.f7625b & 8) != 0) {
|
||||
Toolbar toolbar = v02.f7624a;
|
||||
toolbar.setTitle(charSequence);
|
||||
if (v02.f7630g) {
|
||||
X.k(toolbar.getRootView(), charSequence);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final Menu p() {
|
||||
boolean z3 = this.f6560e;
|
||||
V0 v02 = this.f6556a;
|
||||
if (!z3) {
|
||||
M.g gVar = new M.g(this);
|
||||
M m4 = new M(this);
|
||||
Toolbar toolbar = v02.f7624a;
|
||||
toolbar.f2473N = gVar;
|
||||
toolbar.f2474O = m4;
|
||||
ActionMenuView actionMenuView = toolbar.f2480a;
|
||||
if (actionMenuView != null) {
|
||||
actionMenuView.f2417u = gVar;
|
||||
actionMenuView.f2418v = m4;
|
||||
}
|
||||
this.f6560e = true;
|
||||
}
|
||||
return v02.f7624a.getMenu();
|
||||
}
|
||||
}
|
||||
47
apk_decompiled/sources/g/O.java
Normal file
47
apk_decompiled/sources/g/O.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package g;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class O {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static O f6563d;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public long f6564a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public long f6565b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f6566c;
|
||||
|
||||
public final void a(double d4, double d5, long j4) {
|
||||
double d6 = (0.01720197f * (((float) (j4 - 946728000000L)) / 8.64E7f)) + 6.24006f;
|
||||
double sin = (Math.sin(r3 * 3.0f) * 5.236000106378924E-6d) + (Math.sin(2.0f * r3) * 3.4906598739326E-4d) + (Math.sin(d6) * 0.03341960161924362d) + d6 + 1.796593063d + 3.141592653589793d;
|
||||
double sin2 = (Math.sin(2.0d * sin) * (-0.0069d)) + (Math.sin(d6) * 0.0053d) + ((float) Math.round((r2 - 9.0E-4f) - r6)) + 9.0E-4f + ((-d5) / 360.0d);
|
||||
double asin = Math.asin(Math.sin(0.4092797040939331d) * Math.sin(sin));
|
||||
double d7 = 0.01745329238474369d * d4;
|
||||
double sin3 = (Math.sin(-0.10471975803375244d) - (Math.sin(asin) * Math.sin(d7))) / (Math.cos(asin) * Math.cos(d7));
|
||||
if (sin3 >= 1.0d) {
|
||||
this.f6566c = 1;
|
||||
this.f6564a = -1L;
|
||||
this.f6565b = -1L;
|
||||
} else {
|
||||
if (sin3 <= -1.0d) {
|
||||
this.f6566c = 0;
|
||||
this.f6564a = -1L;
|
||||
this.f6565b = -1L;
|
||||
return;
|
||||
}
|
||||
double acos = (float) (Math.acos(sin3) / 6.283185307179586d);
|
||||
this.f6564a = Math.round((sin2 + acos) * 8.64E7d) + 946728000000L;
|
||||
long round = Math.round((sin2 - acos) * 8.64E7d) + 946728000000L;
|
||||
this.f6565b = round;
|
||||
if (round >= j4 || this.f6564a <= j4) {
|
||||
this.f6566c = 1;
|
||||
} else {
|
||||
this.f6566c = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/g/P.java
Normal file
11
apk_decompiled/sources/g/P.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package g;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class P {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f6567a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public long f6568b;
|
||||
}
|
||||
55
apk_decompiled/sources/g/Q.java
Normal file
55
apk_decompiled/sources/g/Q.java
Normal file
@@ -0,0 +1,55 @@
|
||||
package g;
|
||||
|
||||
import O.X;
|
||||
import android.view.View;
|
||||
import androidx.appcompat.widget.ActionBarOverlayLayout;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class Q extends m3.l {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6569a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ T f6570b;
|
||||
|
||||
public /* synthetic */ Q(T t2, int i) {
|
||||
this.f6569a = i;
|
||||
this.f6570b = t2;
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void a() {
|
||||
View view;
|
||||
T t2 = this.f6570b;
|
||||
switch (this.f6569a) {
|
||||
case 0:
|
||||
if (t2.f6590o && (view = t2.f6584g) != null) {
|
||||
view.setTranslationY(BitmapDescriptorFactory.HUE_RED);
|
||||
t2.f6581d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
t2.f6581d.setVisibility(8);
|
||||
t2.f6581d.setTransitioning(false);
|
||||
t2.f6593s = null;
|
||||
F.i iVar = t2.f6586k;
|
||||
if (iVar != null) {
|
||||
iVar.j(t2.f6585j);
|
||||
t2.f6585j = null;
|
||||
t2.f6586k = null;
|
||||
}
|
||||
ActionBarOverlayLayout actionBarOverlayLayout = t2.f6580c;
|
||||
if (actionBarOverlayLayout != null) {
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
O.J.c(actionBarOverlayLayout);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
t2.f6593s = null;
|
||||
t2.f6581d.requestLayout();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
129
apk_decompiled/sources/g/RunnableC0366m.java
Normal file
129
apk_decompiled/sources/g/RunnableC0366m.java
Normal file
@@ -0,0 +1,129 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/* renamed from: g.m, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class RunnableC0366m implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6652a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Context f6653b;
|
||||
|
||||
public /* synthetic */ RunnableC0366m(Context context, int i) {
|
||||
this.f6652a = i;
|
||||
this.f6653b = context;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:39:0x008b, code lost:
|
||||
|
||||
if (r2 != null) goto L29;
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:28:0x009a */
|
||||
@Override // java.lang.Runnable
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void run() {
|
||||
/*
|
||||
r10 = this;
|
||||
int r0 = r10.f6652a
|
||||
switch(r0) {
|
||||
case 0: goto L30;
|
||||
case 1: goto L14;
|
||||
default: goto L5;
|
||||
}
|
||||
L5:
|
||||
n.a r0 = new n.a
|
||||
r1 = 1
|
||||
r0.<init>(r1)
|
||||
f0.b r1 = s0.AbstractC0585d.f8373a
|
||||
r2 = 0
|
||||
android.content.Context r10 = r10.f6653b
|
||||
s0.AbstractC0585d.s(r10, r0, r1, r2)
|
||||
return
|
||||
L14:
|
||||
java.util.concurrent.ThreadPoolExecutor r3 = new java.util.concurrent.ThreadPoolExecutor
|
||||
java.util.concurrent.TimeUnit r8 = java.util.concurrent.TimeUnit.MILLISECONDS
|
||||
java.util.concurrent.LinkedBlockingQueue r9 = new java.util.concurrent.LinkedBlockingQueue
|
||||
r9.<init>()
|
||||
r5 = 1
|
||||
r6 = 0
|
||||
r4 = 0
|
||||
r3.<init>(r4, r5, r6, r8, r9)
|
||||
g.m r0 = new g.m
|
||||
android.content.Context r10 = r10.f6653b
|
||||
r1 = 2
|
||||
r0.<init>(r10, r1)
|
||||
r3.execute(r0)
|
||||
return
|
||||
L30:
|
||||
int r0 = android.os.Build.VERSION.SDK_INT
|
||||
r1 = 1
|
||||
r2 = 33
|
||||
if (r0 < r2) goto Lb2
|
||||
android.content.ComponentName r3 = new android.content.ComponentName
|
||||
android.content.Context r10 = r10.f6653b
|
||||
java.lang.String r4 = "androidx.appcompat.app.AppLocalesMetadataHolderService"
|
||||
r3.<init>(r10, r4)
|
||||
android.content.pm.PackageManager r4 = r10.getPackageManager()
|
||||
int r4 = r4.getComponentEnabledSetting(r3)
|
||||
if (r4 == r1) goto Lb2
|
||||
java.lang.String r4 = "locale"
|
||||
if (r0 < r2) goto L89
|
||||
s.f r0 = g.r.f6664g
|
||||
r0.getClass()
|
||||
s.a r2 = new s.a
|
||||
r2.<init>(r0)
|
||||
L58:
|
||||
boolean r0 = r2.hasNext()
|
||||
if (r0 == 0) goto L77
|
||||
java.lang.Object r0 = r2.next()
|
||||
java.lang.ref.WeakReference r0 = (java.lang.ref.WeakReference) r0
|
||||
java.lang.Object r0 = r0.get()
|
||||
g.r r0 = (g.r) r0
|
||||
if (r0 == 0) goto L58
|
||||
g.E r0 = (g.LayoutInflaterFactory2C0351E) r0
|
||||
android.content.Context r0 = r0.f6527k
|
||||
if (r0 == 0) goto L58
|
||||
java.lang.Object r0 = r0.getSystemService(r4)
|
||||
goto L78
|
||||
L77:
|
||||
r0 = 0
|
||||
L78:
|
||||
if (r0 == 0) goto L8e
|
||||
android.os.LocaleList r0 = g.AbstractC0368o.a(r0)
|
||||
K.i r2 = new K.i
|
||||
K.j r5 = new K.j
|
||||
r5.<init>(r0)
|
||||
r2.<init>(r5)
|
||||
goto L90
|
||||
L89:
|
||||
K.i r2 = g.r.f6660c
|
||||
if (r2 == 0) goto L8e
|
||||
goto L90
|
||||
L8e:
|
||||
K.i r2 = K.i.f971b
|
||||
L90:
|
||||
K.j r0 = r2.f972a
|
||||
android.os.LocaleList r0 = r0.f973a
|
||||
boolean r0 = r0.isEmpty()
|
||||
if (r0 == 0) goto Lab
|
||||
java.lang.String r0 = C.AbstractC0044h.e(r10)
|
||||
java.lang.Object r2 = r10.getSystemService(r4)
|
||||
if (r2 == 0) goto Lab
|
||||
android.os.LocaleList r0 = g.AbstractC0367n.a(r0)
|
||||
g.AbstractC0368o.b(r2, r0)
|
||||
Lab:
|
||||
android.content.pm.PackageManager r10 = r10.getPackageManager()
|
||||
r10.setComponentEnabledSetting(r3, r1, r1)
|
||||
Lb2:
|
||||
g.r.f6663f = r1
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: g.RunnableC0366m.run():void");
|
||||
}
|
||||
}
|
||||
59
apk_decompiled/sources/g/RunnableC0371s.java
Normal file
59
apk_decompiled/sources/g/RunnableC0371s.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package g;
|
||||
|
||||
import O.X;
|
||||
import O.h0;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import kotlin.io.ConstantsKt;
|
||||
|
||||
/* renamed from: g.s, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0371s implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6665a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ LayoutInflaterFactory2C0351E f6666b;
|
||||
|
||||
public /* synthetic */ RunnableC0371s(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, int i) {
|
||||
this.f6665a = i;
|
||||
this.f6666b = layoutInflaterFactory2C0351E;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
ViewGroup viewGroup;
|
||||
switch (this.f6665a) {
|
||||
case 0:
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6666b;
|
||||
if ((layoutInflaterFactory2C0351E.Z & 1) != 0) {
|
||||
layoutInflaterFactory2C0351E.w(0);
|
||||
}
|
||||
if ((layoutInflaterFactory2C0351E.Z & ConstantsKt.DEFAULT_BLOCK_SIZE) != 0) {
|
||||
layoutInflaterFactory2C0351E.w(108);
|
||||
}
|
||||
layoutInflaterFactory2C0351E.f6518Y = false;
|
||||
layoutInflaterFactory2C0351E.Z = 0;
|
||||
return;
|
||||
default:
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E2 = this.f6666b;
|
||||
layoutInflaterFactory2C0351E2.f6538w.showAtLocation(layoutInflaterFactory2C0351E2.f6537v, 55, 0, 0);
|
||||
h0 h0Var = layoutInflaterFactory2C0351E2.f6540y;
|
||||
if (h0Var != null) {
|
||||
h0Var.b();
|
||||
}
|
||||
if (!(layoutInflaterFactory2C0351E2.f6541z && (viewGroup = layoutInflaterFactory2C0351E2.f6495A) != null && viewGroup.isLaidOut())) {
|
||||
layoutInflaterFactory2C0351E2.f6537v.setAlpha(1.0f);
|
||||
layoutInflaterFactory2C0351E2.f6537v.setVisibility(0);
|
||||
return;
|
||||
}
|
||||
layoutInflaterFactory2C0351E2.f6537v.setAlpha(BitmapDescriptorFactory.HUE_RED);
|
||||
h0 a2 = X.a(layoutInflaterFactory2C0351E2.f6537v);
|
||||
a2.a(1.0f);
|
||||
layoutInflaterFactory2C0351E2.f6540y = a2;
|
||||
a2.d(new u(this, 0));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
165
apk_decompiled/sources/g/S.java
Normal file
165
apk_decompiled/sources/g/S.java
Normal file
@@ -0,0 +1,165 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import androidx.appcompat.widget.ActionBarContextView;
|
||||
import java.lang.ref.WeakReference;
|
||||
import k.AbstractC0405b;
|
||||
import k.C0412i;
|
||||
import k.InterfaceC0404a;
|
||||
import l.InterfaceC0433k;
|
||||
import m.C0472l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class S extends AbstractC0405b implements InterfaceC0433k {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final Context f6571c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final l.m f6572d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public F.i f6573e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public WeakReference f6574f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final /* synthetic */ T f6575g;
|
||||
|
||||
public S(T t2, Context context, F.i iVar) {
|
||||
this.f6575g = t2;
|
||||
this.f6571c = context;
|
||||
this.f6573e = iVar;
|
||||
l.m mVar = new l.m(context);
|
||||
mVar.f7250l = 1;
|
||||
this.f6572d = mVar;
|
||||
mVar.f7245e = this;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void a() {
|
||||
T t2 = this.f6575g;
|
||||
if (t2.i != this) {
|
||||
return;
|
||||
}
|
||||
if (t2.p) {
|
||||
t2.f6585j = this;
|
||||
t2.f6586k = this.f6573e;
|
||||
} else {
|
||||
this.f6573e.j(this);
|
||||
}
|
||||
this.f6573e = null;
|
||||
t2.p(false);
|
||||
ActionBarContextView actionBarContextView = t2.f6583f;
|
||||
if (actionBarContextView.f2375k == null) {
|
||||
actionBarContextView.e();
|
||||
}
|
||||
t2.f6580c.setHideOnContentScrollEnabled(t2.f6595u);
|
||||
t2.i = null;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final View b() {
|
||||
WeakReference weakReference = this.f6574f;
|
||||
if (weakReference != null) {
|
||||
return (View) weakReference.get();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public final boolean c(l.m mVar, MenuItem menuItem) {
|
||||
F.i iVar = this.f6573e;
|
||||
if (iVar != null) {
|
||||
return ((InterfaceC0404a) iVar.f490b).e(this, menuItem);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final l.m d() {
|
||||
return this.f6572d;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final MenuInflater e() {
|
||||
return new C0412i(this.f6571c);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final CharSequence f() {
|
||||
return this.f6575g.f6583f.getSubtitle();
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final CharSequence g() {
|
||||
return this.f6575g.f6583f.getTitle();
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void h() {
|
||||
if (this.f6575g.i != this) {
|
||||
return;
|
||||
}
|
||||
l.m mVar = this.f6572d;
|
||||
mVar.w();
|
||||
try {
|
||||
this.f6573e.f(this, mVar);
|
||||
} finally {
|
||||
mVar.v();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public final void i(l.m mVar) {
|
||||
if (this.f6573e == null) {
|
||||
return;
|
||||
}
|
||||
h();
|
||||
C0472l c0472l = this.f6575g.f6583f.f2370d;
|
||||
if (c0472l != null) {
|
||||
c0472l.n();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final boolean j() {
|
||||
return this.f6575g.f6583f.f2382s;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void k(View view) {
|
||||
this.f6575g.f6583f.setCustomView(view);
|
||||
this.f6574f = new WeakReference(view);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void l(int i) {
|
||||
m(this.f6575g.f6578a.getResources().getString(i));
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void m(CharSequence charSequence) {
|
||||
this.f6575g.f6583f.setSubtitle(charSequence);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void n(int i) {
|
||||
o(this.f6575g.f6578a.getResources().getString(i));
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void o(CharSequence charSequence) {
|
||||
this.f6575g.f6583f.setTitle(charSequence);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void p(boolean z3) {
|
||||
this.f6956b = z3;
|
||||
this.f6575g.f6583f.setTitleOptional(z3);
|
||||
}
|
||||
}
|
||||
516
apk_decompiled/sources/g/T.java
Normal file
516
apk_decompiled/sources/g/T.java
Normal file
@@ -0,0 +1,516 @@
|
||||
package g;
|
||||
|
||||
import O.X;
|
||||
import O.h0;
|
||||
import android.R;
|
||||
import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.TypedValue;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.KeyCharacterMap;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.View;
|
||||
import android.view.animation.AccelerateInterpolator;
|
||||
import android.view.animation.DecelerateInterpolator;
|
||||
import androidx.appcompat.widget.ActionBarContainer;
|
||||
import androidx.appcompat.widget.ActionBarContextView;
|
||||
import androidx.appcompat.widget.ActionBarOverlayLayout;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import f.AbstractC0336a;
|
||||
import java.util.ArrayList;
|
||||
import java.util.WeakHashMap;
|
||||
import k.AbstractC0405b;
|
||||
import k.C0413j;
|
||||
import k.C0414k;
|
||||
import k.InterfaceC0404a;
|
||||
import m.InterfaceC0456d;
|
||||
import m.InterfaceC0459e0;
|
||||
import m.Q0;
|
||||
import m.V0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class T extends AbstractC0354a implements InterfaceC0456d {
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public static final AccelerateInterpolator f6576y = new AccelerateInterpolator();
|
||||
|
||||
/* renamed from: z, reason: collision with root package name */
|
||||
public static final DecelerateInterpolator f6577z = new DecelerateInterpolator();
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Context f6578a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Context f6579b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public ActionBarOverlayLayout f6580c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public ActionBarContainer f6581d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public InterfaceC0459e0 f6582e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public ActionBarContextView f6583f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final View f6584g;
|
||||
public boolean h;
|
||||
public S i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public S f6585j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public F.i f6586k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public boolean f6587l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final ArrayList f6588m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public int f6589n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public boolean f6590o;
|
||||
public boolean p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public boolean f6591q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f6592r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public C0414k f6593s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public boolean f6594t;
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public boolean f6595u;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public final Q f6596v;
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public final Q f6597w;
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public final A.a f6598x;
|
||||
|
||||
public T(Activity activity, boolean z3) {
|
||||
new ArrayList();
|
||||
this.f6588m = new ArrayList();
|
||||
this.f6589n = 0;
|
||||
this.f6590o = true;
|
||||
this.f6592r = true;
|
||||
this.f6596v = new Q(this, 0);
|
||||
this.f6597w = new Q(this, 1);
|
||||
this.f6598x = new A.a(this, 29);
|
||||
View decorView = activity.getWindow().getDecorView();
|
||||
q(decorView);
|
||||
if (z3) {
|
||||
return;
|
||||
}
|
||||
this.f6584g = decorView.findViewById(R.id.content);
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean b() {
|
||||
Q0 q02;
|
||||
InterfaceC0459e0 interfaceC0459e0 = this.f6582e;
|
||||
if (interfaceC0459e0 == null || (q02 = ((V0) interfaceC0459e0).f7624a.f2472M) == null || q02.f7604b == null) {
|
||||
return false;
|
||||
}
|
||||
Q0 q03 = ((V0) interfaceC0459e0).f7624a.f2472M;
|
||||
l.o oVar = q03 == null ? null : q03.f7604b;
|
||||
if (oVar == null) {
|
||||
return true;
|
||||
}
|
||||
oVar.collapseActionView();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void c(boolean z3) {
|
||||
if (z3 == this.f6587l) {
|
||||
return;
|
||||
}
|
||||
this.f6587l = z3;
|
||||
ArrayList arrayList = this.f6588m;
|
||||
if (arrayList.size() <= 0) {
|
||||
return;
|
||||
}
|
||||
arrayList.get(0).getClass();
|
||||
throw new ClassCastException();
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final int d() {
|
||||
return ((V0) this.f6582e).f7625b;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final Context e() {
|
||||
if (this.f6579b == null) {
|
||||
TypedValue typedValue = new TypedValue();
|
||||
this.f6578a.getTheme().resolveAttribute(com.adif.elcanomovil.R.attr.actionBarWidgetTheme, typedValue, true);
|
||||
int i = typedValue.resourceId;
|
||||
if (i != 0) {
|
||||
this.f6579b = new ContextThemeWrapper(this.f6578a, i);
|
||||
} else {
|
||||
this.f6579b = this.f6578a;
|
||||
}
|
||||
}
|
||||
return this.f6579b;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void g() {
|
||||
r(this.f6578a.getResources().getBoolean(com.adif.elcanomovil.R.bool.abc_action_bar_embed_tabs));
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final boolean i(int i, KeyEvent keyEvent) {
|
||||
l.m mVar;
|
||||
S s4 = this.i;
|
||||
if (s4 == null || (mVar = s4.f6572d) == null) {
|
||||
return false;
|
||||
}
|
||||
mVar.setQwertyMode(KeyCharacterMap.load(keyEvent.getDeviceId()).getKeyboardType() != 1);
|
||||
return mVar.performShortcut(i, keyEvent, 0);
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void l(boolean z3) {
|
||||
if (this.h) {
|
||||
return;
|
||||
}
|
||||
int i = z3 ? 4 : 0;
|
||||
V0 v02 = (V0) this.f6582e;
|
||||
int i4 = v02.f7625b;
|
||||
this.h = true;
|
||||
v02.a((i & 4) | (i4 & (-5)));
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void m(boolean z3) {
|
||||
C0414k c0414k;
|
||||
this.f6594t = z3;
|
||||
if (z3 || (c0414k = this.f6593s) == null) {
|
||||
return;
|
||||
}
|
||||
c0414k.a();
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final void n(CharSequence charSequence) {
|
||||
V0 v02 = (V0) this.f6582e;
|
||||
if (v02.f7630g) {
|
||||
return;
|
||||
}
|
||||
v02.h = charSequence;
|
||||
if ((v02.f7625b & 8) != 0) {
|
||||
Toolbar toolbar = v02.f7624a;
|
||||
toolbar.setTitle(charSequence);
|
||||
if (v02.f7630g) {
|
||||
X.k(toolbar.getRootView(), charSequence);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0354a
|
||||
public final AbstractC0405b o(F.i iVar) {
|
||||
S s4 = this.i;
|
||||
if (s4 != null) {
|
||||
s4.a();
|
||||
}
|
||||
this.f6580c.setHideOnContentScrollEnabled(false);
|
||||
this.f6583f.e();
|
||||
S s5 = new S(this, this.f6583f.getContext(), iVar);
|
||||
l.m mVar = s5.f6572d;
|
||||
mVar.w();
|
||||
try {
|
||||
if (!((InterfaceC0404a) s5.f6573e.f490b).i(s5, mVar)) {
|
||||
return null;
|
||||
}
|
||||
this.i = s5;
|
||||
s5.h();
|
||||
this.f6583f.c(s5);
|
||||
p(true);
|
||||
return s5;
|
||||
} finally {
|
||||
mVar.v();
|
||||
}
|
||||
}
|
||||
|
||||
public final void p(boolean z3) {
|
||||
h0 i;
|
||||
h0 h0Var;
|
||||
if (z3) {
|
||||
if (!this.f6591q) {
|
||||
this.f6591q = true;
|
||||
ActionBarOverlayLayout actionBarOverlayLayout = this.f6580c;
|
||||
if (actionBarOverlayLayout != null) {
|
||||
actionBarOverlayLayout.setShowingForActionMode(true);
|
||||
}
|
||||
s(false);
|
||||
}
|
||||
} else if (this.f6591q) {
|
||||
this.f6591q = false;
|
||||
ActionBarOverlayLayout actionBarOverlayLayout2 = this.f6580c;
|
||||
if (actionBarOverlayLayout2 != null) {
|
||||
actionBarOverlayLayout2.setShowingForActionMode(false);
|
||||
}
|
||||
s(false);
|
||||
}
|
||||
if (!this.f6581d.isLaidOut()) {
|
||||
if (z3) {
|
||||
((V0) this.f6582e).f7624a.setVisibility(4);
|
||||
this.f6583f.setVisibility(0);
|
||||
return;
|
||||
} else {
|
||||
((V0) this.f6582e).f7624a.setVisibility(0);
|
||||
this.f6583f.setVisibility(8);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (z3) {
|
||||
V0 v02 = (V0) this.f6582e;
|
||||
i = X.a(v02.f7624a);
|
||||
i.a(BitmapDescriptorFactory.HUE_RED);
|
||||
i.c(100L);
|
||||
i.d(new C0413j(v02, 4));
|
||||
h0Var = this.f6583f.i(0, 200L);
|
||||
} else {
|
||||
V0 v03 = (V0) this.f6582e;
|
||||
h0 a2 = X.a(v03.f7624a);
|
||||
a2.a(1.0f);
|
||||
a2.c(200L);
|
||||
a2.d(new C0413j(v03, 0));
|
||||
i = this.f6583f.i(8, 100L);
|
||||
h0Var = a2;
|
||||
}
|
||||
C0414k c0414k = new C0414k();
|
||||
ArrayList arrayList = c0414k.f7011a;
|
||||
arrayList.add(i);
|
||||
View view = (View) i.f1255a.get();
|
||||
long duration = view != null ? view.animate().getDuration() : 0L;
|
||||
View view2 = (View) h0Var.f1255a.get();
|
||||
if (view2 != null) {
|
||||
view2.animate().setStartDelay(duration);
|
||||
}
|
||||
arrayList.add(h0Var);
|
||||
c0414k.b();
|
||||
}
|
||||
|
||||
public final void q(View view) {
|
||||
InterfaceC0459e0 wrapper;
|
||||
ActionBarOverlayLayout actionBarOverlayLayout = (ActionBarOverlayLayout) view.findViewById(com.adif.elcanomovil.R.id.decor_content_parent);
|
||||
this.f6580c = actionBarOverlayLayout;
|
||||
if (actionBarOverlayLayout != null) {
|
||||
actionBarOverlayLayout.setActionBarVisibilityCallback(this);
|
||||
}
|
||||
KeyEvent.Callback findViewById = view.findViewById(com.adif.elcanomovil.R.id.action_bar);
|
||||
if (findViewById instanceof InterfaceC0459e0) {
|
||||
wrapper = (InterfaceC0459e0) findViewById;
|
||||
} else {
|
||||
if (!(findViewById instanceof Toolbar)) {
|
||||
throw new IllegalStateException("Can't make a decor toolbar out of ".concat(findViewById != null ? findViewById.getClass().getSimpleName() : "null"));
|
||||
}
|
||||
wrapper = ((Toolbar) findViewById).getWrapper();
|
||||
}
|
||||
this.f6582e = wrapper;
|
||||
this.f6583f = (ActionBarContextView) view.findViewById(com.adif.elcanomovil.R.id.action_context_bar);
|
||||
ActionBarContainer actionBarContainer = (ActionBarContainer) view.findViewById(com.adif.elcanomovil.R.id.action_bar_container);
|
||||
this.f6581d = actionBarContainer;
|
||||
InterfaceC0459e0 interfaceC0459e0 = this.f6582e;
|
||||
if (interfaceC0459e0 == null || this.f6583f == null || actionBarContainer == null) {
|
||||
throw new IllegalStateException(T.class.getSimpleName().concat(" can only be used with a compatible window decor layout"));
|
||||
}
|
||||
Context context = ((V0) interfaceC0459e0).f7624a.getContext();
|
||||
this.f6578a = context;
|
||||
if ((((V0) this.f6582e).f7625b & 4) != 0) {
|
||||
this.h = true;
|
||||
}
|
||||
int i = context.getApplicationInfo().targetSdkVersion;
|
||||
this.f6582e.getClass();
|
||||
r(context.getResources().getBoolean(com.adif.elcanomovil.R.bool.abc_action_bar_embed_tabs));
|
||||
TypedArray obtainStyledAttributes = this.f6578a.obtainStyledAttributes(null, AbstractC0336a.f6422a, com.adif.elcanomovil.R.attr.actionBarStyle, 0);
|
||||
if (obtainStyledAttributes.getBoolean(14, false)) {
|
||||
ActionBarOverlayLayout actionBarOverlayLayout2 = this.f6580c;
|
||||
if (!actionBarOverlayLayout2.f2395g) {
|
||||
throw new IllegalStateException("Action bar must be in overlay mode (Window.FEATURE_OVERLAY_ACTION_BAR) to enable hide on content scroll");
|
||||
}
|
||||
this.f6595u = true;
|
||||
actionBarOverlayLayout2.setHideOnContentScrollEnabled(true);
|
||||
}
|
||||
int dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(12, 0);
|
||||
if (dimensionPixelSize != 0) {
|
||||
ActionBarContainer actionBarContainer2 = this.f6581d;
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
O.L.s(actionBarContainer2, dimensionPixelSize);
|
||||
}
|
||||
obtainStyledAttributes.recycle();
|
||||
}
|
||||
|
||||
public final void r(boolean z3) {
|
||||
if (z3) {
|
||||
this.f6581d.setTabContainer(null);
|
||||
((V0) this.f6582e).getClass();
|
||||
} else {
|
||||
((V0) this.f6582e).getClass();
|
||||
this.f6581d.setTabContainer(null);
|
||||
}
|
||||
this.f6582e.getClass();
|
||||
((V0) this.f6582e).f7624a.setCollapsible(false);
|
||||
this.f6580c.setHasNonEmbeddedTabs(false);
|
||||
}
|
||||
|
||||
public final void s(boolean z3) {
|
||||
boolean z4 = this.f6591q || !this.p;
|
||||
View view = this.f6584g;
|
||||
A.a aVar = this.f6598x;
|
||||
if (!z4) {
|
||||
if (this.f6592r) {
|
||||
this.f6592r = false;
|
||||
C0414k c0414k = this.f6593s;
|
||||
if (c0414k != null) {
|
||||
c0414k.a();
|
||||
}
|
||||
int i = this.f6589n;
|
||||
Q q4 = this.f6596v;
|
||||
if (i != 0 || (!this.f6594t && !z3)) {
|
||||
q4.a();
|
||||
return;
|
||||
}
|
||||
this.f6581d.setAlpha(1.0f);
|
||||
this.f6581d.setTransitioning(true);
|
||||
C0414k c0414k2 = new C0414k();
|
||||
float f2 = -this.f6581d.getHeight();
|
||||
if (z3) {
|
||||
this.f6581d.getLocationInWindow(new int[]{0, 0});
|
||||
f2 -= r12[1];
|
||||
}
|
||||
h0 a2 = X.a(this.f6581d);
|
||||
a2.e(f2);
|
||||
View view2 = (View) a2.f1255a.get();
|
||||
if (view2 != null) {
|
||||
view2.animate().setUpdateListener(aVar != null ? new I2.h(aVar, view2) : null);
|
||||
}
|
||||
boolean z5 = c0414k2.f7015e;
|
||||
ArrayList arrayList = c0414k2.f7011a;
|
||||
if (!z5) {
|
||||
arrayList.add(a2);
|
||||
}
|
||||
if (this.f6590o && view != null) {
|
||||
h0 a4 = X.a(view);
|
||||
a4.e(f2);
|
||||
if (!c0414k2.f7015e) {
|
||||
arrayList.add(a4);
|
||||
}
|
||||
}
|
||||
AccelerateInterpolator accelerateInterpolator = f6576y;
|
||||
boolean z6 = c0414k2.f7015e;
|
||||
if (!z6) {
|
||||
c0414k2.f7013c = accelerateInterpolator;
|
||||
}
|
||||
if (!z6) {
|
||||
c0414k2.f7012b = 250L;
|
||||
}
|
||||
if (!z6) {
|
||||
c0414k2.f7014d = q4;
|
||||
}
|
||||
this.f6593s = c0414k2;
|
||||
c0414k2.b();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (this.f6592r) {
|
||||
return;
|
||||
}
|
||||
this.f6592r = true;
|
||||
C0414k c0414k3 = this.f6593s;
|
||||
if (c0414k3 != null) {
|
||||
c0414k3.a();
|
||||
}
|
||||
this.f6581d.setVisibility(0);
|
||||
int i4 = this.f6589n;
|
||||
Q q5 = this.f6597w;
|
||||
if (i4 == 0 && (this.f6594t || z3)) {
|
||||
this.f6581d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
|
||||
float f4 = -this.f6581d.getHeight();
|
||||
if (z3) {
|
||||
this.f6581d.getLocationInWindow(new int[]{0, 0});
|
||||
f4 -= r12[1];
|
||||
}
|
||||
this.f6581d.setTranslationY(f4);
|
||||
C0414k c0414k4 = new C0414k();
|
||||
h0 a5 = X.a(this.f6581d);
|
||||
a5.e(BitmapDescriptorFactory.HUE_RED);
|
||||
View view3 = (View) a5.f1255a.get();
|
||||
if (view3 != null) {
|
||||
view3.animate().setUpdateListener(aVar != null ? new I2.h(aVar, view3) : null);
|
||||
}
|
||||
boolean z7 = c0414k4.f7015e;
|
||||
ArrayList arrayList2 = c0414k4.f7011a;
|
||||
if (!z7) {
|
||||
arrayList2.add(a5);
|
||||
}
|
||||
if (this.f6590o && view != null) {
|
||||
view.setTranslationY(f4);
|
||||
h0 a6 = X.a(view);
|
||||
a6.e(BitmapDescriptorFactory.HUE_RED);
|
||||
if (!c0414k4.f7015e) {
|
||||
arrayList2.add(a6);
|
||||
}
|
||||
}
|
||||
DecelerateInterpolator decelerateInterpolator = f6577z;
|
||||
boolean z8 = c0414k4.f7015e;
|
||||
if (!z8) {
|
||||
c0414k4.f7013c = decelerateInterpolator;
|
||||
}
|
||||
if (!z8) {
|
||||
c0414k4.f7012b = 250L;
|
||||
}
|
||||
if (!z8) {
|
||||
c0414k4.f7014d = q5;
|
||||
}
|
||||
this.f6593s = c0414k4;
|
||||
c0414k4.b();
|
||||
} else {
|
||||
this.f6581d.setAlpha(1.0f);
|
||||
this.f6581d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
|
||||
if (this.f6590o && view != null) {
|
||||
view.setTranslationY(BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
q5.a();
|
||||
}
|
||||
ActionBarOverlayLayout actionBarOverlayLayout = this.f6580c;
|
||||
if (actionBarOverlayLayout != null) {
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
O.J.c(actionBarOverlayLayout);
|
||||
}
|
||||
}
|
||||
|
||||
public T(Dialog dialog) {
|
||||
new ArrayList();
|
||||
this.f6588m = new ArrayList();
|
||||
this.f6589n = 0;
|
||||
this.f6590o = true;
|
||||
this.f6592r = true;
|
||||
this.f6596v = new Q(this, 0);
|
||||
this.f6597w = new Q(this, 1);
|
||||
this.f6598x = new A.a(this, 29);
|
||||
q(dialog.getWindow().getDecorView());
|
||||
}
|
||||
}
|
||||
94
apk_decompiled/sources/g/r.java
Normal file
94
apk_decompiled/sources/g/r.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package g;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import java.lang.ref.WeakReference;
|
||||
import k.AbstractC0405b;
|
||||
import k.InterfaceC0404a;
|
||||
import s.C0581a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class r {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final ExecutorC0369p f6658a = new ExecutorC0369p(new Object());
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final int f6659b = -100;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static K.i f6660c = null;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static K.i f6661d = null;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static Boolean f6662e = null;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static boolean f6663f = false;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public static final s.f f6664g = new s.f(0);
|
||||
public static final Object h = new Object();
|
||||
public static final Object i = new Object();
|
||||
|
||||
public static boolean d(Context context) {
|
||||
if (f6662e == null) {
|
||||
try {
|
||||
int i4 = L.f6554a;
|
||||
Bundle bundle = context.getPackageManager().getServiceInfo(new ComponentName(context, (Class<?>) L.class), K.a() | 128).metaData;
|
||||
if (bundle != null) {
|
||||
f6662e = Boolean.valueOf(bundle.getBoolean("autoStoreLocales"));
|
||||
}
|
||||
} catch (PackageManager.NameNotFoundException unused) {
|
||||
Log.d("AppCompatDelegate", "Checking for metadata for AppLocalesMetadataHolderService : Service not found");
|
||||
f6662e = Boolean.FALSE;
|
||||
}
|
||||
}
|
||||
return f6662e.booleanValue();
|
||||
}
|
||||
|
||||
public static void g(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E) {
|
||||
synchronized (h) {
|
||||
try {
|
||||
s.f fVar = f6664g;
|
||||
fVar.getClass();
|
||||
C0581a c0581a = new C0581a(fVar);
|
||||
while (c0581a.hasNext()) {
|
||||
r rVar = (r) ((WeakReference) c0581a.next()).get();
|
||||
if (rVar == layoutInflaterFactory2C0351E || rVar == null) {
|
||||
c0581a.remove();
|
||||
}
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public abstract void a();
|
||||
|
||||
public abstract void b();
|
||||
|
||||
public abstract void e();
|
||||
|
||||
public abstract void f();
|
||||
|
||||
public abstract boolean h(int i4);
|
||||
|
||||
public abstract void j(int i4);
|
||||
|
||||
public abstract void k(View view);
|
||||
|
||||
public abstract void l(View view, ViewGroup.LayoutParams layoutParams);
|
||||
|
||||
public abstract void m(CharSequence charSequence);
|
||||
|
||||
public abstract AbstractC0405b n(InterfaceC0404a interfaceC0404a);
|
||||
}
|
||||
82
apk_decompiled/sources/g/u.java
Normal file
82
apk_decompiled/sources/g/u.java
Normal file
@@ -0,0 +1,82 @@
|
||||
package g;
|
||||
|
||||
import O.X;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.PopupWindow;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class u extends m3.l {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6669a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f6670b;
|
||||
|
||||
public /* synthetic */ u(Object obj, int i) {
|
||||
this.f6669a = i;
|
||||
this.f6670b = obj;
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void a() {
|
||||
Object obj = this.f6670b;
|
||||
switch (this.f6669a) {
|
||||
case 0:
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = ((RunnableC0371s) obj).f6666b;
|
||||
layoutInflaterFactory2C0351E.f6537v.setAlpha(1.0f);
|
||||
layoutInflaterFactory2C0351E.f6540y.d(null);
|
||||
layoutInflaterFactory2C0351E.f6540y = null;
|
||||
return;
|
||||
case 1:
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E2 = (LayoutInflaterFactory2C0351E) obj;
|
||||
layoutInflaterFactory2C0351E2.f6537v.setAlpha(1.0f);
|
||||
layoutInflaterFactory2C0351E2.f6540y.d(null);
|
||||
layoutInflaterFactory2C0351E2.f6540y = null;
|
||||
return;
|
||||
default:
|
||||
F.i iVar = (F.i) obj;
|
||||
((LayoutInflaterFactory2C0351E) iVar.f491c).f6537v.setVisibility(8);
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E3 = (LayoutInflaterFactory2C0351E) iVar.f491c;
|
||||
PopupWindow popupWindow = layoutInflaterFactory2C0351E3.f6538w;
|
||||
if (popupWindow != null) {
|
||||
popupWindow.dismiss();
|
||||
} else if (layoutInflaterFactory2C0351E3.f6537v.getParent() instanceof View) {
|
||||
View view = (View) layoutInflaterFactory2C0351E3.f6537v.getParent();
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
O.J.c(view);
|
||||
}
|
||||
layoutInflaterFactory2C0351E3.f6537v.e();
|
||||
layoutInflaterFactory2C0351E3.f6540y.d(null);
|
||||
layoutInflaterFactory2C0351E3.f6540y = null;
|
||||
ViewGroup viewGroup = layoutInflaterFactory2C0351E3.f6495A;
|
||||
WeakHashMap weakHashMap2 = X.f1226a;
|
||||
O.J.c(viewGroup);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m3.l, O.i0
|
||||
public void c() {
|
||||
Object obj = this.f6670b;
|
||||
switch (this.f6669a) {
|
||||
case 0:
|
||||
((RunnableC0371s) obj).f6666b.f6537v.setVisibility(0);
|
||||
return;
|
||||
case 1:
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) obj;
|
||||
layoutInflaterFactory2C0351E.f6537v.setVisibility(0);
|
||||
if (layoutInflaterFactory2C0351E.f6537v.getParent() instanceof View) {
|
||||
View view = (View) layoutInflaterFactory2C0351E.f6537v.getParent();
|
||||
WeakHashMap weakHashMap = X.f1226a;
|
||||
O.J.c(view);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/g/v.java
Normal file
15
apk_decompiled/sources/g/v.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package g;
|
||||
|
||||
import android.os.PowerManager;
|
||||
import java.util.Locale;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class v {
|
||||
public static boolean a(PowerManager powerManager) {
|
||||
return powerManager.isPowerSaveMode();
|
||||
}
|
||||
|
||||
public static String b(Locale locale) {
|
||||
return locale.toLanguageTag();
|
||||
}
|
||||
}
|
||||
29
apk_decompiled/sources/g/w.java
Normal file
29
apk_decompiled/sources/g/w.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package g;
|
||||
|
||||
import android.content.res.Configuration;
|
||||
import android.os.LocaleList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class w {
|
||||
public static void a(Configuration configuration, Configuration configuration2, Configuration configuration3) {
|
||||
LocaleList locales = configuration.getLocales();
|
||||
LocaleList locales2 = configuration2.getLocales();
|
||||
if (locales.equals(locales2)) {
|
||||
return;
|
||||
}
|
||||
configuration3.setLocales(locales2);
|
||||
configuration3.locale = configuration2.locale;
|
||||
}
|
||||
|
||||
public static K.i b(Configuration configuration) {
|
||||
return K.i.a(configuration.getLocales().toLanguageTags());
|
||||
}
|
||||
|
||||
public static void c(K.i iVar) {
|
||||
LocaleList.setDefault(LocaleList.forLanguageTags(iVar.f972a.f973a.toLanguageTags()));
|
||||
}
|
||||
|
||||
public static void d(Configuration configuration, K.i iVar) {
|
||||
configuration.setLocales(LocaleList.forLanguageTags(iVar.f972a.f973a.toLanguageTags()));
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/g/x.java
Normal file
27
apk_decompiled/sources/g/x.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package g;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.window.OnBackInvokedCallback;
|
||||
import android.window.OnBackInvokedDispatcher;
|
||||
import java.util.Objects;
|
||||
import kotlin.time.DurationKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class x {
|
||||
public static OnBackInvokedDispatcher a(Activity activity) {
|
||||
OnBackInvokedDispatcher onBackInvokedDispatcher;
|
||||
onBackInvokedDispatcher = activity.getOnBackInvokedDispatcher();
|
||||
return onBackInvokedDispatcher;
|
||||
}
|
||||
|
||||
public static OnBackInvokedCallback b(Object obj, LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E) {
|
||||
Objects.requireNonNull(layoutInflaterFactory2C0351E);
|
||||
b.u uVar = new b.u(layoutInflaterFactory2C0351E, 1);
|
||||
P.e.f(obj).registerOnBackInvokedCallback(DurationKt.NANOS_IN_MILLIS, uVar);
|
||||
return uVar;
|
||||
}
|
||||
|
||||
public static void c(Object obj, Object obj2) {
|
||||
P.e.f(obj).unregisterOnBackInvokedCallback(P.e.b(obj2));
|
||||
}
|
||||
}
|
||||
305
apk_decompiled/sources/g/y.java
Normal file
305
apk_decompiled/sources/g/y.java
Normal file
@@ -0,0 +1,305 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.ActionMode;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.SearchEvent;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.view.WindowManager;
|
||||
import android.view.accessibility.AccessibilityEvent;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import k.AbstractC0405b;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class y implements Window.Callback {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Window.Callback f6671a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public M f6672b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f6673c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f6674d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f6675e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ LayoutInflaterFactory2C0351E f6676f;
|
||||
|
||||
public y(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, Window.Callback callback) {
|
||||
this.f6676f = layoutInflaterFactory2C0351E;
|
||||
if (callback == null) {
|
||||
throw new IllegalArgumentException("Window callback may not be null");
|
||||
}
|
||||
this.f6671a = callback;
|
||||
}
|
||||
|
||||
public final void a(Window.Callback callback) {
|
||||
try {
|
||||
this.f6673c = true;
|
||||
callback.onContentChanged();
|
||||
} finally {
|
||||
this.f6673c = false;
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean b(int i, Menu menu) {
|
||||
return this.f6671a.onMenuOpened(i, menu);
|
||||
}
|
||||
|
||||
public final void c(int i, Menu menu) {
|
||||
this.f6671a.onPanelClosed(i, menu);
|
||||
}
|
||||
|
||||
public final void d(List list, Menu menu, int i) {
|
||||
k.m.a(this.f6671a, list, menu, i);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchGenericMotionEvent(MotionEvent motionEvent) {
|
||||
return this.f6671a.dispatchGenericMotionEvent(motionEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchKeyEvent(KeyEvent keyEvent) {
|
||||
boolean z3 = this.f6674d;
|
||||
Window.Callback callback = this.f6671a;
|
||||
return z3 ? callback.dispatchKeyEvent(keyEvent) : this.f6676f.v(keyEvent) || callback.dispatchKeyEvent(keyEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchKeyShortcutEvent(KeyEvent keyEvent) {
|
||||
if (!this.f6671a.dispatchKeyShortcutEvent(keyEvent)) {
|
||||
int keyCode = keyEvent.getKeyCode();
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6676f;
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a == null || !abstractC0354a.i(keyCode, keyEvent)) {
|
||||
C0350D c0350d = layoutInflaterFactory2C0351E.f6506M;
|
||||
if (c0350d == null || !layoutInflaterFactory2C0351E.G(c0350d, keyEvent.getKeyCode(), keyEvent)) {
|
||||
if (layoutInflaterFactory2C0351E.f6506M == null) {
|
||||
C0350D A3 = layoutInflaterFactory2C0351E.A(0);
|
||||
layoutInflaterFactory2C0351E.H(A3, keyEvent);
|
||||
boolean G3 = layoutInflaterFactory2C0351E.G(A3, keyEvent.getKeyCode(), keyEvent);
|
||||
A3.f6487k = false;
|
||||
if (G3) {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
C0350D c0350d2 = layoutInflaterFactory2C0351E.f6506M;
|
||||
if (c0350d2 != null) {
|
||||
c0350d2.f6488l = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
|
||||
return this.f6671a.dispatchPopulateAccessibilityEvent(accessibilityEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchTouchEvent(MotionEvent motionEvent) {
|
||||
return this.f6671a.dispatchTouchEvent(motionEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean dispatchTrackballEvent(MotionEvent motionEvent) {
|
||||
return this.f6671a.dispatchTrackballEvent(motionEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onActionModeFinished(ActionMode actionMode) {
|
||||
this.f6671a.onActionModeFinished(actionMode);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onActionModeStarted(ActionMode actionMode) {
|
||||
this.f6671a.onActionModeStarted(actionMode);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onAttachedToWindow() {
|
||||
this.f6671a.onAttachedToWindow();
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onContentChanged() {
|
||||
if (this.f6673c) {
|
||||
this.f6671a.onContentChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onCreatePanelMenu(int i, Menu menu) {
|
||||
if (i != 0 || (menu instanceof l.m)) {
|
||||
return this.f6671a.onCreatePanelMenu(i, menu);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final View onCreatePanelView(int i) {
|
||||
M m4 = this.f6672b;
|
||||
if (m4 != null) {
|
||||
View view = i == 0 ? new View(m4.f6555a.f6556a.f7624a.getContext()) : null;
|
||||
if (view != null) {
|
||||
return view;
|
||||
}
|
||||
}
|
||||
return this.f6671a.onCreatePanelView(i);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onDetachedFromWindow() {
|
||||
this.f6671a.onDetachedFromWindow();
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onMenuItemSelected(int i, MenuItem menuItem) {
|
||||
return this.f6671a.onMenuItemSelected(i, menuItem);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onMenuOpened(int i, Menu menu) {
|
||||
b(i, menu);
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6676f;
|
||||
if (i == 108) {
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.c(true);
|
||||
}
|
||||
} else {
|
||||
layoutInflaterFactory2C0351E.getClass();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onPanelClosed(int i, Menu menu) {
|
||||
if (this.f6675e) {
|
||||
this.f6671a.onPanelClosed(i, menu);
|
||||
return;
|
||||
}
|
||||
c(i, menu);
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6676f;
|
||||
if (i == 108) {
|
||||
layoutInflaterFactory2C0351E.B();
|
||||
AbstractC0354a abstractC0354a = layoutInflaterFactory2C0351E.f6531o;
|
||||
if (abstractC0354a != null) {
|
||||
abstractC0354a.c(false);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (i != 0) {
|
||||
layoutInflaterFactory2C0351E.getClass();
|
||||
return;
|
||||
}
|
||||
C0350D A3 = layoutInflaterFactory2C0351E.A(i);
|
||||
if (A3.f6489m) {
|
||||
layoutInflaterFactory2C0351E.t(A3, false);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onPointerCaptureChanged(boolean z3) {
|
||||
k.n.a(this.f6671a, z3);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onPreparePanel(int i, View view, Menu menu) {
|
||||
l.m mVar = menu instanceof l.m ? (l.m) menu : null;
|
||||
if (i == 0 && mVar == null) {
|
||||
return false;
|
||||
}
|
||||
if (mVar != null) {
|
||||
mVar.f7261x = true;
|
||||
}
|
||||
M m4 = this.f6672b;
|
||||
if (m4 != null && i == 0) {
|
||||
N n4 = m4.f6555a;
|
||||
if (!n4.f6559d) {
|
||||
n4.f6556a.f7633l = true;
|
||||
n4.f6559d = true;
|
||||
}
|
||||
}
|
||||
boolean onPreparePanel = this.f6671a.onPreparePanel(i, view, menu);
|
||||
if (mVar != null) {
|
||||
mVar.f7261x = false;
|
||||
}
|
||||
return onPreparePanel;
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onProvideKeyboardShortcuts(List list, Menu menu, int i) {
|
||||
l.m mVar = this.f6676f.A(0).h;
|
||||
if (mVar != null) {
|
||||
d(list, mVar, i);
|
||||
} else {
|
||||
d(list, menu, i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onSearchRequested(SearchEvent searchEvent) {
|
||||
return k.l.a(this.f6671a, searchEvent);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onWindowAttributesChanged(WindowManager.LayoutParams layoutParams) {
|
||||
this.f6671a.onWindowAttributesChanged(layoutParams);
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final void onWindowFocusChanged(boolean z3) {
|
||||
this.f6671a.onWindowFocusChanged(z3);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r1v1, types: [java.lang.Object, A.j, k.a] */
|
||||
@Override // android.view.Window.Callback
|
||||
public final ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int i) {
|
||||
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = this.f6676f;
|
||||
layoutInflaterFactory2C0351E.getClass();
|
||||
if (i != 0) {
|
||||
return k.l.b(this.f6671a, callback, i);
|
||||
}
|
||||
Context context = layoutInflaterFactory2C0351E.f6527k;
|
||||
?? obj = new Object();
|
||||
obj.f30d = context;
|
||||
obj.f27a = callback;
|
||||
obj.f29c = new ArrayList();
|
||||
obj.f28b = new s.j(0);
|
||||
AbstractC0405b n4 = layoutInflaterFactory2C0351E.n(obj);
|
||||
if (n4 != null) {
|
||||
return obj.g(n4);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final boolean onSearchRequested() {
|
||||
return this.f6671a.onSearchRequested();
|
||||
}
|
||||
|
||||
@Override // android.view.Window.Callback
|
||||
public final ActionMode onWindowStartingActionMode(ActionMode.Callback callback) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
146
apk_decompiled/sources/g/z.java
Normal file
146
apk_decompiled/sources/g/z.java
Normal file
@@ -0,0 +1,146 @@
|
||||
package g;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.IntentFilter;
|
||||
import android.location.Location;
|
||||
import android.location.LocationManager;
|
||||
import android.os.PowerManager;
|
||||
import android.util.Log;
|
||||
import java.util.Calendar;
|
||||
import kotlinx.coroutines.test.TestBuildersKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class z extends AbstractC0348B {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ int f6677c = 1;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ LayoutInflaterFactory2C0351E f6678d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final Object f6679e;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public z(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, R0.h hVar) {
|
||||
super(layoutInflaterFactory2C0351E);
|
||||
this.f6678d = layoutInflaterFactory2C0351E;
|
||||
this.f6679e = hVar;
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0348B
|
||||
public final IntentFilter d() {
|
||||
switch (this.f6677c) {
|
||||
case 0:
|
||||
IntentFilter intentFilter = new IntentFilter();
|
||||
intentFilter.addAction("android.os.action.POWER_SAVE_MODE_CHANGED");
|
||||
return intentFilter;
|
||||
default:
|
||||
IntentFilter intentFilter2 = new IntentFilter();
|
||||
intentFilter2.addAction("android.intent.action.TIME_SET");
|
||||
intentFilter2.addAction("android.intent.action.TIMEZONE_CHANGED");
|
||||
intentFilter2.addAction("android.intent.action.TIME_TICK");
|
||||
return intentFilter2;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v13, types: [g.O, java.lang.Object] */
|
||||
@Override // g.AbstractC0348B
|
||||
public final int e() {
|
||||
Location location;
|
||||
boolean z3;
|
||||
long j4;
|
||||
Location location2;
|
||||
switch (this.f6677c) {
|
||||
case 0:
|
||||
return v.a((PowerManager) this.f6679e) ? 2 : 1;
|
||||
default:
|
||||
R0.h hVar = (R0.h) this.f6679e;
|
||||
P p = (P) hVar.f1415c;
|
||||
if (p.f6568b > System.currentTimeMillis()) {
|
||||
z3 = p.f6567a;
|
||||
} else {
|
||||
Context context = (Context) hVar.f1413a;
|
||||
int i = m3.l.i(context, "android.permission.ACCESS_COARSE_LOCATION");
|
||||
Location location3 = null;
|
||||
LocationManager locationManager = (LocationManager) hVar.f1414b;
|
||||
if (i == 0) {
|
||||
try {
|
||||
} catch (Exception e4) {
|
||||
Log.d("TwilightManager", "Failed to get last known location", e4);
|
||||
}
|
||||
if (locationManager.isProviderEnabled("network")) {
|
||||
location2 = locationManager.getLastKnownLocation("network");
|
||||
location = location2;
|
||||
}
|
||||
location2 = null;
|
||||
location = location2;
|
||||
} else {
|
||||
location = null;
|
||||
}
|
||||
if (m3.l.i(context, "android.permission.ACCESS_FINE_LOCATION") == 0) {
|
||||
try {
|
||||
if (locationManager.isProviderEnabled("gps")) {
|
||||
location3 = locationManager.getLastKnownLocation("gps");
|
||||
}
|
||||
} catch (Exception e5) {
|
||||
Log.d("TwilightManager", "Failed to get last known location", e5);
|
||||
}
|
||||
}
|
||||
if (location3 == null || location == null ? location3 != null : location3.getTime() > location.getTime()) {
|
||||
location = location3;
|
||||
}
|
||||
if (location != null) {
|
||||
long currentTimeMillis = System.currentTimeMillis();
|
||||
if (O.f6563d == null) {
|
||||
O.f6563d = new Object();
|
||||
}
|
||||
O o4 = O.f6563d;
|
||||
o4.a(location.getLatitude(), location.getLongitude(), currentTimeMillis - 86400000);
|
||||
o4.a(location.getLatitude(), location.getLongitude(), currentTimeMillis);
|
||||
z3 = o4.f6566c == 1;
|
||||
long j5 = o4.f6565b;
|
||||
long j6 = o4.f6564a;
|
||||
o4.a(location.getLatitude(), location.getLongitude(), currentTimeMillis + 86400000);
|
||||
long j7 = o4.f6565b;
|
||||
if (j5 == -1 || j6 == -1) {
|
||||
j4 = currentTimeMillis + 43200000;
|
||||
} else {
|
||||
if (currentTimeMillis <= j6) {
|
||||
j7 = currentTimeMillis > j5 ? j6 : j5;
|
||||
}
|
||||
j4 = j7 + TestBuildersKt.DEFAULT_DISPATCH_TIMEOUT_MS;
|
||||
}
|
||||
p.f6567a = z3;
|
||||
p.f6568b = j4;
|
||||
} else {
|
||||
Log.i("TwilightManager", "Could not get last known location. This is probably because the app does not have any location permissions. Falling back to hardcoded sunrise/sunset values.");
|
||||
int i4 = Calendar.getInstance().get(11);
|
||||
if (i4 < 6 || i4 >= 22) {
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return z3 ? 2 : 1;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // g.AbstractC0348B
|
||||
public final void g() {
|
||||
switch (this.f6677c) {
|
||||
case 0:
|
||||
this.f6678d.o(true, true);
|
||||
return;
|
||||
default:
|
||||
this.f6678d.o(true, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public z(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, Context context) {
|
||||
super(layoutInflaterFactory2C0351E);
|
||||
this.f6678d = layoutInflaterFactory2C0351E;
|
||||
this.f6679e = (PowerManager) context.getApplicationContext().getSystemService("power");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user