Searched refs:other (Results 176 - 200 of 648) sorted by relevance

1234567891011>>

/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DPreviewProgram.java108 public boolean equals(Object other) { argument
109 if (!(other instanceof PreviewProgram)) {
112 return mValues.equals(((PreviewProgram) other).mValues);
116 * Indicates whether some other PreviewProgram has any set attribute that is different from
209 * @param other The Program you're copying from.
211 public Builder(PreviewProgram other) { argument
212 mValues = new ContentValues(other.mValues);
/frameworks/base/core/java/android/bluetooth/le/
H A DScanResult.java319 ScanResult other = (ScanResult) obj;
320 return Objects.equals(mDevice, other.mDevice) && (mRssi == other.mRssi)
321 && Objects.equals(mScanRecord, other.mScanRecord)
322 && (mTimestampNanos == other.mTimestampNanos)
323 && mEventType == other.mEventType
324 && mPrimaryPhy == other.mPrimaryPhy
325 && mSecondaryPhy == other.mSecondaryPhy
326 && mAdvertisingSid == other.mAdvertisingSid
327 && mTxPower == other
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiDeviceInfo.java27 * container includes adopter id and device type. Otherwise, it keeps the information of other type
253 * switching to other input.
384 * is either MHL or other device.
392 * either CEC or other device.
414 * Returns vendor id of the device. Vendor id is used to distinguish devices built by other
501 HdmiDeviceInfo other = (HdmiDeviceInfo) obj;
502 return mHdmiDeviceType == other.mHdmiDeviceType
503 && mPhysicalAddress == other.mPhysicalAddress
504 && mPortId == other.mPortId
505 && mLogicalAddress == other
[all...]
/frameworks/base/core/java/android/app/
H A DAutomaticZenRule.java188 final AutomaticZenRule other = (AutomaticZenRule) o;
189 return other.enabled == enabled
190 && Objects.equals(other.name, name)
191 && other.interruptionFilter == interruptionFilter
192 && Objects.equals(other.conditionId, conditionId)
193 && Objects.equals(other.owner, owner)
194 && other.creationTime == creationTime;
H A DWindowConfiguration.java35 * Class that contains windowing configuration/state for other objects that contain windows directly
66 /** Always on-top (always visible). of other siblings in its parent container. */
264 // affect how other things is the system is managed.
279 public void setTo(WindowConfiguration other) { argument
280 setBounds(other.mBounds);
281 setAppBounds(other.mAppBounds);
282 setWindowingMode(other.mWindowingMode);
283 setActivityType(other.mActivityType);
334 * Does not change the values of either. Any undefined fields in <var>other</var> are ignored.
335 * @param other Th
343 diff(WindowConfiguration other, boolean compareUndefined) argument
[all...]
H A DProfilerInfo.java182 final ProfilerInfo other = (ProfilerInfo) o;
184 return Objects.equals(profileFile, other.profileFile)
185 && autoStopProfiler == other.autoStopProfiler
186 && samplingInterval == other.samplingInterval
187 && streamingOutput == other.streamingOutput
188 && Objects.equals(agent, other.agent);
/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java317 OverlayInfo other = (OverlayInfo) obj;
318 if (userId != other.userId) {
321 if (state != other.state) {
324 if (!packageName.equals(other.packageName)) {
327 if (!targetPackageName.equals(other.targetPackageName)) {
330 if (!category.equals(other.category)) {
333 if (!baseCodePath.equals(other.baseCodePath)) {
/frameworks/native/services/sensorservice/
H A DSensorDevice.h120 bool operator != (const BatchParams& other) { argument
121 return !(mTSample == other.mTSample && mTBatch == other.mTBatch);
125 // of the other. the apparent batch is the maximum of mTBatch and mTSample,
126 void merge(const BatchParams &other) { argument
127 mTSample = std::min(mTSample, other.mTSample);
128 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample));
/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/
H A DFitWidthBitmapDrawable.java52 BitmapState(BitmapState other) { argument
53 mBitmap = other.mBitmap;
54 mPaint = new Paint(other.mPaint);
55 mSource = other.mSource != null ? new Rect(other.mSource) : null;
56 mDefaultSource.set(other.mDefaultSource);
57 mOffset = other.mOffset;
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DSelection.java238 public boolean equals(Object other) { argument
239 return (this == other)
240 || (other instanceof Selection && isEqualTo((Selection) other));
243 private boolean isEqualTo(Selection other) { argument
244 return mSelection.equals(other.mSelection)
245 && mProvisionalSelection.equals(other.mProvisionalSelection);
/frameworks/base/core/java/android/print/
H A DPrintJobInfo.java211 public PrintJobInfo(PrintJobInfo other) { argument
212 mId = other.mId;
213 mLabel = other.mLabel;
214 mPrinterId = other.mPrinterId;
215 mPrinterName = other.mPrinterName;
216 mState = other.mState;
217 mAppId = other.mAppId;
218 mTag = other.mTag;
219 mCreationTime = other.mCreationTime;
220 mCopies = other
[all...]
/frameworks/base/core/java/android/view/textclassifier/
H A DSelectionEvent.java45 // NOTE: ActionType values should not be lower than 100 to avoid colliding with the other
103 /** Something else other than User or the default TextClassifier triggered a selection. */
610 final SelectionEvent other = (SelectionEvent) obj;
611 return mAbsoluteStart == other.mAbsoluteStart
612 && mAbsoluteEnd == other.mAbsoluteEnd
613 && mEventType == other.mEventType
614 && Objects.equals(mEntityType, other.mEntityType)
615 && Objects.equals(mWidgetVersion, other.mWidgetVersion)
616 && Objects.equals(mPackageName, other.mPackageName)
617 && Objects.equals(mWidgetType, other
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarSignalPolicy.java332 protected void copyTo(SignalIconState other) { argument
333 other.visible = visible;
334 other.activityIn = activityIn;
335 other.activityOut = activityOut;
336 other.slot = slot;
337 other.contentDescription = contentDescription;
361 public void copyTo(WifiIconState other) { argument
362 super.copyTo(other);
363 other.resId = resId;
364 other
432 copyTo(MobileIconState other) argument
[all...]
/frameworks/support/collection/ktx/src/main/java/androidx/collection/
H A DLongSparseArray.kt30 /** Creates a new collection by adding or replacing entries from [other]. */
31 operator fun <T> LongSparseArray<T>.plus(other: LongSparseArray<T>): LongSparseArray<T> {
32 val new = LongSparseArray<T>(size() + other.size())
34 new.putAll(other)
65 /** Update this collection by adding or replacing entries from [other]. */
66 fun <T> LongSparseArray<T>.putAll(other: LongSparseArray<T>) = other.forEach(::put)
H A DSparseArray.kt30 /** Creates a new collection by adding or replacing entries from [other]. */
31 operator fun <T> SparseArrayCompat<T>.plus(other: SparseArrayCompat<T>): SparseArrayCompat<T> {
32 val new = SparseArrayCompat<T>(size() + other.size())
34 new.putAll(other)
65 /** Update this collection by adding or replacing entries from [other]. */
66 fun <T> SparseArrayCompat<T>.putAll(other: SparseArrayCompat<T>) = other.forEach(::put)
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
H A DLongSparseArray.kt36 /** Creates a new collection by adding or replacing entries from [other]. */
38 operator fun <T> LongSparseArray<T>.plus(other: LongSparseArray<T>): LongSparseArray<T> {
39 val new = LongSparseArray<T>(size() + other.size())
41 new.putAll(other)
82 /** Update this collection by adding or replacing entries from [other]. */
84 fun <T> LongSparseArray<T>.putAll(other: LongSparseArray<T>) = other.forEach(::put)
H A DSparseArray.kt32 /** Creates a new collection by adding or replacing entries from [other]. */
33 operator fun <T> SparseArray<T>.plus(other: SparseArray<T>): SparseArray<T> {
34 val new = SparseArray<T>(size() + other.size())
36 new.putAll(other)
69 /** Update this collection by adding or replacing entries from [other]. */
70 fun <T> SparseArray<T>.putAll(other: SparseArray<T>) = other.forEach(::put)
H A DSparseBooleanArray.kt32 /** Creates a new collection by adding or replacing entries from [other]. */
33 operator fun SparseBooleanArray.plus(other: SparseBooleanArray): SparseBooleanArray {
34 val new = SparseBooleanArray(size() + other.size())
36 new.putAll(other)
70 /** Update this collection by adding or replacing entries from [other]. */
71 fun SparseBooleanArray.putAll(other: SparseBooleanArray) = other.forEach(::put)
H A DSparseIntArray.kt32 /** Creates a new collection by adding or replacing entries from [other]. */
33 operator fun SparseIntArray.plus(other: SparseIntArray): SparseIntArray {
34 val new = SparseIntArray(size() + other.size())
36 new.putAll(other)
69 /** Update this collection by adding or replacing entries from [other]. */
70 fun SparseIntArray.putAll(other: SparseIntArray) = other.forEach(::put)
H A DSparseLongArray.kt36 /** Creates a new collection by adding or replacing entries from [other]. */
38 operator fun SparseLongArray.plus(other: SparseLongArray): SparseLongArray {
39 val new = SparseLongArray(size() + other.size())
41 new.putAll(other)
81 /** Update this collection by adding or replacing entries from [other]. */
83 fun SparseLongArray.putAll(other: SparseLongArray) = other.forEach(::put)
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java156 public SyncOperation(SyncOperation other) { argument
157 target = other.target;
158 owningUid = other.owningUid;
159 owningPackage = other.owningPackage;
160 reason = other.reason;
161 syncSource = other.syncSource;
162 allowParallelSyncs = other.allowParallelSyncs;
163 extras = new Bundle(other.extras);
164 wakeLockName = other.wakeLockName();
165 isPeriodic = other
328 matchesPeriodicOperation(SyncOperation other) argument
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java171 * other region.
327 * associated audio source and the other is for pre scanning and building a
337 * is required to be done before other operations or not.
340 * callback before executing any other operations. Otherwise, such operation will fail
513 ModuleProperties other = (ModuleProperties) obj;
515 if (mId != other.getId()) return false;
516 if (!TextUtils.equals(mServiceName, other.mServiceName)) return false;
517 if (mClassId != other.mClassId) return false;
518 if (!Objects.equals(mImplementor, other.mImplementor)) return false;
519 if (!Objects.equals(mProduct, other
[all...]
/frameworks/av/camera/include/camera/
H A DCameraMetadata.h47 CameraMetadata(const CameraMetadata &other);
52 CameraMetadata &operator=(const CameraMetadata &other);
94 * Acquires raw buffer from other CameraMetadata object. After the call, the argument
97 void acquire(CameraMetadata &other);
102 status_t append(const CameraMetadata &other);
107 status_t append(const camera_metadata* other);
173 * Swap the underlying camera metadata between this and the other
176 void swap(CameraMetadata &other);
/frameworks/av/include/camera/
H A DCameraMetadata.h47 CameraMetadata(const CameraMetadata &other);
52 CameraMetadata &operator=(const CameraMetadata &other);
94 * Acquires raw buffer from other CameraMetadata object. After the call, the argument
97 void acquire(CameraMetadata &other);
102 status_t append(const CameraMetadata &other);
107 status_t append(const camera_metadata* other);
173 * Swap the underlying camera metadata between this and the other
176 void swap(CameraMetadata &other);
/frameworks/base/core/java/android/app/servertransaction/
H A DActivityRelaunchItem.java152 final ActivityRelaunchItem other = (ActivityRelaunchItem) o;
153 return Objects.equals(mPendingResults, other.mPendingResults)
154 && Objects.equals(mPendingNewIntents, other.mPendingNewIntents)
155 && mConfigChanges == other.mConfigChanges && Objects.equals(mConfig, other.mConfig)
156 && mPreserveWindow == other.mPreserveWindow;

Completed in 1573 milliseconds

1234567891011>>