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

1687 lines
33 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public Lf/d/a/h;
2020-09-16 23:45:23 +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/h$o;
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# instance fields
2020-09-16 23:45:23 +00:00
.field public final d:Landroid/graphics/Matrix;
.field public e:Lf/d/a/d;
.field public final f:Lf/d/a/z/d;
.field public g:F
.field public h:Z
.field public i:Z
.field public final j:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Lf/d/a/h$o;",
">;"
}
.end annotation
.end field
.field public final k:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
.field public l:Landroid/widget/ImageView$ScaleType;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public m:Lf/d/a/v/b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public n:Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
.field public o:Lf/d/a/b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
.field public p:Lf/d/a/v/a;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.field public q:Z
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.field public r:Lf/d/a/w/l/c;
2020-07-08 16:44:49 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
2020-09-16 23:45:23 +00:00
.field public s:I
.field public t:Z
.field public u:Z
.field public v:Z
.field public w:Z
2020-07-08 16:44:49 +00:00
# direct methods
2020-09-16 23:45:23 +00:00
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/d/a/h;
return-void
.end method
.method public constructor <init>()V
.locals 4
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/h;->d:Landroid/graphics/Matrix;
new-instance v0, Lf/d/a/z/d;
invoke-direct {v0}, Lf/d/a/z/d;-><init>()V
iput-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Lf/d/a/h;->g:F
const/4 v0, 0x1
iput-boolean v0, p0, Lf/d/a/h;->h:Z
const/4 v1, 0x0
iput-boolean v1, p0, Lf/d/a/h;->i:Z
new-instance v2, Ljava/util/HashSet;
invoke-direct {v2}, Ljava/util/HashSet;-><init>()V
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
iput-object v2, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v2, Lf/d/a/h$f;
invoke-direct {v2, p0}, Lf/d/a/h$f;-><init>(Lf/d/a/h;)V
iput-object v2, p0, Lf/d/a/h;->k:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
const/16 v3, 0xff
iput v3, p0, Lf/d/a/h;->s:I
iput-boolean v0, p0, Lf/d/a/h;->v:Z
iput-boolean v1, p0, Lf/d/a/h;->w:Z
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iget-object v0, v0, Lf/d/a/z/a;->d:Ljava/util/Set;
invoke-interface {v0, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
return-void
.end method
# virtual methods
.method public a(Lf/d/a/w/e;Ljava/lang/Object;Lf/d/a/a0/c;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
2020-05-17 12:40:10 +00:00
value = {
2020-09-16 23:45:23 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Lf/d/a/w/e;",
"TT;",
"Lf/d/a/a0/c<",
"TT;>;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$e;
invoke-direct {v1, p0, p1, p2, p3}, Lf/d/a/h$e;-><init>(Lf/d/a/h;Lf/d/a/w/e;Ljava/lang/Object;Lf/d/a/a0/c;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
sget-object v1, Lf/d/a/w/e;->c:Lf/d/a/w/e;
const/4 v2, 0x1
if-ne p1, v1, :cond_1
invoke-virtual {v0, p2, p3}, Lf/d/a/w/l/c;->g(Ljava/lang/Object;Lf/d/a/a0/c;)V
goto :goto_1
:cond_1
iget-object v1, p1, Lf/d/a/w/e;->b:Lf/d/a/w/f;
if-eqz v1, :cond_2
invoke-interface {v1, p2, p3}, Lf/d/a/w/f;->g(Ljava/lang/Object;Lf/d/a/a0/c;)V
goto :goto_1
:cond_2
const/4 v1, 0x0
if-nez v0, :cond_3
const-string p1, "Cannot resolve KeyPath. Composition is not set yet."
invoke-static {p1}, Lf/d/a/z/c;->b(Ljava/lang/String;)V
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
goto :goto_0
:cond_3
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iget-object v3, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
new-instance v4, Lf/d/a/w/e;
new-array v5, v1, [Ljava/lang/String;
invoke-direct {v4, v5}, Lf/d/a/w/e;-><init>([Ljava/lang/String;)V
invoke-virtual {v3, p1, v1, v0, v4}, Lf/d/a/w/l/b;->c(Lf/d/a/w/e;ILjava/util/List;Lf/d/a/w/e;)V
move-object p1, v0
:goto_0
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
if-ge v1, v0, :cond_4
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/d/a/w/e;
iget-object v0, v0, Lf/d/a/w/e;->b:Lf/d/a/w/f;
invoke-interface {v0, p2, p3}, Lf/d/a/w/f;->g(Ljava/lang/Object;Lf/d/a/a0/c;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_4
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result p1
xor-int/2addr v2, p1
:goto_1
if-eqz v2, :cond_5
invoke-virtual {p0}, Lf/d/a/h;->invalidateSelf()V
sget-object p1, Lf/d/a/m;->A:Ljava/lang/Float;
if-ne p2, p1, :cond_5
invoke-virtual {p0}, Lf/d/a/h;->f()F
move-result p1
invoke-virtual {p0, p1}, Lf/d/a/h;->t(F)V
:cond_5
return-void
.end method
.method public b()V
.locals 2
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iget-boolean v1, v0, Lf/d/a/z/d;->n:Z
if-eqz v1, :cond_0
invoke-virtual {v0}, Lf/d/a/z/d;->cancel()V
:cond_0
const/4 v0, 0x0
iput-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
iput-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
iput-object v0, p0, Lf/d/a/h;->m:Lf/d/a/v/b;
iget-object v1, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iput-object v0, v1, Lf/d/a/z/d;->m:Lf/d/a/d;
const/high16 v0, -0x31000000
iput v0, v1, Lf/d/a/z/d;->k:F
const/high16 v0, 0x4f000000
iput v0, v1, Lf/d/a/z/d;->l:F
invoke-virtual {p0}, Lf/d/a/h;->invalidateSelf()V
return-void
.end method
.method public final c(Landroid/graphics/Canvas;)V
.locals 8
.param p1 # Landroid/graphics/Canvas;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;
iget-object v1, p0, Lf/d/a/h;->l:Landroid/widget/ImageView$ScaleType;
const/high16 v2, 0x40000000 # 2.0f
const/4 v3, -0x1
const/high16 v4, 0x3f800000 # 1.0f
if-ne v0, v1, :cond_3
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
if-nez v0, :cond_0
goto/16 :goto_2
:cond_0
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
move-result-object v0
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
move-result v1
int-to-float v1, v1
iget-object v5, p0, Lf/d/a/h;->e:Lf/d/a/d;
iget-object v5, v5, Lf/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v5}, Landroid/graphics/Rect;->width()I
move-result v5
int-to-float v5, v5
div-float/2addr v1, v5
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
move-result v5
int-to-float v5, v5
iget-object v6, p0, Lf/d/a/h;->e:Lf/d/a/d;
iget-object v6, v6, Lf/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v6}, Landroid/graphics/Rect;->height()I
move-result v6
int-to-float v6, v6
div-float/2addr v5, v6
iget-boolean v6, p0, Lf/d/a/h;->v:Z
if-eqz v6, :cond_2
invoke-static {v1, v5}, Ljava/lang/Math;->min(FF)F
move-result v6
cmpg-float v7, v6, v4
if-gez v7, :cond_1
div-float v7, v4, v6
div-float/2addr v1, v7
div-float/2addr v5, v7
goto :goto_0
:cond_1
const/high16 v7, 0x3f800000 # 1.0f
:goto_0
cmpl-float v4, v7, v4
if-lez v4, :cond_2
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
move-result v3
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
move-result v4
int-to-float v4, v4
div-float/2addr v4, v2
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
move-result v0
int-to-float v0, v0
div-float/2addr v0, v2
mul-float v2, v4, v6
mul-float v6, v6, v0
sub-float/2addr v4, v2
sub-float/2addr v0, v6
invoke-virtual {p1, v4, v0}, Landroid/graphics/Canvas;->translate(FF)V
invoke-virtual {p1, v7, v7, v2, v6}, Landroid/graphics/Canvas;->scale(FFFF)V
:cond_2
iget-object v0, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V
iget-object v0, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
invoke-virtual {v0, v1, v5}, Landroid/graphics/Matrix;->preScale(FF)Z
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
iget-object v1, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
iget v2, p0, Lf/d/a/h;->s:I
invoke-virtual {v0, p1, v1, v2}, Lf/d/a/w/l/b;->f(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V
if-lez v3, :cond_7
invoke-virtual {p1, v3}, Landroid/graphics/Canvas;->restoreToCount(I)V
goto/16 :goto_2
:cond_3
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
if-nez v0, :cond_4
goto :goto_2
:cond_4
iget v0, p0, Lf/d/a/h;->g:F
invoke-virtual {p1}, Landroid/graphics/Canvas;->getWidth()I
move-result v1
int-to-float v1, v1
iget-object v5, p0, Lf/d/a/h;->e:Lf/d/a/d;
iget-object v5, v5, Lf/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v5}, Landroid/graphics/Rect;->width()I
move-result v5
int-to-float v5, v5
div-float/2addr v1, v5
invoke-virtual {p1}, Landroid/graphics/Canvas;->getHeight()I
move-result v5
int-to-float v5, v5
iget-object v6, p0, Lf/d/a/h;->e:Lf/d/a/d;
iget-object v6, v6, Lf/d/a/d;->j:Landroid/graphics/Rect;
invoke-virtual {v6}, Landroid/graphics/Rect;->height()I
move-result v6
int-to-float v6, v6
div-float/2addr v5, v6
invoke-static {v1, v5}, Ljava/lang/Math;->min(FF)F
move-result v1
cmpl-float v5, v0, v1
if-lez v5, :cond_5
iget v0, p0, Lf/d/a/h;->g:F
div-float/2addr v0, v1
goto :goto_1
:cond_5
move v1, v0
const/high16 v0, 0x3f800000 # 1.0f
:goto_1
cmpl-float v4, v0, v4
if-lez v4, :cond_6
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
move-result v3
iget-object v4, p0, Lf/d/a/h;->e:Lf/d/a/d;
iget-object v4, v4, Lf/d/a/d;->j:Landroid/graphics/Rect;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v4}, Landroid/graphics/Rect;->width()I
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
int-to-float v4, v4
div-float/2addr v4, v2
iget-object v5, p0, Lf/d/a/h;->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, v2
mul-float v2, v4, v1
mul-float v6, v5, v1
iget v7, p0, Lf/d/a/h;->g:F
mul-float v4, v4, v7
sub-float/2addr v4, v2
mul-float v7, v7, v5
sub-float/2addr v7, v6
invoke-virtual {p1, v4, v7}, Landroid/graphics/Canvas;->translate(FF)V
invoke-virtual {p1, v0, v0, v2, v6}, Landroid/graphics/Canvas;->scale(FFFF)V
:cond_6
iget-object v0, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V
iget-object v0, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
invoke-virtual {v0, v1, v1}, Landroid/graphics/Matrix;->preScale(FF)Z
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
iget-object v1, p0, Lf/d/a/h;->d:Landroid/graphics/Matrix;
iget v2, p0, Lf/d/a/h;->s:I
invoke-virtual {v0, p1, v1, v2}, Lf/d/a/w/l/b;->f(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V
if-lez v3, :cond_7
invoke-virtual {p1, v3}, Landroid/graphics/Canvas;->restoreToCount(I)V
:cond_7
:goto_2
return-void
.end method
.method public d()F
.locals 1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->f()F
move-result v0
return v0
.end method
.method public draw(Landroid/graphics/Canvas;)V
.locals 1
.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/h;->w:Z
iget-boolean v0, p0, Lf/d/a/h;->i:Z
if-eqz v0, :cond_1
:try_start_0
invoke-virtual {p0, p1}, Lf/d/a/h;->c(Landroid/graphics/Canvas;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
sget-object p1, Lf/d/a/z/c;->a:Lf/d/a/k;
check-cast p1, Lf/d/a/z/b;
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
throw p1
:cond_1
invoke-virtual {p0, p1}, Lf/d/a/h;->c(Landroid/graphics/Canvas;)V
:goto_0
const-string p1, "Drawable#draw"
invoke-static {p1}, Lf/d/a/c;->a(Ljava/lang/String;)F
return-void
.end method
.method public e()F
.locals 1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->h()F
move-result v0
return v0
.end method
.method public f()F
.locals 1
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->e()F
move-result v0
return v0
.end method
.method public g()I
.locals 1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
move-result v0
return v0
.end method
.method public getAlpha()I
.locals 1
iget v0, p0, Lf/d/a/h;->s:I
return v0
.end method
.method public getIntrinsicHeight()I
.locals 2
iget-object v0, p0, Lf/d/a/h;->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/h;->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/h;->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/h;->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()Z
.locals 1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
iget-boolean v0, v0, Lf/d/a/z/d;->n:Z
return v0
.end method
.method public i()V
.locals 6
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$g;
invoke-direct {v1, p0}, Lf/d/a/h$g;-><init>(Lf/d/a/h;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-boolean v0, p0, Lf/d/a/h;->h:Z
if-nez v0, :cond_1
invoke-virtual {p0}, Lf/d/a/h;->g()I
move-result v0
if-nez v0, :cond_5
:cond_1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/d/a/z/d;->n:Z
invoke-virtual {v0}, Lf/d/a/z/d;->i()Z
move-result v1
iget-object v2, v0, Lf/d/a/z/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}, Lf/d/a/z/d;->i()Z
move-result v1
if-eqz v1, :cond_4
invoke-virtual {v0}, Lf/d/a/z/d;->f()F
move-result v1
goto :goto_1
:cond_4
invoke-virtual {v0}, Lf/d/a/z/d;->h()F
move-result v1
:goto_1
float-to-int v1, v1
int-to-float v1, v1
invoke-virtual {v0, v1}, Lf/d/a/z/d;->m(F)V
const-wide/16 v1, 0x0
iput-wide v1, v0, Lf/d/a/z/d;->h:J
const/4 v1, 0x0
iput v1, v0, Lf/d/a/z/d;->j:I
invoke-virtual {v0}, Lf/d/a/z/d;->j()V
:cond_5
iget-boolean v0, p0, Lf/d/a/h;->h:Z
if-nez v0, :cond_7
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iget v0, v0, Lf/d/a/z/d;->f:F
const/4 v1, 0x0
cmpg-float v0, v0, v1
if-gez v0, :cond_6
invoke-virtual {p0}, Lf/d/a/h;->e()F
move-result v0
goto :goto_2
:cond_6
invoke-virtual {p0}, Lf/d/a/h;->d()F
move-result v0
:goto_2
float-to-int v0, v0
invoke-virtual {p0, v0}, Lf/d/a/h;->k(I)V
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->d()V
:cond_7
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, Lf/d/a/h;->w:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lf/d/a/h;->w: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
invoke-virtual {p0}, Lf/d/a/h;->h()Z
move-result v0
return v0
.end method
.method public j()V
.locals 3
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/h;->r:Lf/d/a/w/l/c;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$h;
invoke-direct {v1, p0}, Lf/d/a/h$h;-><init>(Lf/d/a/h;)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-boolean v0, p0, Lf/d/a/h;->h:Z
if-nez v0, :cond_1
invoke-virtual {p0}, Lf/d/a/h;->g()I
move-result v0
if-nez v0, :cond_3
:cond_1
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/d/a/z/d;->n:Z
invoke-virtual {v0}, Lf/d/a/z/d;->j()V
const-wide/16 v1, 0x0
iput-wide v1, v0, Lf/d/a/z/d;->h:J
invoke-virtual {v0}, Lf/d/a/z/d;->i()Z
move-result v1
if-eqz v1, :cond_2
iget v1, v0, Lf/d/a/z/d;->i:F
invoke-virtual {v0}, Lf/d/a/z/d;->h()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_2
invoke-virtual {v0}, Lf/d/a/z/d;->f()F
move-result v1
iput v1, v0, Lf/d/a/z/d;->i:F
goto :goto_0
:cond_2
invoke-virtual {v0}, Lf/d/a/z/d;->i()Z
move-result v1
if-nez v1, :cond_3
iget v1, v0, Lf/d/a/z/d;->i:F
invoke-virtual {v0}, Lf/d/a/z/d;->f()F
move-result v2
cmpl-float v1, v1, v2
if-nez v1, :cond_3
invoke-virtual {v0}, Lf/d/a/z/d;->h()F
move-result v1
iput v1, v0, Lf/d/a/z/d;->i:F
:cond_3
:goto_0
iget-boolean v0, p0, Lf/d/a/h;->h:Z
if-nez v0, :cond_5
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iget v0, v0, Lf/d/a/z/d;->f:F
const/4 v1, 0x0
cmpg-float v0, v0, v1
if-gez v0, :cond_4
invoke-virtual {p0}, Lf/d/a/h;->e()F
move-result v0
goto :goto_1
:cond_4
invoke-virtual {p0}, Lf/d/a/h;->d()F
move-result v0
:goto_1
float-to-int v0, v0
invoke-virtual {p0, v0}, Lf/d/a/h;->k(I)V
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->d()V
:cond_5
return-void
.end method
.method public k(I)V
.locals 2
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$c;
invoke-direct {v1, p0, p1}, Lf/d/a/h$c;-><init>(Lf/d/a/h;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/h;->f:Lf/d/a/z/d;
int-to-float p1, p1
invoke-virtual {v0, p1}, Lf/d/a/z/d;->m(F)V
return-void
.end method
.method public l(I)V
.locals 2
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$k;
invoke-direct {v1, p0, p1}, Lf/d/a/h$k;-><init>(Lf/d/a/h;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/h;->f:Lf/d/a/z/d;
int-to-float p1, p1
const v1, 0x3f7d70a4 # 0.99f
add-float/2addr p1, v1
iget v1, v0, Lf/d/a/z/d;->k:F
invoke-virtual {v0, v1, p1}, Lf/d/a/z/d;->n(FF)V
return-void
.end method
.method public m(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$n;
invoke-direct {v1, p0, p1}, Lf/d/a/h$n;-><init>(Lf/d/a/h;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/w/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/w/h;->b:F
iget v0, v0, Lf/d/a/w/h;->c:F
add-float/2addr p1, v0
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/h;->l(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-09-23 03:12:49 +00:00
invoke-static {v1, p1, v2}, Lf/e/c/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-09-16 23:45:23 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public n(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/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$l;
invoke-direct {v1, p0, p1}, Lf/d/a/h$l;-><init>(Lf/d/a/h;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/z/f;->g(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/h;->l(I)V
return-void
.end method
.method public o(II)V
.locals 2
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$b;
invoke-direct {v1, p0, p1, p2}, Lf/d/a/h$b;-><init>(Lf/d/a/h;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/h;->f:Lf/d/a/z/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}, Lf/d/a/z/d;->n(FF)V
return-void
.end method
.method public p(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$a;
invoke-direct {v1, p0, p1}, Lf/d/a/h$a;-><init>(Lf/d/a/h;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/w/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/w/h;->b:F
float-to-int p1, p1
iget v0, v0, Lf/d/a/w/h;->c:F
float-to-int v0, v0
add-int/2addr v0, p1
invoke-virtual {p0, p1, v0}, Lf/d/a/h;->o(II)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-09-23 03:12:49 +00:00
invoke-static {v1, p1, v2}, Lf/e/c/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-09-16 23:45:23 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public q(I)V
.locals 2
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$i;
invoke-direct {v1, p0, p1}, Lf/d/a/h$i;-><init>(Lf/d/a/h;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/h;->f:Lf/d/a/z/d;
int-to-float p1, p1
iget v1, v0, Lf/d/a/z/d;->l:F
float-to-int v1, v1
int-to-float v1, v1
invoke-virtual {v0, p1, v1}, Lf/d/a/z/d;->n(FF)V
return-void
.end method
.method public r(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$m;
invoke-direct {v1, p0, p1}, Lf/d/a/h$m;-><init>(Lf/d/a/h;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/w/h;
move-result-object v0
if-eqz v0, :cond_1
iget p1, v0, Lf/d/a/w/h;->b:F
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/h;->q(I)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Cannot find marker with name "
const-string v2, "."
2020-09-23 03:12:49 +00:00
invoke-static {v1, p1, v2}, Lf/e/c/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-09-16 23:45:23 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public s(F)V
.locals 2
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$j;
invoke-direct {v1, p0, p1}, Lf/d/a/h$j;-><init>(Lf/d/a/h;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/z/f;->g(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lf/d/a/h;->q(I)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/h;->s:I
invoke-virtual {p0}, Lf/d/a/h;->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/z/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/h;->i()V
return-void
.end method
.method public stop()V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
iget-object v0, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
invoke-virtual {v0}, Lf/d/a/z/d;->d()V
return-void
.end method
.method public t(F)V
.locals 3
.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/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
iget-object v0, p0, Lf/d/a/h;->j:Ljava/util/ArrayList;
new-instance v1, Lf/d/a/h$d;
invoke-direct {v1, p0, p1}, Lf/d/a/h$d;-><init>(Lf/d/a/h;F)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
:cond_0
iget-object v1, p0, Lf/d/a/h;->f:Lf/d/a/z/d;
iget v2, v0, Lf/d/a/d;->k:F
iget v0, v0, Lf/d/a/d;->l:F
invoke-static {v2, v0, p1}, Lf/d/a/z/f;->g(FFF)F
move-result p1
invoke-virtual {v1, p1}, Lf/d/a/z/d;->m(F)V
const-string p1, "Drawable#setProgress"
invoke-static {p1}, Lf/d/a/c;->a(Ljava/lang/String;)F
return-void
.end method
.method public final u()V
.locals 3
iget-object v0, p0, Lf/d/a/h;->e:Lf/d/a/d;
if-nez v0, :cond_0
return-void
:cond_0
iget v1, p0, Lf/d/a/h;->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/h;->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 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-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
invoke-interface {p1, p0, p2}, Landroid/graphics/drawable/Drawable$Callback;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
2020-07-08 16:44:49 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method