ProgressWithAdModel$animateProgressUpdate$2.smali

.class final Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel$animateProgressUpdate$2;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;->h(I)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;


# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;)V
    .registers 2

    iput-object p1, p0, Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel$animateProgressUpdate$2;->a:Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;

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

    return-void
.end method


# virtual methods
.method public final onAnimationUpdate(Landroid/animation/ValueAnimator;)V
    .registers 4

    const/4 v1, 0x0

    const-string v0, "valueAnimator"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v1, 0x3

    invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;

    move-result-object p1

    const/4 v1, 0x7

    if-eqz p1, :cond_1c

    check-cast p1, Ljava/lang/Float;

    invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F

    move-result p1

    const/4 v1, 0x1

    iget-object v0, p0, Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel$animateProgressUpdate$2;->a:Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;

    invoke-static {v0, p1}, Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;->g(Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;F)V

    const/4 v1, 0x0

    return-void

    :cond_1c
    const/4 v1, 0x6

    new-instance p1, Lkotlin/TypeCastException;

    const/4 v1, 0x7

    const-string v0, "null cannot be cast to non-null type kotlin.Float"

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

    throw p1
.end method