.class Lcom/viatech/gallery/EditVideoActivity$7; .super Ljava/lang/Object; .source "EditVideoActivity.java" # interfaces .implements Landroid/media/MediaPlayer$OnPreparedListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/gallery/EditVideoActivity;->playOrPauseMusic(Lcom/viatech/gallery/AudioFile;)V .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 665 iput-object p1, p0, Lcom/viatech/gallery/EditVideoActivity$7;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onPrepared(Landroid/media/MediaPlayer;)V .locals 5 .prologue const/16 v4, 0x111 .line 669 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$7;->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;->start()V .line 670 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$7;->this$0:Lcom/viatech/gallery/EditVideoActivity; iget-object v1, p0, Lcom/viatech/gallery/EditVideoActivity$7;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v1}, Lcom/viatech/gallery/EditVideoActivity;->access$400(Lcom/viatech/gallery/EditVideoActivity;)Lcom/viatech/gallery/AudioFile; move-result-object v1 invoke-static {v0, v1}, Lcom/viatech/gallery/EditVideoActivity;->access$1202(Lcom/viatech/gallery/EditVideoActivity;Lcom/viatech/gallery/AudioFile;)Lcom/viatech/gallery/AudioFile; .line 671 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$7;->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 672 const-wide/16 v2, 0x0 cmp-long v2, v0, v2 if-eqz v2, :cond_0 .line 673 iget-object v2, p0, Lcom/viatech/gallery/EditVideoActivity$7;->this$0:Lcom/viatech/gallery/EditVideoActivity; invoke-static {v2}, Lcom/viatech/gallery/EditVideoActivity;->access$1100(Lcom/viatech/gallery/EditVideoActivity;)Landroid/media/MediaPlayer; move-result-object v2 long-to-int v0, v0 invoke-virtual {v2, v0}, Landroid/media/MediaPlayer;->seekTo(I)V .line 674 :cond_0 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$7;->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 .line 675 iget-object v0, p0, Lcom/viatech/gallery/EditVideoActivity$7;->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;->sendEmptyMessage(I)Z .line 676 return-void .end method