Searched refs:object1 (Results 1 – 7 of 7) sorted by relevance
426 public int compare(AppOpEntry object1, AppOpEntry object2) {427 if (object1.getSwitchOrder() != object2.getSwitchOrder()) {428 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;430 if (object1.isRunning() != object2.isRunning()) {432 return object1.isRunning() ? -1 : 1;434 if (object1.getTime() != object2.getTime()) {436 return object1.getTime() > object2.getTime() ? -1 : 1;438 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;
300 public int compare(DataKind object1, DataKind object2) {301 return object1.weight - object2.weight;
155 public int compare(Object object1, Object object2) { in sortList()156 CityObj city1 = (CityObj) object1; in sortList()
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();