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.
270 lines
8.5 KiB
270 lines
8.5 KiB
.class Lcom/viatech/camera/SettingActivity$6; |
|
.super Ljava/lang/Object; |
|
.source "SettingActivity.java" |
|
|
|
# interfaces |
|
.implements Landroid/view/View$OnClickListener; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/camera/SettingActivity;->initView()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; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/camera/SettingActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 409 |
|
iput-object p1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onClick(Landroid/view/View;)V |
|
.locals 6 |
|
|
|
.prologue |
|
const/4 v5, 0x0 |
|
|
|
.line 412 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->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;->isUSBDevice()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 413 |
|
const v0, 0x7f07012c |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 443 |
|
:goto_0 |
|
return-void |
|
|
|
.line 416 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/SettingActivity;->isWifiNetworkConnected()Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_1 |
|
|
|
.line 417 |
|
const v0, 0x7f0700a0 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 421 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/SettingActivity;->getConnectedWifiSsid()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 422 |
|
const-string v1, "VPAI_SettingActivity" |
|
|
|
new-instance v2, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v3, "curWifiSsid: " |
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
const-string v3, ", upper: " |
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 428 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$800(Lcom/viatech/camera/SettingActivity;)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
const v2, 0x7f04001d |
|
|
|
invoke-static {v1, v2}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setAnimation(Landroid/view/animation/Animation;)V |
|
|
|
.line 430 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$900(Lcom/viatech/camera/SettingActivity;)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
const v2, 0x7f04001e |
|
|
|
invoke-static {v1, v2}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V |
|
|
|
.line 432 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$800(Lcom/viatech/camera/SettingActivity;)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V |
|
|
|
.line 433 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
const v2, 0x7f0700bd |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/camera/SettingActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/SettingActivity;->access$1000(Lcom/viatech/camera/SettingActivity;Ljava/lang/String;)V |
|
|
|
.line 435 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$1100(Lcom/viatech/camera/SettingActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
const v2, 0x7f0701be |
|
|
|
const/4 v3, 0x1 |
|
|
|
new-array v3, v3, [Ljava/lang/Object; |
|
|
|
iget-object v4, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-virtual {v4}, Lcom/viatech/camera/SettingActivity;->getConnectedWifiSsid()Ljava/lang/String; |
|
|
|
move-result-object v4 |
|
|
|
aput-object v4, v3, v5 |
|
|
|
invoke-virtual {v1, v2, v3}, Lcom/viatech/camera/SettingActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 436 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$400(Lcom/viatech/camera/SettingActivity;)Landroid/widget/EditText; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "" |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 438 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$400(Lcom/viatech/camera/SettingActivity;)Landroid/widget/EditText; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {}, Landroid/text/method/PasswordTransformationMethod;->getInstance()Landroid/text/method/PasswordTransformationMethod; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V |
|
|
|
.line 439 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$500(Lcom/viatech/camera/SettingActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
const v2, 0x7f070192 |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/camera/SettingActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 440 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/camera/SettingActivity;->access$302(Lcom/viatech/camera/SettingActivity;Z)Z |
|
|
|
.line 441 |
|
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$6;->this$0:Lcom/viatech/camera/SettingActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$400(Lcom/viatech/camera/SettingActivity;)Landroid/widget/EditText; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/widget/EditText;->postInvalidate()V |
|
|
|
goto/16 :goto_0 |
|
.end method
|
|
|