AsyncLayoutInflater$BasicInflater.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 = 0xa
name = "BasicInflater"
.end annotation
# static fields
.field private static final sClassPrefixList:[Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 3
.line 127
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 constructor <init>(Landroid/content/Context;)V
.registers 2
.param p1, "context" # Landroid/content/Context;
.line 134
invoke-direct {p0, p1}, Landroid/view/LayoutInflater;-><init>(Landroid/content/Context;)V
.line 135
return-void
.end method
# virtual methods
.method public cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
.registers 3
.param p1, "newContext" # Landroid/content/Context;
.line 139
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;
.registers 8
.param p1, "name" # Ljava/lang/String;
.param p2, "attrs" # Landroid/util/AttributeSet;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 144
sget-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
array-length v1, v0
const/4 v2, 0x0
:goto_4
if-ge v2, v1, :cond_14
aget-object v3, v0, v2
.line 146
.local v3, "prefix":Ljava/lang/String;
:try_start_8
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 v4
:try_end_c
.catch Ljava/lang/ClassNotFoundException; {:try_start_8 .. :try_end_c} :catch_10
.line 147
.local v4, "view":Landroid/view/View;
if-eqz v4, :cond_f
.line 148
return-object v4
.line 153
.end local v4 # "view":Landroid/view/View;
:cond_f
goto :goto_11
.line 150
:catch_10
move-exception v4
.line 144
.end local v3 # "prefix":Ljava/lang/String;
:goto_11
add-int/lit8 v2, v2, 0x1
goto :goto_4
.line 156
:cond_14
invoke-super {p0, p1, p2}, Landroid/view/LayoutInflater;->onCreateView(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object v0
return-object v0
.end method