.class Lcom/moji/forum/ui/AllTopicListFragment$9;
.super Ljava/lang/Object;
.source "AllTopicListFragment.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/AllTopicListFragment;->g()V
.end annotation

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


# instance fields
.field final synthetic a:I

.field final synthetic b:I

.field final synthetic c:F

.field final synthetic d:Lcom/moji/forum/ui/AllTopicListFragment;


# direct methods
.method constructor <init>(Lcom/moji/forum/ui/AllTopicListFragment;IIF)V
    .locals 0

    .line 392
    iput-object p1, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->d:Lcom/moji/forum/ui/AllTopicListFragment;

    iput p2, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->a:I

    iput p3, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->b:I

    iput p4, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->c:F

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

    return-void
.end method


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

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

    move-result-object p1

    check-cast p1, Ljava/lang/Float;

    .line 397
    iget-object v0, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->d:Lcom/moji/forum/ui/AllTopicListFragment;

    iget v1, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->a:I

    int-to-float v1, v1

    iget v2, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->b:I

    int-to-float v2, v2

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

    move-result v3

    mul-float v2, v2, v3

    add-float/2addr v1, v2

    float-to-int v1, v1

    invoke-static {v0, v1}, Lcom/moji/forum/ui/AllTopicListFragment;->a(Lcom/moji/forum/ui/AllTopicListFragment;I)V

    .line 398
    iget-object v0, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->d:Lcom/moji/forum/ui/AllTopicListFragment;

    invoke-static {v0}, Lcom/moji/forum/ui/AllTopicListFragment;->i(Lcom/moji/forum/ui/AllTopicListFragment;)Lcom/moji/forum/view/VoteView;

    move-result-object v0

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

    move-result p1

    iget v1, p0, Lcom/moji/forum/ui/AllTopicListFragment$9;->c:F

    mul-float p1, p1, v1

    const/high16 v1, 0x3f000000    # 0.5f

    add-float/2addr p1, v1

    invoke-virtual {v0, p1}, Lcom/moji/forum/view/VoteView;->setPercent(F)V

    return-void
.end method
