apkfuckery/com.discord/smali/com/airbnb/lottie/l$1.smali
2019-03-26 20:13:28 +01:00

92 lines
1.7 KiB
Smali

.class final Lcom/airbnb/lottie/l$1;
.super Ljava/lang/Object;
.source "PerformanceTracker.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/airbnb/lottie/l;
.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 ht:Lcom/airbnb/lottie/l;
# direct methods
.method constructor <init>(Lcom/airbnb/lottie/l;)V
.locals 0
iput-object p1, p0, Lcom/airbnb/lottie/l$1;->ht:Lcom/airbnb/lottie/l;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
check-cast p1, Landroidx/core/util/Pair;
check-cast p2, Landroidx/core/util/Pair;
iget-object p1, p1, 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
iget-object p2, p2, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
check-cast p2, Ljava/lang/Float;
invoke-virtual {p2}, Ljava/lang/Float;->floatValue()F
move-result p2
cmpl-float v0, p2, p1
if-lez v0, :cond_0
const/4 p1, 0x1
return p1
:cond_0
cmpl-float p1, p1, p2
if-lez p1, :cond_1
const/4 p1, -0x1
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method