今奥全景相机
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.

147 lines
4.1 KiB

.class Lcom/viatech/camera/SettingActivity$10;
.super Ljava/lang/Object;
.source "SettingActivity.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/SettingActivity;->setDialogChoice(Landroid/view/View;Landroid/widget/TextView;Lcom/viatech/camera/SettingActivity$ResolutionListAdapter;Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/camera/SettingActivity;
.field final synthetic val$alertDialog:Landroid/app/AlertDialog;
.field final synthetic val$key:Ljava/lang/String;
# direct methods
.method constructor <init>(Lcom/viatech/camera/SettingActivity;Ljava/lang/String;Landroid/app/AlertDialog;)V
.locals 0
.prologue
.line 674
iput-object p1, p0, Lcom/viatech/camera/SettingActivity$10;->this$0:Lcom/viatech/camera/SettingActivity;
iput-object p2, p0, Lcom/viatech/camera/SettingActivity$10;->val$key:Ljava/lang/String;
iput-object p3, p0, Lcom/viatech/camera/SettingActivity$10;->val$alertDialog:Landroid/app/AlertDialog;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 2
.prologue
.line 678
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$700(Lcom/viatech/camera/SettingActivity;)Lcom/viatech/device/VPaiDevice;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$700(Lcom/viatech/camera/SettingActivity;)Lcom/viatech/device/VPaiDevice;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isMediaConnect()Z
move-result v0
if-nez v0, :cond_2
.line 679
:cond_0
const v0, 0x7f0700a3
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
.line 691
:cond_1
:goto_0
return-void
.line 682
:cond_2
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$700(Lcom/viatech/camera/SettingActivity;)Lcom/viatech/device/VPaiDevice;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->canUpdateResolution()Z
move-result v0
if-nez v0, :cond_3
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->val$key:Ljava/lang/String;
const-string v1, "CAMERA_RESOLUTION"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$700(Lcom/viatech/camera/SettingActivity;)Lcom/viatech/device/VPaiDevice;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isVTPDevice()Z
move-result v0
if-nez v0, :cond_3
.line 683
sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
invoke-virtual {v0, p1}, Lcom/viatech/widget/VPaiToast;->setAnchorView(Landroid/view/View;)V
.line 684
const v0, 0x7f070153
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
goto :goto_0
.line 688
:cond_3
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->val$alertDialog:Landroid/app/AlertDialog;
invoke-virtual {v0}, Landroid/app/AlertDialog;->isShowing()Z
move-result v0
if-nez v0, :cond_1
.line 689
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$10;->val$alertDialog:Landroid/app/AlertDialog;
invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V
goto :goto_0
.end method