Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 10 of 10) 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/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFullScreenFragment.java330 public int compare(TimerObj o1, TimerObj o2) {
331 int section1 = getSection(o1);
336 return (o1.mTimeLeft < o2.mTimeLeft) ? -1 : 1;
338 return (o1.mSetupLength < o2.mSetupLength) ? -1 : 1;
372 public int compare(TimerObj o1, TimerObj o2) { in onRestoreInstanceState()
373 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/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsBrowseInfo.java53 public int compare(AppInfo o1, AppInfo o2) { in compare() argument
54 return o1.getName().compareToIgnoreCase(o2.getName()); in compare()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java60 public int compare(ListItem o1, ListItem o2) { in compare() argument
61 ScanResult o1ScanResult = o1.getScanResult(); in compare()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java72 public int compare(TimelineEntry o1, TimelineEntry o2) {
73 return Double.compare(o1.getOffsetTime(), o2.getOffsetTime());
/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.java798 public int compare(ContentValues o1, ContentValues o2) { in compare() argument
799 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...