f.smali

.class public final Lcom/opensource/svgaplayer/f;
.super Landroid/graphics/drawable/Drawable;
.source "SourceFile"


# instance fields
.field a:I

.field final b:Lcom/opensource/svgaplayer/j;

.field final c:Lcom/opensource/svgaplayer/g;

.field private d:Z

.field private e:Landroid/widget/ImageView$ScaleType;

.field private final f:Lcom/opensource/svgaplayer/b/b;


# direct methods
.method public constructor <init>(Lcom/opensource/svgaplayer/j;)V
    .registers 3

    const-string v0, "videoItem"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 12
    new-instance v0, Lcom/opensource/svgaplayer/g;

    invoke-direct {v0}, Lcom/opensource/svgaplayer/g;-><init>()V

    invoke-direct {p0, p1, v0}, Lcom/opensource/svgaplayer/f;-><init>(Lcom/opensource/svgaplayer/j;Lcom/opensource/svgaplayer/g;)V

    return-void
.end method

.method public constructor <init>(Lcom/opensource/svgaplayer/j;Lcom/opensource/svgaplayer/g;)V
    .registers 4

    const-string v0, "videoItem"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "dynamicItem"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 10
    invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V

    iput-object p1, p0, Lcom/opensource/svgaplayer/f;->b:Lcom/opensource/svgaplayer/j;

    iput-object p2, p0, Lcom/opensource/svgaplayer/f;->c:Lcom/opensource/svgaplayer/g;

    const/4 p1, 0x1

    .line 14
    iput-boolean p1, p0, Lcom/opensource/svgaplayer/f;->d:Z

    .line 32
    sget-object p1, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;

    iput-object p1, p0, Lcom/opensource/svgaplayer/f;->e:Landroid/widget/ImageView$ScaleType;

    .line 34
    new-instance p1, Lcom/opensource/svgaplayer/b/b;

    iget-object p2, p0, Lcom/opensource/svgaplayer/f;->b:Lcom/opensource/svgaplayer/j;

    iget-object v0, p0, Lcom/opensource/svgaplayer/f;->c:Lcom/opensource/svgaplayer/g;

    invoke-direct {p1, p2, v0}, Lcom/opensource/svgaplayer/b/b;-><init>(Lcom/opensource/svgaplayer/j;Lcom/opensource/svgaplayer/g;)V

    iput-object p1, p0, Lcom/opensource/svgaplayer/f;->f:Lcom/opensource/svgaplayer/b/b;

    return-void
.end method


# virtual methods
.method public final a(I)V
    .registers 3

    .line 25
    iget v0, p0, Lcom/opensource/svgaplayer/f;->a:I

    if-ne v0, p1, :cond_5

    return-void

    .line 28
    :cond_5
    iput p1, p0, Lcom/opensource/svgaplayer/f;->a:I

    .line 29
    invoke-virtual {p0}, Lcom/opensource/svgaplayer/f;->invalidateSelf()V

    return-void
.end method

.method public final a(Landroid/widget/ImageView$ScaleType;)V
    .registers 3

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 32
    iput-object p1, p0, Lcom/opensource/svgaplayer/f;->e:Landroid/widget/ImageView$ScaleType;

    return-void
.end method

.method public final a(Z)V
    .registers 3

    .line 16
    iget-boolean v0, p0, Lcom/opensource/svgaplayer/f;->d:Z

    if-ne v0, p1, :cond_5

    return-void

    .line 19
    :cond_5
    iput-boolean p1, p0, Lcom/opensource/svgaplayer/f;->d:Z

    .line 20
    invoke-virtual {p0}, Lcom/opensource/svgaplayer/f;->invalidateSelf()V

    return-void
.end method

.method public final draw(Landroid/graphics/Canvas;)V
    .registers 5

    .line 37
    iget-boolean v0, p0, Lcom/opensource/svgaplayer/f;->d:Z

    if-eqz v0, :cond_5

    return-void

    :cond_5
    if-eqz p1, :cond_10

    .line 41
    iget-object v0, p0, Lcom/opensource/svgaplayer/f;->f:Lcom/opensource/svgaplayer/b/b;

    iget v1, p0, Lcom/opensource/svgaplayer/f;->a:I

    iget-object v2, p0, Lcom/opensource/svgaplayer/f;->e:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, p1, v1, v2}, Lcom/opensource/svgaplayer/b/b;->a(Landroid/graphics/Canvas;ILandroid/widget/ImageView$ScaleType;)V

    :cond_10
    return-void
.end method

.method public final getOpacity()I
    .registers 2

    const/4 v0, -0x2

    return v0
.end method

.method public final setAlpha(I)V
    .registers 2

    return-void
.end method

.method public final setColorFilter(Landroid/graphics/ColorFilter;)V
    .registers 2

    return-void
.end method