/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | LegacyVpnPreference.java | 60 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 62 if ((result = another.mState - mState) == 0 && in compareTo() 63 (result = mProfile.name.compareToIgnoreCase(another.mProfile.name)) == 0 && in compareTo() 64 (result = mProfile.type - another.mProfile.type) == 0) { in compareTo() 65 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 70 AppPreference another = (AppPreference) preference; in compareTo() local 71 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) { in compareTo()
|
D | AppPreference.java | 102 AppPreference another = (AppPreference) preference; in compareTo() local 104 if ((result = another.mState - mState) == 0 && in compareTo() 105 (result = mName.compareToIgnoreCase(another.mName)) == 0 && in compareTo() 106 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 107 result = mUserId - another.mUserId; in compareTo() 112 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 113 return -another.compareTo(this); in compareTo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | LegacyVpnPreference.java | 60 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 62 if ((result = another.mState - mState) == 0 && in compareTo() 63 (result = mProfile.name.compareToIgnoreCase(another.mProfile.name)) == 0 && in compareTo() 64 (result = mProfile.type - another.mProfile.type) == 0) { in compareTo() 65 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 70 AppPreference another = (AppPreference) preference; in compareTo() local 71 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) { in compareTo()
|
D | AppPreference.java | 102 AppPreference another = (AppPreference) preference; in compareTo() local 104 if ((result = another.mState - mState) == 0 && in compareTo() 105 (result = mName.compareToIgnoreCase(another.mName)) == 0 && in compareTo() 106 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 107 result = mUserId - another.mUserId; in compareTo() 112 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 113 return -another.compareTo(this); in compareTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetItem.java | 55 public int compareTo(WidgetItem another) { in compareTo() argument 65 boolean otherWorkProfile = !sMyUserHandle.equals(another.user); in compareTo() 70 int labelCompare = sCollator.compare(label, another.label); in compareTo() 78 int otherArea = another.spanX * another.spanY; in compareTo() 80 ? Integer.compare(spanY, another.spanY) in compareTo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | SignedLongLong.java | 70 public int compareTo(SignedLongLong another) { in compareTo() argument 71 if (mMostSigBits == another.mMostSigBits) { in compareTo() 72 if (mLeastSigBits == another.mLeastSigBits) { in compareTo() 75 if (mLeastSigBits < another.mLeastSigBits) { in compareTo() 80 if (mMostSigBits < another.mMostSigBits) { in compareTo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapFolderElement.java | 407 public int compareTo(BluetoothMapFolderElement another) { in compareTo() argument 408 if (another == null) { in compareTo() 411 int ret = mName.compareToIgnoreCase(another.mName); in compareTo() 414 ret = mSubFolders.size() - another.mSubFolders.size(); in compareTo() 419 another.mSubFolders.get(subfolder.getName()); in compareTo() 437 + " another.mSubFolders.size(): " + another.mSubFolders.size()); in compareTo() 442 Log.i(TAG, "mName: " + mName + " another.mName: " + another.mName); in compareTo()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 109 public int compareTo(@NonNull Preference another) { in compareTo() argument 110 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 112 return super.compareTo(another); in compareTo() 116 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | CycleAdapter.java | 209 final CycleItem another = (CycleItem) o; in equals() local 210 return start == another.start && end == another.end; in equals() 216 public int compareTo(CycleItem another) { in compareTo() argument 217 return Long.compare(start, another.start); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CycleAdapter.java | 209 final CycleItem another = (CycleItem) o; in equals() local 210 return start == another.start && end == another.end; in equals() 216 public int compareTo(CycleItem another) { in compareTo() argument 217 return Long.compare(start, another.start); in compareTo()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelNumber.java | 83 public int compareTo(@NonNull ChannelNumber another) { in compareTo() argument 87 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo() 88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ProviderEntry.java | 30 public int compareTo(ProviderEntry another) { in compareTo() argument 34 if (another.name == null) { in compareTo() 37 return CharSequences.compareToIgnoreCase(name, another.name); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ProviderEntry.java | 30 public int compareTo(ProviderEntry another) { in compareTo() argument 34 if (another.name == null) { in compareTo() 37 return CharSequences.compareToIgnoreCase(name, another.name); in compareTo()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ |
D | DvbDeviceAccessor.java | 206 public int compareTo(@NonNull DvbDeviceInfoWrapper another) { in compareTo() argument 207 if (getAdapterId() != another.getAdapterId()) { in compareTo() 208 return getAdapterId() - another.getAdapterId(); in compareTo() 210 return getDeviceId() - another.getDeviceId(); in compareTo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDevicePreference.java | 194 public int compareTo(Preference another) { in compareTo() argument 195 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 197 return super.compareTo(another); in compareTo() 201 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 197 public int compareTo(Preference another) { in compareTo() argument 198 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 200 return super.compareTo(another); in compareTo() 204 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 191 public int compareTo(ContactListFilter another) { in compareTo() argument 192 int res = accountName.compareTo(another.accountName); in compareTo() 197 res = accountType.compareTo(another.accountType); in compareTo() 202 return filterType - another.filterType; in compareTo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 42 public int compareTo(LookupKeySegment another) { in compareTo() argument 43 if (contactId > another.contactId) { in compareTo() 46 if (contactId < another.contactId) { in compareTo()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 177 public int compareTo(ContactListFilter another) { in compareTo() argument 178 int res = accountName.compareTo(another.accountName); in compareTo() 183 res = accountType.compareTo(another.accountType); in compareTo() 188 return filterType - another.filterType; in compareTo()
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomAction.java | 50 public int compareTo(@NonNull CustomAction another) { in compareTo() argument 51 return mPositionPriority - another.mPositionPriority; in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ControlPoint.java | 55 public int compareTo(Object another) { in compareTo() argument 56 ControlPoint p = (ControlPoint) another; in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | DateBucket.java | 60 public int compareTo(DateBucket another) { in compareTo() argument 61 return this.date.compareTo(another.date); in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Face.java | 62 public int compareTo(Face another) { in compareTo() argument 63 return mName.compareTo(another.mName); in compareTo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | MatchScore.java | 140 public int compareTo(MatchScore another) { in compareTo() argument 141 return another.getScore() - getScore(); in compareTo()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | PermissionGroup.java | 86 public int compareTo(PermissionGroup another) { in compareTo() argument 87 return mLabel.toString().compareTo(another.mLabel.toString()); in compareTo()
|