75 lines
1.7 KiB
Smali
75 lines
1.7 KiB
Smali
|
.class final Landroidx/recyclerview/widget/DiffUtil$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/util/Comparator;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/recyclerview/widget/DiffUtil;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Object;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"Landroidx/recyclerview/widget/DiffUtil$Snake;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final compare(Landroidx/recyclerview/widget/DiffUtil$Snake;Landroidx/recyclerview/widget/DiffUtil$Snake;)I
|
||
|
.locals 2
|
||
|
|
||
|
iget v0, p1, Landroidx/recyclerview/widget/DiffUtil$Snake;->x:I
|
||
|
|
||
|
iget v1, p2, Landroidx/recyclerview/widget/DiffUtil$Snake;->x:I
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
iget p1, p1, Landroidx/recyclerview/widget/DiffUtil$Snake;->y:I
|
||
|
|
||
|
iget p2, p2, Landroidx/recyclerview/widget/DiffUtil$Snake;->y:I
|
||
|
|
||
|
sub-int/2addr p1, p2
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Landroidx/recyclerview/widget/DiffUtil$Snake;
|
||
|
|
||
|
check-cast p2, Landroidx/recyclerview/widget/DiffUtil$Snake;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/DiffUtil$1;->compare(Landroidx/recyclerview/widget/DiffUtil$Snake;Landroidx/recyclerview/widget/DiffUtil$Snake;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.end method
|