a.smali
.class public abstract Lcom/cmcm/safewallet/ui/widget/a;
.super Landroid/app/AlertDialog;
.source "AbsDialog.java"
# instance fields
.field protected aFT:I
.field protected aFU:I
.field private mContentView:Landroid/view/View;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
.prologue
.line 30
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/cmcm/safewallet/ui/widget/a;-><init>(Landroid/content/Context;B)V
.line 31
return-void
.end method
.method private constructor <init>(Landroid/content/Context;B)V
.registers 4
.prologue
.line 40
const v0, 0x7f0a0093
invoke-direct {p0, p1, v0}, Landroid/app/AlertDialog;-><init>(Landroid/content/Context;I)V
.line 41
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->ne()Z
move-result v0
invoke-virtual {p0, v0}, Lcom/cmcm/safewallet/ui/widget/a;->setCancelable(Z)V
.line 42
return-void
.end method
.method private i(IZ)I
.registers 5
.prologue
const/4 v1, -0x1
const/4 v0, -0x2
.line 115
if-gez p1, :cond_f
.line 117
if-eq p1, v0, :cond_f
.line 119
if-eq p1, v1, :cond_a
if-ne p1, v1, :cond_13
.line 120
:cond_a
if-eqz p2, :cond_10
iget v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->aFT:I
:goto_e
move p1, v0
.line 124
:cond_f
:goto_f
return p1
.line 120
:cond_10
iget v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->aFU:I
goto :goto_e
:cond_13
move p1, v0
.line 122
goto :goto_f
.end method
# virtual methods
.method public dismiss()V
.registers 2
.prologue
.line 159
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->isShowing()Z
move-result v0
if-nez v0, :cond_7
.line 163
:goto_6
return-void
.line 162
:cond_7
invoke-super {p0}, Landroid/app/AlertDialog;->dismiss()V
goto :goto_6
.end method
.method protected getDefaultHeight()I
.registers 2
.prologue
.line 110
const/4 v0, -0x2
return v0
.end method
.method public abstract mB()I
.end method
.method public abstract my()V
.end method
.method public abstract mz()V
.end method
.method public ne()Z
.registers 2
.prologue
.line 89
const/4 v0, 0x1
return v0
.end method
.method public nf()I
.registers 2
.prologue
.line 102
const/4 v0, -0x1
return v0
.end method
.method public abstract ng()I
.end method
.method protected final o(F)I
.registers 3
.prologue
.line 146
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lcom/cmcm/safewallet/utils/ag;->b(Landroid/content/Context;F)I
move-result v0
return v0
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.registers 5
.prologue
.line 46
invoke-super {p0, p1}, Landroid/app/AlertDialog;->onCreate(Landroid/os/Bundle;)V
.line 48
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object v0
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->mB()I
move-result v1
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->mContentView:Landroid/view/View;
.line 49
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->mContentView:Landroid/view/View;
invoke-virtual {p0, v0}, Lcom/cmcm/safewallet/ui/widget/a;->setContentView(Landroid/view/View;)V
.line 50
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->mContentView:Landroid/view/View;
invoke-static {p0, v0}, Lbutterknife/ButterKnife;->d(Ljava/lang/Object;Landroid/view/View;)Lbutterknife/Unbinder;
.line 53
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cmcm/safewallet/utils/ag;->aq(Landroid/content/Context;)I
move-result v0
iput v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->aFT:I
.line 54
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cmcm/safewallet/utils/ag;->ar(Landroid/content/Context;)I
move-result v0
iput v0, p0, Lcom/cmcm/safewallet/ui/widget/a;->aFU:I
.line 57
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->ng()I
move-result v0
.line 1190
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getWindow()Landroid/view/Window;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/Window;->setGravity(I)V
.line 60
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->nf()I
move-result v0
.line 2179
const/4 v1, -0x1
if-eq v0, v1, :cond_4d
.line 2182
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getWindow()Landroid/view/Window;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/Window;->setWindowAnimations(I)V
.line 63
:cond_4d
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->tI()I
move-result v0
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getDefaultHeight()I
move-result v1
.line 3128
const/4 v2, 0x1
invoke-direct {p0, v0, v2}, Lcom/cmcm/safewallet/ui/widget/a;->i(IZ)I
move-result v2
.line 3129
const/4 v0, 0x0
invoke-direct {p0, v1, v0}, Lcom/cmcm/safewallet/ui/widget/a;->i(IZ)I
move-result v1
.line 3142
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getWindow()Landroid/view/Window;
move-result-object v0
invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;
move-result-object v0
.line 3132
if-nez v0, :cond_7c
.line 3133
new-instance v0, Landroid/view/WindowManager$LayoutParams;
invoke-direct {v0, v2, v1}, Landroid/view/WindowManager$LayoutParams;-><init>(II)V
.line 3138
:goto_6e
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->getWindow()Landroid/view/Window;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V
.line 66
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->my()V
.line 67
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->mz()V
.line 68
return-void
.line 3135
:cond_7c
iput v2, v0, Landroid/view/WindowManager$LayoutParams;->width:I
.line 3136
iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I
goto :goto_6e
.end method
.method public show()V
.registers 2
.prologue
.line 151
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/widget/a;->isShowing()Z
move-result v0
if-eqz v0, :cond_7
.line 155
:goto_6
return-void
.line 154
:cond_7
invoke-super {p0}, Landroid/app/AlertDialog;->show()V
goto :goto_6
.end method
.method protected tI()I
.registers 2
.prologue
.line 106
const/4 v0, -0x2
return v0
.end method