297 lines
6.8 KiB
Smali
297 lines
6.8 KiB
Smali
.class public Lcom/moji/router/Postcard;
|
|
.super Ljava/lang/Object;
|
|
.source "Postcard.java"
|
|
|
|
|
|
# instance fields
|
|
.field private a:Ljava/lang/String;
|
|
|
|
.field private b:I
|
|
|
|
.field private c:Landroid/os/Bundle;
|
|
|
|
.field private d:Ljava/lang/String;
|
|
|
|
.field private e:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 31
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 32
|
|
iput-object p1, p0, Lcom/moji/router/Postcard;->a:Ljava/lang/String;
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 33
|
|
iput p1, p0, Lcom/moji/router/Postcard;->b:I
|
|
|
|
.line 34
|
|
new-instance p1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {p1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)Lcom/moji/router/Postcard;
|
|
.locals 0
|
|
|
|
.line 81
|
|
iput p1, p0, Lcom/moji/router/Postcard;->b:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Landroid/os/Bundle;)Lcom/moji/router/Postcard;
|
|
.locals 0
|
|
|
|
.line 114
|
|
iput-object p1, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
.locals 0
|
|
|
|
.line 95
|
|
iput-object p1, p0, Lcom/moji/router/Postcard;->d:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;D)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 197
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/os/Bundle;->putDouble(Ljava/lang/String;D)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;I)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 171
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;J)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 184
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 132
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;Z)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 145
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 1
|
|
|
|
.line 38
|
|
invoke-static {}, Lcom/moji/router/MJRouter;->a()Lcom/moji/router/MJRouter;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Lcom/moji/router/MJRouter;->a(Lcom/moji/router/Postcard;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/app/Activity;I)V
|
|
.locals 1
|
|
|
|
.line 69
|
|
invoke-static {}, Lcom/moji/router/MJRouter;->a()Lcom/moji/router/MJRouter;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2, p0}, Lcom/moji/router/MJRouter;->a(Landroid/content/Context;ILcom/moji/router/Postcard;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
.line 42
|
|
invoke-static {}, Lcom/moji/router/MJRouter;->a()Lcom/moji/router/MJRouter;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {v0, p1, v1, p0}, Lcom/moji/router/MJRouter;->a(Landroid/content/Context;ILcom/moji/router/Postcard;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(I)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
|
|
.line 86
|
|
iget v0, p0, Lcom/moji/router/Postcard;->b:I
|
|
|
|
or-int/2addr p1, v0
|
|
|
|
iput p1, p0, Lcom/moji/router/Postcard;->b:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
.locals 1
|
|
|
|
.line 104
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 105
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->e:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 106
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/moji/router/Postcard;->e:Ljava/util/ArrayList;
|
|
|
|
.line 108
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public b()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 73
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c()I
|
|
.locals 1
|
|
|
|
.line 77
|
|
iget v0, p0, Lcom/moji/router/Postcard;->b:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public d()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 91
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->d:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()Ljava/util/ArrayList;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 100
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->e:Ljava/util/ArrayList;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public f()Landroid/os/Bundle;
|
|
.locals 1
|
|
|
|
.line 120
|
|
iget-object v0, p0, Lcom/moji/router/Postcard;->c:Landroid/os/Bundle;
|
|
|
|
return-object v0
|
|
.end method
|