Searched refs:o2 (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
H A DMessageDateComparator.java22 public int compare(Message o1, Message o2) { argument
26 } else if (o2.getSentDate() == null) {
29 return o2.getSentDate().compareTo(o1.getSentDate());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggest.java370 public int compare(final SuggestedWordInfo o1, final SuggestedWordInfo o2) { argument
371 if (o1.mScore > o2.mScore) return -1;
372 if (o1.mScore < o2.mScore) return 1;
373 if (o1.mCodePointCount < o2.mCodePointCount) return -1;
374 if (o1.mCodePointCount > o2.mCodePointCount) return 1;
375 return o1.mWord.toString().compareTo(o2.mWord.toString());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java284 BitmapFactory.Options o2 = new BitmapFactory.Options();
285 o2.inSampleSize = scale;
289 return BitmapFactory.decodeStream(is, null, o2);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragment.java298 public int compare(TimerObj o1, TimerObj o2) {
300 int section2 = getSection(o2);
304 return (o1.mTimeLeft < o2.mTimeLeft) ? -1 : 1;
306 return (o1.mSetupLength < o2.mSetupLength) ? -1 : 1;
340 public int compare(TimerObj o1, TimerObj o2) {
341 return (o1.mTimeLeft < o2.mTimeLeft) ? -1 : 1;
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DSmilPlayer.java70 public int compare(TimelineEntry o1, TimelineEntry o2) {
71 return Double.compare(o1.getOffsetTime(), o2.getOffsetTime());
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java650 public static boolean equals(Object o1, Object o2) { argument
651 return o1 == null ? o2 == null : o1.equals(o2);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java801 public int compare(ContentValues o1, ContentValues o2) { argument
803 long id2 = o2.getAsLong(ContactsContract.Data._ID);

Completed in 389 milliseconds