/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
D | RankedComparatorTest.java | 50 comparator.compare(rank1_1, rank1_1) == 0); in testSimple() 52 comparator.compare(rank1_1, rank1_2) == 0); in testSimple() 55 assertTrue(comparator.compare(rank1_1, rank2) < 0); in testSimple() 56 assertTrue(comparator.compare(rank2, rank1_1) > 0); in testSimple() 65 comparator.compare(knownRank, unknownRank1) < 0); in testUnknownRank() 67 comparator.compare(unknownRank1, knownRank) > 0); in testUnknownRank() 69 comparator.compare(unknownRank1, unknownRank2) == 0); in testUnknownRank() 78 comparator.compare(knownRank, nullRank) < 0); in testNullRank() 80 comparator.compare(nullRank, knownRank) > 0); in testNullRank() 82 comparator.compare(unknownRank, nullRank) == 0); in testNullRank()
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | ExchangeDirectoryProviderTests.java | 158 final int ret = comparator.compare(lhs, rhs); in testNameComparatorEqualsStringLhsIdGreater() 167 final int ret = comparator.compare(lhs, rhs); in testNameComparatorEqualsStringRhsIdGreater() 176 final int ret = comparator.compare(lhs, rhs); in testNameComparatorEqualsEverythingEqual() 185 final int ret = comparator.compare(lhs, rhs); in testNameComparatorLhsGreaterString() 194 final int ret = comparator.compare(lhs, rhs); in testNameComparatorRhsGreaterString() 203 final int ret = comparator.compare(lhs, rhs); in testNameComparatorLhsNoStringLhsGreaterId() 212 final int ret = comparator.compare(lhs, rhs); in testNameComparatorLhsNoStringRhsGreaterId() 221 final int ret = comparator.compare(lhs, rhs); in testNameComparatorRhsNoStringLhsGreaterId() 230 final int ret = comparator.compare(lhs, rhs); in testNameComparatorRhsNoStringRhsGreaterId() 239 final int ret = comparator.compare(lhs, rhs); in testNameComparatorNoStringsLhsWins() [all …]
|
/packages/apps/Mms/tests/src/com/android/mms/util/ |
D | PhoneNumberComparisonTest.java | 32 assertFalse(PhoneNumberUtils.compare("321", "54321")); in testCompareSmsShortcode() 33 assertFalse(PhoneNumberUtils.compare("4321", "54321")); in testCompareSmsShortcode() 34 assertFalse(PhoneNumberUtils.compare("54321", "654321")); in testCompareSmsShortcode() 37 assertFalse(PhoneNumberUtils.compare("54321", "6505554321")); in testCompareSmsShortcode() 38 assertFalse(PhoneNumberUtils.compare("54321", "+16505554321")); in testCompareSmsShortcode() 39 assertFalse(PhoneNumberUtils.compare("654321", "6505654321")); in testCompareSmsShortcode() 40 assertFalse(PhoneNumberUtils.compare("654321", "+16505654321")); in testCompareSmsShortcode()
|
/packages/experimental/procstatlog/ |
D | procstatlog.c | 315 int compare; in diff_stats() local 317 compare = 1; in diff_stats() 319 compare = -1; in diff_stats() 321 compare = compare_data(old_stats, new_stats); in diff_stats() 324 if (compare < 0) { in diff_stats() 330 } else if (compare > 0) { in diff_stats()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumDataAdapter.java | 113 public int compare(PhotoSource.AlbumData a, PhotoSource.AlbumData b) { in compare() method in AlbumDataAdapter.AccountComparator 115 return recency.compare(a, b); in compare() 152 public int compare(PhotoSource.AlbumData a, PhotoSource.AlbumData b) { in compare() method in AlbumDataAdapter.RecencyComparator 154 return title.compare(a, b); in compare() 163 public int compare(PhotoSource.AlbumData a, PhotoSource.AlbumData b) { in compare() method in AlbumDataAdapter.TitleComparator
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ApplicationsState.java | 166 public int compare(AppEntry object1, AppEntry object2) { 174 return sCollator.compare(object1.label, object2.label); 182 public int compare(AppEntry object1, AppEntry object2) { 185 return sCollator.compare(object1.label, object2.label); 193 public int compare(AppEntry object1, AppEntry object2) { 196 return sCollator.compare(object1.label, object2.label); 204 public int compare(AppEntry object1, AppEntry object2) { 207 return sCollator.compare(object1.label, object2.label);
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 89 public int compare(Size size, Size size2) { in add() 91 return Integer.compare(size2.width() * size2.height(), in add() 245 … public int compare(ResolutionBucket resolutionBucket, ResolutionBucket resolutionBucket2) { in parseAvailableSizes() 246 return Integer.compare(resolutionBucket2.maxPixels, resolutionBucket.maxPixels); in parseAvailableSizes()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 1571 public int compare(ItemInfo lhs, ItemInfo rhs) { in filterCurrentWorkspaceItems() 1650 public int compare(ItemInfo lhs, ItemInfo rhs) { in sortWorkspaceItemsSpatially() 2535 public final int compare(ApplicationInfo a, ApplicationInfo b) { in getAppNameComparator() 2537 int result = collator.compare(a.title.toString(), b.title.toString()); in getAppNameComparator() 2551 public final int compare(ApplicationInfo a, ApplicationInfo b) { 2560 public final int compare(AppWidgetProviderInfo a, AppWidgetProviderInfo b) { 2561 return collator.compare(a.label.toString(), b.label.toString()); 2587 public final int compare(LauncherActivityInfo a, LauncherActivityInfo b) { 2605 return mCollator.compare(labelA, labelB); 2619 public final int compare(Object a, Object b) { [all …]
|
/packages/services/Telecomm/libs/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 334 if (token.compare("rt") == 0) in parse_cmd_line() 338 else if (token.compare("a") == 0) in parse_cmd_line() 342 else if (token.compare("p") == 0) in parse_cmd_line()
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 334 if (token.compare("rt") == 0) in parse_cmd_line() 338 else if (token.compare("a") == 0) in parse_cmd_line() 342 else if (token.compare("p") == 0) in parse_cmd_line()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | AccountType.java | 300 public int compare(DataKind object1, DataKind object2) { 517 public int compare(AccountType lhs, AccountType rhs) { in compare() method in AccountType.DisplayLabelComparator 518 return mCollator.compare(getDisplayLabel(lhs), getDisplayLabel(rhs)); in compare()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UsageStatsActivity.java | 68 public final int compare(UsageStats a, UsageStats b) { in compare() method in UsageStatsActivity.AppNameComparator 77 public final int compare(UsageStats a, UsageStats b) { in compare() method in UsageStatsActivity.LastTimeUsedComparator 85 public final int compare(UsageStats a, UsageStats b) { in compare() method in UsageStatsActivity.UsageTimeComparator
|
D | AppPicker.java | 138 compare(MyApplicationInfo a, MyApplicationInfo b) { 139 return collator.compare(a.label, b.label);
|
D | AppWidgetLoader.java | 163 public int compare(Item lhs, Item rhs) { in getItems() 164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CityNameComparator.java | 30 public int compare(CityObj c1, CityObj c2) { in compare() method in CityNameComparator 31 return mCollator.compare(c1.mCityName, c2.mCityName); in compare()
|
D | CityGmtOffsetComparator.java | 26 public int compare(CityObj c1, CityObj c2) { in compare() method in CityGmtOffsetComparator 31 getCityNameComparator().compare(c1, c2); in compare()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
D | ReverseComparator.java | 53 public int compare(T obj1, T obj2) { in compare() method in ReverseComparator 54 return delegate.compare(obj2, obj1); // parameters switched round in compare()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapter.java | 124 public int compare(ContactEntry lhs, ContactEntry rhs) { 126 .compare(lhs.pinned, rhs.pinned) 127 .compare(lhs.name, rhs.name)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 61 if (comparator().compare(e, last()) > 0) return false; in add() 78 public int compare(final SuggestedWordInfo o1, final SuggestedWordInfo o2) { in compare() method in SuggestionResults.SuggestedWordInfoComparator
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 2454 public int compare(ItemInfo lhs, ItemInfo rhs) { in filterCurrentWorkspaceItems() 2525 public int compare(ItemInfo lhs, ItemInfo rhs) { in sortWorkspaceItemsSpatially() 3706 public final int compare(AppInfo a, AppInfo b) { 3708 int result = collator.compare(a.title.toString().trim(), 3724 public final int compare(AppInfo a, AppInfo b) { 3748 public final int compare(LauncherActivityInfoCompat a, LauncherActivityInfoCompat b) { 3766 return mCollator.compare(labelA, labelB); 3781 public final int compare(Object a, Object b) { 3799 return mCollator.compare(labelA, labelB);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | LiveWallpaperListAdapter.java | 154 public int compare(ResolveInfo info1, ResolveInfo info2) { in doInBackground() 155 return mCollator.compare(info1.loadLabel(packageManager), in doInBackground()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 243 public int compare(MergeSlot m1, MergeSlot m2) { in compare() method in ImageListUber.DescendingComparator 253 public int compare(MergeSlot m1, MergeSlot m2) { in compare() method in ImageListUber.AscendingComparator
|
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
D | Listener.java | 82 public int compare(StatusBarNotification lhs, StatusBarNotification rhs) { 85 return Integer.compare(mLhsRanking.getRank(), mRhsRanking.getRank());
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 169 public int compare(ResolveInfo info1, ResolveInfo info2) { in doInBackground() 170 return mCollator.compare(info1.loadLabel(packageManager), in doInBackground()
|