Searched refs:other (Results 51 - 75 of 648) sorted by relevance

1234567891011>>

/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DSelectionTest.java106 Selection<String> other = new Selection<>();
108 other.add(mIds[i]);
110 assertEquals(mSelection.size(), other.size());
120 Selection<String> other = new Selection<>();
121 other.add(mIds[0]);
122 other.add(mIds[1]);
123 other.add(mIds[2]);
124 assertEquals(mSelection, other);
125 assertEquals(mSelection.hashCode(), other.hashCode());
130 Selection<String> other
[all...]
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DSchemaEquality.java29 boolean isSchemaEqual(T other); argument
H A DFieldBundle.java64 public boolean isSchemaEqual(FieldBundle other) { argument
65 if (mNonNull != other.mNonNull) return false;
66 if (mColumnName != null ? !mColumnName.equals(other.mColumnName)
67 : other.mColumnName != null) {
70 return mAffinity != null ? mAffinity.equals(other.mAffinity) : other.mAffinity == null;
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransitionValues.java30 * be unique to avoid clobbering values stored by other transitions,
61 public boolean equals(Object other) { argument
62 if (other instanceof TransitionValues) {
63 if (view == ((TransitionValues) other).view) {
64 if (values.equals(((TransitionValues) other).values)) {
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java64 public PeriodicSync(PeriodicSync other) { argument
65 this.account = other.account;
66 this.authority = other.authority;
67 this.extras = new Bundle(other.extras);
68 this.period = other.period;
69 this.flexTime = other.flexTime;
127 final PeriodicSync other = (PeriodicSync) o;
128 return account.equals(other.account)
129 && authority.equals(other.authority)
130 && period == other
[all...]
H A DSyncInfo.java74 public SyncInfo(SyncInfo other) { argument
75 this.authorityId = other.authorityId;
76 this.account = new Account(other.account.name, other.account.type);
77 this.authority = other.authority;
78 this.startTime = other.startTime;
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.h30 bool operator == (const ACaptureSessionOutput& other) const {
31 return mWindow == other.mWindow;
33 bool operator != (const ACaptureSessionOutput& other) const {
34 return mWindow != other.mWindow;
36 bool operator < (const ACaptureSessionOutput& other) const {
37 return mWindow < other.mWindow;
39 bool operator > (const ACaptureSessionOutput& other) const {
40 return mWindow > other.mWindow;
/frameworks/av/media/libmedia/
H A DMediaResource.cpp57 bool MediaResource::operator==(const MediaResource &other) const {
58 return (other.mType == mType) && (other.mSubType == mSubType) && (other.mValue == mValue);
61 bool MediaResource::operator!=(const MediaResource &other) const {
62 return !(*this == other);
/frameworks/av/media/libstagefright/webm/
H A DWebmFrame.cpp65 bool WebmFrame::operator<(const WebmFrame &other) const {
69 if (other.mEos) {
72 if (this->mAbsTimecode == other.mAbsTimecode) {
73 if (this->mType == kAudioType && other.mType == kVideoType) {
76 if (this->mType == kVideoType && other.mType == kAudioType) {
81 return this->mAbsTimecode < other.mAbsTimecode;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DHighSpeedVideoConfiguration.java147 final HighSpeedVideoConfiguration other = (HighSpeedVideoConfiguration) obj;
148 return mWidth == other.mWidth &&
149 mHeight == other.mHeight &&
150 mFpsMin == other.mFpsMin &&
151 mFpsMax == other.mFpsMax &&
152 mBatchSizeMax == other.mBatchSizeMax;
H A DMeteringRectangle.java224 public boolean equals(final Object other) { argument
225 return other instanceof MeteringRectangle && equals((MeteringRectangle)other);
234 * @param other Another MeteringRectangle
238 public boolean equals(final MeteringRectangle other) { argument
239 if (other == null) {
243 return (mX == other.mX
244 && mY == other.mY
245 && mWidth == other.mWidth
246 && mHeight == other
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreKey.java83 AndroidKeyStoreKey other = (AndroidKeyStoreKey) obj;
85 if (other.mAlgorithm != null) {
88 } else if (!mAlgorithm.equals(other.mAlgorithm)) {
92 if (other.mAlias != null) {
95 } else if (!mAlias.equals(other.mAlias)) {
98 if (mUid != other.mUid) {
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h53 * not enough space available. Adding a buffer can cause other buffer to
90 bool operator==(const RenderBufferEntry& other) const { return compare(*this, other) == 0; }
92 bool operator!=(const RenderBufferEntry& other) const { return compare(*this, other) != 0; }
94 bool operator<(const RenderBufferEntry& other) const {
95 return RenderBufferEntry::compare(*this, other) < 0;
/frameworks/base/core/java/android/view/
H A DWindowInfo.java65 public static WindowInfo obtain(WindowInfo other) { argument
67 window.type = other.type;
68 window.layer = other.layer;
69 window.token = other.token;
70 window.parentToken = other.parentToken;
71 window.activityToken = other.activityToken;
72 window.focused = other.focused;
73 window.boundsInScreen.set(other.boundsInScreen);
74 window.title = other.title;
75 window.accessibilityIdOfAnchor = other
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DFlagSet.java66 public boolean intersect(FlagSet other, int bucketIndex) { argument
67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0;
90 public FlagSet andNot(FlagSet other) { argument
92 final int min = Math.min(buckets.length, other.buckets.length);
94 result.buckets[i] &= ~(other.buckets[i]);
99 public FlagSet or(FlagSet other) { argument
100 final FlagSet result = new FlagSet(buckets, other.buckets.length);
101 for (int i = 0; i < other.buckets.length; i ++) {
102 result.buckets[i] |= other.buckets[i];
132 public boolean bitsEqual(FlagSet other) { argument
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DBrightnessChangeEvent.java97 public BrightnessChangeEvent(BrightnessChangeEvent other, boolean redactPackage) { argument
98 this.brightness = other.brightness;
99 this.timeStamp = other.timeStamp;
100 this.packageName = redactPackage ? null : other.packageName;
101 this.userId = other.userId;
102 this.luxValues = other.luxValues;
103 this.luxTimestamps = other.luxTimestamps;
104 this.batteryLevel = other.batteryLevel;
105 this.powerBrightnessFactor = other.powerBrightnessFactor;
106 this.nightMode = other
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java110 public RouteInfo(RouteInfo other) { argument
111 id = other.id;
112 name = other.name;
113 description = other.description;
114 supportedTypes = other.supportedTypes;
115 enabled = other.enabled;
116 statusCode = other.statusCode;
117 playbackType = other.playbackType;
118 playbackStream = other.playbackStream;
119 volume = other
[all...]
/frameworks/native/libs/input/
H A DInputDevice.cpp140 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : argument
141 mId(other.mId), mGeneration(other.mGeneration), mControllerNumber(other.mControllerNumber),
142 mIdentifier(other.mIdentifier), mAlias(other.mAlias), mIsExternal(other.mIsExternal),
143 mHasMic(other.mHasMic), mSources(other.mSources),
144 mKeyboardType(other
[all...]
/frameworks/rs/cpp/util/
H A DRefBase.h205 explicit wp(T* other);
206 wp(const wp<T>& other);
207 explicit wp(const sp<T>& other);
208 template<typename U> explicit wp(U* other);
209 template<typename U> explicit wp(const sp<U>& other);
210 template<typename U> explicit wp(const wp<U>& other);
216 wp& operator = (T* other);
217 wp& operator = (const wp<T>& other);
218 wp& operator = (const sp<T>& other);
220 template<typename U> wp& operator = (U* other);
[all...]
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
H A DEntityBundleTest.java41 EntityBundle other = new EntityBundle("foo", "sq",
47 assertThat(bundle.isSchemaEqual(other), is(true));
58 EntityBundle other = new EntityBundle("foo", "sq",
64 assertThat(bundle.isSchemaEqual(other), is(true));
75 EntityBundle other = new EntityBundle("foo", "sq",
81 assertThat(bundle.isSchemaEqual(other), is(false));
93 EntityBundle other = new EntityBundle("foo", "sq",
101 assertThat(bundle.isSchemaEqual(other), is(true));
112 EntityBundle other = new EntityBundle("foo", "sq",
118 assertThat(bundle.isSchemaEqual(other), i
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dfile_handle.h45 // other FileHandle object empty.
46 FileHandle(FileHandle&& other) { argument
47 fd_ = other.fd_;
48 other.fd_ = kEmptyFileHandle;
64 // descriptor, leaving the other FileHandle object empty.
65 FileHandle& operator=(FileHandle&& other) { argument
66 if (this != &other) {
67 Reset(other.fd_);
68 other.fd_ = kEmptyFileHandle;
/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp34 AcquiredBuffer::AcquiredBuffer(AcquiredBuffer&& other) { argument
35 *this = std::move(other);
40 AcquiredBuffer& AcquiredBuffer::operator=(AcquiredBuffer&& other) { argument
41 if (this != &other) {
45 swap(buffer_, other.buffer_);
46 swap(acquire_fence_, other.acquire_fence_);
47 swap(slot_, other.slot_);
/frameworks/base/core/java/android/os/
H A DWorkSource.java182 WorkSource other = (WorkSource) o;
184 if (diff(other)) {
189 return mChains.equals(other.mChains);
191 return other.mChains == null || other.mChains.isEmpty();
219 * @param other The WorkSource to compare against.
224 public boolean diff(WorkSource other) { argument
226 if (N != other.mNum) {
230 final int[] uids2 = other.mUids;
232 final String[] names2 = other
249 set(WorkSource other) argument
331 setReturningDiffs(WorkSource other) argument
352 add(WorkSource other) argument
382 addReturningNewbs(WorkSource other) argument
437 remove(WorkSource other) argument
506 transferWorkChains(WorkSource other) argument
523 removeUids(WorkSource other) argument
555 removeUidsAndNames(WorkSource other) argument
593 updateLocked(WorkSource other, boolean set, boolean returnNewbs) argument
617 updateUidsLocked(WorkSource other, boolean set, boolean returnNewbs) argument
693 compare(WorkSource other, int i1, int i2) argument
709 updateUidsAndNamesLocked(WorkSource other, boolean set, boolean returnNewbs) argument
876 WorkChain(WorkChain other) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPreciseDataConnectionState.java214 PreciseDataConnectionState other = (PreciseDataConnectionState) obj;
216 if (other.mAPN != null) {
219 } else if (!mAPN.equals(other.mAPN)) {
223 if (other.mAPNType != null) {
226 } else if (!mAPNType.equals(other.mAPNType)) {
230 if (other.mFailCause != null) {
233 } else if (!mFailCause.equals(other.mFailCause)) {
237 if (other.mLinkProperties != null) {
240 } else if (!mLinkProperties.equals(other.mLinkProperties)) {
243 if (mNetworkType != other
[all...]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dpose.h41 void ComposeInPlace(const Pose& other) { argument
42 position_ = position_ + rotation_ * other.position_;
43 rotation_ = rotation_ * other.rotation_;
47 Pose Compose(const Pose& other) const {
49 result.ComposeInPlace(other);
61 Pose& operator*=(const Pose& other) { argument
62 ComposeInPlace(other);
66 Pose operator*(const Pose& other) const { return Compose(other); }

Completed in 611 milliseconds

1234567891011>>