ProgressView$a.smali

.class final Lcom/imo/android/imoim/noble/views/ProgressView$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/noble/views/ProgressView;->a()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/noble/views/ProgressView;

.field final synthetic b:Landroid/graphics/drawable/ClipDrawable;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/noble/views/ProgressView;Landroid/graphics/drawable/ClipDrawable;)V
    .registers 3

    iput-object p1, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    iput-object p2, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->b:Landroid/graphics/drawable/ClipDrawable;

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

    return-void
.end method


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

    .line 106
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const-string v2, "emptyProcessBar"

    invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/widget/ImageView;->getWidth()I

    move-result v1

    int-to-float v1, v1

    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->b(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v3

    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v5}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v5

    sub-long/2addr v3, v5

    long-to-float v3, v3

    iget-object v4, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->d(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v4

    iget-object v6, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v6

    sub-long/2addr v4, v6

    long-to-float v4, v4

    div-float/2addr v3, v4

    mul-float v1, v1, v3

    float-to-int v1, v1

    invoke-static {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;I)V

    .line 107
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v0}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v0

    iget-object v1, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v3, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v1, v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/widget/ImageView;->getWidth()I

    move-result v1

    if-le v0, v1, :cond_64

    .line 108
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/widget/ImageView;->getWidth()I

    move-result v1

    invoke-static {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;I)V

    .line 110
    :cond_64
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->b:Landroid/graphics/drawable/ClipDrawable;

    const v1, 0x461c4000    # 10000.0f

    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v3

    int-to-float v3, v3

    mul-float v3, v3, v1

    iget-object v1, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v1, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/widget/ImageView;->getWidth()I

    move-result v1

    int-to-float v1, v1

    div-float/2addr v3, v1

    float-to-int v1, v3

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/ClipDrawable;->setLevel(I)Z

    .line 111
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "tvCurrentLevelNumber"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Landroid/widget/TextView;->getWidth()I

    move-result v0

    const/4 v3, 0x2

    .line 113
    invoke-static {v3}, Lcom/imo/android/imoim/util/ay;->a(I)I

    move-result v3

    const/4 v4, 0x5

    .line 115
    invoke-static {v4}, Lcom/imo/android/imoim/util/ay;->a(I)I

    move-result v4

    add-int v5, v0, v4

    .line 116
    iget-object v6, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v6

    const-string v7, "null cannot be cast to non-null type android.view.ViewGroup.MarginLayoutParams"

    if-le v5, v6, :cond_100

    .line 117
    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v6, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v5, v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    invoke-static {v5, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v5}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v5

    if-eqz v5, :cond_fa

    check-cast v5, Landroid/view/ViewGroup$MarginLayoutParams;

    .line 119
    iget-object v6, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v6

    add-int/2addr v6, v3

    invoke-static {v6, v4}, Ljava/lang/Math;->max(II)I

    move-result v3

    iput v3, v5, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I

    .line 120
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v3, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    invoke-static {v3, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v5, Landroid/view/ViewGroup$LayoutParams;

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 121
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v3, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iget-object v4, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->e(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_156

    .line 117
    :cond_fa
    new-instance v0, Lkotlin/TypeCastException;

    invoke-direct {v0, v7}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 123
    :cond_100
    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v6, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v5, v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    invoke-static {v5, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v5}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v5

    if-eqz v5, :cond_246

    check-cast v5, Landroid/view/ViewGroup$MarginLayoutParams;

    .line 125
    iget-object v6, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(Lcom/imo/android/imoim/noble/views/ProgressView;)I

    move-result v6

    sub-int/2addr v6, v0

    sub-int/2addr v6, v3

    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v8, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v3, v8}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    invoke-static {v3, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v3}, Landroid/widget/ImageView;->getWidth()I

    move-result v3

    sub-int/2addr v3, v0

    sub-int/2addr v3, v4

    invoke-static {v6, v3}, Ljava/lang/Math;->min(II)I

    move-result v3

    iput v3, v5, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I

    .line 126
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v3, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const/4 v4, -0x1

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 127
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v3, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    invoke-static {v3, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v5, Landroid/view/ViewGroup$LayoutParams;

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 130
    :goto_156
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v4, Lcom/imo/android/imoim/k$a;->tvCurrentLevelNumber:I

    invoke-virtual {v3, v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    invoke-static {v3, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v3}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    if-eqz v1, :cond_240

    check-cast v1, Landroid/view/ViewGroup$MarginLayoutParams;

    iget v1, v1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I

    add-int/2addr v1, v0

    .line 131
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v3, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v0, v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-static {v0, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Landroid/widget/ImageView;->getWidth()I

    move-result v0

    int-to-float v0, v0

    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->f(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v3

    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v5}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v5

    sub-long/2addr v3, v5

    long-to-float v3, v3

    iget-object v4, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->d(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v4

    iget-object v6, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v6}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v8

    sub-long/2addr v4, v8

    long-to-float v4, v4

    div-float/2addr v3, v4

    mul-float v0, v0, v3

    float-to-int v0, v0

    .line 133
    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->b(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v3

    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v5}, Lcom/imo/android/imoim/noble/views/ProgressView;->f(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v5

    const-string v8, "llRemainNumber"

    cmp-long v9, v3, v5

    if-gtz v9, :cond_228

    if-le v1, v0, :cond_1b5

    goto :goto_228

    .line 136
    :cond_1b5
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->llRemainNumber:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-static {v0, v8}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 137
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->llRemainNumber:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-static {v0, v8}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_222

    check-cast v0, Landroid/view/ViewGroup$MarginLayoutParams;

    .line 138
    iget-object v1, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v3, Lcom/imo/android/imoim/k$a;->emptyProcessBar:I

    invoke-virtual {v1, v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/widget/ImageView;->getWidth()I

    move-result v1

    int-to-float v1, v1

    iget-object v2, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v2}, Lcom/imo/android/imoim/noble/views/ProgressView;->f(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v2

    iget-object v4, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v4}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v4

    sub-long/2addr v2, v4

    long-to-float v2, v2

    iget-object v3, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v3}, Lcom/imo/android/imoim/noble/views/ProgressView;->d(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v3

    iget-object v5, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-static {v5}, Lcom/imo/android/imoim/noble/views/ProgressView;->c(Lcom/imo/android/imoim/noble/views/ProgressView;)J

    move-result-wide v5

    sub-long/2addr v3, v5

    long-to-float v3, v3

    div-float/2addr v2, v3

    mul-float v1, v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I

    .line 139
    iget-object v1, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v2, Lcom/imo/android/imoim/k$a;->llRemainNumber:I

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    invoke-static {v1, v8}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Landroid/view/ViewGroup$LayoutParams;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_23a

    .line 137
    :cond_222
    new-instance v0, Lkotlin/TypeCastException;

    invoke-direct {v0, v7}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 134
    :cond_228
    :goto_228
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    sget v1, Lcom/imo/android/imoim/k$a;->llRemainNumber:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/noble/views/ProgressView;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-static {v0, v8}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 141
    :goto_23a
    iget-object v0, p0, Lcom/imo/android/imoim/noble/views/ProgressView$a;->a:Lcom/imo/android/imoim/noble/views/ProgressView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/noble/views/ProgressView;->requestLayout()V

    return-void

    .line 130
    :cond_240
    new-instance v0, Lkotlin/TypeCastException;

    invoke-direct {v0, v7}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 123
    :cond_246
    new-instance v0, Lkotlin/TypeCastException;

    invoke-direct {v0, v7}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0
.end method