apkfuckery/com.discord/smali/androidx/appcompat/app/AppCompatViewInflater.smali

1091 lines
31 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/appcompat/app/AppCompatViewInflater;
.super Ljava/lang/Object;
.source "AppCompatViewInflater.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/app/AppCompatViewInflater$DeclaredOnClickListener;
}
.end annotation
# static fields
2020-11-16 01:00:50 +00:00
.field public static final LOG_TAG:Ljava/lang/String; = "AppCompatViewInflater"
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
.field public static final sClassPrefixList:[Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
.field public static final sConstructorMap:Landroidx/collection/SimpleArrayMap;
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/SimpleArrayMap<",
"Ljava/lang/String;",
"Ljava/lang/reflect/Constructor<",
"+",
"Landroid/view/View;",
">;>;"
}
.end annotation
.end field
2020-11-16 01:00:50 +00:00
.field public static final sConstructorSignature:[Ljava/lang/Class;
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
2020-11-16 01:00:50 +00:00
.field public static final sOnClickAttrs:[I
2020-11-12 02:11:44 +00:00
# instance fields
2020-11-16 01:00:50 +00:00
.field public final mConstructorArgs:[Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 4
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Class;
const-class v1, Landroid/content/Context;
const/4 v2, 0x0
aput-object v1, v0, v2
const-class v1, Landroid/util/AttributeSet;
const/4 v3, 0x1
aput-object v1, v0, v3
sput-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorSignature:[Ljava/lang/Class;
new-array v0, v3, [I
const v1, 0x101026f
aput v1, v0, v2
sput-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sOnClickAttrs:[I
const-string v0, "android.widget."
const-string v1, "android.view."
const-string v2, "android.webkit."
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sClassPrefixList:[Ljava/lang/String;
new-instance v0, Landroidx/collection/SimpleArrayMap;
invoke-direct {v0}, Landroidx/collection/SimpleArrayMap;-><init>()V
sput-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Landroidx/collection/SimpleArrayMap;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Object;
iput-object v0, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
return-void
.end method
.method private checkOnClickListener(Landroid/view/View;Landroid/util/AttributeSet;)V
.locals 2
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v0
instance-of v1, v0, Landroid/content/ContextWrapper;
if-eqz v1, :cond_2
invoke-static {p1}, Landroidx/core/view/ViewCompat;->hasOnClickListeners(Landroid/view/View;)Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
sget-object v1, Landroidx/appcompat/app/AppCompatViewInflater;->sOnClickAttrs:[I
invoke-virtual {v0, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p2
const/4 v0, 0x0
invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1
new-instance v1, Landroidx/appcompat/app/AppCompatViewInflater$DeclaredOnClickListener;
invoke-direct {v1, p1, v0}, Landroidx/appcompat/app/AppCompatViewInflater$DeclaredOnClickListener;-><init>(Landroid/view/View;Ljava/lang/String;)V
invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_1
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
:cond_2
:goto_0
return-void
.end method
.method private createViewByPrefix(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/view/View;
2020-11-16 01:00:50 +00:00
.locals 1
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Landroid/view/InflateException;
}
.end annotation
sget-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Landroidx/collection/SimpleArrayMap;
invoke-virtual {v0, p2}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-16 01:00:50 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
check-cast v0, Ljava/lang/reflect/Constructor;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-nez v0, :cond_1
2020-11-12 02:11:44 +00:00
if-eqz p3, :cond_0
:try_start_0
2020-11-16 01:00:50 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object p3
goto :goto_0
:cond_0
move-object p3, p2
:goto_0
2020-11-16 01:00:50 +00:00
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object p1
2020-11-16 01:00:50 +00:00
invoke-static {p3, v0, p1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
2020-11-12 02:11:44 +00:00
move-result-object p1
const-class p3, Landroid/view/View;
invoke-virtual {p1, p3}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
sget-object p3, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorSignature:[Ljava/lang/Class;
invoke-virtual {p1, p3}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
2020-11-16 01:00:50 +00:00
move-result-object v0
sget-object p1, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Landroidx/collection/SimpleArrayMap;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {p1, p2, v0}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
:cond_1
const/4 p1, 0x1
2020-11-16 01:00:50 +00:00
invoke-virtual {v0, p1}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
2020-11-12 02:11:44 +00:00
iget-object p1, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
2020-11-16 01:00:50 +00:00
invoke-virtual {v0, p1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p1
check-cast p1, Landroid/view/View;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
const/4 p1, 0x0
return-object p1
.end method
.method private createViewFromTag(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
2020-11-16 01:00:50 +00:00
.locals 4
2020-11-12 02:11:44 +00:00
const-string/jumbo v0, "view"
invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
const-string p2, "class"
invoke-interface {p3, v1, p2}, Landroid/util/AttributeSet;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
:cond_0
const/4 v0, 0x1
const/4 v2, 0x0
:try_start_0
iget-object v3, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object p1, v3, v2
2020-11-16 01:00:50 +00:00
iget-object v3, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
aput-object p3, v3, v0
const/4 p3, -0x1
const/16 v3, 0x2e
invoke-virtual {p2, v3}, Ljava/lang/String;->indexOf(I)I
move-result v3
if-ne p3, v3, :cond_3
const/4 p3, 0x0
:goto_0
sget-object v3, Landroidx/appcompat/app/AppCompatViewInflater;->sClassPrefixList:[Ljava/lang/String;
2020-11-16 01:00:50 +00:00
array-length v3, v3
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-ge p3, v3, :cond_2
sget-object v3, Landroidx/appcompat/app/AppCompatViewInflater;->sClassPrefixList:[Ljava/lang/String;
2020-11-12 02:11:44 +00:00
aget-object v3, v3, p3
invoke-direct {p0, p1, p2, v3}, Landroidx/appcompat/app/AppCompatViewInflater;->createViewByPrefix(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/view/View;
move-result-object v3
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v3, :cond_1
iget-object p1, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object v1, p1, v2
aput-object v1, p1, v0
return-object v3
:cond_1
add-int/lit8 p3, p3, 0x1
goto :goto_0
:cond_2
iget-object p1, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object v1, p1, v2
aput-object v1, p1, v0
return-object v1
:cond_3
:try_start_1
invoke-direct {p0, p1, p2, v1}, Landroidx/appcompat/app/AppCompatViewInflater;->createViewByPrefix(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/view/View;
move-result-object p1
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
iget-object p2, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object v1, p2, v2
aput-object v1, p2, v0
return-object p1
:catchall_0
move-exception p1
iget-object p2, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object v1, p2, v2
aput-object v1, p2, v0
throw p1
:catch_0
iget-object p1, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
aput-object v1, p1, v2
aput-object v1, p1, v0
return-object v1
.end method
2020-11-16 01:00:50 +00:00
.method public static themifyContext(Landroid/content/Context;Landroid/util/AttributeSet;ZZ)Landroid/content/Context;
2020-11-12 02:11:44 +00:00
.locals 2
sget-object v0, Landroidx/appcompat/R$styleable;->View:[I
const/4 v1, 0x0
invoke-virtual {p0, p1, v0, v1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p1
if-eqz p2, :cond_0
sget p2, Landroidx/appcompat/R$styleable;->View_android_theme:I
invoke-virtual {p1, p2, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p2
goto :goto_0
:cond_0
const/4 p2, 0x0
:goto_0
if-eqz p3, :cond_1
if-nez p2, :cond_1
sget p2, Landroidx/appcompat/R$styleable;->View_theme:I
invoke-virtual {p1, p2, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p2
if-eqz p2, :cond_1
const-string p3, "AppCompatViewInflater"
const-string v0, "app:theme is now deprecated. Please move to using android:theme instead."
invoke-static {p3, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
if-eqz p2, :cond_3
instance-of p1, p0, Landroidx/appcompat/view/ContextThemeWrapper;
if-eqz p1, :cond_2
move-object p1, p0
check-cast p1, Landroidx/appcompat/view/ContextThemeWrapper;
invoke-virtual {p1}, Landroidx/appcompat/view/ContextThemeWrapper;->getThemeResId()I
move-result p1
if-eq p1, p2, :cond_3
:cond_2
new-instance p1, Landroidx/appcompat/view/ContextThemeWrapper;
invoke-direct {p1, p0, p2}, Landroidx/appcompat/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
move-object p0, p1
:cond_3
return-object p0
.end method
.method private verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
.locals 2
if-eqz p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " asked to inflate view for <"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p2, ">, but returned null"
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
# virtual methods
.method public createAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatButton;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatButton;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createCheckBox(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckBox;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatCheckBox;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatCheckBox;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createCheckedTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckedTextView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatCheckedTextView;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatCheckedTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createEditText(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatEditText;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatEditText;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatEditText;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createImageButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageButton;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatImageButton;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatImageButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createImageView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatImageView;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createMultiAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatMultiAutoCompleteTextView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatMultiAutoCompleteTextView;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatMultiAutoCompleteTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createRadioButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRadioButton;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatRadioButton;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatRadioButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createRatingBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRatingBar;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatRatingBar;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatRatingBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createSeekBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSeekBar;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatSeekBar;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createSpinner(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSpinner;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatSpinner;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatTextView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatTextView;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createToggleButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatToggleButton;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
new-instance v0, Landroidx/appcompat/widget/AppCompatToggleButton;
invoke-direct {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatToggleButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public createView(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
.locals 0
.annotation build Landroidx/annotation/Nullable;
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method public final createView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;ZZZZ)Landroid/view/View;
.locals 0
.param p3 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
if-eqz p5, :cond_0
if-eqz p1, :cond_0
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
goto :goto_0
:cond_0
move-object p1, p3
:goto_0
if-nez p6, :cond_1
if-eqz p7, :cond_2
:cond_1
invoke-static {p1, p4, p6, p7}, Landroidx/appcompat/app/AppCompatViewInflater;->themifyContext(Landroid/content/Context;Landroid/util/AttributeSet;ZZ)Landroid/content/Context;
move-result-object p1
:cond_2
if-eqz p8, :cond_3
invoke-static {p1}, Landroidx/appcompat/widget/TintContextWrapper;->wrap(Landroid/content/Context;)Landroid/content/Context;
move-result-object p1
:cond_3
const/4 p5, -0x1
invoke-virtual {p2}, Ljava/lang/String;->hashCode()I
move-result p6
sparse-switch p6, :sswitch_data_0
goto/16 :goto_1
:sswitch_0
const-string p6, "Button"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x2
2020-11-12 02:11:44 +00:00
goto/16 :goto_1
:sswitch_1
const-string p6, "EditText"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x3
2020-11-12 02:11:44 +00:00
goto/16 :goto_1
:sswitch_2
const-string p6, "CheckBox"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x6
2020-11-12 02:11:44 +00:00
goto/16 :goto_1
:sswitch_3
const-string p6, "AutoCompleteTextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0x9
2020-11-12 02:11:44 +00:00
goto/16 :goto_1
:sswitch_4
const-string p6, "ImageView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x1
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
goto :goto_1
2020-11-12 02:11:44 +00:00
:sswitch_5
const-string p6, "ToggleButton"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0xd
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
goto :goto_1
2020-11-12 02:11:44 +00:00
:sswitch_6
const-string p6, "RadioButton"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
const/4 p5, 0x7
goto :goto_1
:sswitch_7
const-string p6, "Spinner"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x4
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_8
const-string p6, "SeekBar"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0xc
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_9
const-string p6, "ImageButton"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x5
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_a
const-string p6, "TextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/4 p5, 0x0
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_b
const-string p6, "MultiAutoCompleteTextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0xa
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_c
const-string p6, "CheckedTextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0x8
2020-11-12 02:11:44 +00:00
goto :goto_1
:sswitch_d
const-string p6, "RatingBar"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
2020-11-16 01:00:50 +00:00
if-eqz p6, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/16 p5, 0xb
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
:cond_4
2020-11-12 02:11:44 +00:00
:goto_1
packed-switch p5, :pswitch_data_0
invoke-virtual {p0, p1, p2, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createView(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p5
goto/16 :goto_2
:pswitch_0
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createToggleButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatToggleButton;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto/16 :goto_2
:pswitch_1
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createSeekBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSeekBar;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_2
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createRatingBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRatingBar;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_3
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createMultiAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatMultiAutoCompleteTextView;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_4
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_5
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createCheckedTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckedTextView;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_6
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createRadioButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRadioButton;
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_7
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createCheckBox(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckBox;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_8
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createImageButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageButton;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_9
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createSpinner(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSpinner;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_a
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createEditText(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatEditText;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_b
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatButton;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_c
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createImageView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageView;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
goto :goto_2
:pswitch_d
2020-11-16 01:00:50 +00:00
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatTextView;
2020-11-12 02:11:44 +00:00
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
:goto_2
2020-11-16 01:00:50 +00:00
if-nez p5, :cond_5
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-eq p3, p1, :cond_5
2020-11-12 02:11:44 +00:00
invoke-direct {p0, p1, p2, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createViewFromTag(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p5
2020-11-16 01:00:50 +00:00
:cond_5
if-eqz p5, :cond_6
2020-11-12 02:11:44 +00:00
invoke-direct {p0, p5, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->checkOnClickListener(Landroid/view/View;Landroid/util/AttributeSet;)V
2020-11-16 01:00:50 +00:00
:cond_6
2020-11-12 02:11:44 +00:00
return-object p5
:sswitch_data_0
.sparse-switch
-0x7404ceea -> :sswitch_d
-0x56c015e7 -> :sswitch_c
-0x503aa7ad -> :sswitch_b
-0x37f7066e -> :sswitch_a
-0x37e04bb3 -> :sswitch_9
-0x274065a5 -> :sswitch_8
-0x1440b607 -> :sswitch_7
0x2e46a6ed -> :sswitch_6
0x2fa453c6 -> :sswitch_5
0x431b5280 -> :sswitch_4
0x5445f9ba -> :sswitch_3
0x5f7507c3 -> :sswitch_2
0x63577677 -> :sswitch_1
0x77471352 -> :sswitch_0
.end sparse-switch
:pswitch_data_0
.packed-switch 0x0
:pswitch_d
:pswitch_c
:pswitch_b
:pswitch_a
:pswitch_9
:pswitch_8
:pswitch_7
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method