apkfuckery/com.discord/smali/com/airbnb/lottie/LottieAnimationView.smali

1971 lines
47 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lcom/airbnb/lottie/LottieAnimationView;
.super Landroidx/appcompat/widget/AppCompatImageView;
.source "LottieAnimationView.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/airbnb/lottie/LottieAnimationView$SavedState;
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final p:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final d:Le/d/a/h;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Le/d/a/h<",
"Le/d/a/d;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Le/d/a/h<",
2019-07-24 11:27:29 +00:00
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public h:I
.annotation build Landroidx/annotation/RawRes;
.end annotation
.end field
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public j:Z
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public k:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public l:Le/d/a/p;
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
.field public m:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
2019-12-06 03:29:40 +00:00
"Le/d/a/j;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public n:Le/d/a/n;
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-10-07 23:23:22 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Le/d/a/n<",
"Le/d/a/d;",
2019-10-07 23:23:22 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public o:Le/d/a/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2019-10-07 23:23:22 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-08-30 20:04:20 +00:00
.locals 1
const-class v0, Lcom/airbnb/lottie/LottieAnimationView;
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
2019-12-06 03:29:40 +00:00
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView;->p:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
invoke-direct {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;)V
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$a;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$b;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1}, Le/d/a/f;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
sget-object p1, Le/d/a/p;->d:Le/d/a/p;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Le/d/a/p;
2019-07-24 11:27:29 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->a(Landroid/util/AttributeSet;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$a;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$b;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1}, Le/d/a/f;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
sget-object p1, Le/d/a/p;->d:Le/d/a/p;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Le/d/a/p;
2019-07-24 11:27:29 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p2}, Lcom/airbnb/lottie/LottieAnimationView;->a(Landroid/util/AttributeSet;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$a;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$b;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1}, Le/d/a/f;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
sget-object p1, Le/d/a/p;->d:Le/d/a/p;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Le/d/a/p;
2019-07-24 11:27:29 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p2}, Lcom/airbnb/lottie/LottieAnimationView;->a(Landroid/util/AttributeSet;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method private setCompositionTask(Le/d/a/n;)V
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"(",
"Le/d/a/n<",
"Le/d/a/d;",
">;)V"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->b()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Le/d/a/n;->b(Le/d/a/h;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Le/d/a/n;->a(Le/d/a/h;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Le/d/a/n;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
# virtual methods
.method public a()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Le/d/a/f;->i:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/x/d;->cancel()V
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
2019-10-07 23:23:22 +00:00
return-void
.end method
2020-01-02 21:43:52 +00:00
.method public a(II)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
invoke-virtual {v0, p1, p2}, Le/d/a/f;->a(II)V
return-void
.end method
.method public a(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
iget-object v0, v0, Le/d/a/x/a;->d:Ljava/util/Set;
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public final a(Landroid/util/AttributeSet;)V
2019-11-20 22:09:14 +00:00
.locals 7
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v0
sget-object v1, Lcom/airbnb/lottie/R$a;->LottieAnimationView:[I
invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->isInEditMode()Z
2019-07-24 11:27:29 +00:00
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_4
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_rawRes:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
sget v2, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_fileName:I
invoke-virtual {p1, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v2
sget v3, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_url:I
invoke-virtual {p1, v3}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v3
if-eqz v0, :cond_1
if-nez v2, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "lottie_rawRes and lottie_fileName cannot be used at the same time. Please use only one at once."
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
:goto_0
if-eqz v0, :cond_2
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_rawRes:I
invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result v0
if-eqz v0, :cond_4
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(I)V
goto :goto_1
:cond_2
if-eqz v2, :cond_3
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_fileName:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_4
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(Ljava/lang/String;)V
goto :goto_1
:cond_3
if-eqz v3, :cond_4
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_url:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_4
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimationFromUrl(Ljava/lang/String;)V
:cond_4
:goto_1
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_autoPlay:I
invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
const/4 v2, 0x1
if-eqz v0, :cond_5
2019-12-06 03:29:40 +00:00
iput-boolean v2, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean v2, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-12-06 01:29:57 +00:00
2019-07-24 11:27:29 +00:00
:cond_5
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_loop:I
invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
const/4 v3, -0x1
if-eqz v0, :cond_6
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
invoke-virtual {v0, v3}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
2019-07-24 11:27:29 +00:00
:cond_6
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_repeatMode:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_7
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_repeatMode:I
invoke-virtual {p1, v0, v2}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatMode(I)V
:cond_7
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_repeatCount:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_8
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_repeatCount:I
invoke-virtual {p1, v0, v3}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
:cond_8
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_speed:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
const/high16 v3, 0x3f800000 # 1.0f
if-eqz v0, :cond_9
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_speed:I
invoke-virtual {p1, v0, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setSpeed(F)V
:cond_9
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_imageAssetsFolder:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageAssetsFolder(Ljava/lang/String;)V
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_progress:I
const/4 v4, 0x0
invoke-virtual {p1, v0, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setProgress(F)V
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_enableMergePathsForKitKatAndAbove:I
invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->a(Z)V
2019-07-24 11:27:29 +00:00
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_colorFilter:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_a
2019-12-06 03:29:40 +00:00
new-instance v0, Le/d/a/q;
2019-07-24 11:27:29 +00:00
sget v5, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_colorFilter:I
invoke-virtual {p1, v5, v1}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v5
2019-12-06 03:29:40 +00:00
invoke-direct {v0, v5}, Le/d/a/q;-><init>(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance v5, Le/d/a/u/e;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
const-string v6, "**"
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
filled-new-array {v6}, [Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v5, v6}, Le/d/a/u/e;-><init>([Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance v6, Le/d/a/y/c;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v6, v0}, Le/d/a/y/c;-><init>(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v0, Le/d/a/k;->B:Landroid/graphics/ColorFilter;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v5, v0, v6}, Lcom/airbnb/lottie/LottieAnimationView;->a(Le/d/a/u/e;Ljava/lang/Object;Le/d/a/y/c;)V
2019-07-24 11:27:29 +00:00
:cond_a
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_scale:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_b
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
sget v5, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_scale:I
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result v3
2019-12-06 03:29:40 +00:00
iput v3, v0, Le/d/a/f;->g:F
invoke-virtual {v0}, Le/d/a/f;->h()V
2019-07-24 11:27:29 +00:00
:cond_b
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
2019-12-06 03:29:40 +00:00
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/d/a/x/g;->a(Landroid/content/Context;)F
2019-07-24 11:27:29 +00:00
move-result v0
cmpl-float v0, v0, v4
if-eqz v0, :cond_c
const/4 v1, 0x1
:cond_c
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Le/d/a/f;->a(Ljava/lang/Boolean;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public a(Le/d/a/u/e;Ljava/lang/Object;Le/d/a/y/c;)V
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Le/d/a/u/e;",
"TT;",
"Le/d/a/y/c<",
"TT;>;)V"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
invoke-virtual {v0, p1, p2, p3}, Le/d/a/f;->a(Le/d/a/u/e;Ljava/lang/Object;Le/d/a/y/c;)V
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public a(Le/d/a/w/h0/c;Ljava/lang/String;)V
.locals 0
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
invoke-static {p1, p2}, Le/d/a/e;->a(Le/d/a/w/h0/c;Ljava/lang/String;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Le/d/a/n;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public a(Ljava/lang/String;Ljava/lang/String;)V
.locals 1
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance v0, Ljava/io/ByteArrayInputStream;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-direct {v0, p1}, Ljava/io/ByteArrayInputStream;-><init>([B)V
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {v0}, Lx/a/a2/w;->a(Ljava/io/InputStream;)Lb0/w;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-26 23:31:08 +00:00
invoke-static {p1}, Lx/a/a2/w;->a(Lb0/w;)Lb0/g;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {p1}, Le/d/a/w/h0/c;->a(Lb0/g;)Le/d/a/w/h0/c;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1, p2}, Lcom/airbnb/lottie/LottieAnimationView;->a(Le/d/a/w/h0/c;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public a(Z)V
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-boolean v1, v0, Le/d/a/f;->m:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne v1, p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
iput-boolean p1, v0, Le/d/a/f;->m:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object p1, v0, Le/d/a/f;->e:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
invoke-virtual {v0}, Le/d/a/f;->a()V
:cond_1
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public final b()V
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Le/d/a/h;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Le/d/a/n;->d(Le/d/a/h;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Le/d/a/h;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Le/d/a/n;->c(Le/d/a/h;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-07-24 11:27:29 +00:00
return-void
.end method
2020-01-02 21:43:52 +00:00
.method public b(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
iget-object v0, v0, Le/d/a/x/a;->d:Ljava/util/Set;
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
return-void
.end method
2019-07-24 11:27:29 +00:00
.method public buildDrawingCache(Z)V
.locals 2
2019-12-06 03:29:40 +00:00
invoke-super {p0, p1}, Landroid/widget/ImageView;->buildDrawingCache(Z)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getLayerType()I
2019-07-24 11:27:29 +00:00
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Landroid/widget/ImageView;->getDrawingCache(Z)Landroid/graphics/Bitmap;
2019-07-24 11:27:29 +00:00
move-result-object p1
if-nez p1, :cond_0
2019-12-06 03:29:40 +00:00
sget-object p1, Le/d/a/p;->e:Le/d/a/p;
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRenderMode(Le/d/a/p;)V
:cond_0
return-void
.end method
.method public final c()V
.locals 6
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Le/d/a/p;
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x2
const/4 v3, 0x1
if-eqz v0, :cond_2
if-eq v0, v3, :cond_1
if-eq v0, v2, :cond_0
goto :goto_2
:cond_0
invoke-virtual {p0, v3, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
goto :goto_2
:cond_1
invoke-virtual {p0, v2, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
goto :goto_2
:cond_2
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
const/4 v4, 0x0
if-eqz v0, :cond_3
iget-boolean v0, v0, Le/d/a/d;->n:Z
if-eqz v0, :cond_3
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v5, 0x1c
if-ge v0, v5, :cond_3
goto :goto_0
:cond_3
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
if-eqz v0, :cond_4
iget v0, v0, Le/d/a/d;->o:I
const/4 v5, 0x4
if-le v0, v5, :cond_4
goto :goto_0
:cond_4
const/4 v4, 0x1
:goto_0
if-eqz v4, :cond_5
goto :goto_1
:cond_5
const/4 v2, 0x1
:goto_1
invoke-virtual {p0, v2, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
:goto_2
return-void
.end method
.method public d()Z
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
iget-boolean v0, v0, Le/d/a/x/d;->n:Z
return v0
.end method
.method public e()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iget-object v1, v0, Le/d/a/f;->i:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Le/d/a/x/d;->b(Z)V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
return-void
.end method
.method public f()V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->f()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public g()V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/MainThread;
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
invoke-virtual {v0}, Le/d/a/f;->g()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
goto :goto_0
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:goto_0
return-void
.end method
.method public getComposition()Le/d/a/d;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method public getDuration()J
.locals 2
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/d;->a()F
2019-07-24 11:27:29 +00:00
move-result v0
float-to-long v0, v0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const-wide/16 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-wide v0
.end method
.method public getFrame()I
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, v0, Le/d/a/x/d;->i:F
2019-07-24 11:27:29 +00:00
float-to-int v0, v0
return v0
.end method
.method public getImageAssetsFolder()Ljava/lang/String;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->k:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method public getMaxFrame()F
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/x/d;->c()F
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
.method public getMinFrame()F
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/x/d;->d()F
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public getPerformanceTracker()Le/d/a/o;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->e:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/d;->c()Le/d/a/o;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method public getProgress()F
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->c()F
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
.method public getRepeatCount()I
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->d()I
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
.method public getRepeatMode()I
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
.method public getScale()F
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, v0, Le/d/a/f;->g:F
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public getSpeed()F
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, v0, Le/d/a/x/d;->f:F
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 2
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
if-ne v0, v1, :cond_0
2019-12-06 03:29:40 +00:00
invoke-super {p0, v1}, Landroid/widget/ImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
invoke-super {p0, p1}, Landroid/widget/ImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onAttachedToWindow()V
2019-07-24 11:27:29 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
invoke-super {p0}, Landroid/widget/ImageView;->onAttachedToWindow()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_0
2019-12-06 03:29:40 +00:00
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_1
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->f()V
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
2019-07-24 11:27:29 +00:00
:cond_1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x17
if-ge v0, v1, :cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getVisibility()I
2019-07-24 11:27:29 +00:00
move-result v0
invoke-virtual {p0, p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
:cond_2
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onDetachedFromWindow()V
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->d()Z
2019-07-24 11:27:29 +00:00
move-result v0
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
2019-07-24 11:27:29 +00:00
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
invoke-super {p0}, Landroid/widget/ImageView;->onDetachedFromWindow()V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
2019-07-24 11:27:29 +00:00
.locals 2
instance-of v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
if-nez v0, :cond_0
2019-12-06 03:29:40 +00:00
invoke-super {p0, p1}, Landroid/widget/ImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
2019-07-24 11:27:29 +00:00
return-void
:cond_0
check-cast p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/view/View$BaseSavedState;->getSuperState()Landroid/os/Parcelable;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-super {p0, v0}, Landroid/widget/ImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->d:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(Ljava/lang/String;)V
:cond_1
2019-12-06 03:29:40 +00:00
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->e:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_2
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(I)V
:cond_2
2019-12-06 03:29:40 +00:00
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->f:F
2019-07-24 11:27:29 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setProgress(F)V
2019-12-06 03:29:40 +00:00
iget-boolean v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->g:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_3
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->f()V
2019-07-24 11:27:29 +00:00
:cond_3
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v1, v0, Le/d/a/f;->k:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->i:I
2019-07-24 11:27:29 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatMode(I)V
2019-12-06 03:29:40 +00:00
iget p1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->j:I
2019-07-24 11:27:29 +00:00
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onSaveInstanceState()Landroid/os/Parcelable;
.locals 4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-super {p0}, Landroid/widget/ImageView;->onSaveInstanceState()Landroid/os/Parcelable;
2019-07-24 11:27:29 +00:00
move-result-object v0
new-instance v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
invoke-direct {v1, v0}, Lcom/airbnb/lottie/LottieAnimationView$SavedState;-><init>(Landroid/os/Parcelable;)V
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->d:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->e:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->c()F
2019-07-24 11:27:29 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->f:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v2, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-boolean v3, v2, Le/d/a/x/d;->n:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean v3, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->g:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->k:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/animation/ValueAnimator;->getRepeatMode()I
2019-07-24 11:27:29 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->i:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->d()I
2019-07-24 11:27:29 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->j:I
2019-07-24 11:27:29 +00:00
return-object v1
.end method
2019-12-06 03:29:40 +00:00
.method public onVisibilityChanged(Landroid/view/View;I)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
if-nez p1, :cond_0
return-void
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
2019-07-24 11:27:29 +00:00
move-result p1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
if-eqz p1, :cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->g()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->d()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->e()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public setAnimation(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/RawRes;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, p1}, Le/d/a/e;->a(Landroid/content/Context;I)Le/d/a/n;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Le/d/a/n;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setAnimation(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-static {v0, p1}, Le/d/a/e;->a(Landroid/content/Context;Ljava/lang/String;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Le/d/a/n;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setAnimationFromJson(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.annotation runtime Ljava/lang/Deprecated;
.end annotation
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1, v0}, Lcom/airbnb/lottie/LottieAnimationView;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public setAnimationFromUrl(Ljava/lang/String;)V
.locals 1
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-static {v0, p1}, Le/d/a/e;->c(Landroid/content/Context;Ljava/lang/String;)Le/d/a/n;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Le/d/a/n;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setComposition(Le/d/a/d;)V
.locals 6
.param p1 # Le/d/a/d;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Le/d/a/f;->e:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne v1, p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
iput-boolean v2, v0, Le/d/a/f;->q:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->b()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, v0, Le/d/a/f;->e:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->a()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v4, v1, Le/d/a/x/d;->m:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v4, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
iput-object p1, v1, Le/d/a/x/d;->m:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v2, v1, Le/d/a/x/d;->k:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v4, p1, Le/d/a/d;->k:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2, v4}, Ljava/lang/Math;->max(FF)F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
float-to-int v2, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
int-to-float v2, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v4, v1, Le/d/a/x/d;->l:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v5, p1, Le/d/a/d;->l:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v4, v5}, Ljava/lang/Math;->min(FF)F
move-result v4
float-to-int v4, v4
int-to-float v4, v4
invoke-virtual {v1, v2, v4}, Le/d/a/x/d;->a(FF)V
goto :goto_0
:cond_2
iget v2, p1, Le/d/a/d;->k:F
float-to-int v2, v2
int-to-float v2, v2
iget v4, p1, Le/d/a/d;->l:F
float-to-int v4, v4
int-to-float v4, v4
invoke-virtual {v1, v2, v4}, Le/d/a/x/d;->a(FF)V
:goto_0
iget v2, v1, Le/d/a/x/d;->i:F
const/4 v4, 0x0
iput v4, v1, Le/d/a/x/d;->i:F
float-to-int v2, v2
invoke-virtual {v1, v2}, Le/d/a/x/d;->a(I)V
iget-object v1, v0, Le/d/a/f;->f:Le/d/a/x/d;
invoke-virtual {v1}, Le/d/a/x/d;->getAnimatedFraction()F
move-result v1
invoke-virtual {v0, v1}, Le/d/a/f;->c(F)V
iget v1, v0, Le/d/a/f;->g:F
iput v1, v0, Le/d/a/f;->g:F
invoke-virtual {v0}, Le/d/a/f;->h()V
invoke-virtual {v0}, Le/d/a/f;->h()V
new-instance v1, Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v2, v0, Le/d/a/f;->i:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
move-result-object v1
2019-12-06 03:29:40 +00:00
:goto_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast v2, Le/d/a/f$o;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v2, p1}, Le/d/a/f$o;->a(Le/d/a/d;)V
invoke-interface {v1}, Ljava/util/Iterator;->remove()V
goto :goto_1
:cond_3
iget-object v1, v0, Le/d/a/f;->i:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
iget-boolean v0, v0, Le/d/a/f;->p:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Le/d/a/d;->a(Z)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
:goto_2
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne v0, v1, :cond_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v2, :cond_4
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_4
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getVisibility()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->requestLayout()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast v1, Le/d/a/j;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v1, p1}, Le/d/a/j;->a(Le/d/a/d;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_3
:cond_5
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public setFontAssetDelegate(Le/d/a/a;)V
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->l:Le/d/a/t/a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/t/a;->a(Le/d/a/a;)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method
.method public setFrame(I)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->a(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setImageAssetDelegate(Le/d/a/b;)V
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->j:Le/d/a/t/b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/t/b;->a(Le/d/a/b;)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method
.method public setImageAssetsFolder(Ljava/lang/String;)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, v0, Le/d/a/f;->k:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
.locals 0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
2019-07-24 11:27:29 +00:00
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
return-void
.end method
.method public setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
2019-07-24 11:27:29 +00:00
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setImageResource(I)V
.locals 0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
2019-07-24 11:27:29 +00:00
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageResource(I)V
return-void
.end method
.method public setMaxFrame(I)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->b(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMaxFrame(Ljava/lang/String;)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->a(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMaxProgress(F)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # F
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->a(F)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMinAndMaxFrame(Ljava/lang/String;)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->b(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMinFrame(I)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->c(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMinFrame(Ljava/lang/String;)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->c(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMinProgress(F)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->b(F)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setPerformanceTrackingEnabled(Z)V
2019-12-06 03:29:40 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-boolean p1, v0, Le/d/a/f;->p:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->e:Le/d/a/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/d;->a(Z)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method
.method public setProgress(F)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # F
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
.end param
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->c(F)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setRenderMode(Le/d/a/p;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Le/d/a/p;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setRepeatCount(I)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setRepeatMode(I)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/x/d;->setRepeatMode(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setScale(F)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
iput p1, v0, Le/d/a/f;->g:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Le/d/a/f;->h()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
if-ne p1, v0, :cond_0
const/4 p1, 0x0
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
2019-12-06 03:29:40 +00:00
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
:cond_0
return-void
.end method
.method public setSpeed(F)V
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, v0, Le/d/a/f;->f:Le/d/a/x/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/x/d;->a(F)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setTextDelegate(Le/d/a/r;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Le/d/a/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Le/d/a/f;->a(Le/d/a/r;)V
2019-07-24 11:27:29 +00:00
return-void
.end method