Searched refs:object2 (Results 1 – 4 of 4) sorted by relevance
30 public int compare(Prediction object1, Prediction object2) {32 double score2 = object2.score;
1682 public int compare(AppEntry object1, AppEntry object2) {1683 int compareResult = sCollator.compare(object1.label, object2.label);1687 if (object1.info != null && object2.info != null) {1689 sCollator.compare(object1.info.packageName, object2.info.packageName);1695 return object1.info.uid - object2.info.uid;1702 public int compare(AppEntry object1, AppEntry object2) {1703 if (object1.size < object2.size) return 1;1704 if (object1.size > object2.size) return -1;1705 return ALPHA_COMPARATOR.compare(object1, object2);1712 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()
4198 Pair<ProcessRecord, Integer> object2) { in sortProcessOomList()4199 final int adj = object2.first.mState.getSetAdj() - object1.first.mState.getSetAdj(); in sortProcessOomList()4203 final int procState = object2.first.mState.getSetProcState() in sortProcessOomList()4208 final int val = object2.second - object1.second; in sortProcessOomList()