Home
last modified time | relevance | path

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

1234

/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java122 private boolean equals(KeyboardId other) { in equals() argument
123 if (other == this) in equals()
125 return other.mDeviceFormFactor == mDeviceFormFactor in equals()
126 && other.mOrientation == mOrientation in equals()
127 && other.mElementId == mElementId in equals()
128 && other.mMode == mMode in equals()
129 && other.mWidth == mWidth in equals()
130 && other.passwordInput() == passwordInput() in equals()
131 && other.mClobberSettingsKey == mClobberSettingsKey in equals()
132 && other.mShortcutKeyEnabled == mShortcutKeyEnabled in equals()
[all …]
/packages/apps/Contacts/src/com/android/contacts/calllog/
DContactInfo.java59 ContactInfo other = (ContactInfo) obj; in equals()
60 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false; in equals()
61 if (!TextUtils.equals(name, other.name)) return false; in equals()
62 if (type != other.type) return false; in equals()
63 if (!TextUtils.equals(label, other.label)) return false; in equals()
64 if (!TextUtils.equals(number, other.number)) return false; in equals()
65 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false; in equals()
66 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; in equals()
67 if (photoId != other.photoId) return false; in equals()
68 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
DCallLogAdapter.java75 NumberWithCountryIso other = (NumberWithCountryIso) o; in equals()
76 return TextUtils.equals(number, other.number) in equals()
77 && TextUtils.equals(countryIso, other.countryIso); in equals()
131 ContactInfoRequest other = (ContactInfoRequest) obj; in equals()
133 if (!TextUtils.equals(number, other.number)) return false; in equals()
134 if (!TextUtils.equals(countryIso, other.countryIso)) return false; in equals()
135 if (!Objects.equal(callLogInfo, other.callLogInfo)) return false; in equals()
/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.java61 Attendee other = (Attendee) obj; in equals() local
62 if (!TextUtils.equals(mEmail, other.mEmail)) { in equals()
527 CalendarEventModel other = (CalendarEventModel) obj; in equals() local
528 if (!checkOriginalModelFields(other)) { in equals()
533 if (other.mLocation != null) { in equals()
536 } else if (!mLocation.equals(other.mLocation)) { in equals()
541 if (other.mTitle != null) { in equals()
544 } else if (!mTitle.equals(other.mTitle)) { in equals()
549 if (other.mDescription != null) { in equals()
552 } else if (!mDescription.equals(other.mDescription)) { in equals()
[all …]
DTimezoneAdapter.java150 TimezoneRow other = (TimezoneRow) obj; in equals() local
152 if (other.mDisplayName != null) { in equals()
155 } else if (!mDisplayName.equals(other.mDisplayName)) { in equals()
159 if (other.mId != null) { in equals()
162 } else if (!mId.equals(other.mId)) { in equals()
165 if (mOffset != other.mOffset) { in equals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java65 final MoreKeySpec other = (MoreKeySpec)o; in equals() local
66 return mCode == other.mCode in equals()
67 && mIconId == other.mIconId in equals()
68 && TextUtils.equals(mLabel, other.mLabel) in equals()
69 && TextUtils.equals(mOutputText, other.mOutputText); in equals()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java72 WifiP2pPeer other = (WifiP2pPeer) preference; in compareTo() local
75 if (device.status != other.device.status) { in compareTo()
76 return device.status < other.device.status ? -1 : 1; in compareTo()
81 return device.deviceName.compareToIgnoreCase(other.device.deviceName); in compareTo()
84 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress); in compareTo()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java225 AccessPoint other = (AccessPoint) preference; in compareTo() local
227 if (mInfo != null && other.mInfo == null) return -1; in compareTo()
228 if (mInfo == null && other.mInfo != null) return 1; in compareTo()
231 if (mRssi != Integer.MAX_VALUE && other.mRssi == Integer.MAX_VALUE) return -1; in compareTo()
232 if (mRssi == Integer.MAX_VALUE && other.mRssi != Integer.MAX_VALUE) return 1; in compareTo()
236 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1; in compareTo()
238 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1; in compareTo()
241 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi); in compareTo()
246 return ssid.compareToIgnoreCase(other.ssid); in compareTo()
250 public boolean equals(Object other) { in equals() argument
[all …]
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoObject.java53 public boolean equals(Object other) { in equals() argument
54 if (other == null || !(other instanceof VideoObject)) return false; in equals()
56 ((VideoObject) other).fullSizeImageUri()); in equals()
DBaseImage.java77 public boolean equals(Object other) { in equals() argument
78 if (other == null || !(other instanceof Image)) return false; in equals()
79 return mUri.equals(((Image) other).mUri); in equals()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAccountWithDataSet.java71 AccountWithDataSet other = (AccountWithDataSet) obj; in equals() local
72 return Objects.equal(mAccountName, other.getAccountName()) in equals()
73 && Objects.equal(mAccountType, other.getAccountType()) in equals()
74 && Objects.equal(mDataSet, other.getDataSet()); in equals()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTiledScreenNail.java91 public ScreenNail combine(ScreenNail other) { in combine() argument
92 if (other == null) { in combine()
96 if (!(other instanceof TiledScreenNail)) { in combine()
98 return other; in combine()
103 TiledScreenNail newer = (TiledScreenNail) other; in combine()
/packages/apps/Settings/src/com/android/settings/quicklaunch/
DShortcutPreference.java145 char other = ((ShortcutPreference) another).mShortcut; in compareTo() local
146 if (Character.isDigit(mShortcut) && Character.isLetter(other)) return 1; in compareTo()
147 else if (Character.isDigit(other) && Character.isLetter(mShortcut)) return -1; in compareTo()
148 else return mShortcut - other; in compareTo()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeWithDataSet.java84 AccountTypeWithDataSet other = (AccountTypeWithDataSet) o; in equals()
85 return Objects.equal(accountType, other.accountType) in equals()
86 && Objects.equal(dataSet, other.dataSet); in equals()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTargetDrawable.java105 public TargetDrawable(TargetDrawable other) { in TargetDrawable() argument
106 mResourceId = other.mResourceId; in TargetDrawable()
108 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null; in TargetDrawable()
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepValidationServerTests.java96 public boolean equals(Object other) { in equals() argument
97 if (!(other instanceof ByteArrayWrapper)) { in equals()
100 return Arrays.equals(data, ((ByteArrayWrapper) other).data); in equals()
/packages/apps/Mms/src/com/android/mms/data/
DContactList.java155 ContactList other = (ContactList)obj; in equals() local
158 if (size() != other.size()) { in equals()
164 if (!other.contains(c)) { in equals()
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemEntry.java104 public int compareTo(StreamItemEntry other) { in compareTo() argument
105 return mTimestamp == other.mTimestamp ? 0 : mTimestamp > other.mTimestamp ? -1 : 1; in compareTo()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java138 public boolean equals(Object other) { in equals() argument
139 if (this == other) { in equals()
143 if (!(other instanceof ContactListFilter)) { in equals()
147 ContactListFilter otherFilter = (ContactListFilter) other; in equals()
/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java157 Fingerprint other = (Fingerprint) obj; in equals()
158 return Arrays.equals(mMd5Digest, other.mMd5Digest); in equals()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java335 final RawContactDelta other = (RawContactDelta)object; in equals() local
338 if (!other.mValues.equals(mValues)) return false; in equals()
343 if (!other.containsEntry(child)) return false; in equals()
880 final ValuesDelta other = (ValuesDelta)object; in equals() local
881 return this.subsetEquals(other) && other.subsetEquals(this); in equals()
917 public boolean subsetEquals(ValuesDelta other) { in subsetEquals() argument
920 final String theirValue = other.getAsString(key); in subsetEquals()
/packages/apps/Calendar/
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,

1234