StarView$1.smali

.class Lcom/cleanmaster/hpsharelib/view/StarView$1;
.super Ljava/lang/Object;
.source "StarView.java"

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


# instance fields
.field final synthetic this$0:Lcom/cleanmaster/hpsharelib/view/StarView;


# direct methods
.method constructor <init>(Lcom/cleanmaster/hpsharelib/view/StarView;)V
    .registers 2

    .prologue
    .line 79
    iput-object p1, p0, Lcom/cleanmaster/hpsharelib/view/StarView$1;->this$0:Lcom/cleanmaster/hpsharelib/view/StarView;

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

    return-void
.end method


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

    .prologue
    .line 82
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/view/StarView$1;->this$0:Lcom/cleanmaster/hpsharelib/view/StarView;

    # getter for: Lcom/cleanmaster/hpsharelib/view/StarView;->mStarModel:Lcom/cleanmaster/hpsharelib/view/StarModel;
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/view/StarView;->access$000(Lcom/cleanmaster/hpsharelib/view/StarView;)Lcom/cleanmaster/hpsharelib/view/StarModel;

    move-result-object v1

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

    move-result-object v0

    check-cast v0, Ljava/lang/Float;

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

    move-result v0

    iput v0, v1, Lcom/cleanmaster/hpsharelib/view/StarModel;->offset:F

    .line 83
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/view/StarView$1;->this$0:Lcom/cleanmaster/hpsharelib/view/StarView;

    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/view/StarView;->invalidate()V

    .line 84
    return-void
.end method