.class public Lcom/moji/mjweather/feed/animation/ShadeAnimation;
.super Landroid/view/animation/Animation;
.source "ShadeAnimation.java"


# instance fields
.field private a:Landroid/view/View;

.field private b:I

.field private c:I


# virtual methods
.method protected applyTransformation(FLandroid/view/animation/Transformation;)V
    .locals 8

    .line 25
    iget p2, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->b:I

    invoke-static {p2}, Landroid/graphics/Color;->alpha(I)I

    move-result p2

    .line 26
    iget v0, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->b:I

    invoke-static {v0}, Landroid/graphics/Color;->red(I)I

    move-result v0

    .line 27
    iget v1, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->b:I

    invoke-static {v1}, Landroid/graphics/Color;->green(I)I

    move-result v1

    .line 28
    iget v2, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->b:I

    invoke-static {v2}, Landroid/graphics/Color;->blue(I)I

    move-result v2

    .line 29
    iget v3, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->c:I

    invoke-static {v3}, Landroid/graphics/Color;->alpha(I)I

    move-result v3

    .line 30
    iget v4, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->c:I

    invoke-static {v4}, Landroid/graphics/Color;->red(I)I

    move-result v4

    .line 31
    iget v5, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->c:I

    invoke-static {v5}, Landroid/graphics/Color;->green(I)I

    move-result v5

    .line 32
    iget v6, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->c:I

    invoke-static {v6}, Landroid/graphics/Color;->blue(I)I

    move-result v6

    int-to-float v7, p2

    sub-int/2addr v3, p2

    int-to-float p2, v3

    mul-float p2, p2, p1

    add-float/2addr v7, p2

    float-to-int p2, v7

    int-to-float v3, v0

    sub-int/2addr v4, v0

    int-to-float v0, v4

    mul-float v0, v0, p1

    add-float/2addr v3, v0

    float-to-int v0, v3

    int-to-float v3, v1

    sub-int/2addr v5, v1

    int-to-float v1, v5

    mul-float v1, v1, p1

    add-float/2addr v3, v1

    float-to-int v1, v3

    int-to-float v3, v2

    sub-int/2addr v6, v2

    int-to-float v2, v6

    mul-float v2, v2, p1

    add-float/2addr v3, v2

    float-to-int p1, v3

    .line 37
    invoke-static {p2, v0, v1, p1}, Landroid/graphics/Color;->argb(IIII)I

    move-result p1

    .line 38
    iget-object p2, p0, Lcom/moji/mjweather/feed/animation/ShadeAnimation;->a:Landroid/view/View;

    invoke-virtual {p2, p1}, Landroid/view/View;->setBackgroundColor(I)V

    return-void
.end method
