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

197 lines
5.5 KiB

.class Lcom/viatech/gallery/ClipAudioView$3;
.super Landroid/os/Handler;
.source "ClipAudioView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/viatech/gallery/ClipAudioView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/gallery/ClipAudioView;
# direct methods
.method constructor <init>(Lcom/viatech/gallery/ClipAudioView;)V
.locals 0
.prologue
.line 147
iput-object p1, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.locals 5
.prologue
const/16 v4, 0x110
.line 150
iget v0, p1, Landroid/os/Message;->what:I
packed-switch v0, :pswitch_data_0
.line 168
:goto_0
return-void
.line 152
:pswitch_0
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$000(Lcom/viatech/gallery/ClipAudioView;)Landroid/media/MediaPlayer;
move-result-object v0
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$000(Lcom/viatech/gallery/ClipAudioView;)Landroid/media/MediaPlayer;
move-result-object v0
invoke-virtual {v0}, Landroid/media/MediaPlayer;->isPlaying()Z
move-result v0
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$600(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_2
.line 153
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$000(Lcom/viatech/gallery/ClipAudioView;)Landroid/media/MediaPlayer;
move-result-object v0
invoke-virtual {v0}, Landroid/media/MediaPlayer;->getCurrentPosition()I
move-result v0
int-to-long v0, v0
.line 154
iget-object v2, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v2}, Lcom/viatech/gallery/ClipAudioView;->access$500(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v2
cmp-long v2, v0, v2
if-gez v2, :cond_0
.line 155
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$000(Lcom/viatech/gallery/ClipAudioView;)Landroid/media/MediaPlayer;
move-result-object v0
iget-object v1, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v1}, Lcom/viatech/gallery/ClipAudioView;->access$500(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v2
long-to-int v1, v2
invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V
.line 156
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$500(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v0
.line 158
:cond_0
iget-object v2, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v2}, Lcom/viatech/gallery/ClipAudioView;->access$600(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v2
cmp-long v2, v0, v2
if-lez v2, :cond_1
.line 159
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$000(Lcom/viatech/gallery/ClipAudioView;)Landroid/media/MediaPlayer;
move-result-object v0
iget-object v1, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v1}, Lcom/viatech/gallery/ClipAudioView;->access$500(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v2
long-to-int v1, v2
invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V
.line 160
iget-object v0, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v0}, Lcom/viatech/gallery/ClipAudioView;->access$500(Lcom/viatech/gallery/ClipAudioView;)J
move-result-wide v0
.line 162
:cond_1
iget-object v2, p0, Lcom/viatech/gallery/ClipAudioView$3;->this$0:Lcom/viatech/gallery/ClipAudioView;
invoke-static {v2}, Lcom/viatech/gallery/ClipAudioView;->access$300(Lcom/viatech/gallery/ClipAudioView;)Lcom/viatech/gallery/ClipAudioBar;
move-result-object v2
invoke-virtual {v2, v0, v1}, Lcom/viatech/gallery/ClipAudioBar;->setProgressTime(J)V
.line 164
:cond_2
invoke-virtual {p0, v4}, Lcom/viatech/gallery/ClipAudioView$3;->removeMessages(I)V
.line 165
const-wide/16 v0, 0x3e8
invoke-virtual {p0, v4, v0, v1}, Lcom/viatech/gallery/ClipAudioView$3;->sendEmptyMessageDelayed(IJ)Z
goto :goto_0
.line 150
nop
:pswitch_data_0
.packed-switch 0x110
:pswitch_0
.end packed-switch
.end method