Searched refs:object1 (Results 1 – 6 of 6) sorted by relevance
441 public int compare(AppOpEntry object1, AppOpEntry object2) {442 if (object1.getSwitchOrder() != object2.getSwitchOrder()) {443 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;445 if (object1.isRunning() != object2.isRunning()) {447 return object1.isRunning() ? -1 : 1;449 if (object1.getTime() != object2.getTime()) {451 return object1.getTime() > object2.getTime() ? -1 : 1;453 return sCollator.compare(object1.getAppEntry().getLabel(),464 public int compare(AppOpEntry object1, AppOpEntry object2) {465 return sCollator.compare(object1.getAppEntry().getLabel(),
728 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument729 if (object1.mUserId != object2.mUserId) { in compare()730 if (object1.mUserId == mMyUserId) return -1; in compare()732 return object1.mUserId < object2.mUserId ? -1 : 1; in compare()734 if (object1.mIsStarted != object2.mIsStarted) { in compare()736 return object1.mIsStarted ? -1 : 1; in compare()738 if (object1.mIsSystem != object2.mIsSystem) { in compare()740 return object1.mIsSystem ? 1 : -1; in compare()742 if (object1.mActiveSince != object2.mActiveSince) { in compare()745 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1; in compare()
149 public int compare(DataKind object1, DataKind object2) {150 return object1.weight - object2.weight;
305 public int compare(DataKind object1, DataKind object2) {306 return object1.weight - object2.weight;
607 public int compare(Object object1, Object object2) { in compare() argument608 WnnWord wnnWord1 = (WnnWord) object1; in compare()
418 public int compare(GroupDelta object1, GroupDelta object2) {419 final Long id1 = object1.getId();