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

163 lines
4.3 KiB

.class Lcom/viatech/camera/CameraControlView$47;
.super Ljava/lang/Object;
.source "CameraControlView.java"
# interfaces
.implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CameraControlView;->stopLocalLiveStream()V
.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 3922
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$47;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onMessageResult(Ljava/lang/String;)V
.locals 8
.prologue
.line 3925
const-string v0, "Vpai_CameraControlView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "stopLive resp: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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 3926
invoke-static {p1}, Lcom/viatech/device/DeviceMessage;->parse(Ljava/lang/String;)Lcom/viatech/device/DeviceMessage$DeviceMessageResult;
move-result-object v0
.line 3927
if-eqz v0, :cond_0
iget v1, v0, Lcom/viatech/device/DeviceMessage$DeviceMessageResult;->ret:I
if-eqz v1, :cond_1
.line 3928
:cond_0
if-nez v0, :cond_2
const/16 v0, 0x194
.line 3929
:goto_0
sget-object v1, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
iget-object v2, p0, Lcom/viatech/camera/CameraControlView$47;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v2}, Lcom/viatech/camera/CameraControlView;->getResources()Landroid/content/res/Resources;
move-result-object v2
const v3, 0x7f0700e6
const/4 v4, 0x1
new-array v4, v4, [Ljava/lang/Object;
const/4 v5, 0x0
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
const-string v7, ""
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v6
invoke-virtual {v6, 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
aput-object v0, v4, v5
invoke-virtual {v2, v3, v4}, Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/viatech/widget/VPaiToast;->show(Ljava/lang/String;)V
.line 3931
:cond_1
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$47;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4100(Lcom/viatech/camera/CameraControlView;)Landroid/app/Activity;
move-result-object v0
if-nez v0, :cond_3
.line 3982
:goto_1
return-void
.line 3928
:cond_2
iget v0, v0, Lcom/viatech/device/DeviceMessage$DeviceMessageResult;->ret:I
goto :goto_0
.line 3934
:cond_3
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$47;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4100(Lcom/viatech/camera/CameraControlView;)Landroid/app/Activity;
move-result-object v0
new-instance v1, Lcom/viatech/camera/CameraControlView$47$1;
invoke-direct {v1, p0}, Lcom/viatech/camera/CameraControlView$47$1;-><init>(Lcom/viatech/camera/CameraControlView$47;)V
invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V
goto :goto_1
.end method