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-08-30 20:04:20 +00:00
|
|
|
.field private static final TAG:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private fA:Lcom/airbnb/lottie/l;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/airbnb/lottie/l<",
|
|
|
|
"Lcom/airbnb/lottie/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private fB:Lcom/airbnb/lottie/d;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private final fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/airbnb/lottie/h<",
|
|
|
|
"Lcom/airbnb/lottie/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private final fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/airbnb/lottie/h<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private final fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.field private fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.field private fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private fx:Z
|
|
|
|
|
|
|
|
.field private fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private fz:Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method 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
|
|
|
|
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView;->TAG: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
|
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$1;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$1;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$2;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$2;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/f;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lcom/airbnb/lottie/f;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
|
|
|
|
|
|
|
sget-object p1, Lcom/airbnb/lottie/n;->ho:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/util/HashSet;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fz:Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->init(Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$1;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$1;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$2;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$2;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/f;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lcom/airbnb/lottie/f;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object p1, Lcom/airbnb/lottie/n;->ho:Lcom/airbnb/lottie/n;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/util/HashSet;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fz:Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Lcom/airbnb/lottie/LottieAnimationView;->init(Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$1;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$1;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$2;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$2;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/f;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lcom/airbnb/lottie/f;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
|
|
|
|
|
|
|
sget-object p1, Lcom/airbnb/lottie/n;->ho:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/util/HashSet;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fz:Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Lcom/airbnb/lottie/LottieAnimationView;->init(Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(Lcom/airbnb/lottie/c/e;Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Lcom/airbnb/lottie/c/e;",
|
|
|
|
"TT;",
|
|
|
|
"Lcom/airbnb/lottie/g/c<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Lcom/airbnb/lottie/f;->a(Lcom/airbnb/lottie/c/e;Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private aK()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fA:Lcom/airbnb/lottie/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/l;->b(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/l;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fA:Lcom/airbnb/lottie/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/l;->d(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private aN()V
|
|
|
|
.locals 5
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v0, Lcom/airbnb/lottie/LottieAnimationView$3;->fD:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/airbnb/lottie/n;->ordinal()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
aget v0, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eq v0, v2, :cond_4
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean v0, v0, Lcom/airbnb/lottie/d;->fT:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
|
|
|
const/16 v4, 0x1c
|
|
|
|
|
|
|
|
if-ge v0, v4, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget v0, v0, Lcom/airbnb/lottie/d;->fU:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x4
|
|
|
|
|
|
|
|
if-le v0, v4, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setLayerType(ILandroid/graphics/Paint;)V
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private init(Landroid/util/AttributeSet;)V
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->isInEditMode()Z
|
|
|
|
|
|
|
|
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-10-01 14:15:45 +00:00
|
|
|
iput-boolean v2, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v2, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
|
|
|
|
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-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Lcom/airbnb/lottie/f;->setRepeatCount(I)V
|
|
|
|
|
|
|
|
: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
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->j(Z)V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/o;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {v0, v5}, Lcom/airbnb/lottie/o;-><init>(I)V
|
|
|
|
|
|
|
|
new-instance v5, Lcom/airbnb/lottie/c/e;
|
|
|
|
|
|
|
|
new-array v6, v2, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v7, "**"
|
|
|
|
|
|
|
|
aput-object v7, v6, v1
|
|
|
|
|
|
|
|
invoke-direct {v5, v6}, Lcom/airbnb/lottie/c/e;-><init>([Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v6, Lcom/airbnb/lottie/g/c;
|
|
|
|
|
|
|
|
invoke-direct {v6, v0}, Lcom/airbnb/lottie/g/c;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v0, Lcom/airbnb/lottie/j;->hd:Landroid/graphics/ColorFilter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v5, v0, v6}, Lcom/airbnb/lottie/LottieAnimationView;->a(Lcom/airbnb/lottie/c/e;Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V
|
|
|
|
|
|
|
|
: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-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/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
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Lcom/airbnb/lottie/f;->setScale(F)V
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/airbnb/lottie/f/h;->q(Landroid/content/Context;)F
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/f;->b(Ljava/lang/Boolean;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private j(Z)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->j(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private setCompositionTask(Lcom/airbnb/lottie/l;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/airbnb/lottie/l<",
|
|
|
|
"Lcom/airbnb/lottie/d;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f;->aS()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aK()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fq:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/l;->a(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fr:Lcom/airbnb/lottie/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/l;->c(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fA:Lcom/airbnb/lottie/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final aL()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->isShown()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f;->aL()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final aM()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f;->aM()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public buildDrawingCache(Z)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->buildDrawingCache(Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getLayerType()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->getDrawingCache(Z)Landroid/graphics/Bitmap;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object p1, Lcom/airbnb/lottie/n;->hp:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRenderMode(Lcom/airbnb/lottie/n;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getComposition()Lcom/airbnb/lottie/d;
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getDuration()J
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/d;->aO()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
float-to-long v0, v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getFrame()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget v0, v0, Lcom/airbnb/lottie/f/e;->nS: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-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMaxFrame()F
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMinFrame()F
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getPerformanceTracker()Lcom/airbnb/lottie/m;
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/f;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/d;->fG:Lcom/airbnb/lottie/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getProgress()F
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->bG()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getRepeatCount()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getRepeatCount()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getRepeatMode()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getRepeatMode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getScale()F
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v0, v0, Lcom/airbnb/lottie/f;->scale:F
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getSpeed()F
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget v0, v0, Lcom/airbnb/lottie/f/e;->nP:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-super {p0, v1}, Landroidx/appcompat/widget/AppCompatImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected onAttachedToWindow()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatImageView;->onAttachedToWindow()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aL()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fx: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
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected onDetachedFromWindow()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->isRunning()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/f;->gf:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->cancel()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fw:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatImageView;->onDetachedFromWindow()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected 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}, Landroidx/appcompat/widget/AppCompatImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->getSuperState()Landroid/os/Parcelable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-super {p0, v0}, Landroidx/appcompat/widget/AppCompatImageView;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft: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-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft: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-10-03 02:31:26 +00:00
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fu: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-10-03 02:31:26 +00:00
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fE:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setProgress(F)V
|
|
|
|
|
|
|
|
iget-boolean v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->isAnimating:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aL()V
|
|
|
|
|
|
|
|
:cond_3
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v1, v0, Lcom/airbnb/lottie/f;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v0, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatMode(I)V
|
|
|
|
|
|
|
|
iget p1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatCount:I
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatImageView;->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
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->bG()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fE:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->isRunning()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput-boolean v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->isAnimating:Z
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getRepeatMode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f/e;->getRepeatCount()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatCount:I
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->isShown()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->isShown()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/airbnb/lottie/f;->aT()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p1, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/airbnb/lottie/f/e;->isRunning()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aM()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->fv:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimation(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/airbnb/lottie/e;->a(Landroid/content/Context;I)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lcom/airbnb/lottie/l;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimation(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->ft:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fu:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/airbnb/lottie/e;->c(Landroid/content/Context;Ljava/lang/String;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lcom/airbnb/lottie/l;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimationFromJson(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokio/j;->v(Ljava/io/InputStream;)Lokio/r;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lokio/j;->b(Lokio/r;)Lokio/d;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/airbnb/lottie/e/a/c;->a(Lokio/d;)Lcom/airbnb/lottie/e/a/c;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lcom/airbnb/lottie/e;->a(Lcom/airbnb/lottie/e/a/c;Ljava/lang/String;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lcom/airbnb/lottie/l;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setAnimationFromUrl(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/airbnb/lottie/e;->b(Landroid/content/Context;Ljava/lang/String;)Lcom/airbnb/lottie/l;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lcom/airbnb/lottie/l;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setComposition(Lcom/airbnb/lottie/d;)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
sget-boolean v0, Lcom/airbnb/lottie/c;->DBG:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/LottieAnimationView;->TAG:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "Set Composition \n"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Lcom/airbnb/lottie/f;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->a(Lcom/airbnb/lottie/d;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getVisibility()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->requestLayout()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fz:Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFontAssetDelegate(Lcom/airbnb/lottie/a;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/f;->gj:Lcom/airbnb/lottie/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/f;->gi:Lcom/airbnb/lottie/b/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gi:Lcom/airbnb/lottie/b/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/b/a;->jp:Lcom/airbnb/lottie/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setFrame(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageAssetDelegate(Lcom/airbnb/lottie/b;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/f;->gh:Lcom/airbnb/lottie/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/f;->gg:Lcom/airbnb/lottie/b/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gg:Lcom/airbnb/lottie/b/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/b/b;->jt:Lcom/airbnb/lottie/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageAssetsFolder(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/f;->fF:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aK()V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aK()V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aK()V
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMaxFrame(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMaxFrame(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMaxProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMaxProgress(F)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinAndMaxFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMinAndMaxFrame(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinFrame(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMinFrame(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinFrame(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMinFrame(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setMinProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setMinProgress(F)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setPerformanceTrackingEnabled(Z)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean p1, v0, Lcom/airbnb/lottie/f;->gn:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/f;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->fB:Lcom/airbnb/lottie/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/d;->setPerformanceTrackingEnabled(Z)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setProgress(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setProgress(F)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setRenderMode(Lcom/airbnb/lottie/n;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fy:Lcom/airbnb/lottie/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/LottieAnimationView;->aN()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setRepeatCount(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setRepeatCount(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setRepeatMode(I)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f/e;->setRepeatMode(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setScale(F)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f;->setScale(F)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/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-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/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-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/airbnb/lottie/f;->gc:Lcom/airbnb/lottie/f/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput p1, v0, Lcom/airbnb/lottie/f/e;->nP:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public setTextDelegate(Lcom/airbnb/lottie/p;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->fs:Lcom/airbnb/lottie/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/f;->gk:Lcom/airbnb/lottie/p;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|