/frameworks/base/tools/aapt2/ |
H A D | Locale.h | 60 inline int compare(const LocaleValue& other) const; 82 int LocaleValue::compare(const LocaleValue& other) const { function in class:aapt::LocaleValue 87 return compare(o) < 0; 91 return compare(o) <= 0; 95 return compare(o) == 0; 99 return compare(o) != 0; 103 return compare(o) >= 0; 107 return compare(o) > 0;
|
H A D | ConfigDescription.h | 150 return compare(o) < 0; 154 return compare(o) <= 0; 158 return compare(o) == 0; 162 return compare(o) != 0; 166 return compare(o) >= 0; 170 return compare(o) > 0;
|
/frameworks/base/tools/split-select/ |
H A D | SplitDescription.h | 34 int compare(const SplitDescription& rhs) const; 51 return compare(rhs) < 0; 55 return compare(rhs) == 0; 59 return compare(rhs) != 0;
|
/frameworks/base/tools/aapt/ |
H A D | ConfigDescription.h | 52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; } 53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; } 54 inline bool operator==(const ConfigDescription& o) const { return compare(o) == 0; } 55 inline bool operator!=(const ConfigDescription& o) const { return compare(o) != 0; } 56 inline bool operator>=(const ConfigDescription& o) const { return compare(o) >= 0; } 57 inline bool operator>(const ConfigDescription& o) const { return compare(o) > 0; }
|
H A D | StringPool.h | 57 int compare(const entry& o) const; 59 inline bool operator<(const entry& o) const { return compare(o) < 0; } 60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 61 inline bool operator==(const entry& o) const { return compare(o) == 0; } 62 inline bool operator!=(const entry& o) const { return compare(o) != 0; } 63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; } 64 inline bool operator>(const entry& o) const { return compare(o) > 0; }
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
H A D | UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 107 return (compare(mManufacturer, accessory.getManufacturer()) && 108 compare(mModel, accessory.getModel()) && 109 compare(mDescription, accessory.getDescription()) && 110 compare(mVersion, accessory.getVersion()) && 111 compare(mUri, accessory.getUri()) && 112 compare(mSerial, accessory.getSerial()));
|
/frameworks/base/libs/hwui/ |
H A D | RenderBufferCache.h | 90 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs); 93 return compare(*this, other) == 0; 97 return compare(*this, other) != 0; 101 return RenderBufferEntry::compare(*this, other) < 0;
|
H A D | PatchCache.h | 101 static int compare(const PatchDescription& lhs, const PatchDescription& rhs); 104 return compare(*this, other) == 0; 108 return compare(*this, other) != 0; 113 return PatchDescription::compare(lhs, rhs) < 0; 118 return PatchDescription::compare(lhs, rhs);
|
H A D | TextDropShadowCache.h | 60 static int compare(const ShadowText& lhs, const ShadowText& rhs); 63 return compare(*this, other) == 0; 67 return compare(*this, other) != 0; 99 return ShadowText::compare(lhs, rhs) < 0; 103 return ShadowText::compare(lhs, rhs);
|
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialogTest.java | 44 int result = mComparator.compare(routeInfo1, routeInfo2); 52 int result = mComparator.compare(routeInfo1, routeInfo2); 60 int result1 = mComparator.compare(routeInfo1, routeInfo2); 65 int result2 = mComparator.compare(routeInfo3, routeInfo4);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationComparator.java | 49 public int compare(NotificationRecord left, NotificationRecord right) { method in class:NotificationComparator 55 return -1 * Boolean.compare(leftImportantColorized, rightImportantColorized); 64 return -1 * Boolean.compare(leftImportantOngoing, rightImportantOngoing); 70 return -1 * Boolean.compare(leftMessaging, rightMessaging); 77 Float.compare(left.getContactAffinity(), right.getContactAffinity()); 86 return -1 * Boolean.compare(leftPeople, rightPeople); 93 return -1 * Integer.compare(leftImportance, rightImportance); 106 return -1 * Integer.compare(leftPackagePriority, rightPackagePriority); 113 return -1 * Integer.compare(leftPriority, rightPriority); 117 return -1 * Long.compare(lef [all...] |
H A D | GlobalSortKeyComparator.java | 29 public int compare(NotificationRecord left, NotificationRecord right) { method in class:GlobalSortKeyComparator
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ArrayMapTests.java | 111 private static boolean compare(Object v1, Object v2) { method in class:ArrayMapTests 131 if (!compare(expValue, gotValue)) { 142 if (!compare(expValue, gotValue)) { 235 if (!compare(entry, realEntry)) { 254 if (!compare(realValue, value)) { 261 if (!compare(realValue, value)) { 275 if (!compare(realValue, value)) { 289 if (!compare(realValue, value)) { 366 if (!compare(oldHash, oldArray)) { 429 if (!compare(mapCop [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberUtilsTest.java | 194 assertTrue(PhoneNumberUtils.compare(null, null)); 195 assertFalse(PhoneNumberUtils.compare(null, "123")); 196 assertFalse(PhoneNumberUtils.compare("123", null)); 281 assertFalse(PhoneNumberUtils.compare("", "")); 283 assertTrue(PhoneNumberUtils.compare("911", "911")); 284 assertFalse(PhoneNumberUtils.compare("911", "18005550911")); 285 assertTrue(PhoneNumberUtils.compare("5555", "5555")); 286 assertFalse(PhoneNumberUtils.compare("5555", "180055555555")); 288 assertTrue(PhoneNumberUtils.compare("+17005554141", "+17005554141")); 289 assertTrue(PhoneNumberUtils.compare(" [all...] |
/frameworks/av/include/media/ |
H A D | StringArray.h | 49 void sort(int (*compare)(const void*, const void*));
|
/frameworks/av/media/libmedia/include/media/ |
H A D | StringArray.h | 49 void sort(int (*compare)(const void*, const void*));
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbAccessory.java | 154 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 163 return (compare(mManufacturer, accessory.getManufacturer()) && 164 compare(mModel, accessory.getModel()) && 165 compare(mDescription, accessory.getDescription()) && 166 compare(mVersion, accessory.getVersion()) && 167 compare(mUri, accessory.getUri()) && 168 compare(mSerial, accessory.getSerial()));
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListBatchedCallbackTest.java | 79 public void compare() { method in class:SortedListBatchedCallbackTest 82 mBatchedCallback.compare(o1, o2); 83 verify(mMockCallback).compare(o1, o2);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.h | 135 static int compare(const Entry& lhs, const Entry& rhs); 138 return compare(*this, other) == 0; 142 return compare(*this, other) != 0; 146 return Entry::compare(*this, other) < 0;
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.h | 137 int compare(const Attribute& rhs) const; 281 inline int XmlPullParser::Attribute::compare(const Attribute& rhs) const { function in class:aapt::xml::XmlPullParser::Attribute 282 int cmp = namespace_uri.compare(rhs.namespace_uri); 284 return name.compare(rhs.name); 288 return compare(rhs) < 0; 292 return compare(rhs) == 0; 296 return compare(rhs) != 0; 307 int cmp = attr.namespace_uri.compare( 311 cmp = attr.name.compare(0, attr.name.size(), rhs.second.data(),
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringEntry.h | 47 bool compare(const llvm::StringRef& pX) { return key().equals(pX); } function in class:mcld::StringEntry 49 bool compare(const llvm::StringRef& pX) const { return key().equals(pX); } function in class:mcld::StringEntry 90 bool compare(const llvm::StringRef pX) { return key().equals(pX); } function in class:mcld::StringEntry 92 bool compare(const llvm::StringRef pX) const { return key().equals(pX); } function in class:mcld::StringEntry
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { method in class:HsvColorComparator
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | SortedList.java | 30 * It keeps items ordered using the {@link Callback#compare(Object, Object)} method and uses 129 * @see Callback#compare(Object, Object) 236 int compare = mCallback.compare(items[rangeStart], currentItem); 237 if (compare > 0) { 241 if (compare == 0) { 305 int compare = mCallback.compare(oldItem, newItem); 306 if (compare > 0) { 312 } else if (compare 698 abstract public int compare(T2 o1, T2 o2); method in class:SortedList.Callback 779 public int compare(T2 o1, T2 o2) { method in class:SortedList.BatchedCallback [all...] |
/frameworks/av/media/libmedia/ |
H A D | StringArray.cpp | 88 void StringArray::sort(int (*compare)(const void*, const void*)) { 89 qsort(mArray, mCurrent, sizeof(char*), compare);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | AppItem.java | 67 int comparison = Integer.compare(category, another.category); 69 comparison = Long.compare(another.total, total);
|