Searched refs:object2 (Results 1 – 4 of 4) sorted by relevance
30 public int compare(Prediction object1, Prediction object2) {32 double score2 = object2.score;
1628 public int compare(AppEntry object1, AppEntry object2) {1629 int compareResult = sCollator.compare(object1.label, object2.label);1633 if (object1.info != null && object2.info != null) {1635 sCollator.compare(object1.info.packageName, object2.info.packageName);1641 return object1.info.uid - object2.info.uid;1648 public int compare(AppEntry object1, AppEntry object2) {1649 if (object1.size < object2.size) return 1;1650 if (object1.size > object2.size) return -1;1651 return ALPHA_COMPARATOR.compare(object1, object2);1658 public int compare(AppEntry object1, AppEntry object2) {[all …]
187 public int compare(Account object1, Account object2) { in compare() argument188 if (object1 == object2) return 0; in compare()190 if (object2 == null) return -1; in compare()191 int result = object1.type.compareTo(object2.type); in compare()193 return object1.name.compareTo(object2.name); in compare()
11771 Pair<ProcessRecord, Integer> object2) { in sortProcessOomList()11772 if (object1.first.setAdj != object2.first.setAdj) { in sortProcessOomList()11773 return object1.first.setAdj > object2.first.setAdj ? -1 : 1; in sortProcessOomList()11775 if (object1.first.setProcState != object2.first.setProcState) { in sortProcessOomList()11776 return object1.first.setProcState > object2.first.setProcState ? -1 : 1; in sortProcessOomList()11778 if (object1.second.intValue() != object2.second.intValue()) { in sortProcessOomList()11779 return object1.second.intValue() > object2.second.intValue() ? -1 : 1; in sortProcessOomList()