Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSuggestionResults.java78 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/
DMessageDateComparator.java23 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/
DMessageDateComparator.java22 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/
DTimerFullScreenFragment.java268 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()
DTimerFragmentAdapter.java73 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/
DAppNameComparator.java61 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/
DSelectFromListWizardFragment.java57 public int compare(ListItem o1, ListItem o2) { in compare() argument
58 ScanResult o1ScanResult = o1.getScanResult(); in compare()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java806 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/
DBaseContactsProvider2Test.java792 public int compare(ContentValues o1, ContentValues o2) { in compare() argument
793 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare()