apkfuckery/com.discord/smali/com/airbnb/lottie/d.smali

242 lines
5.5 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/airbnb/lottie/d;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "LottieComposition.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-03-26 19:13:28 +00:00
.field public final fT:Lcom/airbnb/lottie/l;
2019-02-04 20:08:30 +00:00
2019-03-26 19:13:28 +00:00
.field private final fU:Ljava/util/HashSet;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field public fV:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/util/List<",
"Lcom/airbnb/lottie/c/c/d;",
">;>;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field fW:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lcom/airbnb/lottie/g;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field public fX:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lcom/airbnb/lottie/c/c;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field public fY:Landroidx/collection/SparseArrayCompat;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/SparseArrayCompat<",
"Lcom/airbnb/lottie/c/d;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field fZ:Landroidx/collection/LongSparseArray;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/LongSparseArray<",
"Lcom/airbnb/lottie/c/c/d;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field public ga:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/airbnb/lottie/c/c/d;",
">;"
}
.end annotation
.end field
2019-03-26 19:13:28 +00:00
.field public gb:Landroid/graphics/Rect;
.field public gc:F
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field public gd:F
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field public ge:F
2019-02-04 20:08:30 +00:00
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/airbnb/lottie/l;
invoke-direct {v0}, Lcom/airbnb/lottie/l;-><init>()V
2019-03-26 19:13:28 +00:00
iput-object v0, p0, Lcom/airbnb/lottie/d;->fT:Lcom/airbnb/lottie/l;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
2019-03-26 19:13:28 +00:00
iput-object v0, p0, Lcom/airbnb/lottie/d;->fU:Ljava/util/HashSet;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public final aO()F
.locals 2
invoke-virtual {p0}, Lcom/airbnb/lottie/d;->aP()F
move-result v0
2019-03-26 19:13:28 +00:00
iget v1, p0, Lcom/airbnb/lottie/d;->ge:F
2019-02-04 20:08:30 +00:00
div-float/2addr v0, v1
const/high16 v1, 0x447a0000 # 1000.0f
mul-float v0, v0, v1
float-to-long v0, v0
long-to-float v0, v0
return v0
.end method
.method public final aP()F
.locals 2
2019-03-26 19:13:28 +00:00
iget v0, p0, Lcom/airbnb/lottie/d;->gd:F
2019-02-04 20:08:30 +00:00
2019-03-26 19:13:28 +00:00
iget v1, p0, Lcom/airbnb/lottie/d;->gc:F
2019-02-04 20:08:30 +00:00
sub-float/2addr v0, v1
return v0
.end method
.method public final h(J)Lcom/airbnb/lottie/c/c/d;
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/d;->fZ:Landroidx/collection/LongSparseArray;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p1, p2}, Landroidx/collection/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/airbnb/lottie/c/c/d;
return-object p1
.end method
.method public final setPerformanceTrackingEnabled(Z)V
.locals 1
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/d;->fT:Lcom/airbnb/lottie/l;
2019-02-04 20:08:30 +00:00
iput-boolean p1, v0, Lcom/airbnb/lottie/l;->enabled:Z
return-void
.end method
.method public final t(Ljava/lang/String;)V
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const-string v0, "LOTTIE"
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/airbnb/lottie/d;->fU:Ljava/util/HashSet;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public final toString()Ljava/lang/String;
.locals 4
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "LottieComposition:\n"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
iget-object v1, p0, Lcom/airbnb/lottie/d;->ga:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/airbnb/lottie/c/c/d;
const-string v3, "\t"
invoke-virtual {v2, v3}, Lcom/airbnb/lottie/c/c/d;->toString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method