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

1069 lines
30 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/appcompat/app/AppCompatViewInflater;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "AppCompatViewInflater.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/app/AppCompatViewInflater$DeclaredOnClickListener;
}
.end annotation
# static fields
.field private static final LOG_TAG:Ljava/lang/String; = "AppCompatViewInflater"
.field private static final sClassPrefixList:[Ljava/lang/String;
.field private static final sConstructorMap:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/reflect/Constructor<",
"+",
"Landroid/view/View;",
">;>;"
}
.end annotation
.end field
.field private static final sConstructorSignature:[Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
.field private static final sOnClickAttrs:[I
# instance fields
.field private final mConstructorArgs:[Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.locals 5
const/4 v0, 0x2
new-array v1, v0, [Ljava/lang/Class;
const-class v2, Landroid/content/Context;
const/4 v3, 0x0
aput-object v2, v1, v3
const-class v2, Landroid/util/AttributeSet;
const/4 v4, 0x1
aput-object v2, v1, v4
sput-object v1, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorSignature:[Ljava/lang/Class;
new-array v1, v4, [I
const v2, 0x101026f
aput v2, v1, v3
sput-object v1, Landroidx/appcompat/app/AppCompatViewInflater;->sOnClickAttrs:[I
const/4 v1, 0x3
new-array v1, v1, [Ljava/lang/String;
const-string v2, "android.widget."
aput-object v2, v1, v3
const-string v2, "android.view."
aput-object v2, v1, v4
const-string v2, "android.webkit."
aput-object v2, v1, v0
sput-object v1, Landroidx/appcompat/app/AppCompatViewInflater;->sClassPrefixList:[Ljava/lang/String;
new-instance v0, Landroidx/collection/ArrayMap;
invoke-direct {v0}, Landroidx/collection/ArrayMap;-><init>()V
sput-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Ljava/util/Map;
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 3
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
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0xf
if-lt v1, v2, :cond_0
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
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
:cond_2
:goto_0
return-void
.end method
.method private createViewByPrefix(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/view/View;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Landroid/view/InflateException;
}
.end annotation
sget-object v0, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Ljava/util/Map;
invoke-interface {v0, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/reflect/Constructor;
if-nez v0, :cond_1
:try_start_0
invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object p1
if-eqz p3, :cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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 p3
goto :goto_0
:cond_0
move-object p3, p2
:goto_0
invoke-virtual {p1, p3}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
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;
move-result-object v0
sget-object p1, Landroidx/appcompat/app/AppCompatViewInflater;->sConstructorMap:Ljava/util/Map;
invoke-interface {p1, p2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_1
const/4 p1, 0x1
invoke-virtual {v0, p1}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
iget-object p1, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
invoke-virtual {v0, p1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
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;
.locals 4
const-string 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
iget-object v3, p0, Landroidx/appcompat/app/AppCompatViewInflater;->mConstructorArgs:[Ljava/lang/Object;
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;
array-length v3, v3
if-ge p3, v3, :cond_2
sget-object v3, Landroidx/appcompat/app/AppCompatViewInflater;->sClassPrefixList:[Ljava/lang/String;
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
.method private static themifyContext(Landroid/content/Context;Landroid/util/AttributeSet;ZZ)Landroid/content/Context;
.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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 protected 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 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
if-eqz p6, :cond_4
const/4 p5, 0x2
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
if-eqz p6, :cond_4
const/4 p5, 0x3
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
if-eqz p6, :cond_4
const/4 p5, 0x6
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
if-eqz p6, :cond_4
const/16 p5, 0x9
goto :goto_1
:sswitch_4
const-string p6, "ImageView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/4 p5, 0x1
goto :goto_1
:sswitch_5
const-string p6, "RadioButton"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/4 p5, 0x7
goto :goto_1
:sswitch_6
const-string p6, "Spinner"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/4 p5, 0x4
goto :goto_1
:sswitch_7
const-string p6, "SeekBar"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/16 p5, 0xc
goto :goto_1
:sswitch_8
const-string p6, "ImageButton"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/4 p5, 0x5
goto :goto_1
:sswitch_9
const-string p6, "TextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/4 p5, 0x0
goto :goto_1
:sswitch_a
const-string p6, "MultiAutoCompleteTextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/16 p5, 0xa
goto :goto_1
:sswitch_b
const-string p6, "CheckedTextView"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/16 p5, 0x8
goto :goto_1
:sswitch_c
const-string p6, "RatingBar"
invoke-virtual {p2, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p6
if-eqz p6, :cond_4
const/16 p5, 0xb
:cond_4
: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
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:pswitch_0
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createSeekBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSeekBar;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_1
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createRatingBar(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRatingBar;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_2
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createMultiAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatMultiAutoCompleteTextView;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_3
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createAutoCompleteTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_4
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createCheckedTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckedTextView;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_5
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createRadioButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatRadioButton;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_6
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createCheckBox(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatCheckBox;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_7
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createImageButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageButton;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_8
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createSpinner(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatSpinner;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_9
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createEditText(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatEditText;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_a
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createButton(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatButton;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_b
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createImageView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatImageView;
move-result-object p5
2019-02-04 20:29:01 +00:00
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
goto :goto_2
:pswitch_c
invoke-virtual {p0, p1, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->createTextView(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/appcompat/widget/AppCompatTextView;
move-result-object p5
invoke-direct {p0, p5, p2}, Landroidx/appcompat/app/AppCompatViewInflater;->verifyNotNull(Landroid/view/View;Ljava/lang/String;)V
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-04 20:08:30 +00:00
if-nez p5, :cond_5
if-eq p3, p1, :cond_5
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
:cond_5
if-eqz p5, :cond_6
invoke-direct {p0, p5, p4}, Landroidx/appcompat/app/AppCompatViewInflater;->checkOnClickListener(Landroid/view/View;Landroid/util/AttributeSet;)V
:cond_6
return-object p5
2019-02-04 20:29:01 +00:00
nop
2019-02-04 20:08:30 +00:00
:sswitch_data_0
.sparse-switch
-0x7404ceea -> :sswitch_c
-0x56c015e7 -> :sswitch_b
-0x503aa7ad -> :sswitch_a
-0x37f7066e -> :sswitch_9
-0x37e04bb3 -> :sswitch_8
-0x274065a5 -> :sswitch_7
-0x1440b607 -> :sswitch_6
0x2e46a6ed -> :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_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