.class public Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask; .super Ljava/util/TimerTask; .source "JCVideoPlayer.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "ProgressTimerTask" .end annotation # instance fields .field private a:Ljava/lang/ref/WeakReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/ref/WeakReference<", "Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;", ">;" } .end annotation .end field # direct methods .method public constructor (Ljava/lang/ref/WeakReference;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/ref/WeakReference<", "Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;", ">;)V" } .end annotation .line 801 invoke-direct {p0}, Ljava/util/TimerTask;->()V .line 802 iput-object p1, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask;->a:Ljava/lang/ref/WeakReference; return-void .end method # virtual methods .method public run()V .locals 3 .line 807 iget-object v0, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask;->a:Ljava/lang/ref/WeakReference; if-eqz v0, :cond_1 .line 808 iget-object v0, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask;->a:Ljava/lang/ref/WeakReference; invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer; if-eqz v0, :cond_1 .line 810 iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;->g:I const/4 v2, 0x2 if-eq v1, v2, :cond_0 iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;->g:I const/4 v2, 0x5 if-eq v1, v2, :cond_0 iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;->g:I const/4 v2, 0x3 if-ne v1, v2, :cond_1 .line 811 :cond_0 iget-object v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;->J:Landroid/os/Handler; new-instance v2, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask$1; invoke-direct {v2, p0, v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask$1;->(Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer$ProgressTimerTask;Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayer;)V invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z :cond_1 return-void .end method