2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lcom/airbnb/lottie/l;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "PerformanceTracker.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field enabled:Z
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.field private final hr:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.field private final hs: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/f/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.field private final ht:Ljava/util/Comparator;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"Landroidx/core/util/Pair<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Float;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/l;->enabled:Z
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/collection/ArraySet;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Landroidx/collection/ArraySet;-><init>()V
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/l;->hr:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/l;->hs:Ljava/util/Map;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/l$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/airbnb/lottie/l$1;-><init>(Lcom/airbnb/lottie/l;)V
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/l;->ht:Ljava/util/Comparator;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Ljava/lang/String;F)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/l;->enabled:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-21 02:16:48 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/l;->hs:Ljava/util/Map;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/airbnb/lottie/f/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/f/d;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/airbnb/lottie/f/d;-><init>()V
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/l;->hs:Ljava/util/Map;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_1
|
2019-02-21 02:16:48 +00:00
|
|
|
iget v1, v0, Lcom/airbnb/lottie/f/d;->mJ:F
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-float/2addr v1, p2
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput v1, v0, Lcom/airbnb/lottie/f/d;->mJ:F
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget p2, v0, Lcom/airbnb/lottie/f/d;->mK:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput p2, v0, Lcom/airbnb/lottie/f/d;->mK:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget p2, v0, Lcom/airbnb/lottie/f/d;->mK:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const v1, 0x7fffffff
|
|
|
|
|
|
|
|
if-ne p2, v1, :cond_2
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget p2, v0, Lcom/airbnb/lottie/f/d;->mJ:F
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/high16 v1, 0x40000000 # 2.0f
|
|
|
|
|
|
|
|
div-float/2addr p2, v1
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput p2, v0, Lcom/airbnb/lottie/f/d;->mJ:F
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget p2, v0, Lcom/airbnb/lottie/f/d;->mK:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
div-int/lit8 p2, p2, 0x2
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iput p2, v0, Lcom/airbnb/lottie/f/d;->mK:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p2, "__container"
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/l;->hr:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
.end method
|