320 lines
9.1 KiB
Smali
320 lines
9.1 KiB
Smali
.class public Landroidx/navigation/ActivityNavigator$Destination;
|
|
.super Landroidx/navigation/NavDestination;
|
|
.source "ActivityNavigator.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/navigation/ActivityNavigator;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Destination"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mDataPattern:Ljava/lang/String;
|
|
|
|
.field private mIntent:Landroid/content/Intent;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/navigation/Navigator;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/navigation/Navigator<",
|
|
"+",
|
|
"Landroidx/navigation/ActivityNavigator$Destination;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 224
|
|
invoke-direct {p0, p1}, Landroidx/navigation/NavDestination;-><init>(Landroidx/navigation/Navigator;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/navigation/NavigatorProvider;)V
|
|
.locals 1
|
|
|
|
.line 211
|
|
const-class v0, Landroidx/navigation/ActivityNavigator;
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/navigation/NavigatorProvider;->getNavigator(Ljava/lang/Class;)Landroidx/navigation/Navigator;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/navigation/ActivityNavigator$Destination;-><init>(Landroidx/navigation/Navigator;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getAction()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 313
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 316
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getComponent()Landroid/content/ComponentName;
|
|
.locals 1
|
|
|
|
.line 288
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 291
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getData()Landroid/net/Uri;
|
|
.locals 1
|
|
|
|
.line 344
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 347
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getDataPattern()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 372
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mDataPattern:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getIntent()Landroid/content/Intent;
|
|
.locals 1
|
|
|
|
.line 264
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public onInflate(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 3
|
|
|
|
.line 230
|
|
invoke-super {p0, p1, p2}, Landroidx/navigation/NavDestination;->onInflate(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 231
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Landroidx/navigation/R$styleable;->ActivityNavigator:[I
|
|
|
|
invoke-virtual {v0, p2, v1}, Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p2
|
|
|
|
.line 233
|
|
sget v0, Landroidx/navigation/R$styleable;->ActivityNavigator_android_name:I
|
|
|
|
invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 235
|
|
new-instance v1, Landroid/content/ComponentName;
|
|
|
|
const-class v2, Landroid/app/Activity;
|
|
|
|
.line 236
|
|
invoke-static {p1, v0, v2}, Landroidx/navigation/ActivityNavigator$Destination;->parseClassFromName(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, p1, v0}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
.line 235
|
|
invoke-virtual {p0, v1}, Landroidx/navigation/ActivityNavigator$Destination;->setComponentName(Landroid/content/ComponentName;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
|
|
.line 238
|
|
:cond_0
|
|
sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_action:I
|
|
|
|
invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/navigation/ActivityNavigator$Destination;->setAction(Ljava/lang/String;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
|
|
.line 239
|
|
sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_data:I
|
|
|
|
invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 241
|
|
invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/navigation/ActivityNavigator$Destination;->setData(Landroid/net/Uri;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
|
|
.line 243
|
|
:cond_1
|
|
sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_dataPattern:I
|
|
|
|
invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/navigation/ActivityNavigator$Destination;->setDataPattern(Ljava/lang/String;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
|
|
.line 244
|
|
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setAction(Ljava/lang/String;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
.locals 1
|
|
|
|
.line 301
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 302
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
.line 304
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setComponentName(Landroid/content/ComponentName;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
.locals 1
|
|
|
|
.line 275
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 276
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
.line 278
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setData(Landroid/net/Uri;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
.locals 1
|
|
|
|
.line 332
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 333
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
.line 335
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setDataPattern(Ljava/lang/String;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
.locals 0
|
|
|
|
.line 363
|
|
iput-object p1, p0, Landroidx/navigation/ActivityNavigator$Destination;->mDataPattern:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setIntent(Landroid/content/Intent;)Landroidx/navigation/ActivityNavigator$Destination;
|
|
.locals 0
|
|
|
|
.line 254
|
|
iput-object p1, p0, Landroidx/navigation/ActivityNavigator$Destination;->mIntent:Landroid/content/Intent;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method supportsActions()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|