.class Lcom/moji/lottie/ScaleKeyframeAnimation;
.super Lcom/moji/lottie/KeyframeAnimation;
.source "ScaleKeyframeAnimation.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/lottie/KeyframeAnimation<",
        "Lcom/moji/lottie/ScaleXY;",
        ">;"
    }
.end annotation


# direct methods
.method constructor <init>(Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/lottie/Keyframe<",
            "Lcom/moji/lottie/ScaleXY;",
            ">;>;)V"
        }
    .end annotation

    .line 9
    invoke-direct {p0, p1}, Lcom/moji/lottie/KeyframeAnimation;-><init>(Ljava/util/List;)V

    return-void
.end method


# virtual methods
.method public synthetic a(Lcom/moji/lottie/Keyframe;F)Ljava/lang/Object;
    .locals 0

    .line 7
    invoke-virtual {p0, p1, p2}, Lcom/moji/lottie/ScaleKeyframeAnimation;->b(Lcom/moji/lottie/Keyframe;F)Lcom/moji/lottie/ScaleXY;

    move-result-object p1

    return-object p1
.end method

.method public b(Lcom/moji/lottie/Keyframe;F)Lcom/moji/lottie/ScaleXY;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/moji/lottie/Keyframe<",
            "Lcom/moji/lottie/ScaleXY;",
            ">;F)",
            "Lcom/moji/lottie/ScaleXY;"
        }
    .end annotation

    .line 14
    iget-object v0, p1, Lcom/moji/lottie/Keyframe;->a:Ljava/lang/Object;

    if-eqz v0, :cond_0

    iget-object v0, p1, Lcom/moji/lottie/Keyframe;->b:Ljava/lang/Object;

    if-eqz v0, :cond_0

    .line 17
    iget-object v0, p1, Lcom/moji/lottie/Keyframe;->a:Ljava/lang/Object;

    check-cast v0, Lcom/moji/lottie/ScaleXY;

    .line 18
    iget-object p1, p1, Lcom/moji/lottie/Keyframe;->b:Ljava/lang/Object;

    check-cast p1, Lcom/moji/lottie/ScaleXY;

    .line 19
    new-instance v1, Lcom/moji/lottie/ScaleXY;

    .line 20
    invoke-virtual {v0}, Lcom/moji/lottie/ScaleXY;->a()F

    move-result v2

    invoke-virtual {p1}, Lcom/moji/lottie/ScaleXY;->a()F

    move-result v3

    invoke-static {v2, v3, p2}, Lcom/moji/lottie/MiscUtils;->a(FFF)F

    move-result v2

    .line 21
    invoke-virtual {v0}, Lcom/moji/lottie/ScaleXY;->b()F

    move-result v0

    invoke-virtual {p1}, Lcom/moji/lottie/ScaleXY;->b()F

    move-result p1

    invoke-static {v0, p1, p2}, Lcom/moji/lottie/MiscUtils;->a(FFF)F

    move-result p1

    invoke-direct {v1, v2, p1}, Lcom/moji/lottie/ScaleXY;-><init>(FF)V

    return-object v1

    .line 15
    :cond_0
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "Missing values for keyframe."

    invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1
.end method
