Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
43
apk_decompiled/sources/k/AbstractC0405b.java
Normal file
43
apk_decompiled/sources/k/AbstractC0405b.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package k;
|
||||
|
||||
import android.view.MenuInflater;
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: k.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0405b {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Object f6955a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public boolean f6956b;
|
||||
|
||||
public abstract void a();
|
||||
|
||||
public abstract View b();
|
||||
|
||||
public abstract l.m d();
|
||||
|
||||
public abstract MenuInflater e();
|
||||
|
||||
public abstract CharSequence f();
|
||||
|
||||
public abstract CharSequence g();
|
||||
|
||||
public abstract void h();
|
||||
|
||||
public abstract boolean j();
|
||||
|
||||
public abstract void k(View view);
|
||||
|
||||
public abstract void l(int i);
|
||||
|
||||
public abstract void m(CharSequence charSequence);
|
||||
|
||||
public abstract void n(int i);
|
||||
|
||||
public abstract void o(CharSequence charSequence);
|
||||
|
||||
public abstract void p(boolean z3);
|
||||
}
|
||||
119
apk_decompiled/sources/k/C0407d.java
Normal file
119
apk_decompiled/sources/k/C0407d.java
Normal file
@@ -0,0 +1,119 @@
|
||||
package k;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.view.LayoutInflater;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
|
||||
/* renamed from: k.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0407d extends ContextWrapper {
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static Configuration f6957f;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6958a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Resources.Theme f6959b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public LayoutInflater f6960c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Configuration f6961d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public Resources f6962e;
|
||||
|
||||
public C0407d(Context context, int i) {
|
||||
super(context);
|
||||
this.f6958a = i;
|
||||
}
|
||||
|
||||
public final void a(Configuration configuration) {
|
||||
if (this.f6962e != null) {
|
||||
throw new IllegalStateException("getResources() or getAssets() has already been called");
|
||||
}
|
||||
if (this.f6961d != null) {
|
||||
throw new IllegalStateException("Override configuration has already been set");
|
||||
}
|
||||
this.f6961d = new Configuration(configuration);
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper
|
||||
public final void attachBaseContext(Context context) {
|
||||
super.attachBaseContext(context);
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
if (this.f6959b == null) {
|
||||
this.f6959b = getResources().newTheme();
|
||||
Resources.Theme theme = getBaseContext().getTheme();
|
||||
if (theme != null) {
|
||||
this.f6959b.setTo(theme);
|
||||
}
|
||||
}
|
||||
this.f6959b.applyStyle(this.f6958a, true);
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper, android.content.Context
|
||||
public final AssetManager getAssets() {
|
||||
return getResources().getAssets();
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper, android.content.Context
|
||||
public final Resources getResources() {
|
||||
if (this.f6962e == null) {
|
||||
Configuration configuration = this.f6961d;
|
||||
if (configuration != null) {
|
||||
if (f6957f == null) {
|
||||
Configuration configuration2 = new Configuration();
|
||||
configuration2.fontScale = BitmapDescriptorFactory.HUE_RED;
|
||||
f6957f = configuration2;
|
||||
}
|
||||
if (!configuration.equals(f6957f)) {
|
||||
this.f6962e = createConfigurationContext(this.f6961d).getResources();
|
||||
}
|
||||
}
|
||||
this.f6962e = super.getResources();
|
||||
}
|
||||
return this.f6962e;
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper, android.content.Context
|
||||
public final Object getSystemService(String str) {
|
||||
if (!"layout_inflater".equals(str)) {
|
||||
return getBaseContext().getSystemService(str);
|
||||
}
|
||||
if (this.f6960c == null) {
|
||||
this.f6960c = LayoutInflater.from(getBaseContext()).cloneInContext(this);
|
||||
}
|
||||
return this.f6960c;
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper, android.content.Context
|
||||
public final Resources.Theme getTheme() {
|
||||
Resources.Theme theme = this.f6959b;
|
||||
if (theme != null) {
|
||||
return theme;
|
||||
}
|
||||
if (this.f6958a == 0) {
|
||||
this.f6958a = 2132017802;
|
||||
}
|
||||
b();
|
||||
return this.f6959b;
|
||||
}
|
||||
|
||||
@Override // android.content.ContextWrapper, android.content.Context
|
||||
public final void setTheme(int i) {
|
||||
if (this.f6958a != i) {
|
||||
this.f6958a = i;
|
||||
b();
|
||||
}
|
||||
}
|
||||
}
|
||||
125
apk_decompiled/sources/k/C0408e.java
Normal file
125
apk_decompiled/sources/k/C0408e.java
Normal file
@@ -0,0 +1,125 @@
|
||||
package k;
|
||||
|
||||
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 l.InterfaceC0433k;
|
||||
import m.C0472l;
|
||||
|
||||
/* renamed from: k.e, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0408e extends AbstractC0405b implements InterfaceC0433k {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public Context f6963c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public ActionBarContextView f6964d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public F.i f6965e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public WeakReference f6966f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f6967g;
|
||||
public l.m h;
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void a() {
|
||||
if (this.f6967g) {
|
||||
return;
|
||||
}
|
||||
this.f6967g = true;
|
||||
this.f6965e.j(this);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final View b() {
|
||||
WeakReference weakReference = this.f6966f;
|
||||
if (weakReference != null) {
|
||||
return (View) weakReference.get();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public final boolean c(l.m mVar, MenuItem menuItem) {
|
||||
return ((InterfaceC0404a) this.f6965e.f490b).e(this, menuItem);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final l.m d() {
|
||||
return this.h;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final MenuInflater e() {
|
||||
return new C0412i(this.f6964d.getContext());
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final CharSequence f() {
|
||||
return this.f6964d.getSubtitle();
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final CharSequence g() {
|
||||
return this.f6964d.getTitle();
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void h() {
|
||||
this.f6965e.f(this, this.h);
|
||||
}
|
||||
|
||||
@Override // l.InterfaceC0433k
|
||||
public final void i(l.m mVar) {
|
||||
h();
|
||||
C0472l c0472l = this.f6964d.f2370d;
|
||||
if (c0472l != null) {
|
||||
c0472l.n();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final boolean j() {
|
||||
return this.f6964d.f2382s;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void k(View view) {
|
||||
this.f6964d.setCustomView(view);
|
||||
this.f6966f = view != null ? new WeakReference(view) : null;
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void l(int i) {
|
||||
m(this.f6963c.getString(i));
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void m(CharSequence charSequence) {
|
||||
this.f6964d.setSubtitle(charSequence);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void n(int i) {
|
||||
o(this.f6963c.getString(i));
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void o(CharSequence charSequence) {
|
||||
this.f6964d.setTitle(charSequence);
|
||||
}
|
||||
|
||||
@Override // k.AbstractC0405b
|
||||
public final void p(boolean z3) {
|
||||
this.f6956b = z3;
|
||||
this.f6964d.setTitleOptional(z3);
|
||||
}
|
||||
}
|
||||
109
apk_decompiled/sources/k/C0409f.java
Normal file
109
apk_decompiled/sources/k/C0409f.java
Normal file
@@ -0,0 +1,109 @@
|
||||
package k;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.ActionMode;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.View;
|
||||
import l.MenuC0419B;
|
||||
|
||||
/* renamed from: k.f, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0409f extends ActionMode {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Context f6968a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final AbstractC0405b f6969b;
|
||||
|
||||
public C0409f(Context context, AbstractC0405b abstractC0405b) {
|
||||
this.f6968a = context;
|
||||
this.f6969b = abstractC0405b;
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void finish() {
|
||||
this.f6969b.a();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final View getCustomView() {
|
||||
return this.f6969b.b();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final Menu getMenu() {
|
||||
return new MenuC0419B(this.f6968a, this.f6969b.d());
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final MenuInflater getMenuInflater() {
|
||||
return this.f6969b.e();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final CharSequence getSubtitle() {
|
||||
return this.f6969b.f();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final Object getTag() {
|
||||
return this.f6969b.f6955a;
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final CharSequence getTitle() {
|
||||
return this.f6969b.g();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final boolean getTitleOptionalHint() {
|
||||
return this.f6969b.f6956b;
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void invalidate() {
|
||||
this.f6969b.h();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final boolean isTitleOptional() {
|
||||
return this.f6969b.j();
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setCustomView(View view) {
|
||||
this.f6969b.k(view);
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setSubtitle(CharSequence charSequence) {
|
||||
this.f6969b.m(charSequence);
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setTag(Object obj) {
|
||||
this.f6969b.f6955a = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setTitle(CharSequence charSequence) {
|
||||
this.f6969b.o(charSequence);
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setTitleOptionalHint(boolean z3) {
|
||||
this.f6969b.p(z3);
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setSubtitle(int i) {
|
||||
this.f6969b.l(i);
|
||||
}
|
||||
|
||||
@Override // android.view.ActionMode
|
||||
public final void setTitle(int i) {
|
||||
this.f6969b.n(i);
|
||||
}
|
||||
}
|
||||
240
apk_decompiled/sources/k/C0411h.java
Normal file
240
apk_decompiled/sources/k/C0411h.java
Normal file
@@ -0,0 +1,240 @@
|
||||
package k;
|
||||
|
||||
import O.AbstractC0075p;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.util.Log;
|
||||
import android.view.InflateException;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Method;
|
||||
import l.o;
|
||||
import l.p;
|
||||
import l.t;
|
||||
|
||||
/* renamed from: k.h, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0411h {
|
||||
|
||||
/* renamed from: A, reason: collision with root package name */
|
||||
public CharSequence f6973A;
|
||||
|
||||
/* renamed from: B, reason: collision with root package name */
|
||||
public CharSequence f6974B;
|
||||
|
||||
/* renamed from: E, reason: collision with root package name */
|
||||
public final /* synthetic */ C0412i f6977E;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Menu f6978a;
|
||||
public boolean h;
|
||||
public int i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f6985j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public CharSequence f6986k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public CharSequence f6987l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public int f6988m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public char f6989n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public int f6990o;
|
||||
public char p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public int f6991q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public int f6992r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public boolean f6993s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public boolean f6994t;
|
||||
|
||||
/* renamed from: u, reason: collision with root package name */
|
||||
public boolean f6995u;
|
||||
|
||||
/* renamed from: v, reason: collision with root package name */
|
||||
public int f6996v;
|
||||
|
||||
/* renamed from: w, reason: collision with root package name */
|
||||
public int f6997w;
|
||||
|
||||
/* renamed from: x, reason: collision with root package name */
|
||||
public String f6998x;
|
||||
|
||||
/* renamed from: y, reason: collision with root package name */
|
||||
public String f6999y;
|
||||
|
||||
/* renamed from: z, reason: collision with root package name */
|
||||
public p f7000z;
|
||||
|
||||
/* renamed from: C, reason: collision with root package name */
|
||||
public ColorStateList f6975C = null;
|
||||
|
||||
/* renamed from: D, reason: collision with root package name */
|
||||
public PorterDuff.Mode f6976D = null;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f6979b = 0;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f6980c = 0;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f6981d = 0;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f6982e = 0;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f6983f = true;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f6984g = true;
|
||||
|
||||
public C0411h(C0412i c0412i, Menu menu) {
|
||||
this.f6977E = c0412i;
|
||||
this.f6978a = menu;
|
||||
}
|
||||
|
||||
public final Object a(String str, Class[] clsArr, Object[] objArr) {
|
||||
try {
|
||||
Constructor<?> constructor = Class.forName(str, false, this.f6977E.f7005c.getClassLoader()).getConstructor(clsArr);
|
||||
constructor.setAccessible(true);
|
||||
return constructor.newInstance(objArr);
|
||||
} catch (Exception e4) {
|
||||
Log.w("SupportMenuInflater", "Cannot instantiate class: " + str, e4);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r0v31, types: [android.view.MenuItem$OnMenuItemClickListener, k.g, java.lang.Object] */
|
||||
public final void b(MenuItem menuItem) {
|
||||
boolean z3 = false;
|
||||
menuItem.setChecked(this.f6993s).setVisible(this.f6994t).setEnabled(this.f6995u).setCheckable(this.f6992r >= 1).setTitleCondensed(this.f6987l).setIcon(this.f6988m);
|
||||
int i = this.f6996v;
|
||||
if (i >= 0) {
|
||||
menuItem.setShowAsAction(i);
|
||||
}
|
||||
String str = this.f6999y;
|
||||
C0412i c0412i = this.f6977E;
|
||||
if (str != null) {
|
||||
if (c0412i.f7005c.isRestricted()) {
|
||||
throw new IllegalStateException("The android:onClick attribute cannot be used within a restricted context");
|
||||
}
|
||||
if (c0412i.f7006d == null) {
|
||||
c0412i.f7006d = C0412i.a(c0412i.f7005c);
|
||||
}
|
||||
Object obj = c0412i.f7006d;
|
||||
String str2 = this.f6999y;
|
||||
?? obj2 = new Object();
|
||||
obj2.f6971a = obj;
|
||||
Class<?> cls = obj.getClass();
|
||||
try {
|
||||
obj2.f6972b = cls.getMethod(str2, MenuItemOnMenuItemClickListenerC0410g.f6970c);
|
||||
menuItem.setOnMenuItemClickListener(obj2);
|
||||
} catch (Exception e4) {
|
||||
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Couldn't resolve menu item onClick handler ", str2, " in class ");
|
||||
p.append(cls.getName());
|
||||
InflateException inflateException = new InflateException(p.toString());
|
||||
inflateException.initCause(e4);
|
||||
throw inflateException;
|
||||
}
|
||||
}
|
||||
if (this.f6992r >= 2) {
|
||||
if (menuItem instanceof o) {
|
||||
((o) menuItem).f(true);
|
||||
} else if (menuItem instanceof t) {
|
||||
t tVar = (t) menuItem;
|
||||
try {
|
||||
Method method = tVar.f7300d;
|
||||
I.a aVar = tVar.f7299c;
|
||||
if (method == null) {
|
||||
tVar.f7300d = aVar.getClass().getDeclaredMethod("setExclusiveCheckable", Boolean.TYPE);
|
||||
}
|
||||
tVar.f7300d.invoke(aVar, Boolean.TRUE);
|
||||
} catch (Exception e5) {
|
||||
Log.w("MenuItemWrapper", "Error while calling setExclusiveCheckable", e5);
|
||||
}
|
||||
}
|
||||
}
|
||||
String str3 = this.f6998x;
|
||||
if (str3 != null) {
|
||||
menuItem.setActionView((View) a(str3, C0412i.f7001e, c0412i.f7003a));
|
||||
z3 = true;
|
||||
}
|
||||
int i4 = this.f6997w;
|
||||
if (i4 > 0) {
|
||||
if (z3) {
|
||||
Log.w("SupportMenuInflater", "Ignoring attribute 'itemActionViewLayout'. Action view already specified.");
|
||||
} else {
|
||||
menuItem.setActionView(i4);
|
||||
}
|
||||
}
|
||||
p pVar = this.f7000z;
|
||||
if (pVar != null) {
|
||||
if (menuItem instanceof I.a) {
|
||||
((I.a) menuItem).b(pVar);
|
||||
} else {
|
||||
Log.w("MenuItemCompat", "setActionProvider: item does not implement SupportMenuItem; ignoring");
|
||||
}
|
||||
}
|
||||
CharSequence charSequence = this.f6973A;
|
||||
boolean z4 = menuItem instanceof I.a;
|
||||
if (z4) {
|
||||
((I.a) menuItem).setContentDescription(charSequence);
|
||||
} else {
|
||||
AbstractC0075p.h(menuItem, charSequence);
|
||||
}
|
||||
CharSequence charSequence2 = this.f6974B;
|
||||
if (z4) {
|
||||
((I.a) menuItem).setTooltipText(charSequence2);
|
||||
} else {
|
||||
AbstractC0075p.m(menuItem, charSequence2);
|
||||
}
|
||||
char c4 = this.f6989n;
|
||||
int i5 = this.f6990o;
|
||||
if (z4) {
|
||||
((I.a) menuItem).setAlphabeticShortcut(c4, i5);
|
||||
} else {
|
||||
AbstractC0075p.g(menuItem, c4, i5);
|
||||
}
|
||||
char c5 = this.p;
|
||||
int i6 = this.f6991q;
|
||||
if (z4) {
|
||||
((I.a) menuItem).setNumericShortcut(c5, i6);
|
||||
} else {
|
||||
AbstractC0075p.k(menuItem, c5, i6);
|
||||
}
|
||||
PorterDuff.Mode mode = this.f6976D;
|
||||
if (mode != null) {
|
||||
if (z4) {
|
||||
((I.a) menuItem).setIconTintMode(mode);
|
||||
} else {
|
||||
AbstractC0075p.j(menuItem, mode);
|
||||
}
|
||||
}
|
||||
ColorStateList colorStateList = this.f6975C;
|
||||
if (colorStateList != null) {
|
||||
if (z4) {
|
||||
((I.a) menuItem).setIconTintList(colorStateList);
|
||||
} else {
|
||||
AbstractC0075p.i(menuItem, colorStateList);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
275
apk_decompiled/sources/k/C0412i.java
Normal file
275
apk_decompiled/sources/k/C0412i.java
Normal file
@@ -0,0 +1,275 @@
|
||||
package k;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.util.Xml;
|
||||
import android.view.InflateException;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.SubMenu;
|
||||
import f.AbstractC0336a;
|
||||
import java.io.IOException;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import l.p;
|
||||
import m.AbstractC0463g0;
|
||||
import org.xmlpull.v1.XmlPullParserException;
|
||||
|
||||
/* renamed from: k.i, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0412i extends MenuInflater {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static final Class[] f7001e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static final Class[] f7002f;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Object[] f7003a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Object[] f7004b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final Context f7005c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Object f7006d;
|
||||
|
||||
static {
|
||||
Class[] clsArr = {Context.class};
|
||||
f7001e = clsArr;
|
||||
f7002f = clsArr;
|
||||
}
|
||||
|
||||
public C0412i(Context context) {
|
||||
super(context);
|
||||
this.f7005c = context;
|
||||
Object[] objArr = {context};
|
||||
this.f7003a = objArr;
|
||||
this.f7004b = objArr;
|
||||
}
|
||||
|
||||
public static Object a(Object obj) {
|
||||
return (!(obj instanceof Activity) && (obj instanceof ContextWrapper)) ? a(((ContextWrapper) obj).getBaseContext()) : obj;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r4v0 */
|
||||
/* JADX WARN: Type inference failed for: r4v1, types: [int, boolean] */
|
||||
/* JADX WARN: Type inference failed for: r4v60 */
|
||||
public final void b(XmlResourceParser xmlResourceParser, AttributeSet attributeSet, Menu menu) {
|
||||
?? r4;
|
||||
int i;
|
||||
XmlResourceParser xmlResourceParser2;
|
||||
boolean z3;
|
||||
ColorStateList colorStateList;
|
||||
int resourceId;
|
||||
C0411h c0411h = new C0411h(this, menu);
|
||||
int eventType = xmlResourceParser.getEventType();
|
||||
while (true) {
|
||||
r4 = 1;
|
||||
i = 2;
|
||||
if (eventType == 2) {
|
||||
String name = xmlResourceParser.getName();
|
||||
if (!name.equals("menu")) {
|
||||
throw new RuntimeException("Expecting menu, got ".concat(name));
|
||||
}
|
||||
eventType = xmlResourceParser.next();
|
||||
} else {
|
||||
eventType = xmlResourceParser.next();
|
||||
if (eventType == 1) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
boolean z4 = false;
|
||||
boolean z5 = false;
|
||||
String str = null;
|
||||
while (!z4) {
|
||||
if (eventType == r4) {
|
||||
throw new RuntimeException("Unexpected end of document");
|
||||
}
|
||||
if (eventType != i) {
|
||||
if (eventType == 3) {
|
||||
String name2 = xmlResourceParser.getName();
|
||||
if (z5 && name2.equals(str)) {
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = r4;
|
||||
z5 = false;
|
||||
str = null;
|
||||
eventType = xmlResourceParser2.next();
|
||||
r4 = z3;
|
||||
i = 2;
|
||||
z5 = z5;
|
||||
} else if (name2.equals("group")) {
|
||||
c0411h.f6979b = 0;
|
||||
c0411h.f6980c = 0;
|
||||
c0411h.f6981d = 0;
|
||||
c0411h.f6982e = 0;
|
||||
c0411h.f6983f = r4;
|
||||
c0411h.f6984g = r4;
|
||||
} else if (name2.equals("item")) {
|
||||
if (!c0411h.h) {
|
||||
p pVar = c0411h.f7000z;
|
||||
if (pVar == null || !pVar.f7292b.hasSubMenu()) {
|
||||
c0411h.h = r4;
|
||||
c0411h.b(c0411h.f6978a.add(c0411h.f6979b, c0411h.i, c0411h.f6985j, c0411h.f6986k));
|
||||
} else {
|
||||
c0411h.h = r4;
|
||||
c0411h.b(c0411h.f6978a.addSubMenu(c0411h.f6979b, c0411h.i, c0411h.f6985j, c0411h.f6986k).getItem());
|
||||
}
|
||||
}
|
||||
} else if (name2.equals("menu")) {
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = r4;
|
||||
z4 = z3;
|
||||
}
|
||||
}
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = r4;
|
||||
} else {
|
||||
if (!z5) {
|
||||
String name3 = xmlResourceParser.getName();
|
||||
boolean equals = name3.equals("group");
|
||||
C0412i c0412i = c0411h.f6977E;
|
||||
if (equals) {
|
||||
TypedArray obtainStyledAttributes = c0412i.f7005c.obtainStyledAttributes(attributeSet, AbstractC0336a.p);
|
||||
c0411h.f6979b = obtainStyledAttributes.getResourceId(r4, 0);
|
||||
c0411h.f6980c = obtainStyledAttributes.getInt(3, 0);
|
||||
c0411h.f6981d = obtainStyledAttributes.getInt(4, 0);
|
||||
c0411h.f6982e = obtainStyledAttributes.getInt(5, 0);
|
||||
c0411h.f6983f = obtainStyledAttributes.getBoolean(2, r4);
|
||||
c0411h.f6984g = obtainStyledAttributes.getBoolean(0, r4);
|
||||
obtainStyledAttributes.recycle();
|
||||
} else {
|
||||
if (name3.equals("item")) {
|
||||
Context context = c0412i.f7005c;
|
||||
TypedArray obtainStyledAttributes2 = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6435q);
|
||||
c0411h.i = obtainStyledAttributes2.getResourceId(2, 0);
|
||||
c0411h.f6985j = (obtainStyledAttributes2.getInt(5, c0411h.f6980c) & (-65536)) | (obtainStyledAttributes2.getInt(6, c0411h.f6981d) & 65535);
|
||||
c0411h.f6986k = obtainStyledAttributes2.getText(7);
|
||||
c0411h.f6987l = obtainStyledAttributes2.getText(8);
|
||||
c0411h.f6988m = obtainStyledAttributes2.getResourceId(0, 0);
|
||||
String string = obtainStyledAttributes2.getString(9);
|
||||
c0411h.f6989n = string == null ? (char) 0 : string.charAt(0);
|
||||
c0411h.f6990o = obtainStyledAttributes2.getInt(16, ConstantsKt.DEFAULT_BLOCK_SIZE);
|
||||
String string2 = obtainStyledAttributes2.getString(10);
|
||||
c0411h.p = string2 == null ? (char) 0 : string2.charAt(0);
|
||||
c0411h.f6991q = obtainStyledAttributes2.getInt(20, ConstantsKt.DEFAULT_BLOCK_SIZE);
|
||||
if (obtainStyledAttributes2.hasValue(11)) {
|
||||
c0411h.f6992r = obtainStyledAttributes2.getBoolean(11, false) ? 1 : 0;
|
||||
} else {
|
||||
c0411h.f6992r = c0411h.f6982e;
|
||||
}
|
||||
c0411h.f6993s = obtainStyledAttributes2.getBoolean(3, false);
|
||||
c0411h.f6994t = obtainStyledAttributes2.getBoolean(4, c0411h.f6983f);
|
||||
c0411h.f6995u = obtainStyledAttributes2.getBoolean(1, c0411h.f6984g);
|
||||
c0411h.f6996v = obtainStyledAttributes2.getInt(21, -1);
|
||||
c0411h.f6999y = obtainStyledAttributes2.getString(12);
|
||||
c0411h.f6997w = obtainStyledAttributes2.getResourceId(13, 0);
|
||||
c0411h.f6998x = obtainStyledAttributes2.getString(15);
|
||||
String string3 = obtainStyledAttributes2.getString(14);
|
||||
boolean z6 = string3 != null;
|
||||
if (z6 && c0411h.f6997w == 0 && c0411h.f6998x == null) {
|
||||
c0411h.f7000z = (p) c0411h.a(string3, f7002f, c0412i.f7004b);
|
||||
} else {
|
||||
if (z6) {
|
||||
Log.w("SupportMenuInflater", "Ignoring attribute 'actionProviderClass'. Action view already specified.");
|
||||
}
|
||||
c0411h.f7000z = null;
|
||||
}
|
||||
c0411h.f6973A = obtainStyledAttributes2.getText(17);
|
||||
c0411h.f6974B = obtainStyledAttributes2.getText(22);
|
||||
if (obtainStyledAttributes2.hasValue(19)) {
|
||||
c0411h.f6976D = AbstractC0463g0.c(obtainStyledAttributes2.getInt(19, -1), c0411h.f6976D);
|
||||
} else {
|
||||
c0411h.f6976D = null;
|
||||
}
|
||||
if (obtainStyledAttributes2.hasValue(18)) {
|
||||
if (!obtainStyledAttributes2.hasValue(18) || (resourceId = obtainStyledAttributes2.getResourceId(18, 0)) == 0 || (colorStateList = D.h.getColorStateList(context, resourceId)) == null) {
|
||||
colorStateList = obtainStyledAttributes2.getColorStateList(18);
|
||||
}
|
||||
c0411h.f6975C = colorStateList;
|
||||
} else {
|
||||
c0411h.f6975C = null;
|
||||
}
|
||||
obtainStyledAttributes2.recycle();
|
||||
c0411h.h = false;
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = true;
|
||||
} else if (name3.equals("menu")) {
|
||||
z3 = true;
|
||||
c0411h.h = true;
|
||||
SubMenu addSubMenu = c0411h.f6978a.addSubMenu(c0411h.f6979b, c0411h.i, c0411h.f6985j, c0411h.f6986k);
|
||||
c0411h.b(addSubMenu.getItem());
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
b(xmlResourceParser2, attributeSet, addSubMenu);
|
||||
} else {
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = true;
|
||||
str = name3;
|
||||
z5 = true;
|
||||
}
|
||||
eventType = xmlResourceParser2.next();
|
||||
r4 = z3;
|
||||
i = 2;
|
||||
z5 = z5;
|
||||
}
|
||||
}
|
||||
xmlResourceParser2 = xmlResourceParser;
|
||||
z3 = r4;
|
||||
}
|
||||
eventType = xmlResourceParser2.next();
|
||||
r4 = z3;
|
||||
i = 2;
|
||||
z5 = z5;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.MenuInflater
|
||||
public final void inflate(int i, Menu menu) {
|
||||
if (!(menu instanceof l.m)) {
|
||||
super.inflate(i, menu);
|
||||
return;
|
||||
}
|
||||
XmlResourceParser xmlResourceParser = null;
|
||||
boolean z3 = false;
|
||||
try {
|
||||
try {
|
||||
xmlResourceParser = this.f7005c.getResources().getLayout(i);
|
||||
AttributeSet asAttributeSet = Xml.asAttributeSet(xmlResourceParser);
|
||||
if (menu instanceof l.m) {
|
||||
l.m mVar = (l.m) menu;
|
||||
if (!mVar.p) {
|
||||
mVar.w();
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
b(xmlResourceParser, asAttributeSet, menu);
|
||||
if (z3) {
|
||||
((l.m) menu).v();
|
||||
}
|
||||
xmlResourceParser.close();
|
||||
} catch (IOException e4) {
|
||||
throw new InflateException("Error inflating menu XML", e4);
|
||||
} catch (XmlPullParserException e5) {
|
||||
throw new InflateException("Error inflating menu XML", e5);
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
if (z3) {
|
||||
((l.m) menu).v();
|
||||
}
|
||||
if (xmlResourceParser != null) {
|
||||
xmlResourceParser.close();
|
||||
}
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
92
apk_decompiled/sources/k/C0413j.java
Normal file
92
apk_decompiled/sources/k/C0413j.java
Normal file
@@ -0,0 +1,92 @@
|
||||
package k;
|
||||
|
||||
import m.V0;
|
||||
|
||||
/* renamed from: k.j, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0413j extends m3.l {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7007a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public boolean f7008b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f7009c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f7010d;
|
||||
|
||||
public C0413j(C0414k c0414k) {
|
||||
this.f7007a = 0;
|
||||
this.f7010d = c0414k;
|
||||
this.f7008b = false;
|
||||
this.f7009c = 0;
|
||||
}
|
||||
|
||||
@Override // O.i0
|
||||
public final void a() {
|
||||
switch (this.f7007a) {
|
||||
case 0:
|
||||
int i = this.f7009c + 1;
|
||||
this.f7009c = i;
|
||||
C0414k c0414k = (C0414k) this.f7010d;
|
||||
if (i == c0414k.f7011a.size()) {
|
||||
m3.l lVar = c0414k.f7014d;
|
||||
if (lVar != null) {
|
||||
lVar.a();
|
||||
}
|
||||
this.f7009c = 0;
|
||||
this.f7008b = false;
|
||||
c0414k.f7015e = false;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
if (this.f7008b) {
|
||||
return;
|
||||
}
|
||||
((V0) this.f7010d).f7624a.setVisibility(this.f7009c);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m3.l, O.i0
|
||||
public void b() {
|
||||
switch (this.f7007a) {
|
||||
case 1:
|
||||
this.f7008b = true;
|
||||
return;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // m3.l, O.i0
|
||||
public final void c() {
|
||||
switch (this.f7007a) {
|
||||
case 0:
|
||||
if (this.f7008b) {
|
||||
return;
|
||||
}
|
||||
this.f7008b = true;
|
||||
m3.l lVar = ((C0414k) this.f7010d).f7014d;
|
||||
if (lVar != null) {
|
||||
lVar.c();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
((V0) this.f7010d).f7624a.setVisibility(0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public C0413j(V0 v02, int i) {
|
||||
this.f7007a = 1;
|
||||
this.f7010d = v02;
|
||||
this.f7009c = i;
|
||||
this.f7008b = false;
|
||||
}
|
||||
}
|
||||
67
apk_decompiled/sources/k/C0414k.java
Normal file
67
apk_decompiled/sources/k/C0414k.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package k;
|
||||
|
||||
import O.h0;
|
||||
import android.view.View;
|
||||
import android.view.animation.BaseInterpolator;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* renamed from: k.k, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0414k {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public BaseInterpolator f7013c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public m3.l f7014d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f7015e;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public long f7012b = -1;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final C0413j f7016f = new C0413j(this);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayList f7011a = new ArrayList();
|
||||
|
||||
public final void a() {
|
||||
if (this.f7015e) {
|
||||
Iterator it = this.f7011a.iterator();
|
||||
while (it.hasNext()) {
|
||||
((h0) it.next()).b();
|
||||
}
|
||||
this.f7015e = false;
|
||||
}
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
View view;
|
||||
if (this.f7015e) {
|
||||
return;
|
||||
}
|
||||
Iterator it = this.f7011a.iterator();
|
||||
while (it.hasNext()) {
|
||||
h0 h0Var = (h0) it.next();
|
||||
long j4 = this.f7012b;
|
||||
if (j4 >= 0) {
|
||||
h0Var.c(j4);
|
||||
}
|
||||
BaseInterpolator baseInterpolator = this.f7013c;
|
||||
if (baseInterpolator != null && (view = (View) h0Var.f1255a.get()) != null) {
|
||||
view.animate().setInterpolator(baseInterpolator);
|
||||
}
|
||||
if (this.f7014d != null) {
|
||||
h0Var.d(this.f7016f);
|
||||
}
|
||||
View view2 = (View) h0Var.f1255a.get();
|
||||
if (view2 != null) {
|
||||
view2.animate().start();
|
||||
}
|
||||
}
|
||||
this.f7015e = true;
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/k/InterfaceC0404a.java
Normal file
15
apk_decompiled/sources/k/InterfaceC0404a.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package k;
|
||||
|
||||
import android.view.MenuItem;
|
||||
|
||||
/* renamed from: k.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0404a {
|
||||
boolean e(AbstractC0405b abstractC0405b, MenuItem menuItem);
|
||||
|
||||
boolean f(AbstractC0405b abstractC0405b, l.m mVar);
|
||||
|
||||
boolean i(AbstractC0405b abstractC0405b, l.m mVar);
|
||||
|
||||
void j(AbstractC0405b abstractC0405b);
|
||||
}
|
||||
6
apk_decompiled/sources/k/InterfaceC0406c.java
Normal file
6
apk_decompiled/sources/k/InterfaceC0406c.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package k;
|
||||
|
||||
/* renamed from: k.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0406c {
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package k;
|
||||
|
||||
import android.view.MenuItem;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/* renamed from: k.g, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class MenuItemOnMenuItemClickListenerC0410g implements MenuItem.OnMenuItemClickListener {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final Class[] f6970c = {MenuItem.class};
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Object f6971a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Method f6972b;
|
||||
|
||||
@Override // android.view.MenuItem.OnMenuItemClickListener
|
||||
public final boolean onMenuItemClick(MenuItem menuItem) {
|
||||
Method method = this.f6972b;
|
||||
try {
|
||||
Class<?> returnType = method.getReturnType();
|
||||
Class<?> cls = Boolean.TYPE;
|
||||
Object obj = this.f6971a;
|
||||
if (returnType == cls) {
|
||||
return ((Boolean) method.invoke(obj, menuItem)).booleanValue();
|
||||
}
|
||||
method.invoke(obj, menuItem);
|
||||
return true;
|
||||
} catch (Exception e4) {
|
||||
throw new RuntimeException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/k/l.java
Normal file
16
apk_decompiled/sources/k/l.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package k;
|
||||
|
||||
import android.view.ActionMode;
|
||||
import android.view.SearchEvent;
|
||||
import android.view.Window;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class l {
|
||||
public static boolean a(Window.Callback callback, SearchEvent searchEvent) {
|
||||
return callback.onSearchRequested(searchEvent);
|
||||
}
|
||||
|
||||
public static ActionMode b(Window.Callback callback, ActionMode.Callback callback2, int i) {
|
||||
return callback.onWindowStartingActionMode(callback2, i);
|
||||
}
|
||||
}
|
||||
13
apk_decompiled/sources/k/m.java
Normal file
13
apk_decompiled/sources/k/m.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package k;
|
||||
|
||||
import android.view.KeyboardShortcutGroup;
|
||||
import android.view.Menu;
|
||||
import android.view.Window;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class m {
|
||||
public static void a(Window.Callback callback, List<KeyboardShortcutGroup> list, Menu menu, int i) {
|
||||
callback.onProvideKeyboardShortcuts(list, menu, i);
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/k/n.java
Normal file
10
apk_decompiled/sources/k/n.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package k;
|
||||
|
||||
import android.view.Window;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class n {
|
||||
public static void a(Window.Callback callback, boolean z3) {
|
||||
callback.onPointerCaptureChanged(z3);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user