107 lines
2.9 KiB
Smali
107 lines
2.9 KiB
Smali
.class Landroid/support/v4/view/LayoutInflaterCompat$LayoutInflaterCompatBaseImpl;
|
|
.super Ljava/lang/Object;
|
|
.source "LayoutInflaterCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v4/view/LayoutInflaterCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "LayoutInflaterCompatBaseImpl"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 92
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getFactory(Landroid/view/LayoutInflater;)Landroid/support/v4/view/LayoutInflaterFactory;
|
|
.locals 1
|
|
|
|
.line 116
|
|
invoke-virtual {p1}, Landroid/view/LayoutInflater;->getFactory()Landroid/view/LayoutInflater$Factory;
|
|
|
|
move-result-object p1
|
|
|
|
.line 117
|
|
instance-of v0, p1, Landroid/support/v4/view/LayoutInflaterCompat$Factory2Wrapper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 118
|
|
check-cast p1, Landroid/support/v4/view/LayoutInflaterCompat$Factory2Wrapper;
|
|
|
|
iget-object p1, p1, Landroid/support/v4/view/LayoutInflaterCompat$Factory2Wrapper;->mDelegateFactory:Landroid/support/v4/view/LayoutInflaterFactory;
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public setFactory(Landroid/view/LayoutInflater;Landroid/support/v4/view/LayoutInflaterFactory;)V
|
|
.locals 1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 95
|
|
new-instance v0, Landroid/support/v4/view/LayoutInflaterCompat$Factory2Wrapper;
|
|
|
|
invoke-direct {v0, p2}, Landroid/support/v4/view/LayoutInflaterCompat$Factory2Wrapper;-><init>(Landroid/support/v4/view/LayoutInflaterFactory;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 97
|
|
:goto_0
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v4/view/LayoutInflaterCompat$LayoutInflaterCompatBaseImpl;->setFactory2(Landroid/view/LayoutInflater;Landroid/view/LayoutInflater$Factory2;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFactory2(Landroid/view/LayoutInflater;Landroid/view/LayoutInflater$Factory2;)V
|
|
.locals 2
|
|
|
|
.line 101
|
|
invoke-virtual {p1, p2}, Landroid/view/LayoutInflater;->setFactory2(Landroid/view/LayoutInflater$Factory2;)V
|
|
|
|
.line 103
|
|
invoke-virtual {p1}, Landroid/view/LayoutInflater;->getFactory()Landroid/view/LayoutInflater$Factory;
|
|
|
|
move-result-object v0
|
|
|
|
.line 104
|
|
instance-of v1, v0, Landroid/view/LayoutInflater$Factory2;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 107
|
|
check-cast v0, Landroid/view/LayoutInflater$Factory2;
|
|
|
|
invoke-static {p1, v0}, Landroid/support/v4/view/LayoutInflaterCompat;->forceSetFactory2(Landroid/view/LayoutInflater;Landroid/view/LayoutInflater$Factory2;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 110
|
|
:cond_0
|
|
invoke-static {p1, p2}, Landroid/support/v4/view/LayoutInflaterCompat;->forceSetFactory2(Landroid/view/LayoutInflater;Landroid/view/LayoutInflater$Factory2;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|