/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | UnifiedReal.java | 386 if (CR.valueOf(intScaled).compareTo(scaled.abs()) > 0) { in toStringTruncated() 389 check(CR.valueOf(intScaled).compareTo(scaled.abs()) < 0); in toStringTruncated() 446 || crValue().compareTo(u.crValue(), DEFAULT_COMPARE_TOLERANCE) != 0; 454 public int compareTo(UnifiedReal u) { 458 return signum * mRatFactor.compareTo(u.mRatFactor); 460 return crValue().compareTo(u.crValue()); // Can also diverge. 467 public int compareTo(UnifiedReal u, int a) { 469 return compareTo(u); 471 return crValue().compareTo(u.crValue(), a); 479 return compareTo(ZERO, a); [all …]
|
D | BoundedRational.java | 190 public int compareTo(BoundedRational r) { in compareTo() method in BoundedRational 193 return mNum.multiply(r.mDen).compareTo(r.mNum.multiply(mDen)) * mDen.signum() in compareTo() 202 return compareTo(r) == 0; in equals()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 99 public int compareTo(Preference preference) { in compareTo() method in AppPreference 105 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 112 return -another.compareTo(this); in compareTo() 114 return super.compareTo(preference); in compareTo()
|
D | LegacyVpnPreference.java | 55 public int compareTo(Preference preference) { in compareTo() method in LegacyVpnPreference 62 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 74 return super.compareTo(preference); in compareTo()
|
D | AppVpnInfo.java | 23 public int compareTo(Object other) { in compareTo() method in AppVpnInfo 26 int result = packageName.compareTo(that.packageName); in compareTo()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | NewestFirstComparator.java | 64 cmp = d1Data.getTitle().compareTo(d2Data.getTitle()); in compare() 74 return v1.compareTo(v2) * -1; in compareDate() 86 return mNow.compareTo(date) < 0; in isFuture()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ComparableTester.java | 87 + " is <0", true, leftItem.compareTo(rightItem) < 0); in assertLess() 102 + " is >0", true, leftItem.compareTo(rightItem) > 0); in assertMore() 111 Assert.assertEquals(lhs + " compareTo " + rhs, 0, lhs.compareTo(rhs)); in assertZero()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactDeltaComparator.java | 84 value = type1.accountType.compareTo(type2.accountType); in compare() 99 value = type1.dataSet.compareTo(type2.dataSet); in compare() 115 value = oneAccount.compareTo(twoAccount); in compare()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 191 public int compareTo(ContactListFilter another) { in compareTo() method in ContactListFilter 192 int res = accountName.compareTo(another.accountName); in compareTo() 197 res = accountType.compareTo(another.accountType); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 191 public int compareTo(Preference another) { in compareTo() method in BluetoothDevicePreference 194 return super.compareTo(another); in compareTo() 198 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectorAdapter.java | 79 public int compareTo(FolderRow another) { in compareTo() method in FolderSelectorAdapter.FolderRow 173 public int compareTo(TreeNode o) { in compareTo() method in FolderSelectorAdapter.TreeNode 176 return mWrappedObject.compareTo(o.mWrappedObject); in compareTo()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | PermissionApps.java | 386 public int compareTo(PermissionApp another) { in compareTo() method in PermissionApps.PermissionApp 387 final int result = mLabel.compareTo(another.mLabel); in compareTo() 390 return getKey().compareTo(another.getKey()); in compareTo()
|
D | PermissionGroup.java | 70 public int compareTo(PermissionGroup another) { in compareTo() method in PermissionGroup 71 return mLabel.toString().compareTo(another.mLabel.toString()); in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | DateBucket.java | 60 public int compareTo(DateBucket another) { in compareTo() method in DateBucket 61 return this.date.compareTo(another.date); in compareTo()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreference.java | 55 public int compareTo(Preference other) { in compareTo() method in DownloadsFilePreference 67 comparison = file.compareTo(otherFile); in compareTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AppInfoComparator.java | 52 result = a.componentName.compareTo(b.componentName); in compare() 62 return aUserSerial.compareTo(bUserSerial); in compare()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ScanResultComparator.java | 70 return security1.compareTo(security2); in compare() 72 return result1.SSID.compareTo(result2.SSID); in compare()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Face.java | 62 public int compareTo(Face another) { in compareTo() method in Face 63 return mName.compareTo(another.mName); in compareTo()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 177 public int compareTo(ContactListFilter another) { in compareTo() method in ContactListFilter 178 int res = accountName.compareTo(another.accountName); in compareTo() 183 res = accountType.compareTo(another.accountType); in compareTo()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelephonyUtil.java | 105 retval = pkg1.compareTo(pkg2); in sortSimPhoneAccounts() 112 retval = label1.compareTo(label2); in sortSimPhoneAccounts()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelNumber.java | 65 public int compareTo(@NonNull ChannelNumber another) { in compareTo() method in ChannelNumber 128 return lhsNumber.compareTo(rhsNumber); in compare()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreferenceTest.java | 92 assertThat(preference.compareTo(otherPreference)).isGreaterThan(0); in compareTo_biggerFileSortsAhead() 106 assertThat(preference.compareTo(otherPreference)).isLessThan(0); in compareTo_fallbackToFileName()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
D | BandController.java | 729 public int compareTo(GridModel.Limits other) { in compareTo() method in BandController.GridModel.Limits 866 public int compareTo(GridModel.RelativeCoordinate other) { in compareTo() method in BandController.GridModel.RelativeCoordinate 945 return first.compareTo(second) < 0 ? first : second; in min() 949 return first.compareTo(second) > 0 ? first : second; in max()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
D | ContactEntry.java | 86 public int compareTo(ContactEntry strequentContactEntry) { in compareTo() method in ContactEntry 146 return one.compareTo(two); in compare()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TimeZoneFragment.java | 135 final int firstResult = zone1.offset.compareTo(zone2.offset); in compare() 139 return zone1.getTitle().toString().compareTo(zone2.getTitle().toString()); in compare()
|