.class Lcom/moji/lottie/ShapeLayer;
.super Lcom/moji/lottie/BaseLayer;
.source "ShapeLayer.java"


# instance fields
.field private final e:Landroid/graphics/Matrix;

.field private final f:Lcom/moji/lottie/ContentGroup;


# direct methods
.method constructor <init>(Lcom/moji/lottie/LottieDrawable;Lcom/moji/lottie/Layer;)V
    .locals 2

    .line 18
    invoke-direct {p0, p1, p2}, Lcom/moji/lottie/BaseLayer;-><init>(Lcom/moji/lottie/LottieDrawable;Lcom/moji/lottie/Layer;)V

    .line 13
    new-instance v0, Landroid/graphics/Matrix;

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

    iput-object v0, p0, Lcom/moji/lottie/ShapeLayer;->e:Landroid/graphics/Matrix;

    .line 20
    new-instance v0, Lcom/moji/lottie/ShapeGroup;

    invoke-virtual {p2}, Lcom/moji/lottie/Layer;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2}, Lcom/moji/lottie/Layer;->j()Ljava/util/List;

    move-result-object p2

    invoke-direct {v0, v1, p2}, Lcom/moji/lottie/ShapeGroup;-><init>(Ljava/lang/String;Ljava/util/List;)V

    .line 21
    new-instance p2, Lcom/moji/lottie/ContentGroup;

    invoke-direct {p2, p1, p0, v0}, Lcom/moji/lottie/ContentGroup;-><init>(Lcom/moji/lottie/LottieDrawable;Lcom/moji/lottie/BaseLayer;Lcom/moji/lottie/ShapeGroup;)V

    iput-object p2, p0, Lcom/moji/lottie/ShapeLayer;->f:Lcom/moji/lottie/ContentGroup;

    .line 22
    iget-object p1, p0, Lcom/moji/lottie/ShapeLayer;->f:Lcom/moji/lottie/ContentGroup;

    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object p2

    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object v0

    invoke-virtual {p1, p2, v0}, Lcom/moji/lottie/ContentGroup;->a(Ljava/util/List;Ljava/util/List;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/graphics/RectF;Landroid/graphics/Matrix;)V
    .locals 1

    .line 32
    invoke-super {p0, p1, p2}, Lcom/moji/lottie/BaseLayer;->a(Landroid/graphics/RectF;Landroid/graphics/Matrix;)V

    .line 33
    iget-object p2, p0, Lcom/moji/lottie/ShapeLayer;->f:Lcom/moji/lottie/ContentGroup;

    iget-object v0, p0, Lcom/moji/lottie/ShapeLayer;->a:Landroid/graphics/Matrix;

    invoke-virtual {p2, p1, v0}, Lcom/moji/lottie/ContentGroup;->a(Landroid/graphics/RectF;Landroid/graphics/Matrix;)V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Landroid/graphics/ColorFilter;)V
    .locals 1
    .param p1    # Ljava/lang/String;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .param p2    # Ljava/lang/String;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .param p3    # Landroid/graphics/ColorFilter;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param

    .line 39
    iget-object v0, p0, Lcom/moji/lottie/ShapeLayer;->f:Lcom/moji/lottie/ContentGroup;

    invoke-virtual {v0, p1, p2, p3}, Lcom/moji/lottie/ContentGroup;->a(Ljava/lang/String;Ljava/lang/String;Landroid/graphics/ColorFilter;)V

    return-void
.end method

.method b(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V
    .locals 1
    .param p1    # Landroid/graphics/Canvas;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    .line 27
    iget-object v0, p0, Lcom/moji/lottie/ShapeLayer;->f:Lcom/moji/lottie/ContentGroup;

    invoke-virtual {v0, p1, p2, p3}, Lcom/moji/lottie/ContentGroup;->a(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V

    return-void
.end method
