LauncherUtil$ComparatorIcon.smali

.class public Lcom/cleanmaster/base/util/system/LauncherUtil$ComparatorIcon;
.super Ljava/lang/Object;
.source "LauncherUtil.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cleanmaster/base/util/system/LauncherUtil;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "ComparatorIcon"
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 714
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 5

    .prologue
    .line 717
    check-cast p1, Lcom/cm/plugincluster/common/CMShortcutInfo;

    .line 718
    check-cast p2, Lcom/cm/plugincluster/common/CMShortcutInfo;

    .line 719
    iget v0, p1, Lcom/cm/plugincluster/common/CMShortcutInfo;->cellX:I

    iget v1, p2, Lcom/cm/plugincluster/common/CMShortcutInfo;->cellX:I

    if-le v0, v1, :cond_c

    .line 720
    const/4 v0, 0x1

    .line 724
    :goto_b
    return v0

    .line 721
    :cond_c
    iget v0, p1, Lcom/cm/plugincluster/common/CMShortcutInfo;->cellX:I

    iget v1, p2, Lcom/cm/plugincluster/common/CMShortcutInfo;->cellX:I

    if-ge v0, v1, :cond_14

    .line 722
    const/4 v0, -0x1

    goto :goto_b

    .line 724
    :cond_14
    const/4 v0, 0x0

    goto :goto_b
.end method