granularity level: instruction
.class Landroidx/coordinatorlayout/widget/CoordinatorLayout$ViewElevationComparator;
.super Ljava/lang/Object;
.source "CoordinatorLayout.java"
.implements Ljava/util/Comparator;
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/coordinatorlayout/widget/CoordinatorLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "ViewElevationComparator"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroid/view/View;",
">;"
}
.end annotation
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public compare(Landroid/view/View;Landroid/view/View;)I
.locals 1
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getZ(Landroid/view/View;)F
move-result p1
invoke-static {p2}, Landroidx/core/view/ViewCompat;->getZ(Landroid/view/View;)F
move-result p2
cmpl-float v0, p1, p2
if-lez v0, :cond_0
const/4 p1, -0x1
return p1
:cond_0
cmpg-float p1, p1, p2
if-gez p1, :cond_1
const/4 p1, 0x1
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
check-cast p1, Landroid/view/View;
check-cast p2, Landroid/view/View;
invoke-virtual {p0, p1, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$ViewElevationComparator;->compare(Landroid/view/View;Landroid/view/View;)I
move-result p1
return p1
.end method