apkfuckery/com.discord/smali/androidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater.smali
2019-05-03 20:53:54 +02:00

114 lines
2.7 KiB
Smali

.class Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;
.super Landroid/view/LayoutInflater;
.source "AsyncLayoutInflater.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "BasicInflater"
.end annotation
# static fields
.field private static final sClassPrefixList:[Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 3
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.widget."
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "android.webkit."
aput-object v2, v0, v1
const/4 v1, 0x2
const-string v2, "android.app."
aput-object v2, v0, v1
sput-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
return-void
.end method
.method constructor <init>(Landroid/content/Context;)V
.locals 0
invoke-direct {p0, p1}, Landroid/view/LayoutInflater;-><init>(Landroid/content/Context;)V
return-void
.end method
# virtual methods
.method public cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
.locals 1
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;
invoke-direct {v0, p1}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;-><init>(Landroid/content/Context;)V
return-object v0
.end method
.method protected onCreateView(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
sget-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
:try_start_0
invoke-virtual {p0, p1, v3, p2}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->createView(Ljava/lang/String;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object v3
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
if-eqz v3, :cond_0
return-object v3
:catch_0
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
invoke-super {p0, p1, p2}, Landroid/view/LayoutInflater;->onCreateView(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p1
return-object p1
.end method