apkfuckery/com.discord/smali/e/d/a/f.smali
2019-12-06 04:29:40 +01:00

1418 lines
28 KiB
Smali

.class public Le/d/a/f;
.super Landroid/graphics/drawable/Drawable;
.source "LottieDrawable.java"
# interfaces
.implements Landroid/graphics/drawable/Drawable$Callback;
.implements Landroid/graphics/drawable/Animatable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Le/d/a/f$o;
}
.end annotation
# instance fields
.field public final d:Landroid/graphics/Matrix;
.field public e:Le/d/a/d;
.field public final f:Le/d/a/x/d;
.field public g:F
.field public h:Z
.field public final i:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Le/d/a/f$o;",
">;"
}
.end annotation
.end field
.field public j:Le/d/a/t/b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public k:Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public l:Le/d/a/t/a;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public m:Z
.field public n:Le/d/a/u/l/c;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public o:I
.field public p:Z
.field public q:Z
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Le/d/a/f;
return-void
.end method
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V
new-instance v0, Landroid/graphics/Matrix;
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
iput-object v0, p0, Le/d/a/f;->d:Landroid/graphics/Matrix;
new-instance v0, Le/d/a/x/d;
invoke-direct {v0}, Le/d/a/x/d;-><init>()V
iput-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Le/d/a/f;->g:F
const/4 v0, 0x1
iput-boolean v0, p0, Le/d/a/f;->h:Z
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
const/16 v0, 0xff
iput v0, p0, Le/d/a/f;->o:I
const/4 v0, 0x0
iput-boolean v0, p0, Le/d/a/f;->q:Z
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
new-instance v1, Le/d/a/f$f;
invoke-direct {v1, p0}, Le/d/a/f$f;-><init>(Le/d/a/f;)V
iget-object v0, v0, Le/d/a/x/a;->d:Ljava/util/Set;
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
return-void
.end method
# virtual methods
.method public final a()V
.locals 4
new-instance v0, Le/d/a/u/l/c;
iget-object v1, p0, Le/d/a/f;->e:Le/d/a/d;
invoke-static {v1}, Le/d/a/w/r;->a(Le/d/a/d;)Le/d/a/u/l/e;
move-result-object v1
iget-object v2, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v3, v2, Le/d/a/d;->i:Ljava/util/List;
invoke-direct {v0, p0, v1, v3, v2}, Le/d/a/u/l/c;-><init>(Le/d/a/f;Le/d/a/u/l/e;Ljava/util/List;Le/d/a/d;)V
iput-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
return-void
.end method
.method public a(F)V
.locals 2
.param p1 # F
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
.end param
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$l;
invoke-direct {v1, p0, p1}, Le/d/a/f$l;-><init>(Le/d/a/f;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Le/d/a/d;->k:F
iget v0, v0, Le/d/a/d;->l:F
invoke-static {v1, v0, p1}, Le/d/a/x/f;->c(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Le/d/a/f;->b(I)V
return-void
.end method
.method public a(I)V
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$c;
invoke-direct {v1, p0, p1}, Le/d/a/f$c;-><init>(Le/d/a/f;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
invoke-virtual {v0, p1}, Le/d/a/x/d;->a(I)V
return-void
.end method
.method public a(II)V
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$b;
invoke-direct {v1, p0, p1, p2}, Le/d/a/f$b;-><init>(Le/d/a/f;II)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
int-to-float p1, p1
int-to-float p2, p2
const v1, 0x3f7d70a4 # 0.99f
add-float/2addr p2, v1
invoke-virtual {v0, p1, p2}, Le/d/a/x/d;->a(FF)V
return-void
.end method
.method public a(Le/d/a/r;)V
.locals 0
return-void
.end method
.method public a(Le/d/a/u/e;Ljava/lang/Object;Le/d/a/y/c;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Le/d/a/u/e;",
"TT;",
"Le/d/a/y/c<",
"TT;>;)V"
}
.end annotation
iget-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$e;
invoke-direct {v1, p0, p1, p2, p3}, Le/d/a/f$e;-><init>(Le/d/a/f;Le/d/a/u/e;Ljava/lang/Object;Le/d/a/y/c;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p1, Le/d/a/u/e;->b:Le/d/a/u/f;
const/4 v1, 0x1
if-eqz v0, :cond_1
invoke-interface {v0, p2, p3}, Le/d/a/u/f;->a(Ljava/lang/Object;Le/d/a/y/c;)V
goto :goto_1
:cond_1
const/4 v0, 0x0
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
iget-object v3, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
new-instance v4, Le/d/a/u/e;
new-array v5, v0, [Ljava/lang/String;
invoke-direct {v4, v5}, Le/d/a/u/e;-><init>([Ljava/lang/String;)V
invoke-virtual {v3, p1, v0, v2, v4}, Le/d/a/u/l/b;->a(Le/d/a/u/e;ILjava/util/List;Le/d/a/u/e;)V
:goto_0
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p1
if-ge v0, p1, :cond_2
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Le/d/a/u/e;
iget-object p1, p1, Le/d/a/u/e;->b:Le/d/a/u/f;
invoke-interface {p1, p2, p3}, Le/d/a/u/f;->a(Ljava/lang/Object;Le/d/a/y/c;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
invoke-interface {v2}, Ljava/util/List;->isEmpty()Z
move-result p1
xor-int/2addr v1, p1
:goto_1
if-eqz v1, :cond_3
invoke-virtual {p0}, Le/d/a/f;->invalidateSelf()V
sget-object p1, Le/d/a/k;->A:Ljava/lang/Float;
if-ne p2, p1, :cond_3
invoke-virtual {p0}, Le/d/a/f;->c()F
move-result p1
invoke-virtual {p0, p1}, Le/d/a/f;->c(F)V
:cond_3
return-void
.end method
.method public a(Ljava/lang/Boolean;)V
.locals 0
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
iput-boolean p1, p0, Le/d/a/f;->h:Z
return-void
.end method
.method public a(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$n;
invoke-direct {v1, p0, p1}, Le/d/a/f$n;-><init>(Le/d/a/f;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Le/d/a/d;->b(Ljava/lang/String;)Le/d/a/u/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Le/d/a/u/h;->b:F
iget v0, v0, Le/d/a/u/h;->c:F
add-float/2addr p1, v0
float-to-int p1, p1
invoke-virtual {p0, p1}, Le/d/a/f;->b(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
invoke-static {v1, p1, v2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public b()V
.locals 2
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
iget-boolean v1, v0, Le/d/a/x/d;->n:Z
if-eqz v1, :cond_0
invoke-virtual {v0}, Le/d/a/x/d;->cancel()V
:cond_0
const/4 v0, 0x0
iput-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
iput-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
iput-object v0, p0, Le/d/a/f;->j:Le/d/a/t/b;
iget-object v1, p0, Le/d/a/f;->f:Le/d/a/x/d;
iput-object v0, v1, Le/d/a/x/d;->m:Le/d/a/d;
const/high16 v0, -0x31000000
iput v0, v1, Le/d/a/x/d;->k:F
const/high16 v0, 0x4f000000
iput v0, v1, Le/d/a/x/d;->l:F
invoke-virtual {p0}, Le/d/a/f;->invalidateSelf()V
return-void
.end method
.method public b(F)V
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$j;
invoke-direct {v1, p0, p1}, Le/d/a/f$j;-><init>(Le/d/a/f;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Le/d/a/d;->k:F
iget v0, v0, Le/d/a/d;->l:F
invoke-static {v1, v0, p1}, Le/d/a/x/f;->c(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Le/d/a/f;->c(I)V
return-void
.end method
.method public b(I)V
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$k;
invoke-direct {v1, p0, p1}, Le/d/a/f$k;-><init>(Le/d/a/f;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
int-to-float p1, p1
const v1, 0x3f7d70a4 # 0.99f
add-float/2addr p1, v1
iget v1, v0, Le/d/a/x/d;->k:F
invoke-virtual {v0, v1, p1}, Le/d/a/x/d;->a(FF)V
return-void
.end method
.method public b(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$a;
invoke-direct {v1, p0, p1}, Le/d/a/f$a;-><init>(Le/d/a/f;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Le/d/a/d;->b(Ljava/lang/String;)Le/d/a/u/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Le/d/a/u/h;->b:F
float-to-int p1, p1
iget v0, v0, Le/d/a/u/h;->c:F
float-to-int v0, v0
add-int/2addr v0, p1
invoke-virtual {p0, p1, v0}, Le/d/a/f;->a(II)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
invoke-static {v1, p1, v2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public c()F
.locals 1
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
invoke-virtual {v0}, Le/d/a/x/d;->b()F
move-result v0
return v0
.end method
.method public c(F)V
.locals 2
.param p1 # F
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
.end param
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$d;
invoke-direct {v1, p0, p1}, Le/d/a/f$d;-><init>(Le/d/a/f;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Le/d/a/d;->k:F
iget v0, v0, Le/d/a/d;->l:F
invoke-static {v1, v0, p1}, Le/d/a/x/f;->c(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Le/d/a/f;->a(I)V
return-void
.end method
.method public c(I)V
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$i;
invoke-direct {v1, p0, p1}, Le/d/a/f$i;-><init>(Le/d/a/f;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
int-to-float p1, p1
iget v1, v0, Le/d/a/x/d;->l:F
float-to-int v1, v1
int-to-float v1, v1
invoke-virtual {v0, p1, v1}, Le/d/a/x/d;->a(FF)V
return-void
.end method
.method public c(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$m;
invoke-direct {v1, p0, p1}, Le/d/a/f$m;-><init>(Le/d/a/f;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Le/d/a/d;->b(Ljava/lang/String;)Le/d/a/u/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Le/d/a/u/h;->b:F
float-to-int p1, p1
invoke-virtual {p0, p1}, Le/d/a/f;->c(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
invoke-static {v1, p1, v2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public d()I
.locals 1
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
move-result v0
return v0
.end method
.method public draw(Landroid/graphics/Canvas;)V
.locals 8
.param p1 # Landroid/graphics/Canvas;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
const/4 v0, 0x0
iput-boolean v0, p0, Le/d/a/f;->q:Z
iget-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
if-nez v0, :cond_0
return-void
:cond_0
iget v0, p0, Le/d/a/f;->g:F
invoke-virtual {p1}, Landroid/graphics/Canvas;->getWidth()I
move-result v1
int-to-float v1, v1
iget-object v2, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v2, v2, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v2}, Landroid/graphics/Rect;->width()I
move-result v2
int-to-float v2, v2
div-float/2addr v1, v2
invoke-virtual {p1}, Landroid/graphics/Canvas;->getHeight()I
move-result v2
int-to-float v2, v2
iget-object v3, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v3, v3, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v3}, Landroid/graphics/Rect;->height()I
move-result v3
int-to-float v3, v3
div-float/2addr v2, v3
invoke-static {v1, v2}, Ljava/lang/Math;->min(FF)F
move-result v1
const/high16 v2, 0x3f800000 # 1.0f
cmpl-float v3, v0, v1
if-lez v3, :cond_1
iget v0, p0, Le/d/a/f;->g:F
div-float/2addr v0, v1
goto :goto_0
:cond_1
move v1, v0
const/high16 v0, 0x3f800000 # 1.0f
:goto_0
const/4 v3, -0x1
cmpl-float v2, v0, v2
if-lez v2, :cond_2
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
move-result v3
iget-object v2, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v2, v2, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v2}, Landroid/graphics/Rect;->width()I
move-result v2
int-to-float v2, v2
const/high16 v4, 0x40000000 # 2.0f
div-float/2addr v2, v4
iget-object v5, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v5, v5, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v5}, Landroid/graphics/Rect;->height()I
move-result v5
int-to-float v5, v5
div-float/2addr v5, v4
mul-float v4, v2, v1
mul-float v6, v5, v1
iget v7, p0, Le/d/a/f;->g:F
mul-float v2, v2, v7
sub-float/2addr v2, v4
mul-float v7, v7, v5
sub-float/2addr v7, v6
invoke-virtual {p1, v2, v7}, Landroid/graphics/Canvas;->translate(FF)V
invoke-virtual {p1, v0, v0, v4, v6}, Landroid/graphics/Canvas;->scale(FFFF)V
:cond_2
iget-object v0, p0, Le/d/a/f;->d:Landroid/graphics/Matrix;
invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V
iget-object v0, p0, Le/d/a/f;->d:Landroid/graphics/Matrix;
invoke-virtual {v0, v1, v1}, Landroid/graphics/Matrix;->preScale(FF)Z
iget-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
iget-object v1, p0, Le/d/a/f;->d:Landroid/graphics/Matrix;
iget v2, p0, Le/d/a/f;->o:I
invoke-virtual {v0, p1, v1, v2}, Le/d/a/u/l/b;->a(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V
const-string v0, "Drawable#draw"
invoke-static {v0}, Le/d/a/c;->a(Ljava/lang/String;)F
if-lez v3, :cond_3
invoke-virtual {p1, v3}, Landroid/graphics/Canvas;->restoreToCount(I)V
:cond_3
return-void
.end method
.method public e()V
.locals 0
.annotation build Landroidx/annotation/Nullable;
.end annotation
return-void
.end method
.method public f()V
.locals 6
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$g;
invoke-direct {v1, p0}, Le/d/a/f$g;-><init>(Le/d/a/f;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-boolean v0, p0, Le/d/a/f;->h:Z
if-nez v0, :cond_1
invoke-virtual {p0}, Le/d/a/f;->d()I
move-result v0
if-nez v0, :cond_5
:cond_1
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
const/4 v1, 0x1
iput-boolean v1, v0, Le/d/a/x/d;->n:Z
invoke-virtual {v0}, Le/d/a/x/d;->e()Z
move-result v1
iget-object v2, v0, Le/d/a/x/a;->e:Ljava/util/Set;
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_3
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/animation/Animator$AnimatorListener;
sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v5, 0x1a
if-lt v4, v5, :cond_2
invoke-interface {v3, v0, v1}, Landroid/animation/Animator$AnimatorListener;->onAnimationStart(Landroid/animation/Animator;Z)V
goto :goto_0
:cond_2
invoke-interface {v3, v0}, Landroid/animation/Animator$AnimatorListener;->onAnimationStart(Landroid/animation/Animator;)V
goto :goto_0
:cond_3
invoke-virtual {v0}, Le/d/a/x/d;->e()Z
move-result v1
if-eqz v1, :cond_4
invoke-virtual {v0}, Le/d/a/x/d;->c()F
move-result v1
goto :goto_1
:cond_4
invoke-virtual {v0}, Le/d/a/x/d;->d()F
move-result v1
:goto_1
float-to-int v1, v1
invoke-virtual {v0, v1}, Le/d/a/x/d;->a(I)V
const-wide/16 v1, 0x0
iput-wide v1, v0, Le/d/a/x/d;->h:J
const/4 v1, 0x0
iput v1, v0, Le/d/a/x/d;->j:I
invoke-virtual {v0}, Le/d/a/x/d;->f()V
:cond_5
iget-boolean v0, p0, Le/d/a/f;->h:Z
if-nez v0, :cond_7
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
iget v1, v0, Le/d/a/x/d;->f:F
const/4 v2, 0x0
cmpg-float v1, v1, v2
if-gez v1, :cond_6
invoke-virtual {v0}, Le/d/a/x/d;->d()F
move-result v0
goto :goto_2
:cond_6
invoke-virtual {v0}, Le/d/a/x/d;->c()F
move-result v0
:goto_2
float-to-int v0, v0
invoke-virtual {p0, v0}, Le/d/a/f;->a(I)V
:cond_7
return-void
.end method
.method public g()V
.locals 3
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Le/d/a/f;->n:Le/d/a/u/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
new-instance v1, Le/d/a/f$h;
invoke-direct {v1, p0}, Le/d/a/f$h;-><init>(Le/d/a/f;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
const/4 v1, 0x1
iput-boolean v1, v0, Le/d/a/x/d;->n:Z
invoke-virtual {v0}, Le/d/a/x/d;->f()V
const-wide/16 v1, 0x0
iput-wide v1, v0, Le/d/a/x/d;->h:J
invoke-virtual {v0}, Le/d/a/x/d;->e()Z
move-result v1
if-eqz v1, :cond_1
iget v1, v0, Le/d/a/x/d;->i:F
invoke-virtual {v0}, Le/d/a/x/d;->d()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_1
invoke-virtual {v0}, Le/d/a/x/d;->c()F
move-result v1
iput v1, v0, Le/d/a/x/d;->i:F
goto :goto_0
:cond_1
invoke-virtual {v0}, Le/d/a/x/d;->e()Z
move-result v1
if-nez v1, :cond_2
iget v1, v0, Le/d/a/x/d;->i:F
invoke-virtual {v0}, Le/d/a/x/d;->c()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_2
invoke-virtual {v0}, Le/d/a/x/d;->d()F
move-result v1
iput v1, v0, Le/d/a/x/d;->i:F
:cond_2
:goto_0
return-void
.end method
.method public getAlpha()I
.locals 1
iget v0, p0, Le/d/a/f;->o:I
return v0
.end method
.method public getIntrinsicHeight()I
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
iget-object v0, v0, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
move-result v0
int-to-float v0, v0
iget v1, p0, Le/d/a/f;->g:F
mul-float v0, v0, v1
float-to-int v0, v0
:goto_0
return v0
.end method
.method public getIntrinsicWidth()I
.locals 2
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
iget-object v0, v0, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
move-result v0
int-to-float v0, v0
iget v1, p0, Le/d/a/f;->g:F
mul-float v0, v0, v1
float-to-int v0, v0
:goto_0
return v0
.end method
.method public getOpacity()I
.locals 1
const/4 v0, -0x3
return v0
.end method
.method public final h()V
.locals 3
iget-object v0, p0, Le/d/a/f;->e:Le/d/a/d;
if-nez v0, :cond_0
return-void
:cond_0
iget v1, p0, Le/d/a/f;->g:F
iget-object v0, v0, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
move-result v0
int-to-float v0, v0
mul-float v0, v0, v1
float-to-int v0, v0
iget-object v2, p0, Le/d/a/f;->e:Le/d/a/d;
iget-object v2, v2, Le/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v2}, Landroid/graphics/Rect;->height()I
move-result v2
int-to-float v2, v2
mul-float v2, v2, v1
float-to-int v1, v2
const/4 v2, 0x0
invoke-virtual {p0, v2, v2, v0, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
return-void
.end method
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 0
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object p1
if-nez p1, :cond_0
return-void
:cond_0
invoke-interface {p1, p0}, Landroid/graphics/drawable/Drawable$Callback;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public invalidateSelf()V
.locals 1
iget-boolean v0, p0, Le/d/a/f;->q:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Le/d/a/f;->q:Z
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object v0
if-eqz v0, :cond_1
invoke-interface {v0, p0}, Landroid/graphics/drawable/Drawable$Callback;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
:cond_1
return-void
.end method
.method public isRunning()Z
.locals 1
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
iget-boolean v0, v0, Le/d/a/x/d;->n:Z
return v0
.end method
.method public scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V
.locals 0
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Runnable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object p1
if-nez p1, :cond_0
return-void
:cond_0
invoke-interface {p1, p0, p2, p3, p4}, Landroid/graphics/drawable/Drawable$Callback;->scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V
return-void
.end method
.method public setAlpha(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
to = 0xffL
.end annotation
.end param
iput p1, p0, Le/d/a/f;->o:I
invoke-virtual {p0}, Le/d/a/f;->invalidateSelf()V
return-void
.end method
.method public setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 0
.param p1 # Landroid/graphics/ColorFilter;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const-string p1, "Use addColorFilter instead."
invoke-static {p1}, Le/d/a/x/c;->b(Ljava/lang/String;)V
return-void
.end method
.method public start()V
.locals 0
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-virtual {p0}, Le/d/a/f;->f()V
return-void
.end method
.method public stop()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Le/d/a/f;->i:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
iget-object v0, p0, Le/d/a/f;->f:Le/d/a/x/d;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Le/d/a/x/d;->b(Z)V
invoke-virtual {v0}, Le/d/a/x/d;->e()Z
move-result v1
invoke-virtual {v0, v1}, Le/d/a/x/a;->a(Z)V
return-void
.end method
.method public unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
.locals 0
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Runnable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object p1
if-nez p1, :cond_0
return-void
:cond_0
invoke-interface {p1, p0, p2}, Landroid/graphics/drawable/Drawable$Callback;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
return-void
.end method