/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
H A D | ContactInfo.java | 95 ContactInfo other = (ContactInfo) obj; 96 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) { 99 if (!TextUtils.equals(name, other.name)) { 102 if (!TextUtils.equals(nameAlternative, other.nameAlternative)) { 105 if (type != other.type) { 108 if (!TextUtils.equals(label, other.label)) { 111 if (!TextUtils.equals(number, other.number)) { 114 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) { 117 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) { 120 if (photoId != other [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ControlPoint.java | 33 public boolean sameValues(ControlPoint other) { argument 34 if (this == other) { 37 if (other == null) { 41 if (Float.floatToIntBits(x) != Float.floatToIntBits(other.x)) { 44 if (Float.floatToIntBits(y) != Float.floatToIntBits(other.y)) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | UserAppInfo.java | 39 public boolean equals(Object other) { argument 40 if (other == this) { 43 if (other == null || getClass() != other.getClass()) { 46 final UserAppInfo that = (UserAppInfo) other;
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | AppVpnInfo.java | 23 public int compareTo(Object other) { argument 24 AppVpnInfo that = (AppVpnInfo) other; 34 public boolean equals(Object other) { argument 35 if (other instanceof AppVpnInfo) { 36 AppVpnInfo that = (AppVpnInfo) other;
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
H A D | ContactInfoRequest.java | 82 ContactInfoRequest other = (ContactInfoRequest) obj; 84 if (!TextUtils.equals(number, other.number)) { 87 if (!TextUtils.equals(countryIso, other.countryIso)) { 90 if (!Objects.equals(callLogInfo, other.callLogInfo)) { 94 if (type != other.type) { 111 public int compareTo(ContactInfoRequest other) { argument 113 if (isLocalRequest() && !other.isLocalRequest()) { 116 if (!isLocalRequest() && other.isLocalRequest()) { 120 return sequenceNumber < other.sequenceNumber ? -1 : 1;
|
H A D | NumberWithCountryIso.java | 46 NumberWithCountryIso other = (NumberWithCountryIso) o; 47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SuggestionData.java | 248 SuggestionData other = (SuggestionData)obj; 250 if (other.mFormat != null) 252 } else if (!mFormat.equals(other.mFormat)) 255 if (other.mIcon1 != null) 257 } else if (!mIcon1.equals(other.mIcon1)) 260 if (other.mIcon2 != null) 262 } else if (!mIcon2.equals(other.mIcon2)) 265 if (other.mIntentAction != null) 267 } else if (!mIntentAction.equals(other.mIntentAction)) 270 if (other [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | SimpleDate.java | 79 SimpleDate other = (SimpleDate) obj; 80 if (year != other.year) { 83 if (month != other.month) { 86 if (day != other.day) { 93 public int compareTo(SimpleDate other) { argument 94 int yearDiff = this.year - other.getYear(); 98 int monthDiff = this.month - other.getMonth(); 102 return this.day - other.getDay();
|
H A D | DateBucket.java | 48 DateBucket other = (DateBucket) obj; 50 if (other.date != null) { 53 } else if (!date.equals(other.date)) {
|
H A D | IngestObjectInfo.java | 99 IngestObjectInfo other = (IngestObjectInfo) obj; 100 if (mCompressedSize != other.mCompressedSize) { 103 if (mDateCreated != other.mDateCreated) { 106 if (mFormat != other.mFormat) { 109 if (mHandle != other.mHandle) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAccountItem.java | 94 public int compareTo(BluetoothMapAccountItem other) { argument 96 if(!other.mId.equals(this.mId)){ 97 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); 100 if(!other.mName.equals(this.mName)){ 101 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); 104 if(!other.mPackageName.equals(this.mPackageName)){ 106 + other.mPackageName); 109 if(!other.mProviderAuthority.equals(this.mProviderAuthority)){ 111 + other.mProviderAuthority); 114 if(other [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
H A D | CallFilteringResult.java | 37 public CallFilteringResult combine(CallFilteringResult other) { argument 38 if (other == null) { 43 shouldAllowCall && other.shouldAllowCall, 44 shouldReject || other.shouldReject, 45 shouldAddToCallLog && other.shouldAddToCallLog, 46 shouldShowNotification && other.shouldShowNotification);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
H A D | PermissionGroup.java | 88 PermissionGroup other = (PermissionGroup) obj; 91 if (other.mName != null) { 94 } else if (!mName.equals(other.mName)) { 98 if (mTotal != other.mTotal) { 102 if (mGranted != other.mGranted) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardId.java | 125 private boolean equals(final KeyboardId other) { argument 126 if (other == this) 128 return other.mElementId == mElementId 129 && other.mMode == mMode 130 && other.mWidth == mWidth 131 && other.mHeight == mHeight 132 && other.passwordInput() == passwordInput() 133 && other.mClobberSettingsKey == mClobberSettingsKey 134 && other.mHasShortcutKey == mHasShortcutKey 135 && other 182 equals(final Object other) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/device/ |
H A D | CameraDeviceKey.java | 25 * device key may be active at any given time and other devices must be closed 86 CameraDeviceKey other = (CameraDeviceKey) o; 88 if (mApiType != other.mApiType) { 91 if (!mCameraId.equals(other.mCameraId)) {
|
H A D | CameraId.java | 94 public boolean equals(Object other) { argument 95 if (this == other) { 98 if (! (other instanceof CameraId)) { 102 CameraId otherCameraId = (CameraId) other;
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AspectRatio.java | 137 * (portrait vs. landscape) of the other. 139 public AspectRatio withOrientationOf(AspectRatio other) { argument 140 if (other.isPortrait()) { 148 * @return True if this aspect ratio is wider than the other. 150 public boolean isWiderThan(AspectRatio other) { argument 151 // this.mWidth other.mWidth 153 // this.mHeight other.mHeight 154 return this.mWidth * other.mHeight > other.mWidth * this.mHeight; 158 * @return True if this aspect ratio is taller than the other 160 isTallerThan(AspectRatio other) argument [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
H A D | Channel.java | 290 Channel other = (Channel) o; 292 return mId == other.mId && TextUtils.equals(mInputId, other.mInputId) 293 && mIsPassthrough == other.mIsPassthrough; 330 * Check whether {@code other} has same read-only channel info as this. But, it cannot check two 334 public boolean hasSameReadOnlyInfo(Channel other) { argument 335 return other != null 336 && Objects.equals(mId, other.mId) 337 && Objects.equals(mPackageName, other.mPackageName) 338 && Objects.equals(mInputId, other 372 copyFrom(Channel other) argument 449 Builder(Channel other) argument [all...] |
H A D | PreviewProgramContent.java | 99 public void copyFrom(PreviewProgramContent other) { argument 100 if (this == other) { 103 mId = other.mId; 104 mPreviewChannelId = other.mPreviewChannelId; 105 mType = other.mType; 106 mLive = other.mLive; 107 mTitle = other.mTitle; 108 mDescription = other.mDescription; 109 mPosterArtUri = other.mPosterArtUri; 110 mIntentUri = other 179 equals(Object other) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
H A D | ForwardingImageProxy.java | 113 public boolean equals(Object other) { argument 114 if (other == null) { 117 if (!(other instanceof ImageProxy)) { 120 ImageProxy otherImage = (ImageProxy) other;
|
H A D | CaptureRequestProxy.java | 52 public boolean equals(Object other) { argument 53 return mRequest.equals(other);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
H A D | SelectionTest.java | 89 Selection other = new Selection(); 91 other.add(ids[i]); 93 assertEquals(selection.size(), other.size()); 103 Selection other = new Selection(); 104 other.add(ids[0]); 105 other.add(ids[1]); 106 other.add(ids[2]); 107 assertEquals(selection, other); 108 assertEquals(selection.hashCode(), other.hashCode()); 113 Selection other [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | DownloadsFilePreference.java | 55 public int compareTo(Preference other) { argument 56 if (other == null) { 60 if (other instanceof DownloadsFilePreference) { 61 File otherFile = ((DownloadsFilePreference) other).getFile();
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pPeer.java | 70 WifiP2pPeer other = (WifiP2pPeer) preference; 73 if (device.status != other.device.status) { 74 return device.status < other.device.status ? -1 : 1; 79 return device.deviceName.compareToIgnoreCase(other.device.deviceName); 82 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowPermissionChecker.java | 78 final PermissionInfo other = (PermissionInfo) obj; 79 return mPid == other.mPid 80 && mUid == other.mUid 81 && TextUtils.equals(mPackageName, other.mPackageName) 82 && TextUtils.equals(mPermission, other.mPermission);
|