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

123

/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/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java65 ContactInfo other = (ContactInfo) obj;
66 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false;
67 if (!TextUtils.equals(name, other.name)) return false;
68 if (type != other.type) return false;
69 if (!TextUtils.equals(label, other.label)) return false;
70 if (!TextUtils.equals(number, other.number)) return false;
71 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false;
72 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
73 if (photoId != other.photoId) return false;
74 if (!UriUtils.areEqual(photoUri, other
[all...]
/packages/experimental/TestBack/src/foo/bar/testback/
H A DFoo.java23 Foo other = (Foo) obj;
25 if (other.mValue != null)
27 } else if (!mValue.equals(other.mValue))
/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/
H A DSimpleDate.java71 SimpleDate other = (SimpleDate) obj;
72 if (year != other.year)
74 if (month != other.month)
76 if (day != other.day)
82 public int compareTo(SimpleDate other) { argument
83 int yearDiff = this.year - other.getYear();
87 int monthDiff = this.month - other.getMonth();
91 return this.day - other.getDay();
/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.mShortcutKeyEnabled == mShortcutKeyEnabled
135 && other
178 equals(final Object other) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DImageAttachmentRequest.java41 final ImageAttachmentRequest other = (ImageAttachmentRequest) o;
42 return TextUtils.equals(mLookupUri, other.mLookupUri) && mRendition == other.mRendition
43 && mDestW == other.mDestW;
70 * Returns true iff the other request is for the same attachment, and differs only in which
74 public boolean matches(ImageAttachmentRequest other) { argument
75 return other != null && TextUtils.equals(mLookupUri, other.mLookupUri)
76 && mDestW == other.mDestW;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DCameraControls.java144 private void center(View v, Rect other, int rotation) { argument
148 int cx = (other.left + other.right) / 2;
149 int cy = (other.top + other.bottom) / 2;
156 private void toLeft(View v, Rect other, int rotation) { argument
160 int cx = (other.left + other.right) / 2;
161 int cy = (other.top + other
196 toRight(View v, Rect other, int rotation) argument
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pPeer.java69 WifiP2pPeer other = (WifiP2pPeer) preference;
72 if (device.status != other.device.status) {
73 return device.status < other.device.status ? -1 : 1;
78 return device.deviceName.compareToIgnoreCase(other.device.deviceName);
81 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpec.java65 final MoreKeySpec other = (MoreKeySpec)o;
66 return mCode == other.mCode
67 && mIconId == other.mIconId
68 && TextUtils.equals(mLabel, other.mLabel)
69 && TextUtils.equals(mOutputText, other.mOutputText);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DConversation.java190 // that is it's now in some other folder(s)
374 public Conversation(Conversation other) { argument
375 if (other == null) {
379 id = other.id;
380 uri = other.uri;
381 dateMs = other.dateMs;
382 subject = other.subject;
383 hasAttachments = other.hasAttachments;
384 messageListUri = other.messageListUri;
385 sendingState = other
[all...]
H A DAccount.java610 final Account other = (Account) o;
611 return TextUtils.equals(name, other.name) &&
612 TextUtils.equals(senderName, other.senderName) &&
613 TextUtils.equals(accountManagerName, other.accountManagerName) &&
614 TextUtils.equals(type, other.type) &&
615 capabilities == other.capabilities &&
616 providerVersion == other.providerVersion &&
617 Objects.equal(uri, other.uri) &&
618 Objects.equal(folderListUri, other.folderListUri) &&
619 Objects.equal(fullFolderListUri, other
650 settingsDiffer(Account other) argument
701 matches(Account other) argument
[all...]
/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());
H A DBaseImage.java36 * and two thumbnail bitmaps as well as other information such as the id, and
77 public boolean equals(Object other) { argument
78 if (other == null || !(other instanceof Image)) return false;
79 return mUri.equals(((Image) other).mUri);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java71 AccountWithDataSet other = (AccountWithDataSet) obj;
72 return Objects.equal(mAccountName, other.getAccountName())
73 && Objects.equal(mAccountType, other.getAccountType())
74 && Objects.equal(mDataSet, other.getDataSet());
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java148 EventInfo other = (EventInfo) obj;
149 if (id != other.id)
151 if (allDay != other.allDay)
153 if (end != other.end)
155 if (start != other.start)
158 if (other.title != null)
160 } else if (!title.equals(other.title))
162 if (visibTitle != other.visibTitle)
164 if (visibWhen != other.visibWhen)
166 if (visibWhere != other
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DCharMatcher.java61 * This is not the same definition used by other Java APIs. See a comparison
293 @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) {
567 and(CharMatcher other) argument
587 and(CharMatcher other) argument
598 or(CharMatcher other) argument
618 or(CharMatcher other) argument
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharMatcher.java61 * This is not the same definition used by other Java APIs. See a comparison
293 @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) {
567 and(CharMatcher other) argument
587 and(CharMatcher other) argument
598 or(CharMatcher other) argument
618 or(CharMatcher other) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DAccountTypeWithDataSet.java84 AccountTypeWithDataSet other = (AccountTypeWithDataSet) o;
85 return Objects.equal(accountType, other.accountType)
86 && Objects.equal(dataSet, other.dataSet);
/packages/apps/Settings/src/com/android/settings/quicklaunch/
H A DShortcutPreference.java145 char other = ((ShortcutPreference) another).mShortcut;
146 if (Character.isDigit(mShortcut) && Character.isLetter(other)) return 1;
147 else if (Character.isDigit(other) && Character.isLetter(mShortcut)) return -1;
148 else return mShortcut - other;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTiledScreenNail.java87 public ScreenNail combine(ScreenNail other) { argument
88 if (other == null) {
92 if (!(other instanceof TiledScreenNail)) {
94 return other;
98 // height, and Bitmap, then recycle the other.
99 TiledScreenNail newer = (TiledScreenNail) other;
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAccessPoint.java226 AccessPoint other = (AccessPoint) preference;
228 if (mInfo != null && other.mInfo == null) return -1;
229 if (mInfo == null && other.mInfo != null) return 1;
232 if (mRssi != Integer.MAX_VALUE && other.mRssi == Integer.MAX_VALUE) return -1;
233 if (mRssi == Integer.MAX_VALUE && other.mRssi != Integer.MAX_VALUE) return 1;
237 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1;
239 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1;
242 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi);
247 return ssid.compareToIgnoreCase(other.ssid);
251 public boolean equals(Object other) { argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarEventModel.java62 Attendee other = (Attendee) obj;
63 if (!TextUtils.equals(mEmail, other.mEmail)) {
230 * Read-Only - Derived from other fields
542 CalendarEventModel other = (CalendarEventModel) obj;
543 if (!checkOriginalModelFields(other)) {
548 if (other.mLocation != null) {
551 } else if (!mLocation.equals(other.mLocation)) {
556 if (other.mTitle != null) {
559 } else if (!mTitle.equals(other.mTitle)) {
564 if (other
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemEntry.java106 public int compareTo(StreamItemEntry other) { argument
107 return mTimestamp == other.mTimestamp ? 0 : mTimestamp > other.mTimestamp ? -1 : 1;
/packages/apps/Mms/src/com/android/mms/data/
H A DContactList.java155 ContactList other = (ContactList)obj;
158 if (size() != other.size()) {
164 if (!other.contains(c)) {

Completed in 538 milliseconds

123