apkfuckery/com.discord/smali/f/d/a/g.smali

1389 lines
27 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/d/a/g;
2020-07-08 16:44:49 +00:00
.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 = {
Lf/d/a/g$o;
}
.end annotation
2020-05-17 12:40:10 +00:00
# instance fields
2020-07-08 16:44:49 +00:00
.field public final d:Landroid/graphics/Matrix;
.field public e:Lf/d/a/d;
.field public final f:Lf/d/a/y/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<",
"Lf/d/a/g$o;",
">;"
}
.end annotation
.end field
.field public j:Lf/d/a/u/b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public k:Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public l:Lf/d/a/b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public m:Lf/d/a/u/a;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public n:Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public o:Lf/d/a/v/l/c;
2020-05-17 12:40:10 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-07-08 16:44:49 +00:00
.field public p:I
.field public q:Z
.field public r:Z
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/d/a/g;
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, Lf/d/a/g;->d:Landroid/graphics/Matrix;
new-instance v0, Lf/d/a/y/d;
invoke-direct {v0}, Lf/d/a/y/d;-><init>()V
iput-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Lf/d/a/g;->g:F
const/4 v0, 0x1
iput-boolean v0, p0, Lf/d/a/g;->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, Lf/d/a/g;->i:Ljava/util/ArrayList;
const/16 v0, 0xff
iput v0, p0, Lf/d/a/g;->p:I
const/4 v0, 0x0
iput-boolean v0, p0, Lf/d/a/g;->r:Z
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
new-instance v1, Lf/d/a/g$f;
invoke-direct {v1, p0}, Lf/d/a/g$f;-><init>(Lf/d/a/g;)V
iget-object v0, v0, Lf/d/a/y/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 a(Lf/d/a/v/e;Ljava/lang/Object;Lf/d/a/z/c;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
2020-05-17 12:40:10 +00:00
value = {
2020-07-08 16:44:49 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Lf/d/a/v/e;",
"TT;",
"Lf/d/a/z/c<",
"TT;>;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$e;
invoke-direct {v1, p0, p1, p2, p3}, Lf/d/a/g$e;-><init>(Lf/d/a/g;Lf/d/a/v/e;Ljava/lang/Object;Lf/d/a/z/c;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v1, p1, Lf/d/a/v/e;->b:Lf/d/a/v/f;
const/4 v2, 0x1
if-eqz v1, :cond_1
invoke-interface {v1, p2, p3}, Lf/d/a/v/f;->g(Ljava/lang/Object;Lf/d/a/z/c;)V
goto :goto_1
:cond_1
const/4 v1, 0x0
if-nez v0, :cond_2
const-string p1, "Cannot resolve KeyPath. Composition is not set yet."
invoke-static {p1}, Lf/d/a/y/c;->b(Ljava/lang/String;)V
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
goto :goto_0
:cond_2
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iget-object v3, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
new-instance v4, Lf/d/a/v/e;
new-array v5, v1, [Ljava/lang/String;
invoke-direct {v4, v5}, Lf/d/a/v/e;-><init>([Ljava/lang/String;)V
invoke-virtual {v3, p1, v1, v0, v4}, Lf/d/a/v/l/b;->c(Lf/d/a/v/e;ILjava/util/List;Lf/d/a/v/e;)V
move-object p1, v0
:goto_0
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
if-ge v1, v0, :cond_3
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/d/a/v/e;
iget-object v0, v0, Lf/d/a/v/e;->b:Lf/d/a/v/f;
invoke-interface {v0, p2, p3}, Lf/d/a/v/f;->g(Ljava/lang/Object;Lf/d/a/z/c;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result p1
xor-int/2addr v2, p1
:goto_1
if-eqz v2, :cond_4
invoke-virtual {p0}, Lf/d/a/g;->invalidateSelf()V
sget-object p1, Lf/d/a/l;->A:Ljava/lang/Float;
if-ne p2, p1, :cond_4
invoke-virtual {p0}, Lf/d/a/g;->c()F
move-result p1
invoke-virtual {p0, p1}, Lf/d/a/g;->p(F)V
:cond_4
return-void
.end method
.method public b()V
.locals 2
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-boolean v1, v0, Lf/d/a/y/d;->n:Z
if-eqz v1, :cond_0
invoke-virtual {v0}, Lf/d/a/y/d;->cancel()V
:cond_0
const/4 v0, 0x0
iput-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
iput-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
iput-object v0, p0, Lf/d/a/g;->j:Lf/d/a/u/b;
iget-object v1, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
iput-object v0, v1, Lf/d/a/y/d;->m:Lf/d/a/d;
const/high16 v0, -0x31000000
iput v0, v1, Lf/d/a/y/d;->k:F
const/high16 v0, 0x4f000000
iput v0, v1, Lf/d/a/y/d;->l:F
invoke-virtual {p0}, Lf/d/a/g;->invalidateSelf()V
return-void
.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, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Lf/d/a/y/d;->d()F
move-result v0
return v0
.end method
.method public d()I
.locals 1
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/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, Lf/d/a/g;->r:Z
iget-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
if-nez v0, :cond_0
return-void
:cond_0
iget v0, p0, Lf/d/a/g;->g:F
invoke-virtual {p1}, Landroid/graphics/Canvas;->getWidth()I
move-result v1
int-to-float v1, v1
iget-object v2, p0, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v2, v2, Lf/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, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v3, v3, Lf/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, Lf/d/a/g;->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, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v2, v2, Lf/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, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v5, v5, Lf/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, Lf/d/a/g;->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, Lf/d/a/g;->d:Landroid/graphics/Matrix;
invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V
iget-object v0, p0, Lf/d/a/g;->d:Landroid/graphics/Matrix;
invoke-virtual {v0, v1, v1}, Landroid/graphics/Matrix;->preScale(FF)Z
iget-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
iget-object v1, p0, Lf/d/a/g;->d:Landroid/graphics/Matrix;
iget v2, p0, Lf/d/a/g;->p:I
invoke-virtual {v0, p1, v1, v2}, Lf/d/a/v/l/b;->f(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V
const-string v0, "Drawable#draw"
invoke-static {v0}, Lf/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 6
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$g;
invoke-direct {v1, p0}, Lf/d/a/g$g;-><init>(Lf/d/a/g;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-boolean v0, p0, Lf/d/a/g;->h:Z
if-nez v0, :cond_1
invoke-virtual {p0}, Lf/d/a/g;->d()I
move-result v0
if-nez v0, :cond_5
:cond_1
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/d/a/y/d;->n:Z
invoke-virtual {v0}, Lf/d/a/y/d;->g()Z
move-result v1
iget-object v2, v0, Lf/d/a/y/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
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-lt v4, v5, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v3, v0, v1}, Landroid/animation/Animator$AnimatorListener;->onAnimationStart(Landroid/animation/Animator;Z)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
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}, Lf/d/a/y/d;->g()Z
move-result v1
if-eqz v1, :cond_4
invoke-virtual {v0}, Lf/d/a/y/d;->e()F
move-result v1
goto :goto_1
:cond_4
invoke-virtual {v0}, Lf/d/a/y/d;->f()F
move-result v1
:goto_1
float-to-int v1, v1
invoke-virtual {v0, v1}, Lf/d/a/y/d;->j(I)V
const-wide/16 v1, 0x0
iput-wide v1, v0, Lf/d/a/y/d;->h:J
const/4 v1, 0x0
iput v1, v0, Lf/d/a/y/d;->j:I
invoke-virtual {v0}, Lf/d/a/y/d;->h()V
:cond_5
iget-boolean v0, p0, Lf/d/a/g;->h:Z
if-nez v0, :cond_7
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
iget v1, v0, Lf/d/a/y/d;->f:F
const/4 v2, 0x0
cmpg-float v1, v1, v2
if-gez v1, :cond_6
invoke-virtual {v0}, Lf/d/a/y/d;->f()F
move-result v0
goto :goto_2
:cond_6
invoke-virtual {v0}, Lf/d/a/y/d;->e()F
move-result v0
:goto_2
float-to-int v0, v0
invoke-virtual {p0, v0}, Lf/d/a/g;->g(I)V
:cond_7
return-void
.end method
.method public f()V
.locals 3
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/g;->o:Lf/d/a/v/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$h;
invoke-direct {v1, p0}, Lf/d/a/g$h;-><init>(Lf/d/a/g;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/d/a/y/d;->n:Z
invoke-virtual {v0}, Lf/d/a/y/d;->h()V
const-wide/16 v1, 0x0
iput-wide v1, v0, Lf/d/a/y/d;->h:J
invoke-virtual {v0}, Lf/d/a/y/d;->g()Z
move-result v1
if-eqz v1, :cond_1
iget v1, v0, Lf/d/a/y/d;->i:F
invoke-virtual {v0}, Lf/d/a/y/d;->f()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_1
invoke-virtual {v0}, Lf/d/a/y/d;->e()F
move-result v1
iput v1, v0, Lf/d/a/y/d;->i:F
goto :goto_0
:cond_1
invoke-virtual {v0}, Lf/d/a/y/d;->g()Z
move-result v1
if-nez v1, :cond_2
iget v1, v0, Lf/d/a/y/d;->i:F
invoke-virtual {v0}, Lf/d/a/y/d;->e()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_2
invoke-virtual {v0}, Lf/d/a/y/d;->f()F
move-result v1
iput v1, v0, Lf/d/a/y/d;->i:F
:cond_2
:goto_0
return-void
.end method
.method public g(I)V
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$c;
invoke-direct {v1, p0, p1}, Lf/d/a/g$c;-><init>(Lf/d/a/g;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0, p1}, Lf/d/a/y/d;->j(I)V
return-void
.end method
.method public getAlpha()I
.locals 1
iget v0, p0, Lf/d/a/g;->p:I
return v0
.end method
.method public getIntrinsicHeight()I
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
iget-object v0, v0, Lf/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, Lf/d/a/g;->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, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
iget-object v0, v0, Lf/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, Lf/d/a/g;->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 h(I)V
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$k;
invoke-direct {v1, p0, p1}, Lf/d/a/g$k;-><init>(Lf/d/a/g;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
int-to-float p1, p1
const v1, 0x3f7d70a4 # 0.99f
add-float/2addr p1, v1
iget v1, v0, Lf/d/a/y/d;->k:F
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, v1, p1}, Lf/d/a/y/d;->l(FF)V
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public i(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$n;
invoke-direct {v1, p0, p1}, Lf/d/a/g$n;-><init>(Lf/d/a/g;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Lf/d/a/d;->d(Ljava/lang/String;)Lf/d/a/v/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/v/h;->b:F
iget v0, v0, Lf/d/a/v/h;->c:F
add-float/2addr p1, v0
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/g;->h(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-07-14 22:43:59 +00:00
invoke-static {v1, p1, v2}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.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, Lf/d/a/g;->r:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lf/d/a/g;->r: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, Lf/d/a/g;->f:Lf/d/a/y/d;
iget-boolean v0, v0, Lf/d/a/y/d;->n:Z
return v0
.end method
.method public j(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, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$l;
invoke-direct {v1, p0, p1}, Lf/d/a/g$l;-><init>(Lf/d/a/g;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Lf/d/a/d;->k:F
iget v0, v0, Lf/d/a/d;->l:F
invoke-static {v1, v0, p1}, Lf/d/a/y/f;->g(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/g;->h(I)V
return-void
.end method
.method public k(II)V
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$b;
invoke-direct {v1, p0, p1, p2}, Lf/d/a/g$b;-><init>(Lf/d/a/g;II)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
int-to-float p1, p1
int-to-float p2, p2
const v1, 0x3f7d70a4 # 0.99f
add-float/2addr p2, v1
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, p1, p2}, Lf/d/a/y/d;->l(FF)V
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public l(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$a;
invoke-direct {v1, p0, p1}, Lf/d/a/g$a;-><init>(Lf/d/a/g;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Lf/d/a/d;->d(Ljava/lang/String;)Lf/d/a/v/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/v/h;->b:F
float-to-int p1, p1
iget v0, v0, Lf/d/a/v/h;->c:F
float-to-int v0, v0
add-int/2addr v0, p1
invoke-virtual {p0, p1, v0}, Lf/d/a/g;->k(II)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-07-14 22:43:59 +00:00
invoke-static {v1, p1, v2}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public m(I)V
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$i;
invoke-direct {v1, p0, p1}, Lf/d/a/g$i;-><init>(Lf/d/a/g;I)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
int-to-float p1, p1
iget v1, v0, Lf/d/a/y/d;->l:F
float-to-int v1, v1
int-to-float v1, v1
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, p1, v1}, Lf/d/a/y/d;->l(FF)V
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public n(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$m;
invoke-direct {v1, p0, p1}, Lf/d/a/g$m;-><init>(Lf/d/a/g;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
invoke-virtual {v0, p1}, Lf/d/a/d;->d(Ljava/lang/String;)Lf/d/a/v/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/v/h;->b:F
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/g;->m(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-07-14 22:43:59 +00:00
invoke-static {v1, p1, v2}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public o(F)V
.locals 2
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$j;
invoke-direct {v1, p0, p1}, Lf/d/a/g$j;-><init>(Lf/d/a/g;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Lf/d/a/d;->k:F
iget v0, v0, Lf/d/a/d;->l:F
invoke-static {v1, v0, p1}, Lf/d/a/y/f;->g(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/g;->m(I)V
return-void
.end method
.method public p(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, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/g$d;
invoke-direct {v1, p0, p1}, Lf/d/a/g$d;-><init>(Lf/d/a/g;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget v1, v0, Lf/d/a/d;->k:F
iget v0, v0, Lf/d/a/d;->l:F
invoke-static {v1, v0, p1}, Lf/d/a/y/f;->g(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/g;->g(I)V
return-void
.end method
.method public final q()V
.locals 3
iget-object v0, p0, Lf/d/a/g;->e:Lf/d/a/d;
if-nez v0, :cond_0
return-void
:cond_0
iget v1, p0, Lf/d/a/g;->g:F
iget-object v0, v0, Lf/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, Lf/d/a/g;->e:Lf/d/a/d;
iget-object v2, v2, Lf/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 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, Lf/d/a/g;->p:I
invoke-virtual {p0}, Lf/d/a/g;->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}, Lf/d/a/y/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}, Lf/d/a/g;->e()V
return-void
.end method
.method public stop()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/g;->i:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
iget-object v0, p0, Lf/d/a/g;->f:Lf/d/a/y/d;
invoke-virtual {v0}, Lf/d/a/y/d;->i()V
invoke-virtual {v0}, Lf/d/a/y/d;->g()Z
move-result v1
invoke-virtual {v0, v1}, Lf/d/a/y/a;->b(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
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
invoke-interface {p1, p0, p2}, Landroid/graphics/drawable/Drawable$Callback;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
2020-05-17 12:40:10 +00:00
return-void
.end method