Searched refs:o1 (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 78 public int compare(final SuggestedWordInfo o1, final SuggestedWordInfo o2) { in compare() argument 79 if (o1.mScore > o2.mScore) return -1; in compare() 80 if (o1.mScore < o2.mScore) return 1; in compare() 81 if (o1.mCodePointCount < o2.mCodePointCount) return -1; in compare() 82 if (o1.mCodePointCount > o2.mCodePointCount) return 1; in compare() 83 return o1.mWord.compareTo(o2.mWord); in compare()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | MessageDateComparator.java | 23 public int compare(Message o1, Message o2) { in compare() argument 25 if (o1.getSentDate() == null) { in compare() 30 return o2.getSentDate().compareTo(o1.getSentDate()); in compare()
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
D | MessageDateComparator.java | 22 public int compare(Message o1, Message o2) { in compare() argument 24 if (o1.getSentDate() == null) { in compare() 29 return o2.getSentDate().compareTo(o1.getSentDate()); in compare()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFullScreenFragment.java | 268 public int compare(TimerObj o1, TimerObj o2) { 269 int section1 = getSection(o1); 274 return (o1.mTimeLeft < o2.mTimeLeft) ? -1 : 1; 276 return (o1.mSetupLength < o2.mSetupLength) ? -1 : 1; 310 public int compare(TimerObj o1, TimerObj o2) { in onRestoreInstanceState() 311 return (o1.mTimeLeft < o2.mTimeLeft) ? -1 : 1; in onRestoreInstanceState()
|
D | TimerFragmentAdapter.java | 73 public int compare(TimerObj o1, TimerObj o2) { in populateTimersFromPref() 74 return (o2.mTimerId < o1.mTimerId) ? -1 : 1; in populateTimersFromPref()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AppNameComparator.java | 61 public int compare(String o1, String o2) { in AppNameComparator() 62 return compareTitles(o1, o2); in AppNameComparator()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 57 public int compare(ListItem o1, ListItem o2) { in compare() argument 58 ScanResult o1ScanResult = o1.getScanResult(); in compare()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 806 public static boolean equals(Object o1, Object o2) { in equals() argument 807 return o1 == null ? o2 == null : o1.equals(o2); in equals()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 792 public int compare(ContentValues o1, ContentValues o2) { in compare() argument 793 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare()
|