|
|
|
.class Lcom/viatech/camera/CameraControlView$2;
|
|
|
|
.super Landroid/os/Handler;
|
|
|
|
.source "CameraControlView.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/viatech/camera/CameraControlView;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/viatech/camera/CameraControlView;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
.prologue
|
|
|
|
.line 340
|
|
|
|
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public handleMessage(Landroid/os/Message;)V
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
.prologue
|
|
|
|
const/16 v3, 0x64
|
|
|
|
|
|
|
|
const/16 v5, 0x8
|
|
|
|
|
|
|
|
const/4 v6, 0x4
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
.line 345
|
|
|
|
iget v0, p1, Landroid/os/Message;->what:I
|
|
|
|
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
|
|
|
|
.line 702
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
:pswitch_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
.line 347
|
|
|
|
:pswitch_1
|
|
|
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
.line 348
|
|
|
|
const-string v3, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v5, "MSG_CODE_ERROR: "
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v3, v4}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 349
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/viatech/camera/CameraControlView;->access$200(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
|
|
|
|
.line 350
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v4}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Lcom/viatech/camera/CameraControlView;->setCameraMode(I)V
|
|
|
|
|
|
|
|
.line 351
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v1}, Lcom/viatech/camera/CameraControlView;->toggleControlView(Z)V
|
|
|
|
|
|
|
|
.line 353
|
|
|
|
:cond_1
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lcom/viatech/camera/CameraControlView;->access$202(Lcom/viatech/camera/CameraControlView;I)I
|
|
|
|
|
|
|
|
.line 354
|
|
|
|
sget-object v1, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Lcom/viatech/widget/VPaiToast;->show(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
.line 357
|
|
|
|
:pswitch_2
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 358
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$500(Lcom/viatech/camera/CameraControlView;)V
|
|
|
|
|
|
|
|
.line 362
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showNoPreviewContent()V
|
|
|
|
|
|
|
|
.line 363
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$600(Lcom/viatech/camera/CameraControlView;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
.line 366
|
|
|
|
:pswitch_3
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$700(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
.line 367
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showLiveStreamContent()V
|
|
|
|
|
|
|
|
.line 371
|
|
|
|
:goto_1
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$600(Lcom/viatech/camera/CameraControlView;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
.line 369
|
|
|
|
:cond_2
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showNoPreviewContent()V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
.line 374
|
|
|
|
:pswitch_4
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "recordtime: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget v2, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 375
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/util/Util;->secToTime(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
.line 377
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$800(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v3, "<small><font color=#ff0000>\u25cf </font></small> "
|
|
|
|
|
|
|
|
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 v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
.line 380
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
.line 381
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$900(Lcom/viatech/camera/CameraControlView;)Lcom/via/vpailib/vpaiinterface/FlexibleRecorder;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1000(Lcom/viatech/camera/CameraControlView;)Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
.line 382
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
div-int/lit8 v0, v0, 0x3c
|
|
|
|
|
|
|
|
.line 383
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$1100(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-le v0, v1, :cond_6
|
|
|
|
|
|
|
|
.line 384
|
|
|
|
sget-object v1, Lcom/viatech/Config;->d:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/util/Util;->getAvailableSpace(Ljava/lang/String;)J
|
|
|
|
|
|
|
|
move-result-wide v2
|
|
|
|
|
|
|
|
.line 385
|
|
|
|
const-string v1, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v5, "file size:"
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
iget-object v5, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v5}, Lcom/viatech/camera/CameraControlView;->access$1000(Lcom/viatech/camera/CameraControlView;)Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/io/File;->length()J
|
|
|
|
|
|
|
|
move-result-wide v6
|
|
|
|
|
|
|
|
invoke-virtual {v4, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-string v5, ",max size:"
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-wide/32 v6, 0x73800000
|
|
|
|
|
|
|
|
invoke-virtual {v4, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v1, v4}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 386
|
|
|
|
const-wide/32 v4, 0x11e1a300
|
|
|
|
|
|
|
|
cmp-long v1, v2, v4
|
|
|
|
|
|
|
|
if-ltz v1, :cond_3
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$1000(Lcom/viatech/camera/CameraControlView;)Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/io/File;->length()J
|
|
|
|
|
|
|
|
move-result-wide v4
|
|
|
|
|
|
|
|
const-wide/32 v6, 0x73800000
|
|
|
|
|
|
|
|
cmp-long v1, v4, v6
|
|
|
|
|
|
|
|
if-ltz v1, :cond_4
|
|
|
|
|
|
|
|
.line 387
|
|
|
|
:cond_3
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$1200(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
.line 388
|
|
|
|
const-wide/32 v4, 0x11e1a300
|
|
|
|
|
|
|
|
cmp-long v1, v2, v4
|
|
|
|
|
|
|
|
if-gez v1, :cond_8
|
|
|
|
|
|
|
|
.line 389
|
|
|
|
const v1, 0x7f070152
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 394
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/viatech/camera/CameraControlView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/util/Util;->getBatteryLevel(Landroid/content/Context;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_5
|
|
|
|
|
|
|
|
.line 395
|
|
|
|
const v1, 0x7f07004e
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 396
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$1200(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
.line 398
|
|
|
|
:cond_5
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$1102(Lcom/viatech/camera/CameraControlView;I)I
|
|
|
|
|
|
|
|
.line 400
|
|
|
|
:cond_6
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1300(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
const/16 v1, 0x258
|
|
|
|
|
|
|
|
if-lt v0, v1, :cond_7
|
|
|
|
|
|
|
|
.line 401
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CameraControlView;->access$1302(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
.line 402
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CameraControlView;->access$1402(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
.line 404
|
|
|
|
const v0, 0x7f0701f0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 405
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1200(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
.line 408
|
|
|
|
:cond_7
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
.line 391
|
|
|
|
:cond_8
|
|
|
|
:try_start_1
|
|
|
|
sget-object v1, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
|
|
|
|
|
|
|
|
const-string v2, "recording stopped because file is too large"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/widget/VPaiToast;->show(Ljava/lang/String;)V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
.line 411
|
|
|
|
:pswitch_5
|
|
|
|
const v0, 0x7f07014f
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 412
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CameraControlView;->access$1502(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
.line 413
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v2}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/camera/CameraControlView;->setCameraMode(I)V
|
|
|
|
|
|
|
|
.line 414
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/camera/CameraControlView;->toggleControlView(Z)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 417
|
|
|
|
:pswitch_6
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
const-string v1, "MSG_CODE_MEDIA_CONNECTED"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 418
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1600(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/VrPlayer/VideoView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/VrPlayer/VideoView;->mProgressBar:Landroid/widget/ProgressBar;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 421
|
|
|
|
:pswitch_7
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
const-string v2, "MSG_CODE_TIMEOUT"
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 422
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v2, 0x3ea
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 423
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1700(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/ConnectViewPager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/ConnectViewPager;->getCurrentItem()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_9
|
|
|
|
|
|
|
|
.line 424
|
|
|
|
const v0, 0x7f07006b
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 426
|
|
|
|
:cond_9
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showNoPreviewContent()V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 429
|
|
|
|
:pswitch_8
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "MSG_CODE_FOUND_DEVICE, mActivate:"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v4}, Lcom/viatech/camera/CameraControlView;->access$1800(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 430
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v3, 0x3e9
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 432
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$700(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
|
|
|
|
.line 433
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "mLiveStreamBroadcastLiving:"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v2}, Lcom/viatech/camera/CameraControlView;->access$700(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 434
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showLiveStreamContent()V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 438
|
|
|
|
:cond_a
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1600(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/VrPlayer/VideoView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/VrPlayer/VideoView;->mProgressBar:Landroid/widget/ProgressBar;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 439
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->showPreviewContent()V
|
|
|
|
|
|
|
|
.line 441
|
|
|
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
.line 442
|
|
|
|
sput-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
.line 443
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->hasSDCard()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
|
|
|
|
.line 444
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 449
|
|
|
|
:goto_3
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2000(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/VPaiMainView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1800(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
.line 450
|
|
|
|
invoke-static {}, Lcom/viatech/camera/RemoteCameraConnectManager;->instance()Lcom/viatech/camera/RemoteCameraConnectManager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v3, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v5, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v1, v4, v5}, Lcom/viatech/camera/RemoteCameraConnectManager;->connectCurDevice(Lcom/viatech/device/VPaiDevice;ZLcom/viatech/device/MediaPortListener;Lcom/viatech/device/VPaiDeviceConnectionListener;)V
|
|
|
|
|
|
|
|
.line 452
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
sget-object v3, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lcom/viatech/device/VPaiDevice;->isUSBDevice()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
iput-boolean v3, v0, Lcom/viatech/camera/CameraControlView;->mIsUSBCamera:Z
|
|
|
|
|
|
|
|
.line 454
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-boolean v0, v0, Lcom/viatech/camera/CameraControlView;->mIsUSBCamera:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
|
|
|
|
.line 456
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1700(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/ConnectViewPager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/widget/ConnectViewPager;->saveFirstPage(I)V
|
|
|
|
|
|
|
|
.line 457
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2100(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 462
|
|
|
|
:goto_4
|
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/Config;->h()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
.line 463
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2200(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 446
|
|
|
|
:cond_b
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 447
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Lcom/viatech/camera/CameraControlView;->access$1502(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
.line 459
|
|
|
|
:cond_c
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1700(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/ConnectViewPager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/widget/ConnectViewPager;->saveFirstPage(I)V
|
|
|
|
|
|
|
|
.line 460
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2100(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
.line 468
|
|
|
|
:pswitch_9
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v3, 0x3f0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 469
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isCtrlConnect()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_e
|
|
|
|
|
|
|
|
.line 470
|
|
|
|
:cond_d
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 471
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
const-string v1, "RemoteCameraConnectManager has destory"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 474
|
|
|
|
:cond_e
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2}, Lcom/viatech/camera/CameraControlView;->access$2300(Lcom/viatech/camera/CameraControlView;ZZ)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_11
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1800(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_11
|
|
|
|
|
|
|
|
.line 475
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/device/VPaiDevice;->mDeviceInfo:Lcom/viatech/device/DeviceInfo;
|
|
|
|
|
|
|
|
.line 476
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
|
|
|
|
.line 477
|
|
|
|
iget v3, v0, Lcom/viatech/device/DeviceInfo;->remainbattery:I
|
|
|
|
|
|
|
|
div-int/lit8 v3, v3, 0x19
|
|
|
|
|
|
|
|
.line 478
|
|
|
|
iget v4, v0, Lcom/viatech/device/DeviceInfo;->externalpower:I
|
|
|
|
|
|
|
|
packed-switch v4, :pswitch_data_1
|
|
|
|
|
|
|
|
.line 503
|
|
|
|
:cond_f
|
|
|
|
:goto_5
|
|
|
|
const-string v1, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "refresh externalpower="
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
iget v4, v0, Lcom/viatech/device/DeviceInfo;->externalpower:I
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, ",battery="
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
iget v0, v0, Lcom/viatech/device/DeviceInfo;->remainbattery:I
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)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 505
|
|
|
|
:cond_10
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2400(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_11
|
|
|
|
|
|
|
|
.line 506
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_11
|
|
|
|
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isUSBDevice()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_11
|
|
|
|
|
|
|
|
.line 507
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 512
|
|
|
|
:cond_11
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_15
|
|
|
|
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isUSBDevice()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_15
|
|
|
|
|
|
|
|
.line 513
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v1, 0x3f0
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x2710
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 482
|
|
|
|
:pswitch_a
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v3, 0x7f020063
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
.line 491
|
|
|
|
:pswitch_b
|
|
|
|
if-gtz v3, :cond_12
|
|
|
|
|
|
|
|
.line 492
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v3, 0x7f02005f
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
.line 493
|
|
|
|
:cond_12
|
|
|
|
if-gt v3, v1, :cond_13
|
|
|
|
|
|
|
|
.line 494
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v3, 0x7f020060
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_5
|
|
|
|
|
|
|
|
.line 495
|
|
|
|
:cond_13
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
if-gt v3, v1, :cond_14
|
|
|
|
|
|
|
|
.line 496
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v3, 0x7f020061
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_5
|
|
|
|
|
|
|
|
.line 497
|
|
|
|
:cond_14
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
if-lt v3, v1, :cond_f
|
|
|
|
|
|
|
|
.line 498
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v3, 0x7f020062
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_5
|
|
|
|
|
|
|
|
.line 515
|
|
|
|
:cond_15
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$400(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 519
|
|
|
|
:pswitch_c
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/viatech/camera/CameraControlView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const v2, 0x7f070061
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "1920x960"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, 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
|
|
|
|
|
|
|
|
.line 520
|
|
|
|
sget-object v1, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Lcom/viatech/widget/VPaiToast;->show(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 523
|
|
|
|
:pswitch_d
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1800(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_16
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2500(Lcom/viatech/camera/CameraControlView;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_16
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2500(Lcom/viatech/camera/CameraControlView;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_16
|
|
|
|
|
|
|
|
.line 524
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2600(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/camera/animation/FadeAnimation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$2500(Lcom/viatech/camera/CameraControlView;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/camera/animation/FadeAnimation;->start(Landroid/view/View;)V
|
|
|
|
|
|
|
|
.line 525
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2700(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DisplayModeSwitcher;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DisplayModeSwitcher;->closePopup()V
|
|
|
|
|
|
|
|
.line 527
|
|
|
|
:cond_16
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v1, 0x3f3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 531
|
|
|
|
:pswitch_e
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v2, 0x3f4
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 532
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1800(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_17
|
|
|
|
|
|
|
|
.line 533
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
|
|
|
|
|
|
|
|
const/16 v1, 0x3f4
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x3e8
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 535
|
|
|
|
:cond_17
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DownloadProgressView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_18
|
|
|
|
|
|
|
|
.line 536
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DownloadProgressView;->setUnVisibility()V
|
|
|
|
|
|
|
|
.line 538
|
|
|
|
:cond_18
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V
|
|
|
|
|
|
|
|
.line 539
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
const-string v1, "TakePicture() Timeout to setEnable button"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 544
|
|
|
|
:pswitch_f
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DownloadProgressView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
.line 545
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DownloadProgressView;->getProgress()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
.line 546
|
|
|
|
if-ge v0, v3, :cond_0
|
|
|
|
|
|
|
|
.line 547
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/widget/DownloadProgressView;->setProgress(I)V
|
|
|
|
|
|
|
|
.line 548
|
|
|
|
const/16 v1, 0x3f5
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x32
|
|
|
|
|
|
|
|
int-to-long v2, v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, v2, v3}, Lcom/viatech/camera/CameraControlView$2;->sendEmptyMessageDelayed(IJ)Z
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 553
|
|
|
|
:pswitch_10
|
|
|
|
const-string v0, "Vpai_CameraControlView"
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "## MSG_REFRESH_CONTROL_VIEW "
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
iget v4, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
.line 554
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-nez v0, :cond_20
|
|
|
|
|
|
|
|
move v0, v1
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
invoke-static {v3, v0}, Lcom/viatech/camera/CameraControlView;->access$3002(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
.line 555
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_22
|
|
|
|
|
|
|
|
.line 556
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3100(Lcom/viatech/camera/CameraControlView;)Landroid/support/v7/widget/RecyclerView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/support/v7/widget/RecyclerView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 558
|
|
|
|
sget-boolean v0, Lcom/viatech/a;->u:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_19
|
|
|
|
|
|
|
|
.line 559
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3200(Lcom/viatech/camera/CameraControlView;)Lde/hdodenhof/circleimageview/CircleImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.line 561
|
|
|
|
:cond_19
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1a
|
|
|
|
|
|
|
|
.line 562
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->hasSDCard()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_21
|
|
|
|
|
|
|
|
.line 563
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 569
|
|
|
|
:cond_1a
|
|
|
|
:goto_7
|
|
|
|
sget-boolean v0, Lcom/viatech/a;->u:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1c
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->checkHasSDCard()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1c
|
|
|
|
|
|
|
|
.line 571
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3300(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileScanner;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1b
|
|
|
|
|
|
|
|
.line 572
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
new-instance v3, Lcom/viatech/camera/CameraControlView$2$1;
|
|
|
|
|
|
|
|
invoke-direct {v3, p0}, Lcom/viatech/camera/CameraControlView$2$1;-><init>(Lcom/viatech/camera/CameraControlView$2;)V
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Lcom/viatech/camera/CameraControlView;->access$3302(Lcom/viatech/camera/CameraControlView;Lcom/viatech/gallery/FileScanner;)Lcom/viatech/gallery/FileScanner;
|
|
|
|
|
|
|
|
.line 634
|
|
|
|
:cond_1b
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3300(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileScanner;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/viatech/camera/CameraControlView;->access$3600()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v2}, Lcom/viatech/gallery/FileScanner;->startScanner(Ljava/lang/String;Z)V
|
|
|
|
|
|
|
|
.line 636
|
|
|
|
:cond_1c
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3700(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 637
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$800(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 645
|
|
|
|
:goto_8
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2400(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1d
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/camera/animation/VerticalBgFadeAnimation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1d
|
|
|
|
|
|
|
|
.line 646
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/camera/animation/VerticalBgFadeAnimation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/viatech/camera/CameraControlView;->access$3000(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Lcom/viatech/camera/animation/VerticalBgFadeAnimation;->start(Z)V
|
|
|
|
|
|
|
|
.line 648
|
|
|
|
:cond_1d
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3900(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/camera/adapter/ModeAdapter;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1f
|
|
|
|
|
|
|
|
.line 649
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3900(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/camera/adapter/ModeAdapter;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/viatech/camera/CameraControlView;->access$3000(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_1e
|
|
|
|
|
|
|
|
move v2, v1
|
|
|
|
|
|
|
|
:cond_1e
|
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/camera/adapter/ModeAdapter;->showDotView(Z)V
|
|
|
|
|
|
|
|
.line 651
|
|
|
|
:cond_1f
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4000(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
.line 652
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_24
|
|
|
|
|
|
|
|
.line 653
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_23
|
|
|
|
|
|
|
|
const v0, 0x7f020097
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_20
|
|
|
|
move v0, v2
|
|
|
|
|
|
|
|
.line 554
|
|
|
|
goto/16 :goto_6
|
|
|
|
|
|
|
|
.line 565
|
|
|
|
:cond_21
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 566
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Lcom/viatech/camera/CameraControlView;->access$1502(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
.line 639
|
|
|
|
:cond_22
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3100(Lcom/viatech/camera/CameraControlView;)Landroid/support/v7/widget/RecyclerView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/support/v7/widget/RecyclerView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 640
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3200(Lcom/viatech/camera/CameraControlView;)Lde/hdodenhof/circleimageview/CircleImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.line 641
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3700(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 642
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$800(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 643
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$500(Lcom/viatech/camera/CameraControlView;)V
|
|
|
|
|
|
|
|
goto/16 :goto_8
|
|
|
|
|
|
|
|
.line 653
|
|
|
|
:cond_23
|
|
|
|
const v0, 0x7f020099
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
.line 654
|
|
|
|
:cond_24
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_26
|
|
|
|
|
|
|
|
.line 655
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_25
|
|
|
|
|
|
|
|
const v0, 0x7f020089
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_25
|
|
|
|
const v0, 0x7f020088
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
.line 656
|
|
|
|
:cond_26
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
|
|
|
|
.line 657
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_27
|
|
|
|
|
|
|
|
const v0, 0x7f02008a
|
|
|
|
|
|
|
|
:goto_b
|
|
|
|
invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_27
|
|
|
|
const v0, 0x7f020099
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
.line 662
|
|
|
|
:pswitch_11
|
|
|
|
const/16 v0, 0x3f6
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/viatech/camera/CameraControlView$2;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 664
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/viatech/widget/DownloadProgressView;->getProgress()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
.line 665
|
|
|
|
add-int/lit8 v0, v0, 0x1e
|
|
|
|
|
|
|
|
.line 666
|
|
|
|
if-le v0, v3, :cond_28
|
|
|
|
|
|
|
|
.line 668
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Lcom/viatech/widget/DownloadProgressView;->setProgress(I)V
|
|
|
|
|
|
|
|
.line 669
|
|
|
|
const/16 v0, 0x3f4
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/viatech/camera/CameraControlView$2;->sendEmptyMessage(I)Z
|
|
|
|
|
|
|
|
.line 670
|
|
|
|
const v0, 0x7f0701a5
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
|
|
|
|
|
|
|
.line 671
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3200(Lcom/viatech/camera/CameraControlView;)Lde/hdodenhof/circleimageview/CircleImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lde/hdodenhof/circleimageview/CircleImageView;->setClickable(Z)V
|
|
|
|
|
|
|
|
.line 672
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CameraControlView;->access$1502(Lcom/viatech/camera/CameraControlView;Z)Z
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 674
|
|
|
|
:cond_28
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$2800(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/widget/DownloadProgressView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Lcom/viatech/widget/DownloadProgressView;->setProgress(I)V
|
|
|
|
|
|
|
|
.line 675
|
|
|
|
const/16 v0, 0x3f6
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x64
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v2, v3}, Lcom/viatech/camera/CameraControlView$2;->sendEmptyMessageDelayed(IJ)Z
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 680
|
|
|
|
:pswitch_12
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
.line 681
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/viatech/device/VPaiDevice;->isUSBDevice()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iput-boolean v1, v0, Lcom/viatech/camera/CameraControlView;->mIsUSBCamera:Z
|
|
|
|
|
|
|
|
.line 682
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$2400(Lcom/viatech/camera/CameraControlView;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_29
|
|
|
|
|
|
|
|
.line 683
|
|
|
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$4100(Lcom/viatech/camera/CameraControlView;)Landroid/app/Activity;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
iget-boolean v3, v3, Lcom/viatech/camera/CameraControlView;->mIsUSBCamera:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v3}, Lcom/viatech/Config;->a(Landroid/app/Activity;Z)V
|
|
|
|
|
|
|
|
.line 685
|
|
|
|
:cond_29
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1600(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/VrPlayer/VideoView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/VrPlayer/VideoView;->setVisibility(I)V
|
|
|
|
|
|
|
|
.line 686
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$1600(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/VrPlayer/VideoView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/viatech/VrPlayer/VideoView;->mProgressBar:Landroid/widget/ProgressBar;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 690
|
|
|
|
:pswitch_13
|
|
|
|
iget v0, p1, Landroid/os/Message;->what:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/viatech/camera/CameraControlView$2;->removeMessages(I)V
|
|
|
|
|
|
|
|
.line 691
|
|
|
|
iget v0, p1, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
.line 692
|
|
|
|
iget v0, p1, Landroid/os/Message;->what:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/viatech/camera/CameraControlView$2;->obtainMessage(III)Landroid/os/Message;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
.line 693
|
|
|
|
const-wide/16 v2, 0x3e8
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v2, v3}, Lcom/viatech/camera/CameraControlView$2;->sendMessageDelayed(Landroid/os/Message;J)Z
|
|
|
|
|
|
|
|
.line 694
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4200(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/util/NetworkListener;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
.line 695
|
|
|
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4200(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/util/NetworkListener;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/util/NetworkListener;->onDisconnected(Lcom/viatech/device/VPaiDevice;)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
.line 345
|
|
|
|
:pswitch_data_0
|
|
|
|
.packed-switch 0x3e8
|
|
|
|
:pswitch_1
|
|
|
|
:pswitch_7
|
|
|
|
:pswitch_8
|
|
|
|
:pswitch_0
|
|
|
|
:pswitch_5
|
|
|
|
:pswitch_4
|
|
|
|
:pswitch_6
|
|
|
|
:pswitch_2
|
|
|
|
:pswitch_9
|
|
|
|
:pswitch_3
|
|
|
|
:pswitch_c
|
|
|
|
:pswitch_d
|
|
|
|
:pswitch_e
|
|
|
|
:pswitch_f
|
|
|
|
:pswitch_11
|
|
|
|
:pswitch_10
|
|
|
|
:pswitch_12
|
|
|
|
:pswitch_13
|
|
|
|
.end packed-switch
|
|
|
|
|
|
|
|
.line 478
|
|
|
|
:pswitch_data_1
|
|
|
|
.packed-switch 0x0
|
|
|
|
:pswitch_b
|
|
|
|
:pswitch_a
|
|
|
|
:pswitch_a
|
|
|
|
.end packed-switch
|
|
|
|
.end method
|