239 lines
5.7 KiB
Smali
239 lines
5.7 KiB
Smali
.class public abstract Lf/d/a/z/a;
|
|
.super Landroid/animation/ValueAnimator;
|
|
.source "BaseLottieAnimator.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Landroid/animation/ValueAnimator$AnimatorUpdateListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Landroid/animation/Animator$AnimatorListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Landroid/animation/ValueAnimator;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/concurrent/CopyOnWriteArraySet;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArraySet;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/d/a/z/a;->d:Ljava/util/Set;
|
|
|
|
new-instance v0, Ljava/util/concurrent/CopyOnWriteArraySet;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArraySet;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/d/a/z/a;->e:Ljava/util/Set;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->d:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Z)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/Animator$AnimatorListener;
|
|
|
|
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x1a
|
|
|
|
if-lt v2, v3, :cond_0
|
|
|
|
invoke-interface {v1, p0, p1}, Landroid/animation/Animator$AnimatorListener;->onAnimationEnd(Landroid/animation/Animator;Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-interface {v1, p0}, Landroid/animation/Animator$AnimatorListener;->onAnimationEnd(Landroid/animation/Animator;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->d:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
invoke-interface {v1, p0}, Landroid/animation/ValueAnimator$AnimatorUpdateListener;->onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public getStartDelay()J
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v1, "LottieAnimator does not support getStartDelay."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public removeAllListeners()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAllUpdateListeners()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->d:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/d/a/z/a;->d:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic setDuration(J)Landroid/animation/Animator;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1, p2}, Lf/d/a/z/a;->setDuration(J)Landroid/animation/ValueAnimator;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setDuration(J)Landroid/animation/ValueAnimator;
|
|
.locals 0
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p2, "LottieAnimator does not support setDuration."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setInterpolator(Landroid/animation/TimeInterpolator;)V
|
|
.locals 1
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v0, "LottieAnimator does not support setInterpolator."
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setStartDelay(J)V
|
|
.locals 0
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p2, "LottieAnimator does not support setStartDelay."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|