/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | LegacyVpnPreference.java | 57 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 59 if ((result = another.mState - mState) == 0 && in compareTo() 60 (result = mProfile.name.compareToIgnoreCase(another.mProfile.name)) == 0 && in compareTo() 61 (result = mProfile.type - another.mProfile.type) == 0) { in compareTo() 62 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 67 AppPreference another = (AppPreference) preference; in compareTo() local 68 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) { in compareTo()
|
D | AppPreference.java | 101 AppPreference another = (AppPreference) preference; in compareTo() local 103 if ((result = another.mState - mState) == 0 && in compareTo() 104 (result = mName.compareToIgnoreCase(another.mName)) == 0 && in compareTo() 105 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 106 result = mUserId - another.mUserId; in compareTo() 111 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 112 return -another.compareTo(this); in compareTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetItem.java | 53 public int compareTo(WidgetItem another) { in compareTo() argument 63 boolean otherWorkProfile = !sMyUserHandle.equals(another.user); in compareTo() 68 int labelCompare = sCollator.compare(label, another.label); in compareTo() 76 int otherArea = another.spanX * another.spanY; in compareTo() 78 ? Integer.compare(spanY, another.spanY) in compareTo()
|
D | GridSizeMigrationTask.java | 836 public int compareTo(DbEntry another) { 838 if (another.itemType == Favorites.ITEM_TYPE_APPWIDGET) { 839 return another.spanY * another.spanX - spanX * spanY; 843 } else if (another.itemType == Favorites.ITEM_TYPE_APPWIDGET) { 847 return Float.compare(another.weight, weight);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | SignedLongLong.java | 68 public int compareTo(SignedLongLong another) { in compareTo() argument 69 if(mMostSigBits == another.mMostSigBits) { in compareTo() 70 if(mLeastSigBits == another.mLeastSigBits) { in compareTo() 73 if(mLeastSigBits < another.mLeastSigBits) { in compareTo() 78 if(mMostSigBits < another.mMostSigBits) { in compareTo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapFolderElement.java | 376 public int compareTo(BluetoothMapFolderElement another) { in compareTo() argument 377 if(another == null) return 1; in compareTo() 378 int ret = mName.compareToIgnoreCase(another.mName); in compareTo() 381 ret = mSubFolders.size() - another.mSubFolders.size(); in compareTo() 386 another.mSubFolders.get(subfolder.getName()); in compareTo() 399 " another.mSubFolders.size(): " + another.mSubFolders.size()); in compareTo() 402 if(D) Log.i(TAG, "mName: " + mName + " another.mName: " + another.mName); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CycleAdapter.java | 179 final CycleItem another = (CycleItem) o; in equals() local 180 return start == another.start && end == another.end; in equals() 186 public int compareTo(CycleItem another) { in compareTo() argument 187 return Long.compare(start, another.start); in compareTo()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelNumber.java | 66 public int compareTo(@NonNull ChannelNumber another) { in compareTo() argument 70 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo() 71 int opponentMinor = another.hasDelimiter in compareTo() 72 ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
D | CardView.java | 353 public int compareTo(CardView another) { in compareTo() argument 354 int res = this.getPriority() - another.getPriority(); in compareTo() 357 res = this.mLastUpdated > another.mLastUpdated ? -1 : 1; in compareTo() 359 Log.d(TAG, "Found card with the same priority: " + this + " and " + another + "," in compareTo() 361 + ", another.mLastUpdated:" + another.mLastUpdated + ", res: " + res); in compareTo()
|
/packages/apps/TV/src/com/android/tv/tuner/ |
D | DvbDeviceAccessor.java | 209 public int compareTo(@NonNull DvbDeviceInfoWrapper another) { in compareTo() argument 210 if (getAdapterId() != another.getAdapterId()) { in compareTo() 211 return getAdapterId() - another.getAdapterId(); in compareTo() 213 return getDeviceId() - another.getDeviceId(); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 180 public int compareTo(Preference another) { in compareTo() argument 181 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 183 return super.compareTo(another); in compareTo() 187 .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/apps/Settings/src/com/android/settings/inputmethod/ |
D | PhysicalKeyboardFragment.java | 438 public int compareTo(@NonNull Keyboards another) { in compareTo() argument 439 return mCollator.compare(mDeviceInfo.mDeviceName, another.mDeviceInfo.mDeviceName); in compareTo() 516 KeyboardInfoPreference another = (KeyboardInfoPreference) object; in compareTo() local 517 int result = compare(mImeName, another.mImeName); in compareTo() 519 result = compare(mImSubtypeName, another.mImSubtypeName); 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/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/TV/src/com/android/tv/tuner/data/ |
D | PsipData.java | 98 PsipSection another = (PsipSection) obj; in equals() local 99 return mTableId == another.getTableId() in equals() 100 && mTableIdExtension == another.getTableIdExtension() in equals() 101 && mSectionNumber == another.getSectionNumber(); in equals()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 144 public int compareTo(RawContactInfo another) { in compareTo() argument 146 String thatAccount = another.accountType != null ? another.accountType : ""; in compareTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectorAdapter.java | 79 public int compareTo(FolderRow another) { in compareTo() argument 81 if (equals(another)) { in compareTo() 84 return mFolder.name.compareToIgnoreCase(another.mFolder.name); in compareTo()
|
/packages/apps/TV/src/com/android/tv/customization/ |
D | CustomAction.java | 53 public int compareTo(@NonNull CustomAction another) { in compareTo() argument 54 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/Settings/src/com/android/settings/accounts/ |
D | ChooseAccountActivity.java | 93 public int compareTo(ProviderEntry another) { in compareTo() argument 97 if (another.name == null) { in compareTo() 100 return CharSequences.compareToIgnoreCase(name, another.name); in compareTo()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | PermissionApps.java | 386 public int compareTo(PermissionApp another) { in compareTo() argument 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() argument 71 return mLabel.toString().compareTo(another.mLabel.toString()); 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()
|