Searched refs:compare (Results 101 - 125 of 278) sorted by relevance

1234567891011>>

/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/
H A DSupport13Demos.java116 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
117 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/
H A DSupport4Demos.java116 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
117 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/
H A DSupport7Demos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/
H A DSupportDesignDemos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/frameworks/support/samples/SupportPercentDemos/src/com/example/android/support/percent/
H A DSupportPercentDemos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/
H A DSupport13Demos.java116 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
117 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/
H A DSupport4Demos.java116 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
117 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/
H A DSupport7Demos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/
H A DSupportDesignDemos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/samples/SupportPercentDemos/src/com/example/android/support/percent/
H A DSupportPercentDemos.java118 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
119 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java50 public int compare(Item o1, Item o2) {
51 return mCallback.compare(o1, o2);
69 public int compare(Item o1, Item o2) {
315 final int compare = mCallback.compare(mList.get(i - 1), item);
316 assertTrue(context + ": incorrect sorting order @" + i, compare <= 0);
318 if (compare == 0) {
537 assertEquals(0, mCallback.compare(item, items[i]));
/frameworks/base/core/java/android/text/format/
H A DTime.java328 * @param a first {@code Time} instance to compare
329 * @param b second {@code Time} instance to compare
336 public static int compare(Time a, Time b) { method in class:Time
345 return TimeCalculator.compare(a.calculator, b.calculator);
845 * Equivalent to {@code Time.compare(this, that) < 0}. See
846 * {@link #compare(Time, Time)} for details.
848 * @param that a given Time object to compare against
852 return Time.compare(this, that) < 0;
861 * Equivalent to {@code Time.compare(this, that) > 0}. See
862 * {@link #compare(Tim
1207 public static int compare(TimeCalculator aObject, TimeCalculator bObject) { method in class:Time.TimeCalculator
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java1236 public int compare(AppEntry object1, AppEntry object2) {
1237 int compareResult = sCollator.compare(object1.label, object2.label);
1243 sCollator.compare(object1.info.packageName, object2.info.packageName);
1255 public int compare(AppEntry object1, AppEntry object2) {
1258 return ALPHA_COMPARATOR.compare(object1, object2);
1265 public int compare(AppEntry object1, AppEntry object2) {
1268 return ALPHA_COMPARATOR.compare(object1, object2);
1275 public int compare(AppEntry object1, AppEntry object2) {
1278 return ALPHA_COMPARATOR.compare(object1, object2);
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp554 int32_t NuPlayer::CCDecoder::CCTrack::compare(const NuPlayer::CCDecoder::CCTrack& rhs) const { function in class:android::NuPlayer::CCDecoder::CCTrack
561 return compare(rhs) < 0;
565 return compare(rhs) == 0;
569 return compare(rhs) != 0;
/frameworks/base/libs/common_time/
H A Dutils.cpp94 if ((NULL != last) && !last->s.compare(s)) {
/frameworks/base/libs/hwui/
H A DLayerCache.cpp66 int LayerCache::LayerEntry::compare(const LayerCache::LayerEntry& lhs, function in class:android::uirenderer::LayerCache::LayerEntry
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DShared.java171 return sCollator.compare(lhs, rhs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java368 public int compare(EventHandler h1, EventHandler h2) {
374 return Long.compare(h2.subscriber.registrationTime, h1.subscriber.registrationTime);
670 public int compare(Class<?> o1, Class<?> o2) {
686 public int compare(Class<?> o1, Class<?> o2) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java287 if (Float.compare(getDimAlpha(), toTransform.dimAlpha) != 0) {
290 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) {
302 if (Float.compare(getDimAlpha(), toTransform.dimAlpha) != 0) {
307 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) {
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp33 int SplitDescription::compare(const SplitDescription& rhs) const { function in class:split::SplitDescription
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java446 public final int compare(ResolveInfo a, ResolveInfo b) { method in class:ResolveInfo.DisplayNameComparator
459 return mCollator.compare(sa.toString(), sb.toString());
/frameworks/base/core/jni/
H A Dfd_utils-inl.h254 if (path.compare(0, kFrameworksPrefix.size(), kFrameworksPrefix) == 0 &&
255 path.compare(path.size() - kJarSuffix.size(), kJarSuffix.size(), kJarSuffix) == 0) {
/frameworks/base/media/java/android/media/
H A DUtils.java40 public int compare(Range<T> lhs, Range<T> rhs) {
95 public int compare(Range<T> lhs, Range<T> rhs) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java313 public int compare(Tile lhs, Tile rhs) {
321 public int compare(DashboardCategory lhs, DashboardCategory rhs) {

Completed in 456 milliseconds

1234567891011>>