InsApplyLossInfoFragment.smali
.class public Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;
.super Lcom/cmcm/safewallet/ui/base/a/c;
.source "InsApplyLossInfoFragment.java"
# interfaces
.implements Lcom/cmcm/safewallet/ui/insurance/i;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/cmcm/safewallet/ui/base/a/c",
"<",
"Lcom/cmcm/safewallet/ui/insurance/j;",
">;",
"Lcom/cmcm/safewallet/ui/insurance/i;"
}
.end annotation
# instance fields
.field private asq:Landroid/widget/PopupWindow;
.field mCheckBox:Lcom/cmcm/safewallet/ui/widget/ImageCheckBox;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mInputAmount:Landroid/widget/EditText;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mInputDesc:Landroid/widget/EditText;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mInputTime:Landroid/widget/EditText;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mInsNumber:Landroid/widget/TextView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mLoadingView:Lcom/cmcm/safewallet/ui/widget/md/SWLoadingView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mReasonItemTitle:Landroid/widget/TextView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mSWIDNumber:Landroid/widget/TextView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mTipView:Lcom/cmcm/safewallet/ui/widget/TextTipView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
.field mTitleTv:Landroid/widget/TextView;
.annotation build Lbutterknife/BindView;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 37
invoke-direct {p0}, Lcom/cmcm/safewallet/ui/base/a/c;-><init>()V
return-void
.end method
.method static synthetic a(Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;)Landroid/widget/PopupWindow;
.registers 2
.prologue
.line 37
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->asq:Landroid/widget/PopupWindow;
return-object v0
.end method
.method private ah(Landroid/view/View;)V
.registers 3
.prologue
.line 212
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInputAmount:Landroid/widget/EditText;
invoke-virtual {v0}, Landroid/widget/EditText;->clearFocus()V
.line 213
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInputDesc:Landroid/widget/EditText;
invoke-virtual {v0}, Landroid/widget/EditText;->clearFocus()V
.line 214
if-eqz p1, :cond_f
.line 215
invoke-virtual {p1}, Landroid/view/View;->requestFocus()Z
.line 217
:cond_f
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
invoke-static {v0}, Lcom/cmcm/safewallet/utils/w;->ak(Landroid/content/Context;)V
.line 218
return-void
.end method
.method static synthetic b(Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;)Lcom/cmcm/safewallet/ui/base/c/b;
.registers 2
.prologue
.line 37
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
return-object v0
.end method
.method public static c(Lcom/cmcm/safewallet/data/insurance/ApplyInsuranceResponse;)Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;
.registers 4
.prologue
.line 75
new-instance v0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;
invoke-direct {v0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;-><init>()V
.line 76
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
.line 77
const-string v2, "model"
invoke-virtual {v1, v2, p0}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
.line 78
invoke-virtual {v0, v1}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->setArguments(Landroid/os/Bundle;)V
.line 79
return-object v0
.end method
# virtual methods
.method public final a(Lcom/cmcm/safewallet/data/insurance/ApplyInsuranceClaimData;)V
.registers 5
.prologue
.line 116
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/base/activity/AbsActivity;
invoke-static {p1}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossPhotoFragment;->d(Lcom/cmcm/safewallet/data/insurance/ApplyInsuranceClaimData;)Lcom/cmcm/safewallet/ui/insurance/InsApplyLossPhotoFragment;
move-result-object v1
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Lcom/cmcm/safewallet/ui/base/activity/AbsActivity;->a(Landroid/support/v4/app/Fragment;Z)V
.line 117
return-void
.end method
.method protected final synthetic ab(Landroid/content/Context;)Lcom/cmcm/safewallet/ui/base/c/b;
.registers 3
.prologue
.line 9085
new-instance v0, Lcom/cmcm/safewallet/ui/insurance/j;
invoke-direct {v0, p1}, Lcom/cmcm/safewallet/ui/insurance/j;-><init>(Landroid/content/Context;)V
.line 37
return-object v0
.end method
.method public final cm(Ljava/lang/String;)V
.registers 3
.prologue
.line 111
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mTipView:Lcom/cmcm/safewallet/ui/widget/TextTipView;
invoke-virtual {v0, p1}, Lcom/cmcm/safewallet/ui/widget/TextTipView;->h(Ljava/lang/CharSequence;)V
.line 112
return-void
.end method
.method public final dh(Ljava/lang/String;)V
.registers 3
.prologue
.line 154
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
invoke-virtual {v0, p1}, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->ee(Ljava/lang/String;)V
.line 155
return-void
.end method
.method public final getDescription()Ljava/lang/String;
.registers 2
.prologue
.line 169
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInputDesc:Landroid/widget/EditText;
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method protected final mH()I
.registers 2
.prologue
.line 106
const v0, 0x7f0300aa
return v0
.end method
.method protected final my()V
.registers 3
.prologue
.line 90
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mTitleTv:Landroid/widget/TextView;
const v1, 0x7f080251
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 91
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
.line 1058
invoke-static {}, Lcom/cmcm/safewallet/utils/b;->uN()Ljava/lang/String;
move-result-object v1
iput-object v1, v0, Lcom/cmcm/safewallet/ui/insurance/j;->asy:Ljava/lang/String;
.line 92
return-void
.end method
.method protected final mz()V
.registers 8
.prologue
const/4 v6, 0x1
const/16 v5, 0x63
.line 96
iget-object v1, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInsNumber:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
.line 1066
iget-object v0, v0, Lcom/cmcm/safewallet/ui/insurance/j;->asp:Lcom/cmcm/safewallet/data/insurance/ApplyInsuranceResponse;
.line 96
invoke-virtual {v0}, Lcom/cmcm/safewallet/data/insurance/ApplyInsuranceResponse;->getInsuranceUID()Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 97
iget-object v1, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mSWIDNumber:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
.line 2062
iget-object v0, v0, Lcom/cmcm/safewallet/ui/insurance/j;->asy:Ljava/lang/String;
.line 97
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 98
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
.line 3053
iget-object v0, v0, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->aJI:Landroid/widget/TextView;
const/4 v1, 0x2
const/high16 v2, 0x41600000 # 14.0f
invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V
.line 99
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
.line 4048
iget-object v0, v0, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->aJH:Landroid/widget/TextView;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
.line 100
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
const v1, 0x7f08020f
invoke-virtual {p0, v1}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->getString(I)Ljava/lang/String;
move-result-object v1
.line 4062
iget-object v2, v0, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->aJI:Landroid/widget/TextView;
invoke-static {}, Lcom/cmcm/safewallet/entry/WalletApp;->lO()Landroid/content/Context;
move-result-object v3
const v4, 0x7f0d003a
invoke-static {v3, v4}, Landroid/support/v4/content/c;->a(Landroid/content/Context;I)I
move-result v3
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V
.line 4063
iget-object v0, v0, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->aJI:Landroid/widget/TextView;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 4221
invoke-static {v6, v5, v5}, Lcom/cmcm/safewallet/data/f/c/a;->w(III)V
.line 4222
invoke-static {}, Lcom/cmcm/safewallet/data/f/b/b;->lr()Lcom/cmcm/safewallet/data/f/b/b;
invoke-static {v6, v5, v5}, Lcom/cmcm/safewallet/data/f/b/b;->w(III)V
.line 102
return-void
.end method
.method public onAgreeCheckBoxClick()V
.registers 3
.annotation build Lbutterknife/OnClick;
.end annotation
.prologue
.line 203
iget-object v1, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mCheckBox:Lcom/cmcm/safewallet/ui/widget/ImageCheckBox;
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mCheckBox:Lcom/cmcm/safewallet/ui/widget/ImageCheckBox;
.line 8047
iget-boolean v0, v0, Lcom/cmcm/safewallet/ui/widget/ImageCheckBox;->mChecked:Z
.line 203
if-nez v0, :cond_d
const/4 v0, 0x1
:goto_9
invoke-virtual {v1, v0}, Lcom/cmcm/safewallet/ui/widget/ImageCheckBox;->setChecked(Z)V
.line 204
return-void
.line 203
:cond_d
const/4 v0, 0x0
goto :goto_9
.end method
.method public onInputReasonClick()V
.registers 4
.annotation build Lbutterknife/OnClick;
.end annotation
.prologue
.line 184
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItemTitle:Landroid/widget/TextView;
invoke-direct {p0, v0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->ah(Landroid/view/View;)V
.line 185
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->aI(Z)V
.line 5121
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->asq:Landroid/widget/PopupWindow;
if-nez v0, :cond_47
.line 5122
new-instance v1, Lcom/cmcm/safewallet/ui/widget/r;
invoke-direct {v1}, Lcom/cmcm/safewallet/ui/widget/r;-><init>()V
.line 5123
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
invoke-virtual {v0}, Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;->getWidth()I
move-result v0
const/4 v2, -0x2
invoke-virtual {v1, v0, v2}, Lcom/cmcm/safewallet/ui/widget/r;->af(II)Lcom/cmcm/safewallet/ui/widget/r;
.line 5124
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
invoke-virtual {v0}, Lcom/cmcm/safewallet/ui/insurance/j;->qQ()Ljava/util/List;
move-result-object v0
.line 6047
iput-object v0, v1, Lcom/cmcm/safewallet/ui/widget/r;->ajZ:Ljava/util/List;
.line 5126
new-instance v0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment$1;
invoke-direct {v0, p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment$1;-><init>(Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;)V
.line 6067
iput-object v0, v1, Lcom/cmcm/safewallet/ui/widget/r;->aIZ:Lcom/cmcm/safewallet/ui/widget/s;
.line 7057
const v0, 0x7f0300e8
iput v0, v1, Lcom/cmcm/safewallet/ui/widget/r;->oN:I
.line 5139
new-instance v0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment$2;
invoke-direct {v0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment$2;-><init>()V
.line 7062
iput-object v0, v1, Lcom/cmcm/safewallet/ui/widget/r;->aIY:Lcom/cmcm/safewallet/ui/widget/t;
.line 5146
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/cmcm/safewallet/ui/widget/r;->aj(Landroid/content/Context;)Landroid/widget/PopupWindow;
move-result-object v0
iput-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->asq:Landroid/widget/PopupWindow;
.line 5149
:cond_47
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->asq:Landroid/widget/PopupWindow;
iget-object v1, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItem:Lcom/cmcm/safewallet/ui/widget/SelectQuestionItemView;
invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V
.line 187
return-void
.end method
.method public onNextClick()V
.registers 3
.annotation build Lbutterknife/OnClick;
.end annotation
.prologue
const/4 v1, 0x1
const/16 v0, 0x63
.line 7226
invoke-static {v0, v1, v0}, Lcom/cmcm/safewallet/data/f/c/a;->w(III)V
.line 7227
invoke-static {}, Lcom/cmcm/safewallet/data/f/b/b;->lr()Lcom/cmcm/safewallet/data/f/b/b;
invoke-static {v0, v1, v0}, Lcom/cmcm/safewallet/data/f/b/b;->w(III)V
.line 197
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mReasonItemTitle:Landroid/widget/TextView;
invoke-direct {p0, v0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->ah(Landroid/view/View;)V
.line 198
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
invoke-virtual {v0}, Lcom/cmcm/safewallet/ui/insurance/j;->pV()V
.line 199
return-void
.end method
.method public onPolicyClick()V
.registers 2
.annotation build Lbutterknife/OnClick;
.end annotation
.prologue
.line 208
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mJ()Lcom/cmcm/safewallet/ui/base/c/b;
move-result-object v0
check-cast v0, Lcom/cmcm/safewallet/ui/insurance/j;
.line 8122
iget-object v0, v0, Lcom/cmcm/safewallet/ui/base/c/a;->mContext:Landroid/content/Context;
.line 8070
invoke-static {v0}, Lcom/cmcm/safewallet/ui/personal/h;->ag(Landroid/content/Context;)V
.line 209
return-void
.end method
.method public onTitleClick()V
.registers 2
.annotation build Lbutterknife/OnClick;
.end annotation
.prologue
.line 191
invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
invoke-virtual {v0}, Landroid/support/v4/app/FragmentActivity;->onBackPressed()V
.line 192
return-void
.end method
.method public final qO()Ljava/lang/String;
.registers 2
.prologue
.line 159
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInputAmount:Landroid/widget/EditText;
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final qP()Ljava/lang/String;
.registers 2
.prologue
.line 164
iget-object v0, p0, Lcom/cmcm/safewallet/ui/insurance/InsApplyLossInfoFragment;->mInputTime:Landroid/widget/EditText;
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
return-object v0
.end method