.class Lcom/viatech/gallery/EditVideoActivity$6; .super Landroid/os/Handler; .source "EditVideoActivity.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/viatech/gallery/EditVideoActivity; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/viatech/gallery/EditVideoActivity; # direct methods .method constructor (Lcom/viatech/gallery/EditVideoActivity;)V .locals 0 .prologue .line 566 iput-object p1, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-direct {p0}, Landroid/os/Handler;->()V return-void .end method # virtual methods .method public handleMessage(Landroid/os/Message;)V .locals 10 .prologue const-wide/16 v8, 0x3e8 const/16 v5, 0x110 const-wide/16 v6, 0x0 const/16 v4, 0x111 .line 569 iget v0, p1, Landroid/os/Message;->what:I packed-switch v0, :pswitch_data_0 .line 604 :cond_0 :goto_0 return-void .line 571 :pswitch_0 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$000(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 if-eqz v0, :cond_3 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$000(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 invoke-virtual {v0}, Landroid/media/MediaPlayer;->isPlaying()Z move-result v0 if-eqz v0, :cond_3 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$800(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v0 cmp-long v0, v0, v6 if-eqz v0, :cond_3 .line 572 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$000(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 invoke-virtual {v0}, Landroid/media/MediaPlayer;->getCurrentPosition()I move-result v0 int-to-long v0, v0 .line 573 iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$900(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v2 cmp-long v2, v0, v2 if-gez v2, :cond_1 .line 574 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$000(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v1}, Lcom/viatech/gallery/EditVideoActivity;->access$900(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v2 long-to-int v1, v2 invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V .line 575 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$900(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v0 .line 577 :cond_1 iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$800(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v2 cmp-long v2, v0, v2 if-lez v2, :cond_2 .line 578 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$000(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v1}, Lcom/viatech/gallery/EditVideoActivity;->access$900(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v2 long-to-int v1, v2 invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V .line 579 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$900(Lcom/viatech/gallery/EditVideoActivity;)J move-result-wide v0 .line 581 :cond_2 iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$1000(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/ClipBarView; move-result-object v2 invoke-virtual {v2, v0, v1}, Lcom/viatech/gallery/ClipBarView;->setProgressTime(J)V .line 583 :cond_3 invoke-virtual {p0, v5}, Lcom/viatech/gallery/EditVideoActivity$6;->removeMessages(I)V .line 584 invoke-virtual {p0, v5, v8, v9}, Lcom/viatech/gallery/EditVideoActivity$6;->sendEmptyMessageDelayed(IJ)Z goto :goto_0 .line 587 :pswitch_1 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1100(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1100(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 invoke-virtual {v0}, Landroid/media/MediaPlayer;->isPlaying()Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1200(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; move-result-object v0 if-eqz v0, :cond_0 .line 588 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1200(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; move-result-object v0 invoke-virtual {v0}, Lcom/viatech/gallery/AudioFile;->getStart()J move-result-wide v0 .line 589 iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$1200(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; move-result-object v2 invoke-virtual {v2}, Lcom/viatech/gallery/AudioFile;->getEnd()J move-result-wide v2 .line 590 cmp-long v0, v0, v6 if-eqz v0, :cond_0 cmp-long v0, v2, v6 if-eqz v0, :cond_0 .line 591 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1100(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 invoke-virtual {v0}, Landroid/media/MediaPlayer;->getCurrentPosition()I move-result v0 int-to-long v0, v0 .line 592 cmp-long v0, v0, v2 if-ltz v0, :cond_4 .line 593 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1100(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v0 invoke-virtual {v0}, Landroid/media/MediaPlayer;->pause()V .line 594 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; const/4 v1, 0x0 invoke-static {v0, v1}, Lcom/viatech/gallery/EditVideoActivity;->access$1202(Lcom/viatech/gallery/EditVideoActivity;Lcom/viatech/gallery/AudioFile;)Lcom/viatech/gallery/AudioFile; .line 595 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$6;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v0}, Lcom/viatech/gallery/EditVideoActivity;->access$1300(Lcom/viatech/gallery/EditVideoActivity;)Landroid/os/Handler; move-result-object v0 invoke-virtual {v0, v4}, Landroid/os/Handler;->removeMessages(I)V goto/16 :goto_0 .line 597 :cond_4 invoke-virtual {p0, v4}, Lcom/viatech/gallery/EditVideoActivity$6;->removeMessages(I)V .line 598 invoke-virtual {p0, v4, v8, v9}, Lcom/viatech/gallery/EditVideoActivity$6;->sendEmptyMessageDelayed(IJ)Z goto/16 :goto_0 .line 569 :pswitch_data_0 .packed-switch 0x110 :pswitch_0 :pswitch_1 .end packed-switch .end method