Rabbit-R1/android (non root)/smali/smali_classes2/com/airbnb/lottie/PerformanceTracker$1.smali
2024-05-21 17:08:36 -04:00

119 lines
2.5 KiB
Smali

.class Lcom/airbnb/lottie/PerformanceTracker$1;
.super Ljava/lang/Object;
.source "PerformanceTracker.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/airbnb/lottie/PerformanceTracker;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroidx/core/util/Pair<",
"Ljava/lang/String;",
"Ljava/lang/Float;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/airbnb/lottie/PerformanceTracker;
# direct methods
.method constructor <init>(Lcom/airbnb/lottie/PerformanceTracker;)V
.locals 0
iput-object p1, p0, Lcom/airbnb/lottie/PerformanceTracker$1;->this$0:Lcom/airbnb/lottie/PerformanceTracker;
.line 28
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Landroidx/core/util/Pair;Landroidx/core/util/Pair;)I
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Pair<",
"Ljava/lang/String;",
"Ljava/lang/Float;",
">;",
"Landroidx/core/util/Pair<",
"Ljava/lang/String;",
"Ljava/lang/Float;",
">;)I"
}
.end annotation
.line 30
iget-object p0, p1, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
check-cast p0, Ljava/lang/Float;
invoke-virtual {p0}, Ljava/lang/Float;->floatValue()F
move-result p0
.line 31
iget-object p1, p2, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
check-cast p1, Ljava/lang/Float;
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
move-result p1
cmpl-float p2, p1, p0
if-lez p2, :cond_0
const/4 p0, 0x1
return p0
:cond_0
cmpl-float p0, p0, p1
if-lez p0, :cond_1
const/4 p0, -0x1
return p0
:cond_1
const/4 p0, 0x0
return p0
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 28
check-cast p1, Landroidx/core/util/Pair;
check-cast p2, Landroidx/core/util/Pair;
invoke-virtual {p0, p1, p2}, Lcom/airbnb/lottie/PerformanceTracker$1;->compare(Landroidx/core/util/Pair;Landroidx/core/util/Pair;)I
move-result p0
return p0
.end method