i.smali

.class public final Lcom/opensource/svgaplayer/i;
.super Ljava/lang/Object;
.source "SVGAImageView.kt"

# interfaces
.implements Landroid/animation/Animator$AnimatorListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opensource/svgaplayer/SVGAImageView;->startAnimation(Lcom/opensource/svgaplayer/b/b;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:I

.field final synthetic c:Lcom/opensource/svgaplayer/SVGAImageView;

.field final synthetic d:Lcom/opensource/svgaplayer/b/b;

.field final synthetic e:Lcom/opensource/svgaplayer/c;

.field final synthetic f:Z


# direct methods
.method constructor <init>(IILcom/opensource/svgaplayer/SVGAImageView;Lcom/opensource/svgaplayer/b/b;Lcom/opensource/svgaplayer/c;Z)V
    .registers 7

    iput p1, p0, Lcom/opensource/svgaplayer/i;->a:I

    iput p2, p0, Lcom/opensource/svgaplayer/i;->b:I

    iput-object p3, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    iput-object p4, p0, Lcom/opensource/svgaplayer/i;->d:Lcom/opensource/svgaplayer/b/b;

    iput-object p5, p0, Lcom/opensource/svgaplayer/i;->e:Lcom/opensource/svgaplayer/c;

    iput-boolean p6, p0, Lcom/opensource/svgaplayer/i;->f:Z

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationCancel(Landroid/animation/Animator;)V
    .registers 3

    .line 1
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/opensource/svgaplayer/SVGAImageView;->access$setAnimating$p(Lcom/opensource/svgaplayer/SVGAImageView;Z)V

    return-void
.end method

.method public onAnimationEnd(Landroid/animation/Animator;)V
    .registers 3

    .line 1
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/opensource/svgaplayer/SVGAImageView;->access$setAnimating$p(Lcom/opensource/svgaplayer/SVGAImageView;Z)V

    .line 2
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->stopAnimation()V

    .line 3
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->getClearsAfterStop()Z

    move-result p1

    if-nez p1, :cond_36

    .line 4
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->getFillMode()Lcom/opensource/svgaplayer/SVGAImageView$FillMode;

    move-result-object p1

    sget-object v0, Lcom/opensource/svgaplayer/SVGAImageView$FillMode;->Backward:Lcom/opensource/svgaplayer/SVGAImageView$FillMode;

    if-ne p1, v0, :cond_25

    .line 5
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->e:Lcom/opensource/svgaplayer/c;

    iget v0, p0, Lcom/opensource/svgaplayer/i;->a:I

    invoke-virtual {p1, v0}, Lcom/opensource/svgaplayer/c;->a(I)V

    goto :goto_36

    .line 6
    :cond_25
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->getFillMode()Lcom/opensource/svgaplayer/SVGAImageView$FillMode;

    move-result-object p1

    sget-object v0, Lcom/opensource/svgaplayer/SVGAImageView$FillMode;->Forward:Lcom/opensource/svgaplayer/SVGAImageView$FillMode;

    if-ne p1, v0, :cond_36

    .line 7
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->e:Lcom/opensource/svgaplayer/c;

    iget v0, p0, Lcom/opensource/svgaplayer/i;->b:I

    invoke-virtual {p1, v0}, Lcom/opensource/svgaplayer/c;->a(I)V

    .line 8
    :cond_36
    :goto_36
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->getCallback()Lcom/opensource/svgaplayer/b;

    move-result-object p1

    if-eqz p1, :cond_41

    invoke-interface {p1}, Lcom/opensource/svgaplayer/b;->onFinished()V

    :cond_41
    return-void
.end method

.method public onAnimationRepeat(Landroid/animation/Animator;)V
    .registers 2

    .line 1
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->getCallback()Lcom/opensource/svgaplayer/b;

    move-result-object p1

    if-eqz p1, :cond_b

    invoke-interface {p1}, Lcom/opensource/svgaplayer/b;->a()V

    :cond_b
    return-void
.end method

.method public onAnimationStart(Landroid/animation/Animator;)V
    .registers 3

    .line 1
    iget-object p1, p0, Lcom/opensource/svgaplayer/i;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    const/4 v0, 0x1

    invoke-static {p1, v0}, Lcom/opensource/svgaplayer/SVGAImageView;->access$setAnimating$p(Lcom/opensource/svgaplayer/SVGAImageView;Z)V

    return-void
.end method