Searched defs:other (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Nfc/tests/src/com/android/nfc/snep/
H A DSnepValidationServerTests.java96 public boolean equals(Object other) { argument
97 if (!(other instanceof ByteArrayWrapper)) {
100 return Arrays.equals(data, ((ByteArrayWrapper) other).data);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java295 public boolean collapseWith(Action other) { argument
296 if (!shouldCollapseWith(other)) {
/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/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilter.java138 public boolean equals(Object other) { argument
139 if (this == other) {
143 if (!(other instanceof ContactListFilter)) {
147 ContactListFilter otherFilter = (ContactListFilter) other;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemEntry.java104 public int compareTo(StreamItemEntry other) { argument
105 return mTimestamp == other.mTimestamp ? 0 : mTimestamp > other.mTimestamp ? -1 : 1;
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DTargetDrawable.java105 public TargetDrawable(TargetDrawable other) { argument
106 mResourceId = other.mResourceId;
108 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTiledScreenNail.java91 public ScreenNail combine(ScreenNail other) { argument
92 if (other == null) {
96 if (!(other instanceof TiledScreenNail)) {
98 return other;
102 // height, and Bitmap, then recycle the other.
103 TiledScreenNail newer = (TiledScreenNail) other;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatterySipper.java94 public int compareTo(BatterySipper other) { argument
96 return (int) (other.getSortValue() - getSortValue());
/packages/apps/Mms/src/com/android/mms/dom/
H A DNodeImpl.java229 public short compareDocumentPosition(Node other) throws DOMException { argument
241 public boolean isSameNode(Node other) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java122 private boolean equals(KeyboardId other) { argument
123 if (other == this)
125 return other.mDeviceFormFactor == mDeviceFormFactor
126 && other.mOrientation == mOrientation
127 && other.mElementId == mElementId
128 && other.mMode == mMode
129 && other.mWidth == mWidth
130 && other.passwordInput() == passwordInput()
131 && other.mClobberSettingsKey == mClobberSettingsKey
132 && other
184 equals(Object other) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DPolicy.java237 public boolean equals(Object other) { argument
238 if (!(other instanceof Policy)) return false;
239 Policy otherPolicy = (Policy)other;
290 // Don't need to include the other fields
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDelta.java276 final EntityDelta other = (EntityDelta)object;
279 if (!other.mValues.equals(mValues)) return false;
284 if (!other.containsEntry(child)) return false;
739 final ValuesDelta other = (ValuesDelta)object;
740 return this.subsetEquals(other) && other.subsetEquals(this);
771 public boolean subsetEquals(ValuesDelta other) { argument
774 final String theirValue = other.getAsString(key);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactDelta.java335 final RawContactDelta other = (RawContactDelta)object;
338 if (!other.mValues.equals(mValues)) return false;
343 if (!other.containsEntry(child)) return false;
880 final ValuesDelta other = (ValuesDelta)object;
881 return this.subsetEquals(other) && other.subsetEquals(this);
917 public boolean subsetEquals(ValuesDelta other) { argument
920 final String theirValue = other.getAsString(key);

Completed in 319 milliseconds