/frameworks/base/core/java/android/util/ |
D | Range.java | 58 if (lower.compareTo(upper) > 0) { in Range() 114 boolean gteLower = value.compareTo(mLower) >= 0; in contains() 115 boolean lteUpper = value.compareTo(mUpper) <= 0; in contains() 134 boolean gteLower = range.mLower.compareTo(mLower) >= 0; in contains() 135 boolean lteUpper = range.mUpper.compareTo(mUpper) <= 0; in contains() 176 if (value.compareTo(mLower) < 0) { in clamp() 178 } else if (value.compareTo(mUpper) > 0) { in clamp() 207 int cmpLower = range.mLower.compareTo(mLower); in intersect() 208 int cmpUpper = range.mUpper.compareTo(mUpper); in intersect() 240 int cmpLower = lower.compareTo(mLower); in intersect() [all …]
|
/frameworks/volley/tests/src/com/android/volley/ |
D | RequestTest.java | 44 assertTrue(low.compareTo(high) > 0); in testCompareTo() 45 assertTrue(high.compareTo(low) < 0); in testCompareTo() 46 assertTrue(low.compareTo(low2) < 0); in testCompareTo() 47 assertTrue(low.compareTo(immediate) > 0); in testCompareTo() 48 assertTrue(immediate.compareTo(high) < 0); in testCompareTo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 151 assertTrue(op1.compareTo(op2) == -1); in testCompareTo() 152 assertTrue("less than not transitive.", op2.compareTo(op1) == 1); in testCompareTo() 153 assertTrue("Expedited sync not smaller than non-expedited.", op1.compareTo(op3) == 1); in testCompareTo() 154 assertTrue("greater than not transitive. ", op3.compareTo(op1) == -1); in testCompareTo() 155 assertTrue("overlapping intervals not correctly compared.", op1.compareTo(op4) == -1); in testCompareTo() 156 assertTrue("equality not transitive.", op4.compareTo(op1) == 1); in testCompareTo()
|
/frameworks/base/sax/java/android/sax/ |
D | Children.java | 45 && current.uri.compareTo(uri) == 0 in getOrCreate() 46 && current.localName.compareTo(localName) == 0) { in getOrCreate() 75 && current.uri.compareTo(uri) == 0 in get() 76 && current.localName.compareTo(localName) == 0) { in get()
|
D | RootElement.java | 143 if (root.uri.compareTo(uri) != 0 in startRoot() 144 || root.localName.compareTo(localName) != 0) { in startRoot()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 43 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in sortDistinctRanges() 45 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in sortDistinctRanges() 66 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 70 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges() 77 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() 98 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in binarySearchDistinctRanges() 100 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in binarySearchDistinctRanges()
|
D | FocusRequester.java | 96 return mClientId.compareTo(otherClient) == 0; in hasSameClient() 112 return mPackageName.compareTo(pack) == 0; in hasSamePackage()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | Sorter.java | 21 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings() 23 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings()
|
/frameworks/base/tools/preload/ |
D | LoadedClass.java | 122 public int compareTo(LoadedClass o) { in compareTo() method in LoadedClass 123 return name.compareTo(o.name); in compareTo()
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 189 public int compareTo(NetworkIdentity another) { in compareTo() method in NetworkIdentity 195 res = mSubscriberId.compareTo(another.mSubscriberId); in compareTo() 198 res = mNetworkId.compareTo(another.mNetworkId); in compareTo()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | MediaSizeUtils.java | 97 return lhsStandard.compareTo(rhsStandard); in compare() 101 compareTo(rhs.getLabel(mContext.getPackageManager())); in compare()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 98 public int compareTo(NetworkIdentitySet another) { in compareTo() method in NetworkIdentitySet 104 return ident.compareTo(anotherIdent); in compareTo()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 253 public int compareTo(ComponentName that) { in compareTo() method in ComponentName 255 v = this.mPackage.compareTo(that.mPackage); in compareTo() 259 return this.mClass.compareTo(that.mClass); in compareTo()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 313 public int compareTo(TimeZoneInfo other) { in compareTo() method in TimeZoneInfo 328 int diff = this.mCountry.compareTo(other.mCountry); in compareTo() 342 return this.mDisplayName.compareTo(other.mDisplayName); in compareTo() 344 return this.mTz.getDisplayName(Locale.getDefault()).compareTo( in compareTo()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 441 left.compareTo(right) < 0); in assertLessThan() 443 right.compareTo(left) > 0); in assertLessThan() 448 left.compareTo(right) > 0); in assertGreaterThan() 450 right.compareTo(left) < 0); in assertGreaterThan() 455 left.compareTo(right) == 0); in assertCompareEquals() 457 right.compareTo(left) == 0); in assertCompareEquals()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestGrouping.java | 192 int result = class1.getSimpleName().compareTo(class2.getSimpleName()); in compare() 196 return class1.getName().compareTo(class2.getName()); in compare() 209 return class1.getName().compareTo(class2.getName()); in compare()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 199 public int compareTo(HardwareConfig hw) { in compareTo() method in HardwareConfig 203 return (one.compareTo(two)); in compareTo()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 97 public int compareTo(ImeSubtypeListItem other) { in compareTo() method in InputMethodSubtypeSwitchingController.ImeSubtypeListItem 105 return mImeName.toString().compareTo(other.mImeName.toString()); in compareTo() 128 return mSubtypeName.toString().compareTo(other.mSubtypeName.toString()); in compareTo() 186 return imi1.getId().compareTo(imi2.getId()); 190 return imiId1.toString().compareTo(imiId2.toString());
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | GlobalSortKeyComparator.java | 32 return left.getGlobalSortKey().compareTo(right.getGlobalSortKey()); in compare()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CaptureCollector.java | 245 public int compareTo(CaptureHolder captureHolder) { in compareTo() method in CaptureCollector.CaptureHolder 254 return o instanceof CaptureHolder && compareTo((CaptureHolder) o) == 0; in equals() 573 ((h1.compareTo(h2) <= 0) ? h1 : in failNextPreview() 600 ((h1.compareTo(h2) <= 0) ? h1 : in failNextJpeg()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthAdapter.java | 194 return value.compareTo(mMinDate) >= 0 && value.compareTo(mMaxDate) <= 0; in isCalendarInRange()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 107 public int compareTo(PreferenceLayout other) { in compareTo() method in PreferenceGroupAdapter.PreferenceLayout 108 int compareNames = name.compareTo(other.name); in compareTo()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 82 public int compareTo(BatterySipper other) { in compareTo() method in BatterySipper
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CommandDetails.java | 44 public boolean compareTo(CommandDetails other) { in compareTo() method in CommandDetails
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 100 public int compareTo(KeyboardLayout another) { in compareTo() method in KeyboardLayout
|