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

12

/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)) {
H A DSpline.java86 public boolean sameValues(Spline other) { argument
87 if (this == other) {
90 if (other == null) {
94 if (getNbPoints() != other.getNbPoints()) {
100 ControlPoint otherPoint = other.mPoints.elementAt(i);
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DCaptureRequestProxy.java52 public boolean equals(Object other) { argument
53 return mRequest.equals(other);
H A DForwardingImageProxy.java113 public boolean equals(Object other) { argument
114 if (other == null) {
117 if (!(other instanceof ImageProxy)) {
120 ImageProxy otherImage = (ImageProxy) other;
H A DAndroidImageProxy.java215 public boolean equals(Object other) { argument
216 if (other == null) {
219 if (!(other instanceof ImageProxy)) {
222 ImageProxy otherImage = (ImageProxy) other;
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DResponseListeners.java37 * Forwards hashCode and equals (and no other methods) to the callback. This
55 public boolean equals(Object other) { argument
56 return mDelegate.equals(other);
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DUserHandleCompat.java66 public boolean equals(Object other) { argument
67 if (!(other instanceof UserHandleCompat)) {
71 return mUser.equals(((UserHandleCompat) other).mUser);
/packages/apps/Camera2/src/com/android/camera/device/
H A DCameraId.java94 public boolean equals(Object other) { argument
95 if (this == other) {
98 if (! (other instanceof CameraId)) {
102 CameraId otherCameraId = (CameraId) other;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DSimpleDate.java79 SimpleDate other = (SimpleDate) obj;
80 if (year != other.year) {
83 if (month != other.month) {
86 if (day != other.day) {
93 public int compareTo(SimpleDate other) { argument
94 int yearDiff = this.year - other.getYear();
98 int monthDiff = this.month - other.getMonth();
102 return this.day - other.getDay();
/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/Settings/src/com/android/settings/
H A DTrustAgentSettings.java56 public boolean equals(Object other) { argument
57 if (other instanceof AgentInfo) {
58 return component.equals(((AgentInfo)other).component);
63 public int compareTo(AgentInfo other) { argument
64 return component.compareTo(other.component);
/packages/apps/Camera2/src/com/android/camera/util/
H A DAspectRatio.java137 * (portrait vs. landscape) of the other.
139 public AspectRatio withOrientationOf(AspectRatio other) { argument
140 if (other.isPortrait()) {
148 * @return True if this aspect ratio is wider than the other.
150 public boolean isWiderThan(AspectRatio other) { argument
151 // this.mWidth other.mWidth
153 // this.mHeight other.mHeight
154 return this.mWidth * other.mHeight > other.mWidth * this.mHeight;
158 * @return True if this aspect ratio is taller than the other
160 isTallerThan(AspectRatio other) argument
[all...]
H A DSize.java63 * @param other The source size.
65 public Size(Camera.Size other) { argument
66 this.width = other.width;
67 this.height = other.height;
132 public boolean equals(Object other) { argument
133 if (!(other instanceof Size)) {
137 Size otherSize = (Size) 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/UnifiedEmail/src/com/android/mail/ui/
H A DConversationViewState.java66 public ConversationViewState(ConversationViewState other) { argument
67 mConversationInfo = other.mConversationInfo;
H A DConversationCheckedSet.java279 public void putAll(ConversationCheckedSet other) { argument
280 if (other == null) {
285 mInternalMap.putAll(other.mInternalMap);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountItem.java94 public int compareTo(BluetoothMapAccountItem other) { argument
96 if(!other.mId.equals(this.mId)){
97 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId);
100 if(!other.mName.equals(this.mName)){
101 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName);
104 if(!other.mPackageName.equals(this.mPackageName)){
106 + other.mPackageName);
109 if(!other.mProviderAuthority.equals(this.mProviderAuthority)){
111 + other.mProviderAuthority);
114 if(other
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java318 public void collapseWith(Action other) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/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/InCallUI/src/com/android/incallui/widget/multiwaveview/
H A DTargetDrawable.java77 public TargetDrawable(TargetDrawable other) { argument
78 mResourceId = other.mResourceId;
80 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null;
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDefaultApnSettingsLoader.java116 public boolean equals(final BaseApn other) { argument
117 return TextUtils.equals(mMmsc, other.getMmsc()) &&
118 TextUtils.equals(mMmsProxy, other.getMmsProxy()) &&
119 mMmsProxyPort == other.getMmsProxyPort();
198 public boolean equals(final BaseApn other) { argument
199 if (other == null) {
202 return mBase.equals(other);
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DBugleApnSettingsLoader.java127 public boolean equals(final BaseApn other) { argument
128 return TextUtils.equals(mMmsc, other.getMmsc()) &&
129 TextUtils.equals(mMmsProxy, other.getMmsProxy()) &&
130 mMmsProxyPort == other.getMmsProxyPort();
265 public boolean equals(final BaseApn other) { argument
266 if (other == null) {
269 return mBase.equals(other);
/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...]

Completed in 770 milliseconds

12