VSProgressView$a.smali

.class public final Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "a"
.end annotation


# instance fields
.field public a:I

.field b:Landroid/widget/TextView;

.field c:Z

.field final synthetic d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;


# direct methods
.method constructor <init>(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;ILandroid/widget/TextView;Z)V
    .registers 5

    .line 1121
    iput-object p1, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1122
    iput p2, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    .line 1123
    iput-object p3, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    .line 1124
    invoke-virtual {p3}, Landroid/widget/TextView;->clearAnimation()V

    .line 1125
    iput-boolean p4, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->c:Z

    return-void
.end method

.method private synthetic a()V
    .registers 3

    .line 1169
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    const/high16 v1, 0x3f800000    # 1.0f

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setAlpha(F)V

    return-void
.end method

.method public static synthetic lambda$b_T2vSjJFBYH_BJSHV_MdCPjTEc(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;)V
    .registers 1

    invoke-direct {p0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 11

    .line 1130
    iget v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    const/4 v1, 0x0

    if-ltz v0, :cond_c7

    .line 1132
    iget-boolean v2, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->c:Z

    const-wide/16 v3, 0x3e8

    const/4 v5, 0x1

    if-eqz v2, :cond_b5

    const/16 v2, 0x14

    if-ne v0, v2, :cond_27

    .line 1133
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;

    move-result-object v0

    if-eqz v0, :cond_27

    .line 1134
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;

    move-result-object v0

    iget-object v6, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v6}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->b(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)I

    move-result v6

    invoke-interface {v0, v6}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;->a(I)V

    .line 1136
    :cond_27
    iget v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    if-le v0, v2, :cond_37

    .line 1137
    iget-object v1, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    add-int/lit8 v0, v0, -0xa

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_ac

    :cond_37
    if-lez v0, :cond_9e

    .line 1139
    rem-int/lit8 v2, v0, 0x2

    if-nez v2, :cond_ac

    .line 1140
    iget-object v2, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    const/4 v6, 0x2

    div-int/2addr v0, v6

    int-to-double v7, v0

    invoke-static {v7, v8}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->b(D)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-array v0, v6, [F

    .line 1141
    fill-array-data v0, :array_f0

    const-string v2, "ScaleX"

    invoke-static {v2, v0}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;

    move-result-object v0

    new-array v2, v6, [F

    .line 1142
    fill-array-data v2, :array_f8

    const-string v7, "ScaleY"

    invoke-static {v7, v2}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;

    move-result-object v2

    new-array v7, v6, [F

    .line 1143
    fill-array-data v7, :array_100

    const-string v8, "alpha"

    invoke-static {v8, v7}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;

    move-result-object v7

    .line 1144
    iget-object v8, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    const/4 v9, 0x3

    new-array v9, v9, [Landroid/animation/PropertyValuesHolder;

    aput-object v0, v9, v1

    aput-object v2, v9, v5

    aput-object v7, v9, v6

    invoke-static {v8, v9}, Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator;

    move-result-object v0

    .line 1145
    new-instance v1, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a$1;

    invoke-direct {v1, p0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a$1;-><init>(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;)V

    invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    const-wide/16 v1, 0x7d0

    .line 1165
    invoke-virtual {v0, v1, v2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 1166
    new-instance v1, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 1167
    invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V

    .line 1168
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    new-instance v1, Lsg/bigolive/revenue64/component/vsshow/mvp/view/-$$Lambda$VSProgressView$a$b_T2vSjJFBYH_BJSHV_MdCPjTEc;

    invoke-direct {v1, p0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/-$$Lambda$VSProgressView$a$b_T2vSjJFBYH_BJSHV_MdCPjTEc;-><init>(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;)V

    const-string v2, "countDownView"

    invoke-static {v0, v1, v2}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;Ljava/lang/Runnable;Ljava/lang/String;)V

    goto :goto_ac

    .line 1174
    :cond_9e
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    const v2, 0x7d0c01ad

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {v2, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1176
    :cond_ac
    :goto_ac
    iget v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    sub-int/2addr v0, v5

    iput v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    .line 1177
    invoke-static {p0, v3, v4}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V

    return-void

    .line 1180
    :cond_b5
    iget-object v1, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1181
    iget v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    sub-int/2addr v0, v5

    iput v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->a:I

    .line 1182
    invoke-static {p0, v3, v4}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V

    return-void

    .line 1186
    :cond_c7
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->b:Landroid/widget/TextView;

    const v2, 0x7d0c01b7

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {v2, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1187
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->b(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_ef

    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;

    move-result-object v0

    if-eqz v0, :cond_ef

    .line 1188
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$a;->d:Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;->a(Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView;)Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigolive/revenue64/component/vsshow/mvp/view/VSProgressView$b;->e()V

    :cond_ef
    return-void

    :array_f0
    .array-data 4
        0x40a00000    # 5.0f
        0x3f800000    # 1.0f
    .end array-data

    :array_f8
    .array-data 4
        0x40a00000    # 5.0f
        0x3f800000    # 1.0f
    .end array-data

    :array_100
    .array-data 4
        0x3f800000    # 1.0f
        0x0
    .end array-data
.end method