WebPlayerView$1.smali
.class Lim/tpelyyftgw/ui/components/WebPlayerView$1;
.super Ljava/lang/Object;
.source "WebPlayerView.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/components/WebPlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/WebPlayerView;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/WebPlayerView;
.line 153
iput-object p1, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 6
.line 156
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$000(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/VideoPlayer;
move-result-object v0
if-eqz v0, :cond_4b
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$000(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/VideoPlayer;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/VideoPlayer;->isPlaying()Z
move-result v0
if-nez v0, :cond_15
goto :goto_4b
.line 159
:cond_15
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$100(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/WebPlayerView$ControlsView;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$000(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/VideoPlayer;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/VideoPlayer;->getCurrentPosition()J
move-result-wide v1
const-wide/16 v3, 0x3e8
div-long/2addr v1, v3
long-to-int v2, v1
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/WebPlayerView$ControlsView;->setProgress(I)V
.line 160
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$100(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/WebPlayerView$ControlsView;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$000(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/VideoPlayer;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/VideoPlayer;->getBufferedPosition()J
move-result-wide v1
div-long/2addr v1, v3
long-to-int v2, v1
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/WebPlayerView$ControlsView;->setBufferedProgress(I)V
.line 162
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$1;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$200(Lim/tpelyyftgw/ui/components/WebPlayerView;)Ljava/lang/Runnable;
move-result-object v0
invoke-static {v0, v3, v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;J)V
.line 163
return-void
.line 157
:cond_4b
:goto_4b
return-void
.end method