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

326 lines
9.2 KiB

.class Lcom/viatech/camera/CameraControlView$7;
.super Ljava/lang/Object;
.source "CameraControlView.java"
# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CameraControlView;->showCDAnimation(I)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$as:Landroid/view/animation/ScaleAnimation;
.field final synthetic val$count:I
.field final synthetic val$repeated:[I
# direct methods
.method constructor <init>(Lcom/viatech/camera/CameraControlView;[IILandroid/view/animation/ScaleAnimation;)V
.locals 0
.prologue
.line 996
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
iput-object p2, p0, Lcom/viatech/camera/CameraControlView$7;->val$repeated:[I
iput p3, p0, Lcom/viatech/camera/CameraControlView$7;->val$count:I
iput-object p4, p0, Lcom/viatech/camera/CameraControlView$7;->val$as:Landroid/view/animation/ScaleAnimation;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
.locals 4
.prologue
const/4 v3, 0x0
.line 1006
const-string v0, "Vpai_CameraControlView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "showCDAnimation, onAnimationEnd >>>> "
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$7;->val$repeated:[I
aget v2, v2, v3
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "/"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
iget v2, p0, Lcom/viatech/camera/CameraControlView$7;->val$count:I
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, ", mCountdownNum:"
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$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v2}, Lcom/viatech/camera/CameraControlView;->access$4800(Lcom/viatech/camera/CameraControlView;)I
move-result v2
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 1007
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->val$repeated:[I
aget v1, v0, v3
add-int/lit8 v1, v1, 0x1
aput v1, v0, v3
.line 1008
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
move-result-object v0
const/4 v1, 0x4
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
.line 1009
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4800(Lcom/viatech/camera/CameraControlView;)I
move-result v0
if-lez v0, :cond_1
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->val$repeated:[I
aget v0, v0, v3
iget v1, p0, Lcom/viatech/camera/CameraControlView$7;->val$count:I
if-ge v0, v1, :cond_1
.line 1010
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
move-result-object v0
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$7;->val$as:Landroid/view/animation/ScaleAnimation;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V
.line 1027
:cond_0
:goto_0
return-void
.line 1011
:cond_1
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->val$repeated:[I
aget v0, v0, v3
iget v1, p0, Lcom/viatech/camera/CameraControlView$7;->val$count:I
if-ne v0, v1, :cond_0
.line 1012
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$600(Lcom/viatech/camera/CameraControlView;)V
.line 1013
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$300(Lcom/viatech/camera/CameraControlView;)I
move-result v0
packed-switch v0, :pswitch_data_0
goto :goto_0
.line 1015
:pswitch_0
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->toggleLapse()I
goto :goto_0
.line 1018
:pswitch_1
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->toggleRecord()I
goto :goto_0
.line 1021
:pswitch_2
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->takePicture()I
goto :goto_0
.line 1013
:pswitch_data_0
.packed-switch 0x0
:pswitch_0
:pswitch_1
:pswitch_2
.end packed-switch
.end method
.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
.locals 4
.prologue
.line 1031
const-string v0, "Vpai_CameraControlView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "showCDAnimation, onAnimationRepeat >>>> "
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$7;->val$repeated:[I
const/4 v3, 0x0
aget v2, v2, v3
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 1032
return-void
.end method
.method public onAnimationStart(Landroid/view/animation/Animation;)V
.locals 4
.prologue
const/4 v3, 0x0
.line 999
const-string v0, "Vpai_CameraControlView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "showCDAnimation, onAnimationStart >>>> "
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$7;->val$repeated:[I
aget v2, v2, v3
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 1000
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
move-result-object v0
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V
.line 1001
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$7;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$4900(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
move-result-object v0
iget v1, p0, Lcom/viatech/camera/CameraControlView$7;->val$count:I
iget-object v2, p0, Lcom/viatech/camera/CameraControlView$7;->val$repeated:[I
aget v2, v2, v3
sub-int/2addr v1, v2
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 1002
return-void
.end method