Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java711 final Account other = (Account) o; in equals() local
712 return TextUtils.equals(displayName, other.displayName) && in equals()
713 TextUtils.equals(senderName, other.senderName) && in equals()
714 TextUtils.equals(accountManagerName, other.accountManagerName) && in equals()
715 TextUtils.equals(accountId, other.accountId) && in equals()
716 TextUtils.equals(type, other.type) && in equals()
717 capabilities == other.capabilities && in equals()
718 providerVersion == other.providerVersion && in equals()
719 Objects.equal(uri, other.uri) && in equals()
720 Objects.equal(folderListUri, other.folderListUri) && in equals()
[all …]
DConversation.java314 public Conversation(Conversation other) { in Conversation() argument
315 if (other == null) { in Conversation()
319 id = other.id; in Conversation()
320 uri = other.uri; in Conversation()
321 dateMs = other.dateMs; in Conversation()
322 subject = other.subject; in Conversation()
323 hasAttachments = other.hasAttachments; in Conversation()
324 messageListUri = other.messageListUri; in Conversation()
325 sendingState = other.sendingState; in Conversation()
326 priority = other.priority; in Conversation()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionData.java248 SuggestionData other = (SuggestionData)obj; in equals()
250 if (other.mFormat != null) in equals()
252 } else if (!mFormat.equals(other.mFormat)) in equals()
255 if (other.mIcon1 != null) in equals()
257 } else if (!mIcon1.equals(other.mIcon1)) in equals()
260 if (other.mIcon2 != null) in equals()
262 } else if (!mIcon2.equals(other.mIcon2)) in equals()
265 if (other.mIntentAction != null) in equals()
267 } else if (!mIntentAction.equals(other.mIntentAction)) in equals()
270 if (other.mIntentData != null) in equals()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapEmailSettingsItem.java58 public int compareTo(BluetoothMapEmailSettingsItem other) { in compareTo() argument
60 if(!other.mId.equals(this.mId)){ in compareTo()
61 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); in compareTo()
64 if(!other.mName.equals(this.mName)){ in compareTo()
65 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); in compareTo()
68 if(!other.mPackageName.equals(this.mPackageName)){ in compareTo()
69 … if(V) Log.d(TAG, "Wrong packageName : " + this.mPackageName + " vs " + other.mPackageName); in compareTo()
72 if(!other.mProviderAuthority.equals(this.mProviderAuthority)){ in compareTo()
73 …if(V) Log.d(TAG, "Wrong providerName : " + this.mProviderAuthority + " vs " + other.mProviderAutho… in compareTo()
76 if(other.mIsChecked != this.mIsChecked){ in compareTo()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java293 @Override public CharMatcher and(CharMatcher other) {
294 return checkNotNull(other);
296 @Override public CharMatcher or(CharMatcher other) {
297 checkNotNull(other);
357 @Override public CharMatcher and(CharMatcher other) {
358 checkNotNull(other);
361 @Override public CharMatcher or(CharMatcher other) {
362 return checkNotNull(other);
389 @Override public CharMatcher and(CharMatcher other) { in is() argument
390 return other.matches(match) ? this : NONE; in is()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java115 private boolean equals(final KeyboardId other) { in equals() argument
116 if (other == this) in equals()
118 return other.mElementId == mElementId in equals()
119 && other.mMode == mMode in equals()
120 && other.mWidth == mWidth in equals()
121 && other.mHeight == mHeight in equals()
122 && other.passwordInput() == passwordInput() in equals()
123 && other.mClobberSettingsKey == mClobberSettingsKey in equals()
124 && other.mHasShortcutKey == mHasShortcutKey in equals()
125 && other.mLanguageSwitchKeyEnabled == mLanguageSwitchKeyEnabled in equals()
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java148 EventInfo other = (EventInfo) obj; in equals()
149 if (id != other.id) in equals()
151 if (allDay != other.allDay) in equals()
153 if (end != other.end) in equals()
155 if (start != other.start) in equals()
158 if (other.title != null) in equals()
160 } else if (!title.equals(other.title)) in equals()
162 if (visibTitle != other.visibTitle) in equals()
164 if (visibWhen != other.visibWhen) in equals()
166 if (visibWhere != other.visibWhere) in equals()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java62 Attendee other = (Attendee) obj; in equals() local
63 if (!TextUtils.equals(mEmail, other.mEmail)) { in equals()
542 CalendarEventModel other = (CalendarEventModel) obj; in equals() local
543 if (!checkOriginalModelFields(other)) { in equals()
548 if (other.mLocation != null) { in equals()
551 } else if (!mLocation.equals(other.mLocation)) { in equals()
556 if (other.mTitle != null) { in equals()
559 } else if (!mTitle.equals(other.mTitle)) { in equals()
564 if (other.mDescription != null) { in equals()
567 } else if (!mDescription.equals(other.mDescription)) { in equals()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DContactInfo.java67 ContactInfo other = (ContactInfo) obj; in equals()
68 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false; in equals()
69 if (!TextUtils.equals(name, other.name)) return false; in equals()
70 if (type != other.type) return false; in equals()
71 if (!TextUtils.equals(label, other.label)) return false; in equals()
72 if (!TextUtils.equals(number, other.number)) return false; in equals()
73 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false; in equals()
74 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; in equals()
75 if (photoId != other.photoId) return false; in equals()
76 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java77 Entry other = (Entry) obj; in equals() local
78 return Objects.equals(address, other.address) && in equals()
79 addr_type == other.addr_type && type == other.type && in equals()
80 Objects.equals(uuid, other.uuid) && in equals()
81 Objects.equals(uuid_mask, other.uuid_mask) && in equals()
82 Objects.equals(name, other.name) && in equals()
83 company == other.company && company_mask == other.company_mask && in equals()
84 Objects.deepEquals(data, other.data) && in equals()
85 Objects.deepEquals(data_mask, other.data_mask); in equals()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java79 SimpleDate other = (SimpleDate) obj; in equals() local
80 if (year != other.year) { in equals()
83 if (month != other.month) { in equals()
86 if (day != other.day) { in equals()
93 public int compareTo(SimpleDate other) { in compareTo() argument
94 int yearDiff = this.year - other.getYear(); in compareTo()
98 int monthDiff = this.month - other.getMonth(); in compareTo()
102 return this.day - other.getDay(); in compareTo()
DIngestObjectInfo.java99 IngestObjectInfo other = (IngestObjectInfo) obj; in equals() local
100 if (mCompressedSize != other.mCompressedSize) { in equals()
103 if (mDateCreated != other.mDateCreated) { in equals()
106 if (mFormat != other.mFormat) { in equals()
109 if (mHandle != other.mHandle) { in equals()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java296 AccessPoint other = (AccessPoint) preference; in compareTo() local
298 if (isActive() && !other.isActive()) return -1; in compareTo()
299 if (!isActive() && other.isActive()) return 1; in compareTo()
302 if (mRssi != Integer.MAX_VALUE && other.mRssi == Integer.MAX_VALUE) return -1; in compareTo()
303 if (mRssi == Integer.MAX_VALUE && other.mRssi != Integer.MAX_VALUE) return 1; in compareTo()
307 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1; in compareTo()
309 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1; in compareTo()
312 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi); in compareTo()
317 return ssid.compareToIgnoreCase(other.ssid); in compareTo()
321 public boolean equals(Object other) { in equals() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DControlPoint.java33 public boolean sameValues(ControlPoint other) { in sameValues() argument
34 if (this == other) { in sameValues()
37 if (other == null) { in sameValues()
41 if (Float.floatToIntBits(x) != Float.floatToIntBits(other.x)) { in sameValues()
44 if (Float.floatToIntBits(y) != Float.floatToIntBits(other.y)) { in sameValues()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java276 final EntityDelta other = (EntityDelta)object; in equals() local
279 if (!other.mValues.equals(mValues)) return false; in equals()
284 if (!other.containsEntry(child)) return false; in equals()
739 final ValuesDelta other = (ValuesDelta)object; in equals() local
740 return this.subsetEquals(other) && other.subsetEquals(this); in equals()
771 public boolean subsetEquals(ValuesDelta other) { in subsetEquals() argument
774 final String theirValue = other.getAsString(key); in subsetEquals()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DContactsSyncParser.java109 Address other = new Address(); in addData() local
217 other.city = getValue(); in addData()
220 other.country = getValue(); in addData()
223 other.code = getValue(); in addData()
226 other.state = getValue(); in addData()
229 other.street = getValue(); in addData()
339 if (other.hasData()) { in addData()
340 ops.addPostal(entity, StructuredPostal.TYPE_OTHER, other.street, other.city, in addData()
341 other.state, other.country, other.code); in addData()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java69 WifiP2pPeer other = (WifiP2pPeer) preference; in compareTo() local
72 if (device.status != other.device.status) { in compareTo()
73 return device.status < other.device.status ? -1 : 1; in compareTo()
78 return device.deviceName.compareToIgnoreCase(other.device.deviceName); in compareTo()
81 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress); in compareTo()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContact.java117 final NamedDataItem other = (NamedDataItem) obj; in equals()
118 return Objects.equal(mUri, other.mUri) && in equals()
119 Objects.equal(mContentValues, other.mContentValues); in equals()
359 RawContact other = (RawContact) obj; in equals()
360 return Objects.equal(mValues, other.mValues) && in equals()
361 Objects.equal(mDataItems, other.mDataItems); in equals()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTiledScreenNail.java87 public ScreenNail combine(ScreenNail other) { in combine() argument
88 if (other == null) { in combine()
92 if (!(other instanceof TiledScreenNail)) { in combine()
94 return other; in combine()
99 TiledScreenNail newer = (TiledScreenNail) other; in combine()
/packages/apps/Settings/src/com/android/settings/
DTrustAgentSettings.java51 public boolean equals(Object other) { in equals() argument
52 if (other instanceof AgentInfo) { in equals()
53 return component.equals(((AgentInfo)other).component); in equals()
58 public int compareTo(AgentInfo other) { in compareTo() argument
59 return component.compareTo(other.component); in compareTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java91 final MoreKeySpec other = (MoreKeySpec)o; in equals() local
92 return mCode == other.mCode in equals()
93 && mIconId == other.mIconId in equals()
94 && TextUtils.equals(mLabel, other.mLabel) in equals()
95 && TextUtils.equals(mOutputText, other.mOutputText); in equals()
/packages/wallpapers/MusicVisualization/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/packages/apps/Browser/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/packages/providers/CalendarProvider/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/packages/apps/Contacts/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,

123456