119 lines
3.3 KiB
Smali
119 lines
3.3 KiB
Smali
.class public Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask;
|
|
.super Ljava/util/TimerTask;
|
|
.source "JCVideoPlayerStandard.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "DismissControlViewTimerTask"
|
|
.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/JCVideoPlayerStandard;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/ref/WeakReference;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1032
|
|
invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V
|
|
|
|
.line 1033
|
|
iput-object p1, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask;->a:Ljava/lang/ref/WeakReference;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 3
|
|
|
|
.line 1038
|
|
iget-object v0, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask;->a:Ljava/lang/ref/WeakReference;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1039
|
|
iget-object v0, p0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask;->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/JCVideoPlayerStandard;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1041
|
|
iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->g:I
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->g:I
|
|
|
|
const/4 v2, 0x7
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
iget v1, v0, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->g:I
|
|
|
|
const/4 v2, 0x6
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 1044
|
|
invoke-virtual {v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
instance-of v1, v1, Landroid/app/Activity;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 1045
|
|
invoke-virtual {v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/app/Activity;
|
|
|
|
new-instance v2, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask$1;
|
|
|
|
invoke-direct {v2, p0, v0}, Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask$1;-><init>(Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard$DismissControlViewTimerTask;Lfm/jiecao/jcvideoplayer_lib/JCVideoPlayerStandard;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|