apkfuckery/com.discord/smali/androidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater.smali
2020-05-17 12:40:10 +00:00

102 lines
2.6 KiB
Smali

.class public 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 = 0x9
name = "BasicInflater"
.end annotation
# static fields
.field public static final sClassPrefixList:[Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 3
const-string v0, "android.widget."
const-string v1, "android.webkit."
const-string v2, "android.app."
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
return-void
.end method
.method public 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 public 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}, Landroid/view/LayoutInflater;->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