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

155 lines
4.7 KiB

.class Lcom/viatech/camera/CameraControlView$22;
.super Ljava/lang/Object;
.source "CameraControlView.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CameraControlView;->onStopRecordCallback(ILjava/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/CameraControlView;
.field final synthetic val$filename:Ljava/lang/String;
# direct methods
.method constructor <init>(Lcom/viatech/camera/CameraControlView;Ljava/lang/String;)V
.locals 0
.prologue
.line 2287
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
iput-object p2, p0, Lcom/viatech/camera/CameraControlView$22;->val$filename:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 6
.prologue
const v5, 0x7f0201c5
const/4 v4, 0x1
.line 2290
const v0, 0x7f07014f
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
.line 2291
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0, v4}, Lcom/viatech/camera/CameraControlView;->access$1502(Lcom/viatech/camera/CameraControlView;Z)Z
.line 2292
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
move-result v1
invoke-virtual {v0, v1}, Lcom/viatech/camera/CameraControlView;->setCameraMode(I)V
.line 2294
sget-object v0, Lcom/viatech/camera/CameraControlView;->mCurVPaiDevice:Lcom/viatech/device/VPaiDevice;
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$22;->val$filename:Ljava/lang/String;
invoke-virtual {v0, v1}, Lcom/viatech/device/VPaiDevice;->getDownloadUrl(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
.line 2295
const-string v1, "Vpai_CameraControlView"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "got video thumb: "
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
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 2296
if-eqz v0, :cond_0
.line 2297
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$22;->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/VPaiPicasso;->networkPicasso(Landroid/content/Context;)Lcom/squareup/picasso/Picasso;
move-result-object v1
invoke-virtual {v1, v0}, Lcom/squareup/picasso/Picasso;->load(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;
move-result-object v0
.line 2298
invoke-virtual {v0, v5}, Lcom/squareup/picasso/RequestCreator;->placeholder(I)Lcom/squareup/picasso/RequestCreator;
move-result-object v0
.line 2299
invoke-virtual {v0, v5}, Lcom/squareup/picasso/RequestCreator;->error(I)Lcom/squareup/picasso/RequestCreator;
move-result-object v0
new-instance v1, Lcom/viatech/util/VPaiPicasso$CircleTransform;
invoke-direct {v1}, Lcom/viatech/util/VPaiPicasso$CircleTransform;-><init>()V
.line 2300
invoke-virtual {v0, v1}, Lcom/squareup/picasso/RequestCreator;->transform(Lcom/squareup/picasso/Transformation;)Lcom/squareup/picasso/RequestCreator;
move-result-object v0
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
.line 2301
invoke-virtual {v0, v1}, Lcom/squareup/picasso/RequestCreator;->into(Lcom/squareup/picasso/Target;)V
.line 2303
:cond_0
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$22;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v0, v4}, Lcom/viatech/camera/CameraControlView;->toggleControlView(Z)V
.line 2304
return-void
.end method