apkfuckery/com.discord/smali/com/airbnb/lottie/f/a.smali
2019-07-24 13:27:29 +02:00

239 lines
5.9 KiB
Smali

.class public abstract Lcom/airbnb/lottie/f/a;
.super Landroid/animation/ValueAnimator;
.source "BaseLottieAnimator.java"
# instance fields
.field private final nK:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Landroid/animation/ValueAnimator$AnimatorUpdateListener;",
">;"
}
.end annotation
.end field
.field final nL: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, Lcom/airbnb/lottie/f/a;->nK:Ljava/util/Set;
new-instance v0, Ljava/util/concurrent/CopyOnWriteArraySet;
invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArraySet;-><init>()V
iput-object v0, p0, Lcom/airbnb/lottie/f/a;->nL:Ljava/util/Set;
return-void
.end method
# virtual methods
.method public addListener(Landroid/animation/Animator$AnimatorListener;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nL: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, Lcom/airbnb/lottie/f/a;->nK:Ljava/util/Set;
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
return-void
.end method
.method final bF()V
.locals 2
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nK: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 final k(Z)V
.locals 4
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nL: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 removeAllListeners()V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nL: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, Lcom/airbnb/lottie/f/a;->nK: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, Lcom/airbnb/lottie/f/a;->nL: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, Lcom/airbnb/lottie/f/a;->nK: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}, Lcom/airbnb/lottie/f/a;->setDuration(J)Landroid/animation/ValueAnimator;
move-result-object p1
return-object 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