TimeLineComponent$d.smali
.class final Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent$d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;->b()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent$d;->a:Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 8
.line 66
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent$d;->a:Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;->a(Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;)Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;
move-result-object v0
if-eqz v0, :cond_4e
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent$d;->a:Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;
.line 1042
iget-object v1, v1, Lcom/imo/android/imoim/feeds/ui/cover/component/impl/TimeLineComponent;->c:Lcom/imo/android/imoim/feeds/ui/cover/b/c;
if-eqz v1, :cond_4e
.line 1095
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->getMeasuredWidth()I
move-result v2
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->getPaddingLeft()I
move-result v3
sub-int/2addr v2, v3
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->getPaddingRight()I
move-result v3
sub-int/2addr v2, v3
.line 1096
iget v3, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->a:I
div-int/lit8 v3, v3, 0x2
iput v3, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->b:I
.line 1097
iget v3, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->b:I
sub-int/2addr v2, v3
.line 1098
iput v2, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->c:I
.line 1100
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->getContext()Landroid/content/Context;
.line 1211
iget v2, v1, Lcom/imo/android/imoim/feeds/ui/cover/b/c;->a:I
if-nez v2, :cond_31
.line 1212
invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/ui/cover/b/c;->a()V
.line 1214
:cond_31
iget v2, v1, Lcom/imo/android/imoim/feeds/ui/cover/b/c;->a:I
int-to-float v2, v2
.line 1101
iget v3, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->d:I
int-to-float v3, v3
div-float/2addr v2, v3
const/4 v3, 0x0
.line 1103
iget v4, v0, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;->d:I
:goto_3b
if-ge v3, v4, :cond_4e
int-to-float v5, v3
mul-float v5, v5, v2
float-to-int v5, v5
.line 1104
new-instance v6, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar$c;
invoke-direct {v6, v3, v0, v1}, Lcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar$c;-><init>(ILcom/imo/android/imoim/feeds/ui/cover/widget/VideoSeekBar;Lcom/imo/android/imoim/feeds/ui/cover/b/c;)V
check-cast v6, Lcom/imo/android/imoim/feeds/ui/cover/a/a;
invoke-virtual {v1, v5, v6}, Lcom/imo/android/imoim/feeds/ui/cover/b/c;->a(ILcom/imo/android/imoim/feeds/ui/cover/a/a;)V
add-int/lit8 v3, v3, 0x1
goto :goto_3b
:cond_4e
return-void
.end method