.class Lcom/moji/lottie/ShapeKeyframeAnimation;
.super Lcom/moji/lottie/BaseKeyframeAnimation;
.source "ShapeKeyframeAnimation.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/lottie/BaseKeyframeAnimation<",
        "Lcom/moji/lottie/ShapeData;",
        "Landroid/graphics/Path;",
        ">;"
    }
.end annotation


# instance fields
.field private final b:Lcom/moji/lottie/ShapeData;

.field private final c:Landroid/graphics/Path;


# 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/ShapeData;",
            ">;>;)V"
        }
    .end annotation

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

    .line 8
    new-instance p1, Lcom/moji/lottie/ShapeData;

    invoke-direct {p1}, Lcom/moji/lottie/ShapeData;-><init>()V

    iput-object p1, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->b:Lcom/moji/lottie/ShapeData;

    .line 9
    new-instance p1, Landroid/graphics/Path;

    invoke-direct {p1}, Landroid/graphics/Path;-><init>()V

    iput-object p1, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->c:Landroid/graphics/Path;

    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/ShapeKeyframeAnimation;->b(Lcom/moji/lottie/Keyframe;F)Landroid/graphics/Path;

    move-result-object p1

    return-object p1
.end method

.method public b(Lcom/moji/lottie/Keyframe;F)Landroid/graphics/Path;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/moji/lottie/Keyframe<",
            "Lcom/moji/lottie/ShapeData;",
            ">;F)",
            "Landroid/graphics/Path;"
        }
    .end annotation

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

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

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

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

    .line 20
    iget-object v1, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->b:Lcom/moji/lottie/ShapeData;

    invoke-virtual {v1, v0, p1, p2}, Lcom/moji/lottie/ShapeData;->a(Lcom/moji/lottie/ShapeData;Lcom/moji/lottie/ShapeData;F)V

    .line 21
    iget-object p1, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->b:Lcom/moji/lottie/ShapeData;

    iget-object p2, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->c:Landroid/graphics/Path;

    invoke-static {p1, p2}, Lcom/moji/lottie/MiscUtils;->a(Lcom/moji/lottie/ShapeData;Landroid/graphics/Path;)V

    .line 22
    iget-object p1, p0, Lcom/moji/lottie/ShapeKeyframeAnimation;->c:Landroid/graphics/Path;

    return-object p1
.end method
