今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
4.1 KiB

.class Lcom/viatech/cloud/CloudView$14;
.super Ljava/lang/Object;
.source "CloudView.java"
# interfaces
.implements Lcom/viatech/cloud/CloudConfig$LoginResultCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/cloud/CloudView;->refreshLoginStatus()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/cloud/CloudView;
.field final synthetic val$curUser:Lcom/viatech/cloud/CloudConfig$LoginUser;
# direct methods
.method constructor <init>(Lcom/viatech/cloud/CloudView;Lcom/viatech/cloud/CloudConfig$LoginUser;)V
.locals 0
.prologue
.line 801
iput-object p1, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
iput-object p2, p0, Lcom/viatech/cloud/CloudView$14;->val$curUser:Lcom/viatech/cloud/CloudConfig$LoginUser;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onFailure()V
.locals 3
.prologue
.line 812
const-string v0, "Vpai_CloudView"
const-string v1, "failed to login to cloud"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 813
iget-object v0, p0, Lcom/viatech/cloud/CloudView$14;->val$curUser:Lcom/viatech/cloud/CloudConfig$LoginUser;
invoke-virtual {v0}, Lcom/viatech/cloud/CloudConfig$LoginUser;->save()V
.line 814
iget-object v0, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-static {v0}, Lcom/viatech/cloud/CloudView;->access$1600(Lcom/viatech/cloud/CloudView;)Landroid/widget/TextView;
move-result-object v0
iget-object v1, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-virtual {v1}, Lcom/viatech/cloud/CloudView;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f070065
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 815
return-void
.end method
.method public onSuccess()V
.locals 3
.prologue
.line 804
const-string v0, "Vpai_CloudView"
const-string v1, "login to cloud successfully"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 805
iget-object v0, p0, Lcom/viatech/cloud/CloudView$14;->val$curUser:Lcom/viatech/cloud/CloudConfig$LoginUser;
invoke-virtual {v0}, Lcom/viatech/cloud/CloudConfig$LoginUser;->save()V
.line 806
iget-object v0, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-static {v0}, Lcom/viatech/cloud/CloudView;->access$1500(Lcom/viatech/cloud/CloudView;)Landroid/widget/TextView;
move-result-object v0
iget-object v1, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-virtual {v1}, Lcom/viatech/cloud/CloudView;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f0b00b3
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
.line 807
iget-object v0, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-static {v0}, Lcom/viatech/cloud/CloudView;->access$1600(Lcom/viatech/cloud/CloudView;)Landroid/widget/TextView;
move-result-object v0
iget-object v1, p0, Lcom/viatech/cloud/CloudView$14;->this$0:Lcom/viatech/cloud/CloudView;
invoke-virtual {v1}, Lcom/viatech/cloud/CloudView;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f070066
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 808
return-void
.end method