.class public final Lcom/airbnb/lottie/l; .super Ljava/lang/Object; .source "PerformanceTracker.java" # instance fields .field enabled:Z .field private final ha:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Ljava/lang/Object;", ">;" } .end annotation .end field .field private final hb:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/String;", "Lcom/airbnb/lottie/f/d;", ">;" } .end annotation .end field .field private final hc:Ljava/util/Comparator; .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 ()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;->()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;->()V iput-object v0, p0, Lcom/airbnb/lottie/l;->ha:Ljava/util/Set; new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V iput-object v0, p0, Lcom/airbnb/lottie/l;->hb:Ljava/util/Map; new-instance v0, Lcom/airbnb/lottie/l$1; invoke-direct {v0, p0}, Lcom/airbnb/lottie/l$1;->(Lcom/airbnb/lottie/l;)V iput-object v0, p0, Lcom/airbnb/lottie/l;->hc:Ljava/util/Comparator; 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 iget-object v0, p0, Lcom/airbnb/lottie/l;->hb:Ljava/util/Map; 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;->()V iget-object v1, p0, Lcom/airbnb/lottie/l;->hb:Ljava/util/Map; invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; :cond_1 iget v1, v0, Lcom/airbnb/lottie/f/d;->mr:F add-float/2addr v1, p2 iput v1, v0, Lcom/airbnb/lottie/f/d;->mr:F iget p2, v0, Lcom/airbnb/lottie/f/d;->ms:I add-int/lit8 p2, p2, 0x1 iput p2, v0, Lcom/airbnb/lottie/f/d;->ms:I iget p2, v0, Lcom/airbnb/lottie/f/d;->ms:I const v1, 0x7fffffff if-ne p2, v1, :cond_2 iget p2, v0, Lcom/airbnb/lottie/f/d;->mr:F const/high16 v1, 0x40000000 # 2.0f div-float/2addr p2, v1 iput p2, v0, Lcom/airbnb/lottie/f/d;->mr:F iget p2, v0, Lcom/airbnb/lottie/f/d;->ms:I div-int/lit8 p2, p2, 0x2 iput p2, v0, Lcom/airbnb/lottie/f/d;->ms:I :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 iget-object p1, p0, Lcom/airbnb/lottie/l;->ha:Ljava/util/Set; 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