Searched refs:other (Results 1 - 25 of 119) sorted by relevance

12345

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DControlPoint.java33 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/vpn2/
H A DAppVpnInfo.java23 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/src/com/android/dialer/calllog/
H A DContactInfo.java82 ContactInfo other = (ContactInfo) obj;
83 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false;
84 if (!TextUtils.equals(name, other.name)) return false;
85 if (!TextUtils.equals(nameAlternative, other.nameAlternative)) return false;
86 if (type != other.type) return false;
87 if (!TextUtils.equals(label, other.label)) return false;
88 if (!TextUtils.equals(number, other.number)) return false;
89 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false;
90 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
91 if (photoId != other
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionData.java248 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 DSimpleDate.java79 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 DDateBucket.java48 DateBucket other = (DateBucket) obj;
50 if (other.date != null) {
53 } else if (!date.equals(other.date)) {
H A DIngestObjectInfo.java99 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 DBluetoothMapAccountItem.java94 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 DCallFilteringResult.java37 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java125 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 DCameraDeviceKey.java25 * 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 DCameraId.java94 public boolean equals(Object other) { argument
95 if (this == other) {
98 if (! (other instanceof CameraId)) {
102 CameraId otherCameraId = (CameraId) other;
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
H A DNumberWithCountryIso.java41 NumberWithCountryIso other = (NumberWithCountryIso) o;
42 return TextUtils.equals(number, other.number)
43 && TextUtils.equals(countryIso, other.countryIso);
H A DContactInfoRequest.java47 ContactInfoRequest other = (ContactInfoRequest) obj;
49 if (!TextUtils.equals(number, other.number)) return false;
50 if (!TextUtils.equals(countryIso, other.countryIso)) return false;
51 if (!Objects.equal(callLogInfo, other.callLogInfo)) return false;
/packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/
H A DTask.java79 TaskId other = (TaskId) object;
80 return id == other.id && subId == other.subId;
127 * other task, and after this returns the task will be discarded.
/packages/apps/Camera2/src/com/android/camera/util/
H A DAspectRatio.java137 * (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 DChannel.java271 Channel other = (Channel) o;
273 return mId == other.mId && TextUtils.equals(mInputId, other.mInputId)
274 && mIsPassthrough == other.mIsPassthrough;
299 * Check whether {@code other} has same read-only channel info as this. But, it cannot check two
303 public boolean hasSameReadOnlyInfo(Channel other) { argument
304 return other != null
305 && Objects.equals(mId, other.mId)
306 && Objects.equals(mPackageName, other.mPackageName)
307 && Objects.equals(mInputId, other
338 copyFrom(Channel other) argument
413 Builder(Channel other) argument
[all...]
H A DProgram.java272 public boolean equals(Object other) { argument
273 if (!(other instanceof Program)) {
276 Program program = (Program) other;
295 public int compareTo(@NonNull Program other) { argument
296 return Long.compare(mStartTimeUtcMillis, other.mStartTimeUtcMillis);
324 public void copyFrom(Program other) { argument
325 if (this == other) {
329 mId = other.mId;
330 mChannelId = other.mChannelId;
331 mTitle = other
364 Builder(Program other) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DForwardingImageProxy.java113 public boolean equals(Object other) { argument
114 if (other == null) {
117 if (!(other instanceof ImageProxy)) {
120 ImageProxy otherImage = (ImageProxy) other;
H A DCaptureRequestProxy.java52 public boolean equals(Object other) { argument
53 return mRequest.equals(other);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DDownloadsFilePreference.java57 public int compareTo(Preference other) { argument
58 if (other == null) {
62 if (other instanceof DownloadsFilePreference) {
63 DownloadsFilePreference preference = (DownloadsFilePreference) other;
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pPeer.java70 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/Bluetooth/src/com/android/bluetooth/gatt/
H A DAdvertiseClient.java68 AdvertiseClient other = (AdvertiseClient) obj;
69 return clientIf == other.clientIf;
/packages/services/Car/car-lib/src/android/car/content/pm/
H A DAppBlockingPackageInfo.java185 AppBlockingPackageInfo other = (AppBlockingPackageInfo) obj;
186 if (!Arrays.equals(activities, other.activities)) {
189 if (flags != other.flags) {
192 if (maxRevisionCode != other.maxRevisionCode) {
195 if (minRevisionCode != other.minRevisionCode) {
199 if (other.packageName != null)
201 } else if (!packageName.equals(other.packageName))
203 if (!Arrays.equals(signatures, other.signatures)) {
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DVideoObject.java34 * two thumbnail bitmaps as well as other information such as the id, and the
53 public boolean equals(Object other) { argument
54 if (other == null || !(other instanceof VideoObject)) return false;
56 ((VideoObject) other).fullSizeImageUri());

Completed in 492 milliseconds

12345