2020-05-17 12:40:10 +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
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public static final v:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public static final w:Lf/d/a/j;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lf/d/a/j<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public final d:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/j<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public final e:Lf/d/a/j;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lf/d/a/j<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public f:Lf/d/a/j;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/j<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public g:I
|
|
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final h:Lf/d/a/h;
|
|
|
|
|
|
|
|
.field public i:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public j:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public k:I
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/RawRes;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public l:Z
|
|
|
|
|
|
|
|
.field public m:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public n:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public o:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public q:Lf/d/a/r;
|
|
|
|
|
|
|
|
.field public r:Ljava/util/Set;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Set<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/l;",
|
2020-05-17 12:40:10 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public s:I
|
|
|
|
|
|
|
|
.field public t:Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-class v0, Lcom/airbnb/lottie/LottieAnimationView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView;->v:Ljava/lang/String;
|
|
|
|
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/LottieAnimationView$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/airbnb/lottie/LottieAnimationView$a;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView;->w:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$b;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/j;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$c;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
const/4 p1, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:I
|
|
|
|
|
|
|
|
new-instance v0, Lf/d/a/h;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lf/d/a/h;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
|
|
|
|
|
|
|
sget-object v1, Lf/d/a/r;->d:Lf/d/a/r;
|
|
|
|
|
|
|
|
iput-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->q:Lf/d/a/r;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Ljava/util/HashSet;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->r:Ljava/util/Set;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$a;->lottieAnimationViewStyle:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v3, Lcom/airbnb/lottie/R$b;->LottieAnimationView:[I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v2, p2, v3, v1, p1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->isInEditMode()Z
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v1, :cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_cacheComposition:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iput-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_rawRes:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v2, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_fileName:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p2, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v3, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_url:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, v3}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v2, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p2, "lottie_rawRes and lottie_fileName cannot be used at the same time. Please use only one at once."
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_rawRes:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v2, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_fileName:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v3, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_url:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimationFromUrl(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_fallbackRes:I
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setFallbackResource(I)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_autoPlay:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_6
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_loop:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
|
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v2, -0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v1, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_7
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_repeatMode:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_repeatMode:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, v0}, Landroid/content/res/TypedArray;->getInt(II)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatMode(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_8
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_repeatCount:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_9
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_repeatCount:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, v2}, Landroid/content/res/TypedArray;->getInt(II)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_9
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_speed:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_a
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_speed:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, v2}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setSpeed(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_a
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_imageAssetsFolder:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageAssetsFolder(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_progress:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setProgress(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_enableMergePathsForKitKatAndAbove:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v4, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean v5, v4, Lf/d/a/h;->q:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ne v5, v1, :cond_b
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_b
|
|
|
|
iput-boolean v1, v4, Lf/d/a/h;->q:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v4, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_c
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v5, Lf/d/a/w/l/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1}, Lf/d/a/y/r;->a(Lf/d/a/d;)Lf/d/a/w/l/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v6, v4, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v7, v6, Lf/d/a/d;->i:Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v5, v4, v1, v7, v6}, Lf/d/a/w/l/c;-><init>(Lf/d/a/h;Lf/d/a/w/l/e;Ljava/util/List;Lf/d/a/d;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v5, v4, Lf/d/a/h;->r:Lf/d/a/w/l/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_c
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_2
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_colorFilter:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_d
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Lf/d/a/s;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v4, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_colorFilter:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p2, v4, p1}, Landroid/content/res/TypedArray;->getColor(II)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1, v4}, Lf/d/a/s;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v4, Lf/d/a/w/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v5, "**"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
filled-new-array {v5}, [Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object v5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v4, v5}, Lf/d/a/w/e;-><init>([Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v5, Lf/d/a/a0/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v5, v1}, Lf/d/a/a0/c;-><init>(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/m;->C:Landroid/graphics/ColorFilter;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v6, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v6, v4, v1, v5}, Lf/d/a/h;->a(Lf/d/a/w/e;Ljava/lang/Object;Lf/d/a/a0/c;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_d
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_scale:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget v4, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_scale:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p2, v4, v2}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput v2, v1, Lf/d/a/h;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1}, Lf/d/a/h;->u()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_e
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_renderMode:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_10
|
|
|
|
|
|
|
|
sget v1, Lcom/airbnb/lottie/R$b;->LottieAnimationView_lottie_renderMode:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1, p1}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-static {}, Lf/d/a/r;->values()[Lf/d/a/r;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
array-length v2, v2
|
|
|
|
|
|
|
|
if-lt v1, v2, :cond_f
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
invoke-static {}, Lf/d/a/r;->values()[Lf/d/a/r;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
aget-object v1, v2, v1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setRenderMode(Lf/d/a/r;)V
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_11
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
iput-object v2, v1, Lf/d/a/h;->l:Landroid/widget/ImageView$ScaleType;
|
|
|
|
|
|
|
|
:cond_11
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1}, Lf/d/a/z/g;->f(Landroid/content/Context;)F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
cmpl-float v1, v1, v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_12
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 p1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_12
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p2, :cond_13
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, p2, Lf/d/a/h;->h:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_13
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 p1, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method private setCompositionTask(Lf/d/a/p;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1, v0}, Lf/d/a/p;->b(Lf/d/a/j;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1, v0}, Lf/d/a/p;->a(Lf/d/a/j;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->t:Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final a()V
|
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->t:Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-enter v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v2, v0, Lf/d/a/p;->a:Ljava/util/Set;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {v2, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-exit v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->t:Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-enter v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_1
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v2, v0, Lf/d/a/p;->b:Ljava/util/Set;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {v2, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-exit v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-exit v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
throw v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catchall_1
|
|
|
|
move-exception v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
monitor-exit v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
throw v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final b()V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->q:Lf/d/a/r;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v1, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v2, 0x1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eq v0, v2, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v3, 0x0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-boolean v0, v0, Lf/d/a/d;->n:Z
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/16 v4, 0x1c
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ge v0, v4, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_2
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget v0, v0, Lf/d/a/d;->o:I
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v4, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-le v0, v4, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_3
|
|
|
|
const/4 v3, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getLayerType()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eq v1, v0, :cond_5
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, v0}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
|
|
|
|
|
|
|
|
:cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public buildDrawingCache(Z)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-super {p0, p1}, Landroid/widget/ImageView;->buildDrawingCache(Z)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getWidth()I
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getHeight()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getLayerType()I
|
|
|
|
|
|
|
|
move-result v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-ne v0, v1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/ImageView;->getDrawingCache(Z)Landroid/graphics/Bitmap;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-nez p1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object p1, Lf/d/a/r;->e:Lf/d/a/r;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRenderMode(Lf/d/a/r;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
iget p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
|
|
|
sub-int/2addr p1, v1
|
|
|
|
|
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->s:I
|
|
|
|
|
|
|
|
const-string p1, "buildDrawingCache"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lf/d/a/c;->a(Ljava/lang/String;)F
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public c()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;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->i()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
|
|
|
|
|
|
|
:goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getComposition()Lf/d/a/d;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getDuration()J
|
|
|
|
.locals 2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/d;->b()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
float-to-long v0, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getFrame()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, v0, Lf/d/a/z/d;->i:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
float-to-int v0, v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getImageAssetsFolder()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->n:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMaxFrame()F
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->d()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMinFrame()F
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->e()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public getPerformanceTracker()Lf/d/a/q;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/d;->a:Lf/d/a/q;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getProgress()F
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
|
|
from = 0.0
|
|
|
|
to = 1.0
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->f()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getRepeatCount()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->g()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getRepeatMode()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getScale()F
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, v0, Lf/d/a/h;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getSpeed()F
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, v0, Lf/d/a/z/d;->f:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.locals 2
|
|
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-super {p0, v1}, Landroid/widget/ImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-super {p0, p1}, Landroid/widget/ImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onAttachedToWindow()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-super {p0}, Landroid/widget/ImageView;->onAttachedToWindow()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Z
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
:cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
|
|
|
const/16 v1, 0x17
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ge v0, v1, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onDetachedFromWindow()V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->h()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v0, Lf/d/a/h;->j:Ljava/util/ArrayList;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/z/d;->cancel()V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-super {p0}, Landroid/widget/ImageView;->onDetachedFromWindow()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroid/widget/ImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View$BaseSavedState;->getSuperState()Landroid/os/Parcelable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-super {p0, v0}, Landroid/widget/ImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->d:Ljava/lang/String;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->e:I
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setAnimation(I)V
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->f:F
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setProgress(F)V
|
|
|
|
|
|
|
|
iget-boolean v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->g:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_3
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object v1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v1, v0, Lf/d/a/h;->n:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->i:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatMode(I)V
|
|
|
|
|
|
|
|
iget p1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->j:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onSaveInstanceState()Landroid/os/Parcelable;
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-super {p0}, Landroid/widget/ImageView;->onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->d:Ljava/lang/String;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->e:I
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->f()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->f:F
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->h()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
iput-boolean v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->g:Z
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
iget-object v2, v0, Lf/d/a/h;->n:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v2, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->i:I
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->g()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->j:I
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onVisibilityChanged(Landroid/view/View;I)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p1 # Landroid/view/View;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 p2, 0x1
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/h;->j()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
|
|
|
|
|
|
|
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->c()V
|
|
|
|
|
|
|
|
:cond_3
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/h;->h()Z
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result p1
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_5
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Z
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Z
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lf/d/a/h;->j:Ljava/util/ArrayList;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object p1, p1, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-07-14 22:43:59 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/z/d;->k()V
|
2020-07-14 22:43:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_5
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_1
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimation(I)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 4
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p1 # I
|
|
|
|
.annotation build Landroidx/annotation/RawRes;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, p1}, Lf/d/a/e;->j(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/ref/WeakReference;
|
|
|
|
|
|
|
|
invoke-direct {v2, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v3, Lf/d/a/e$d;
|
|
|
|
|
|
|
|
invoke-direct {v3, v2, v0, p1}, Lf/d/a/e$d;-><init>(Ljava/lang/ref/WeakReference;Landroid/content/Context;I)V
|
|
|
|
|
|
|
|
invoke-static {v1, v3}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v1, p1, v0}, Lf/d/a/e;->f(Landroid/content/Context;ILjava/lang/String;)Lf/d/a/p;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/p;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimation(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:I
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, p1}, Lf/d/a/e;->b(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, p1, v1}, Lf/d/a/e;->c(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lf/d/a/p;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/p;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimationFromJson(Ljava/lang/String;)V
|
2020-09-08 08:16:32 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v0, Ljava/io/ByteArrayInputStream;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Ljava/io/ByteArrayInputStream;-><init>([B)V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p1, Lf/d/a/g;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v1, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p1, v0, v1}, Lf/d/a/g;-><init>(Ljava/io/InputStream;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1, p1}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/p;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimationFromUrl(Ljava/lang/String;)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lf/d/a/e;->g(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/p;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
move-result-object p1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v2, Lf/d/a/f;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v2, v0, p1, v1}, Lf/d/a/f;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/p;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public setApplyingOpacityToLayersEnabled(Z)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, v0, Lf/d/a/h;->u:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public setCacheComposition(Z)V
|
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->p:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setComposition(Lf/d/a/d;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 7
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p1 # Lf/d/a/d;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->u:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v0, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-ne v1, p1, :cond_0
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v2, v0, Lf/d/a/h;->w:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->b()V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v0, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Lf/d/a/w/l/c;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1}, Lf/d/a/y/r;->a(Lf/d/a/d;)Lf/d/a/w/l/e;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v5, v0, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v6, v5, Lf/d/a/d;->i:Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1, v0, v4, v6, v5}, Lf/d/a/w/l/c;-><init>(Lf/d/a/h;Lf/d/a/w/l/e;Ljava/util/List;Lf/d/a/d;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v1, v0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v4, v1, Lf/d/a/z/d;->m:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v1, Lf/d/a/z/d;->m:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v2, v1, Lf/d/a/z/d;->k:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget v4, p1, Lf/d/a/d;->k:F
|
|
|
|
|
|
|
|
invoke-static {v2, v4}, Ljava/lang/Math;->max(FF)F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
float-to-int v2, v2
|
|
|
|
|
|
|
|
int-to-float v2, v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v4, v1, Lf/d/a/z/d;->l:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget v5, p1, Lf/d/a/d;->l:F
|
|
|
|
|
|
|
|
invoke-static {v4, v5}, Ljava/lang/Math;->min(FF)F
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
float-to-int v4, v4
|
|
|
|
|
|
|
|
int-to-float v4, v4
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2, v4}, Lf/d/a/z/d;->n(FF)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget v2, p1, Lf/d/a/d;->k:F
|
|
|
|
|
|
|
|
float-to-int v2, v2
|
|
|
|
|
|
|
|
int-to-float v2, v2
|
|
|
|
|
|
|
|
iget v4, p1, Lf/d/a/d;->l:F
|
|
|
|
|
|
|
|
float-to-int v4, v4
|
|
|
|
|
|
|
|
int-to-float v4, v4
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2, v4}, Lf/d/a/z/d;->n(FF)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v2, v1, Lf/d/a/z/d;->i:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput v4, v1, Lf/d/a/z/d;->i:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
float-to-int v2, v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
int-to-float v2, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2}, Lf/d/a/z/d;->m(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1}, Lf/d/a/z/a;->c()V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lf/d/a/z/d;->getAnimatedFraction()F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, v1}, Lf/d/a/h;->t(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v1, v0, Lf/d/a/h;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput v1, v0, Lf/d/a/h;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->u()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->u()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v2, v0, Lf/d/a/h;->j:Ljava/util/ArrayList;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v2, Lf/d/a/h$o;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v2, p1}, Lf/d/a/h$o;->a(Lf/d/a/d;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->remove()V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v0, Lf/d/a/h;->j:Ljava/util/ArrayList;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-boolean v1, v0, Lf/d/a/h;->t:Z
|
|
|
|
|
|
|
|
iget-object v2, p1, Lf/d/a/d;->a:Lf/d/a/q;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean v1, v2, Lf/d/a/q;->a:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
instance-of v2, v1, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
check-cast v1, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
:cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:goto_2
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ne v0, v1, :cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v2, :cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->requestLayout()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->r:Ljava/util/Set;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v1, Lf/d/a/l;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v1, p1}, Lf/d/a/l;->a(Lf/d/a/d;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_6
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFailureListener(Lf/d/a/j;)V
|
|
|
|
.locals 0
|
|
|
|
.param p1 # Lf/d/a/j;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lf/d/a/j<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/j;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFallbackResource(I)V
|
|
|
|
.locals 0
|
|
|
|
.param p1 # I
|
|
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:I
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFontAssetDelegate(Lf/d/a/a;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->k(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageAssetDelegate(Lf/d/a/b;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v0, Lf/d/a/h;->o:Lf/d/a/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->m:Lf/d/a/v/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v0, Lf/d/a/v/b;->c:Lf/d/a/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageAssetsFolder(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v0, Lf/d/a/h;->n:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
.locals 0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
|
2020-05-17 12:40:10 +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
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
|
2020-05-17 12:40:10 +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
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->l(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->m(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
.param p1 # F
|
|
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
|
|
from = 0.0
|
|
|
|
to = 1.0
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->n(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinAndMaxFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->p(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->q(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->r(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->s(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setPerformanceTrackingEnabled(Z)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, v0, Lf/d/a/h;->t:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->e:Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/d;->a:Lf/d/a/q;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-boolean p1, v0, Lf/d/a/q;->a:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
.param p1 # F
|
|
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
|
|
from = 0.0
|
|
|
|
to = 1.0
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/h;->t(F)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public setRenderMode(Lf/d/a/r;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->q:Lf/d/a/r;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setRepeatCount(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setRepeatMode(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/z/d;->setRepeatMode(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setSafeMode(Z)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
iput-boolean p1, v0, Lf/d/a/h;->i:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setScale(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput p1, v0, Lf/d/a/h;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/h;->u()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iput-object p1, v0, Lf/d/a/h;->l:Landroid/widget/ImageView$ScaleType;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.method public setSpeed(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:Lf/d/a/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/h;->f:Lf/d/a/z/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput p1, v0, Lf/d/a/z/d;->f:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public setTextDelegate(Lf/d/a/t;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|