Home
last modified time | relevance | path

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

123456789

/packages/apps/TV/src/com/android/tv/data/
DChannel.java254 Channel other = (Channel) o; in equals() local
256 return mId == other.mId && TextUtils.equals(mInputId, other.mInputId) in equals()
257 && mIsPassthrough == other.mIsPassthrough; in equals()
286 public boolean hasSameReadOnlyInfo(Channel other) { in hasSameReadOnlyInfo() argument
287 return other != null in hasSameReadOnlyInfo()
288 && Objects.equals(mId, other.mId) in hasSameReadOnlyInfo()
289 && Objects.equals(mPackageName, other.mPackageName) in hasSameReadOnlyInfo()
290 && Objects.equals(mInputId, other.mInputId) in hasSameReadOnlyInfo()
291 && Objects.equals(mType, other.mType) in hasSameReadOnlyInfo()
292 && Objects.equals(mDisplayNumber, other.mDisplayNumber) in hasSameReadOnlyInfo()
[all …]
DProgram.java437 public boolean equals(Object other) { in equals() argument
438 if (!(other instanceof Program)) { in equals()
442 Program program = (Program) other; in equals()
465 public int compareTo(@NonNull Program other) { in compareTo() argument
466 return Long.compare(mStartTimeUtcMillis, other.mStartTimeUtcMillis); in compareTo()
498 public void copyFrom(Program other) { in copyFrom() argument
499 if (this == other) { in copyFrom()
503 mId = other.mId; in copyFrom()
504 mPackageName = other.mPackageName; in copyFrom()
505 mChannelId = other.mChannelId; in copyFrom()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java94 public int compareTo(BluetoothMapAccountItem other) { in compareTo() argument
96 if(!other.mId.equals(this.mId)){ in compareTo()
97 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); in compareTo()
100 if(!other.mName.equals(this.mName)){ in compareTo()
101 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); in compareTo()
104 if(!other.mPackageName.equals(this.mPackageName)){ in compareTo()
106 + other.mPackageName); in compareTo()
109 if(!other.mProviderAuthority.equals(this.mProviderAuthority)){ in compareTo()
111 + other.mProviderAuthority); in compareTo()
114 if(other.mIsChecked != this.mIsChecked){ in compareTo()
[all …]
DBluetoothMapConvoContactElement.java292 BluetoothMapConvoContactElement other = (BluetoothMapConvoContactElement) obj; in equals() local
301 if (mChatState != other.mChatState) { in equals()
305 if (other.mDisplayName != null) { in equals()
308 } else if (!mDisplayName.equals(other.mDisplayName)) { in equals()
319 if (mLastActivity != other.mLastActivity) { in equals()
323 if (other.mName != null) { in equals()
326 } else if (!mName.equals(other.mName)) { in equals()
329 if (mPresenceAvailability != other.mPresenceAvailability) { in equals()
333 if (other.mPresenceStatus != null) { in equals()
336 } else if (!mPresenceStatus.equals(other.mPresenceStatus)) { in equals()
[all …]
/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/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java711 final Account other = (Account) o; in equals() local
712 return TextUtils.equals(displayName, other.displayName) && in equals()
713 TextUtils.equals(senderName, other.senderName) && in equals()
714 TextUtils.equals(accountManagerName, other.accountManagerName) && in equals()
715 TextUtils.equals(accountId, other.accountId) && in equals()
716 TextUtils.equals(type, other.type) && in equals()
717 capabilities == other.capabilities && in equals()
718 providerVersion == other.providerVersion && in equals()
719 Objects.equal(uri, other.uri) && in equals()
720 Objects.equal(folderListUri, other.folderListUri) && in equals()
[all …]
DConversation.java314 public Conversation(Conversation other) { in Conversation() argument
315 if (other == null) { in Conversation()
319 id = other.id; in Conversation()
320 uri = other.uri; in Conversation()
321 dateMs = other.dateMs; in Conversation()
322 subject = other.subject; in Conversation()
323 hasAttachments = other.hasAttachments; in Conversation()
324 messageListUri = other.messageListUri; in Conversation()
325 sendingState = other.sendingState; in Conversation()
326 priority = other.priority; in Conversation()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java125 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.mHasShortcutKey == mHasShortcutKey in equals()
135 && other.mLanguageSwitchKeyEnabled == mLanguageSwitchKeyEnabled in equals()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfo.java95 ContactInfo other = (ContactInfo) obj; in equals() local
96 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) { in equals()
99 if (!TextUtils.equals(name, other.name)) { in equals()
102 if (!TextUtils.equals(nameAlternative, other.nameAlternative)) { in equals()
105 if (type != other.type) { in equals()
108 if (!TextUtils.equals(label, other.label)) { in equals()
111 if (!TextUtils.equals(number, other.number)) { in equals()
114 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) { in equals()
117 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) { in equals()
120 if (photoId != other.photoId) { in equals()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java293 @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/DocumentsUI/tests/unit/com/android/documentsui/selection/
DSelectionTest.java89 Selection other = new Selection(); in testSize() local
91 other.add(ids[i]); in testSize()
93 assertEquals(selection.size(), other.size()); in testSize()
103 Selection other = new Selection(); in testEqualsOther() local
104 other.add(ids[0]); in testEqualsOther()
105 other.add(ids[1]); in testEqualsOther()
106 other.add(ids[2]); in testEqualsOther()
107 assertEquals(selection, other); in testEqualsOther()
108 assertEquals(selection.hashCode(), other.hashCode()); in testEqualsOther()
113 Selection other = new Selection(); in testEqualsCopy() local
[all …]
/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.java62 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/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java239 CallInfoImpl(CallInfoImpl other) { in CallInfoImpl() argument
240 this.callId = other.callId; in CallInfoImpl()
241 this.startTime = other.startTime; in CallInfoImpl()
242 this.endTime = other.endTime; in CallInfoImpl()
243 this.callDirection = other.callDirection; in CallInfoImpl()
244 this.isAdditionalCall = other.isAdditionalCall; in CallInfoImpl()
245 this.isInterrupted = other.isInterrupted; in CallInfoImpl()
246 this.callTechnologies = other.callTechnologies; in CallInfoImpl()
247 this.createdFromExistingConnection = other.createdFromExistingConnection; in CallInfoImpl()
248 this.connectionService = other.connectionService; in CallInfoImpl()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java57 public SimCard(SimCard other) { in SimCard() argument
58 mSimId = other.mSimId; in SimCard()
59 mSubscriptionId = other.mSubscriptionId; in SimCard()
60 mCarrierName = other.mCarrierName; in SimCard()
61 mDisplayName = other.mDisplayName; in SimCard()
62 mPhoneNumber = other.mPhoneNumber; in SimCard()
63 mCountryCode = other.mCountryCode; in SimCard()
64 mDismissed = other.mDismissed; in SimCard()
65 mImported = other.mImported; in SimCard()
66 if (other.mContacts != null) { in SimCard()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelInfo.java211 public Builder(ChannelInfo other) { in Builder() argument
212 mNumber = other.number; in Builder()
213 mName = other.name; in Builder()
214 mLogoUrl = other.name; in Builder()
215 mOriginalNetworkId = other.originalNetworkId; in Builder()
216 mVideoWidth = other.videoWidth; in Builder()
217 mVideoHeight = other.videoHeight; in Builder()
218 mVideoPixelAspectRatio = other.videoPixelAspectRatio; in Builder()
219 mAudioChannel = other.audioChannel; in Builder()
220 mAudioLanguageCount = other.audioLanguageCount; in Builder()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoRequest.java82 ContactInfoRequest other = (ContactInfoRequest) obj; in equals() local
84 if (!TextUtils.equals(number, other.number)) { in equals()
87 if (!TextUtils.equals(countryIso, other.countryIso)) { in equals()
90 if (!Objects.equals(callLogInfo, other.callLogInfo)) { in equals()
94 if (type != other.type) { in equals()
111 public int compareTo(ContactInfoRequest other) { in compareTo() argument
113 if (isLocalRequest() && !other.isLocalRequest()) { in compareTo()
116 if (!isLocalRequest() && other.isLocalRequest()) { in compareTo()
120 return sequenceNumber < other.sequenceNumber ? -1 : 1; in compareTo()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java78 Entry other = (Entry) obj; in equals() local
79 return Objects.equals(address, other.address) && in equals()
80 addr_type == other.addr_type && type == other.type && in equals()
81 Objects.equals(uuid, other.uuid) && in equals()
82 Objects.equals(uuid_mask, other.uuid_mask) && in equals()
83 Objects.equals(name, other.name) && in equals()
84 company == other.company && company_mask == other.company_mask && in equals()
85 Objects.deepEquals(data, other.data) && in equals()
86 Objects.deepEquals(data_mask, other.data_mask); in equals()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java79 SimpleDate other = (SimpleDate) obj; in equals() local
80 if (year != other.year) { in equals()
83 if (month != other.month) { in equals()
86 if (day != other.day) { in equals()
93 public int compareTo(SimpleDate other) { in compareTo() argument
94 int yearDiff = this.year - other.getYear(); in compareTo()
98 int monthDiff = this.month - other.getMonth(); in compareTo()
102 return this.day - other.getDay(); in compareTo()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvent.java253 TestEvent other = (TestEvent) o; in equals() local
254 return mAction == other.mAction in equals()
255 && mToolType == other.mToolType in equals()
256 && mButtons.equals(other.mButtons) in equals()
257 && mKeys.equals(other.mKeys) in equals()
258 && mLocation.equals(other.mLocation) in equals()
259 && mRawLocation.equals(other.mRawLocation) in equals()
260 && mDetails.equals(other.mDetails); in equals()
326 Details other = (Details) o; in equals() local
327 return mPosition == other.mPosition in equals()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DAspectRatio.java139 public AspectRatio withOrientationOf(AspectRatio other) { in withOrientationOf() argument
140 if (other.isPortrait()) { in withOrientationOf()
150 public boolean isWiderThan(AspectRatio other) { in isWiderThan() argument
154 return this.mWidth * other.mHeight > other.mWidth * this.mHeight; in isWiderThan()
160 public boolean isTallerThan(AspectRatio other) { in isTallerThan() argument
164 return this.mWidth * other.mHeight < other.mWidth * this.mHeight; in isTallerThan()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDetailsContent.java87 public void copyFrom(DetailsContent other) { in copyFrom() argument
88 if (this == other) { in copyFrom()
91 mTitle = other.mTitle; in copyFrom()
92 mStartTimeUtcMillis = other.mStartTimeUtcMillis; in copyFrom()
93 mEndTimeUtcMillis = other.mEndTimeUtcMillis; in copyFrom()
94 mDescription = other.mDescription; in copyFrom()
95 mLogoImageUri = other.mLogoImageUri; in copyFrom()
96 mBackgroundImageUri = other.mBackgroundImageUri; in copyFrom()
/packages/services/Car/car-lib/src/android/car/content/pm/
DAppBlockingPackageInfo.java185 AppBlockingPackageInfo other = (AppBlockingPackageInfo) obj; in equals() local
186 if (!Arrays.equals(activities, other.activities)) { in equals()
189 if (flags != other.flags) { in equals()
192 if (maxRevisionCode != other.maxRevisionCode) { in equals()
195 if (minRevisionCode != other.minRevisionCode) { in equals()
199 if (other.packageName != null) in equals()
201 } else if (!packageName.equals(other.packageName)) in equals()
203 if (!Arrays.equals(signatures, other.signatures)) { in equals()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java141 SortDimension other = (SortDimension) o; in equals() local
143 return mId == other.mId in equals()
144 && mLabelId == other.mLabelId in equals()
145 && mDataType == other.mDataType in equals()
146 && mSortCapability == other.mSortCapability in equals()
147 && mDefaultSortDirection == other.mDefaultSortDirection in equals()
148 && mSortDirection == other.mSortDirection in equals()
149 && mVisibility == other.mVisibility; in equals()
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DBandController.java729 public int compareTo(GridModel.Limits other) { in compareTo() argument
730 return lowerLimit - other.lowerLimit; in compareTo()
734 public boolean equals(Object other) { in equals() argument
735 if (!(other instanceof GridModel.Limits)) { in equals()
739 return ((GridModel.Limits) other).lowerLimit == lowerLimit && in equals()
740 ((GridModel.Limits) other).upperLimit == upperLimit; in equals()
856 public boolean equals(Object other) { in equals() argument
857 if (!(other instanceof GridModel.RelativeCoordinate)) { in equals()
861 GridModel.RelativeCoordinate otherCoordinate = (GridModel.RelativeCoordinate) other; in equals()
866 public int compareTo(GridModel.RelativeCoordinate other) { in compareTo() argument
[all …]

123456789