apkfuckery/com.discord/smali/com/airbnb/lottie/LottieAnimationView.smali
2020-07-14 22:43:59 +00:00

1792 lines
42 KiB
Smali

.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
.field public static final p:Ljava/lang/String;
# instance fields
.field public final d:Lf/d/a/i;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/d/a/i<",
"Lf/d/a/d;",
">;"
}
.end annotation
.end field
.field public final e:Lf/d/a/i;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/d/a/i<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final f:Lf/d/a/g;
.field public g:Ljava/lang/String;
.field public h:I
.annotation build Landroidx/annotation/RawRes;
.end annotation
.end field
.field public i:Z
.field public j:Z
.field public k:Z
.field public l:Lf/d/a/q;
.field public m:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lf/d/a/k;",
">;"
}
.end annotation
.end field
.field public n:Lf/d/a/o;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/d/a/o<",
"Lf/d/a/d;",
">;"
}
.end annotation
.end field
.field public o:Lf/d/a/d;
.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
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView;->p:Ljava/lang/String;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 8
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$a;
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$a;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/i;
new-instance p1, Lcom/airbnb/lottie/LottieAnimationView$b;
invoke-direct {p1, p0}, Lcom/airbnb/lottie/LottieAnimationView$b;-><init>(Lcom/airbnb/lottie/LottieAnimationView;)V
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/i;
new-instance p1, Lf/d/a/g;
invoke-direct {p1}, Lf/d/a/g;-><init>()V
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
iput-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
sget-object v0, Lf/d/a/q;->d:Lf/d/a/q;
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Lf/d/a/q;
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
sget-object v1, Lcom/airbnb/lottie/R$a;->LottieAnimationView:[I
invoke-virtual {v0, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p2
invoke-virtual {p0}, Landroid/widget/ImageView;->isInEditMode()Z
move-result v0
if-nez v0, :cond_4
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_rawRes:I
invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
sget v1, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_fileName:I
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v1
sget v2, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_url:I
invoke-virtual {p2, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v2
if-eqz v0, :cond_1
if-nez v1, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "lottie_rawRes and lottie_fileName cannot be used at the same time. Please use only one at once."
invoke-direct {p1, p2}, 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 {p2, v0, p1}, 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 v1, :cond_3
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_fileName:I
invoke-virtual {p2, 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 v2, :cond_4
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_url:I
invoke-virtual {p2, 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 {p2, v0, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_5
iput-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
iput-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
:cond_5
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_loop:I
invoke-virtual {p2, v0, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
const/4 v2, -0x1
if-eqz v0, :cond_6
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0, v2}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
:cond_6
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_repeatMode:I
invoke-virtual {p2, 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 {p2, v0, v1}, 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 {p2, 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 {p2, v0, v2}, 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 {p2, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
const/high16 v2, 0x3f800000 # 1.0f
if-eqz v0, :cond_9
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_speed:I
invoke-virtual {p2, v0, v2}, 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 {p2, 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 v3, 0x0
invoke-virtual {p2, v0, v3}, 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 {p2, v0, p1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v0
iget-object v4, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-boolean v5, v4, Lf/d/a/g;->n:Z
if-ne v5, v0, :cond_a
goto :goto_2
:cond_a
iput-boolean v0, v4, Lf/d/a/g;->n:Z
iget-object v0, v4, Lf/d/a/g;->e:Lf/d/a/d;
if-eqz v0, :cond_b
new-instance v5, Lf/d/a/v/l/c;
invoke-static {v0}, Lf/d/a/x/r;->a(Lf/d/a/d;)Lf/d/a/v/l/e;
move-result-object v0
iget-object v6, v4, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v7, v6, Lf/d/a/d;->i:Ljava/util/List;
invoke-direct {v5, v4, v0, v7, v6}, Lf/d/a/v/l/c;-><init>(Lf/d/a/g;Lf/d/a/v/l/e;Ljava/util/List;Lf/d/a/d;)V
iput-object v5, v4, Lf/d/a/g;->o:Lf/d/a/v/l/c;
:cond_b
:goto_2
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_colorFilter:I
invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_c
new-instance v0, Lf/d/a/r;
sget v4, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_colorFilter:I
invoke-virtual {p2, v4, p1}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v4
invoke-direct {v0, v4}, Lf/d/a/r;-><init>(I)V
new-instance v4, Lf/d/a/v/e;
const-string v5, "**"
filled-new-array {v5}, [Ljava/lang/String;
move-result-object v5
invoke-direct {v4, v5}, Lf/d/a/v/e;-><init>([Ljava/lang/String;)V
new-instance v5, Lf/d/a/z/c;
invoke-direct {v5, v0}, Lf/d/a/z/c;-><init>(Ljava/lang/Object;)V
sget-object v0, Lf/d/a/l;->B:Landroid/graphics/ColorFilter;
iget-object v6, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v6, v4, v0, v5}, Lf/d/a/g;->a(Lf/d/a/v/e;Ljava/lang/Object;Lf/d/a/z/c;)V
:cond_c
sget v0, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_scale:I
invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_d
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
sget v4, Lcom/airbnb/lottie/R$a;->LottieAnimationView_lottie_scale:I
invoke-virtual {p2, v4, v2}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result v2
iput v2, v0, Lf/d/a/g;->g:F
invoke-virtual {v0}, Lf/d/a/g;->q()V
:cond_d
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lf/d/a/y/g;->f(Landroid/content/Context;)F
move-result v0
cmpl-float v0, v0, v3
if-eqz v0, :cond_e
const/4 p1, 0x1
:cond_e
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
if-eqz p2, :cond_f
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
iput-boolean p1, p2, Lf/d/a/g;->h:Z
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
return-void
:cond_f
const/4 p1, 0x0
throw p1
.end method
.method private setCompositionTask(Lf/d/a/o;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/d/a/o<",
"Lf/d/a/d;",
">;)V"
}
.end annotation
const/4 v0, 0x0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->b()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/i;
invoke-virtual {p1, v0}, Lf/d/a/o;->b(Lf/d/a/i;)Lf/d/a/o;
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/i;
invoke-virtual {p1, v0}, Lf/d/a/o;->a(Lf/d/a/i;)Lf/d/a/o;
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Lf/d/a/o;
return-void
.end method
# virtual methods
.method public final a()V
.locals 3
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Lf/d/a/o;
if-eqz v0, :cond_0
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->d:Lf/d/a/i;
monitor-enter v0
:try_start_0
iget-object v2, v0, Lf/d/a/o;->a:Ljava/util/Set;
invoke-interface {v2, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
monitor-exit v0
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->n:Lf/d/a/o;
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->e:Lf/d/a/i;
monitor-enter v0
:try_start_1
iget-object v2, v0, Lf/d/a/o;->b:Ljava/util/Set;
invoke-interface {v2, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:catchall_1
move-exception v1
monitor-exit v0
throw v1
:cond_0
:goto_0
return-void
.end method
.method public final b()V
.locals 6
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Lf/d/a/q;
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x2
const/4 v3, 0x1
if-eqz v0, :cond_2
if-eq v0, v3, :cond_1
if-eq v0, v2, :cond_0
goto :goto_2
:cond_0
invoke-virtual {p0, v3, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
goto :goto_2
:cond_1
invoke-virtual {p0, v2, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
goto :goto_2
:cond_2
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
const/4 v4, 0x0
if-eqz v0, :cond_3
iget-boolean v0, v0, Lf/d/a/d;->n:Z
if-eqz v0, :cond_3
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v5, 0x1c
if-ge v0, v5, :cond_3
goto :goto_0
:cond_3
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
if-eqz v0, :cond_4
iget v0, v0, Lf/d/a/d;->o:I
const/4 v5, 0x4
if-le v0, v5, :cond_4
goto :goto_0
:cond_4
const/4 v4, 0x1
:goto_0
if-eqz v4, :cond_5
goto :goto_1
:cond_5
const/4 v2, 0x1
:goto_1
invoke-virtual {p0, v2, v1}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
:goto_2
return-void
.end method
.method public buildDrawingCache(Z)V
.locals 2
invoke-super {p0, p1}, Landroid/widget/ImageView;->buildDrawingCache(Z)V
invoke-virtual {p0}, Landroid/widget/ImageView;->getLayerType()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
invoke-virtual {p0, p1}, Landroid/widget/ImageView;->getDrawingCache(Z)Landroid/graphics/Bitmap;
move-result-object p1
if-nez p1, :cond_0
sget-object p1, Lf/d/a/q;->e:Lf/d/a/q;
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setRenderMode(Lf/d/a/q;)V
:cond_0
return-void
.end method
.method public getComposition()Lf/d/a/d;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
return-object v0
.end method
.method public getDuration()J
.locals 2
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lf/d/a/d;->b()F
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget v0, v0, Lf/d/a/y/d;->i:F
float-to-int v0, v0
return v0
.end method
.method public getImageAssetsFolder()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->k:Ljava/lang/String;
return-object v0
.end method
.method public getMaxFrame()F
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Lf/d/a/y/d;->e()F
move-result v0
return v0
.end method
.method public getMinFrame()F
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Lf/d/a/y/d;->f()F
move-result v0
return v0
.end method
.method public getPerformanceTracker()Lf/d/a/p;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->e:Lf/d/a/d;
if-eqz v0, :cond_0
iget-object v0, v0, Lf/d/a/d;->a:Lf/d/a/p;
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->c()F
move-result v0
return v0
.end method
.method public getRepeatCount()I
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->d()I
move-result v0
return v0
.end method
.method public getRepeatMode()I
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
move-result v0
return v0
.end method
.method public getScale()F
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget v0, v0, Lf/d/a/g;->g:F
return v0
.end method
.method public getSpeed()F
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget v0, v0, Lf/d/a/y/d;->f:F
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
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
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
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
if-nez v0, :cond_0
iget-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
if-eqz v0, :cond_2
:cond_0
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->e()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
goto :goto_0
:cond_1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:goto_0
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
:cond_2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x17
if-ge v0, v1, :cond_3
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
:cond_3
return-void
.end method
.method public onDetachedFromWindow()V
.locals 2
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v1, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-boolean v1, v1, Lf/d/a/y/d;->n:Z
if-eqz v1, :cond_0
const/4 v1, 0x0
iput-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
iget-object v1, v0, Lf/d/a/g;->i:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Lf/d/a/y/d;->cancel()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
: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;
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
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
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
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_4
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result v0
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->e()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
goto :goto_0
:cond_3
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:cond_4
:goto_0
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v1, p1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
iput-object v1, v0, Lf/d/a/g;->k:Ljava/lang/String;
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;
.locals 4
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->d:Ljava/lang/String;
iget v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->e:I
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->c()F
move-result v0
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->f:F
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v2, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-boolean v3, v2, Lf/d/a/y/d;->n:Z
iput-boolean v3, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->g:Z
iget-object v0, v0, Lf/d/a/g;->k:Ljava/lang/String;
iput-object v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->h:Ljava/lang/String;
invoke-virtual {v2}, Landroid/animation/ValueAnimator;->getRepeatMode()I
move-result v0
iput v0, v1, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->i:I
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0}, Lf/d/a/g;->d()I
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
.locals 2
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
if-nez p1, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result p1
const/4 p2, 0x1
const/4 v0, 0x0
if-eqz p1, :cond_2
iget-boolean p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
if-eqz p1, :cond_3
invoke-virtual {p0}, Landroid/widget/ImageView;->isShown()Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {p1}, Lf/d/a/g;->f()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
goto :goto_0
:cond_1
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:goto_0
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
goto :goto_1
:cond_2
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v1, p1, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-boolean v1, v1, Lf/d/a/y/d;->n:Z
if-eqz v1, :cond_3
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->k:Z
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->j:Z
iput-boolean v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
iget-object v0, p1, Lf/d/a/g;->i:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
iget-object p1, p1, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {p1}, Lf/d/a/y/d;->i()V
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
iput-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView;->i:Z
:cond_3
:goto_1
return-void
.end method
.method public setAnimation(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/RawRes;
.end annotation
.end param
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lf/d/a/e;->e(Landroid/content/Context;I)Lf/d/a/o;
move-result-object p1
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/o;)V
return-void
.end method
.method public setAnimation(Ljava/lang/String;)V
.locals 1
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->g:Ljava/lang/String;
const/4 v0, 0x0
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->h:I
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lf/d/a/e;->b(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/o;
move-result-object p1
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/o;)V
return-void
.end method
.method public setAnimationFromJson(Ljava/lang/String;)V
.locals 2
.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}, Li0/i/t;->R(Ljava/io/InputStream;)Ln0/w;
move-result-object p1
invoke-static {p1}, Li0/i/t;->o(Ln0/w;)Ln0/g;
move-result-object p1
invoke-static {p1}, Lf/d/a/x/h0/c;->o(Ln0/g;)Lf/d/a/x/h0/c;
move-result-object p1
new-instance v0, Lf/d/a/f;
const/4 v1, 0x0
invoke-direct {v0, p1, v1}, Lf/d/a/f;-><init>(Lf/d/a/x/h0/c;Ljava/lang/String;)V
invoke-static {v1, v0}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/o;
move-result-object p1
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/o;)V
return-void
.end method
.method public setAnimationFromUrl(Ljava/lang/String;)V
.locals 1
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lf/d/a/e;->f(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/o;
move-result-object p1
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setCompositionTask(Lf/d/a/o;)V
return-void
.end method
.method public setComposition(Lf/d/a/d;)V
.locals 7
.param p1 # Lf/d/a/d;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->o:Lf/d/a/d;
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v1, v0, Lf/d/a/g;->e:Lf/d/a/d;
const/4 v2, 0x0
const/4 v3, 0x1
if-ne v1, p1, :cond_0
goto/16 :goto_2
:cond_0
iput-boolean v2, v0, Lf/d/a/g;->r:Z
invoke-virtual {v0}, Lf/d/a/g;->b()V
iput-object p1, v0, Lf/d/a/g;->e:Lf/d/a/d;
new-instance v1, Lf/d/a/v/l/c;
invoke-static {p1}, Lf/d/a/x/r;->a(Lf/d/a/d;)Lf/d/a/v/l/e;
move-result-object v4
iget-object v5, v0, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v6, v5, Lf/d/a/d;->i:Ljava/util/List;
invoke-direct {v1, v0, v4, v6, v5}, Lf/d/a/v/l/c;-><init>(Lf/d/a/g;Lf/d/a/v/l/e;Ljava/util/List;Lf/d/a/d;)V
iput-object v1, v0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
iget-object v1, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-object v4, v1, Lf/d/a/y/d;->m:Lf/d/a/d;
if-nez v4, :cond_1
const/4 v2, 0x1
:cond_1
iput-object p1, v1, Lf/d/a/y/d;->m:Lf/d/a/d;
if-eqz v2, :cond_2
iget v2, v1, Lf/d/a/y/d;->k:F
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
iget v4, v1, Lf/d/a/y/d;->l:F
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
invoke-virtual {v1, v2, v4}, Lf/d/a/y/d;->k(FF)V
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
invoke-virtual {v1, v2, v4}, Lf/d/a/y/d;->k(FF)V
:goto_0
iget v2, v1, Lf/d/a/y/d;->i:F
const/4 v4, 0x0
iput v4, v1, Lf/d/a/y/d;->i:F
float-to-int v2, v2
invoke-virtual {v1, v2}, Lf/d/a/y/d;->j(I)V
iget-object v1, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v1}, Lf/d/a/y/d;->getAnimatedFraction()F
move-result v1
invoke-virtual {v0, v1}, Lf/d/a/g;->p(F)V
iget v1, v0, Lf/d/a/g;->g:F
iput v1, v0, Lf/d/a/g;->g:F
invoke-virtual {v0}, Lf/d/a/g;->q()V
invoke-virtual {v0}, Lf/d/a/g;->q()V
new-instance v1, Ljava/util/ArrayList;
iget-object v2, v0, Lf/d/a/g;->i:Ljava/util/ArrayList;
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
check-cast v2, Lf/d/a/g$o;
invoke-interface {v2, p1}, Lf/d/a/g$o;->a(Lf/d/a/d;)V
invoke-interface {v1}, Ljava/util/Iterator;->remove()V
goto :goto_1
:cond_3
iget-object v1, v0, Lf/d/a/g;->i:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
iget-boolean v0, v0, Lf/d/a/g;->q:Z
iget-object v1, p1, Lf/d/a/d;->a:Lf/d/a/p;
iput-boolean v0, v1, Lf/d/a/p;->a:Z
const/4 v2, 0x1
:goto_2
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v0
iget-object v1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
if-ne v0, v1, :cond_4
if-nez v2, :cond_4
return-void
:cond_4
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->m:Ljava/util/Set;
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
if-eqz v1, :cond_5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/d/a/k;
invoke-interface {v1, p1}, Lf/d/a/k;->a(Lf/d/a/d;)V
goto :goto_3
:cond_5
return-void
.end method
.method public setFontAssetDelegate(Lf/d/a/a;)V
.locals 0
return-void
.end method
.method public setFrame(I)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->g(I)V
return-void
.end method
.method public setImageAssetDelegate(Lf/d/a/b;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iput-object p1, v0, Lf/d/a/g;->l:Lf/d/a/b;
iget-object v0, v0, Lf/d/a/g;->j:Lf/d/a/u/b;
if-eqz v0, :cond_0
iput-object p1, v0, Lf/d/a/u/b;->c:Lf/d/a/b;
:cond_0
return-void
.end method
.method public setImageAssetsFolder(Ljava/lang/String;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iput-object p1, v0, Lf/d/a/g;->k:Ljava/lang/String;
return-void
.end method
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
.locals 0
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()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-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()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-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->a()V
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatImageView;->setImageResource(I)V
return-void
.end method
.method public setMaxFrame(I)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->h(I)V
return-void
.end method
.method public setMaxFrame(Ljava/lang/String;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->i(Ljava/lang/String;)V
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->j(F)V
return-void
.end method
.method public setMinAndMaxFrame(Ljava/lang/String;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->l(Ljava/lang/String;)V
return-void
.end method
.method public setMinFrame(I)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->m(I)V
return-void
.end method
.method public setMinFrame(Ljava/lang/String;)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->n(Ljava/lang/String;)V
return-void
.end method
.method public setMinProgress(F)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->o(F)V
return-void
.end method
.method public setPerformanceTrackingEnabled(Z)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iput-boolean p1, v0, Lf/d/a/g;->q:Z
iget-object v0, v0, Lf/d/a/g;->e:Lf/d/a/d;
if-eqz v0, :cond_0
iget-object v0, v0, Lf/d/a/d;->a:Lf/d/a/p;
iput-boolean p1, v0, Lf/d/a/p;->a:Z
: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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
invoke-virtual {v0, p1}, Lf/d/a/g;->p(F)V
return-void
.end method
.method public setRenderMode(Lf/d/a/q;)V
.locals 0
iput-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->l:Lf/d/a/q;
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieAnimationView;->b()V
return-void
.end method
.method public setRepeatCount(I)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->setRepeatCount(I)V
return-void
.end method
.method public setRepeatMode(I)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0, p1}, Lf/d/a/y/d;->setRepeatMode(I)V
return-void
.end method
.method public setScale(F)V
.locals 1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iput p1, v0, Lf/d/a/g;->g:F
invoke-virtual {v0}, Lf/d/a/g;->q()V
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
move-result-object p1
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
if-ne p1, v0, :cond_0
const/4 p1, 0x0
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
iget-object p1, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
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
iget-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView;->f:Lf/d/a/g;
iget-object v0, v0, Lf/d/a/g;->f:Lf/d/a/y/d;
iput p1, v0, Lf/d/a/y/d;->f:F
return-void
.end method
.method public setTextDelegate(Lf/d/a/s;)V
.locals 0
return-void
.end method