122 lines
2.1 KiB
Smali
122 lines
2.1 KiB
Smali
.class public Lcom/moji/base/AlertInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "AlertInfo.java"
|
|
|
|
|
|
# instance fields
|
|
.field public a:I
|
|
|
|
.field public b:I
|
|
|
|
.field public c:I
|
|
|
|
.field public d:I
|
|
|
|
.field public e:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 18
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 9
|
|
iput v0, p0, Lcom/moji/base/AlertInfo;->a:I
|
|
|
|
.line 10
|
|
iput v0, p0, Lcom/moji/base/AlertInfo;->b:I
|
|
|
|
.line 11
|
|
iput v0, p0, Lcom/moji/base/AlertInfo;->c:I
|
|
|
|
.line 12
|
|
iput v0, p0, Lcom/moji/base/AlertInfo;->d:I
|
|
|
|
.line 14
|
|
iput v0, p0, Lcom/moji/base/AlertInfo;->e:I
|
|
|
|
.line 19
|
|
invoke-virtual {p0, p1}, Lcom/moji/base/AlertInfo;->a(I)V
|
|
|
|
.line 20
|
|
invoke-direct {p0, p2}, Lcom/moji/base/AlertInfo;->a(Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
new-instance v0, Lcom/moji/base/AlertIconDrawable;
|
|
|
|
invoke-direct {v0, p1, p2}, Lcom/moji/base/AlertIconDrawable;-><init>(ILjava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lcom/moji/base/AlertIconDrawable;->a()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/moji/base/AlertInfo;->e:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 32
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
.line 35
|
|
invoke-static {p1, v0}, Lcom/moji/base/AlertBGColor;->a(Ljava/lang/String;[I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/moji/base/AlertInfo;->b:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 37
|
|
aget p1, v0, p1
|
|
|
|
iput p1, p0, Lcom/moji/base/AlertInfo;->d:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 38
|
|
aget p1, v0, p1
|
|
|
|
iput p1, p0, Lcom/moji/base/AlertInfo;->c:I
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:array_0
|
|
.array-data 4
|
|
-0x1
|
|
-0x1
|
|
.end array-data
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)V
|
|
.locals 1
|
|
|
|
.line 25
|
|
new-instance v0, Lcom/moji/base/AlertDrawable;
|
|
|
|
invoke-direct {v0, p1}, Lcom/moji/base/AlertDrawable;-><init>(I)V
|
|
|
|
invoke-virtual {v0}, Lcom/moji/base/AlertDrawable;->a()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/moji/base/AlertInfo;->a:I
|
|
|
|
return-void
|
|
.end method
|