/packages/apps/Camera2/src/com/android/camera/ui/ |
D | CameraControls.java | 144 private void center(View v, Rect other, int rotation) { in center() argument 148 int cx = (other.left + other.right) / 2; in center() 149 int cy = (other.top + other.bottom) / 2; in center() 156 private void toLeft(View v, Rect other, int rotation) { in toLeft() argument 160 int cx = (other.left + other.right) / 2; in toLeft() 161 int cy = (other.top + other.bottom) / 2; in toLeft() 166 l = other.left - tw + lp.leftMargin; in toLeft() 167 r = other.left - lp.rightMargin; in toLeft() 175 t = other.bottom + lp.topMargin; in toLeft() 176 b = other.bottom + th - lp.bottomMargin; in toLeft() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionData.java | 248 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/UnifiedEmail/src/com/android/mail/providers/ |
D | Account.java | 610 final Account other = (Account) o; in equals() local 611 return TextUtils.equals(name, other.name) && in equals() 612 TextUtils.equals(senderName, other.senderName) && in equals() 613 TextUtils.equals(accountManagerName, other.accountManagerName) && in equals() 614 TextUtils.equals(type, other.type) && in equals() 615 capabilities == other.capabilities && in equals() 616 providerVersion == other.providerVersion && in equals() 617 Objects.equal(uri, other.uri) && in equals() 618 Objects.equal(folderListUri, other.folderListUri) && in equals() 619 Objects.equal(fullFolderListUri, other.fullFolderListUri) && in equals() [all …]
|
D | Conversation.java | 374 public Conversation(Conversation other) { in Conversation() argument 375 if (other == null) { in Conversation() 379 id = other.id; in Conversation() 380 uri = other.uri; in Conversation() 381 dateMs = other.dateMs; in Conversation() 382 subject = other.subject; in Conversation() 383 hasAttachments = other.hasAttachments; in Conversation() 384 messageListUri = other.messageListUri; in Conversation() 385 sendingState = other.sendingState; in Conversation() 386 priority = other.priority; in Conversation() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 125 private boolean equals(final KeyboardId other) { in equals() argument 126 if (other == this) in equals() 128 return other.mElementId == mElementId in equals() 129 && other.mMode == mMode in equals() 130 && other.mWidth == mWidth in equals() 131 && other.mHeight == mHeight in equals() 132 && other.passwordInput() == passwordInput() in equals() 133 && other.mClobberSettingsKey == mClobberSettingsKey in equals() 134 && other.mShortcutKeyEnabled == mShortcutKeyEnabled in equals() 135 && other.mShortcutKeyOnSymbols == mShortcutKeyOnSymbols in equals() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
D | CharMatcher.java | 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) { in is() argument 390 return other.matches(match) ? this : NONE; in is() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | CharMatcher.java | 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) { in is() argument 390 return other.matches(match) ? this : NONE; in is() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 148 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/ |
D | CalendarEventModel.java | 62 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/ |
D | ContactInfo.java | 65 ContactInfo other = (ContactInfo) obj; in equals() 66 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false; in equals() 67 if (!TextUtils.equals(name, other.name)) return false; in equals() 68 if (type != other.type) return false; in equals() 69 if (!TextUtils.equals(label, other.label)) return false; in equals() 70 if (!TextUtils.equals(number, other.number)) return false; in equals() 71 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false; in equals() 72 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; in equals() 73 if (photoId != other.photoId) return false; in equals() 74 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AccessPoint.java | 226 AccessPoint other = (AccessPoint) preference; in compareTo() local 228 if (mInfo != null && other.mInfo == null) return -1; in compareTo() 229 if (mInfo == null && other.mInfo != null) return 1; in compareTo() 232 if (mRssi != Integer.MAX_VALUE && other.mRssi == Integer.MAX_VALUE) return -1; in compareTo() 233 if (mRssi == Integer.MAX_VALUE && other.mRssi != Integer.MAX_VALUE) return 1; in compareTo() 237 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1; in compareTo() 239 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1; in compareTo() 242 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi); in compareTo() 247 return ssid.compareToIgnoreCase(other.ssid); in compareTo() 251 public boolean equals(Object other) { in equals() argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | SimpleDate.java | 71 SimpleDate other = (SimpleDate) obj; in equals() 72 if (year != other.year) in equals() 74 if (month != other.month) in equals() 76 if (day != other.day) in equals() 82 public int compareTo(SimpleDate other) { in compareTo() argument 83 int yearDiff = this.year - other.getYear(); in compareTo() 87 int monthDiff = this.month - other.getMonth(); in compareTo() 91 return this.day - other.getDay(); in compareTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ImageAttachmentRequest.java | 41 final ImageAttachmentRequest other = (ImageAttachmentRequest) o; in equals() local 42 return TextUtils.equals(mLookupUri, other.mLookupUri) && mRendition == other.mRendition in equals() 43 && mDestW == other.mDestW; in equals() 74 public boolean matches(ImageAttachmentRequest other) { in matches() argument 75 return other != null && TextUtils.equals(mLookupUri, other.mLookupUri) in matches() 76 && mDestW == other.mDestW; in matches()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ControlPoint.java | 33 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/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeer.java | 69 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 65 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/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDelta.java | 276 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/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContact.java | 117 final NamedDataItem other = (NamedDataItem) obj; in equals() 118 return Objects.equal(mUri, other.mUri) && in equals() 119 Objects.equal(mContentValues, other.mContentValues); in equals() 370 RawContact other = (RawContact) obj; in equals() 371 return Objects.equal(mValues, other.mValues) && in equals() 372 Objects.equal(mDataItems, other.mDataItems); in equals()
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
D | ContactsSyncParser.java | 107 Address other = new Address(); in addData() local 215 other.city = getValue(); in addData() 218 other.country = getValue(); in addData() 221 other.code = getValue(); in addData() 224 other.state = getValue(); in addData() 227 other.street = getValue(); in addData() 334 if (other.hasData()) { in addData() 335 ops.addPostal(entity, StructuredPostal.TYPE_OTHER, other.street, other.city, in addData() 336 other.state, other.country, other.code); in addData()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TiledScreenNail.java | 87 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AccountWithDataSet.java | 71 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/Gallery/src/com/android/camera/gallery/ |
D | VideoObject.java | 53 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()
|
/packages/inputmethods/PinyinIME/ |
D | NOTICE | 29 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/ContactsProvider/ |
D | NOTICE | 29 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/HTMLViewer/ |
D | NOTICE | 29 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,
|