/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | NotBindableVo.java | 70 public String mergeStringFields(NotBindableVo other) { argument 71 return mStringValue + (other == null ? "" : other.mStringValue);
|
/frameworks/minikin/libs/minikin/ |
H A D | WordBreaker.h | 47 Slot(Slot&& other) = default; member in struct:minikin::ICULineBreakerPool::Slot 48 Slot& operator=(Slot&& other) = default; member in struct:minikin::ICULineBreakerPool::Slot
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 140 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/native/libs/vr/libbufferhub/ |
H A D | ion_buffer.cpp | 52 IonBuffer::IonBuffer(IonBuffer&& other) : IonBuffer() { argument 53 *this = std::move(other); 56 IonBuffer& IonBuffer::operator=(IonBuffer&& other) { argument 57 ALOGD_IF(TRACE, "IonBuffer::operator=: handle_=%p other.handle_=%p", handle(), 58 other.handle()); 60 if (this != &other) { 61 buffer_ = other.buffer_; 62 other.FreeHandle(); 161 int IonBuffer::Duplicate(const IonBuffer* other) { argument 162 if (!other [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | file_handle.h | 45 // 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/libpdx/private/pdx/rpc/ |
H A D | buffer_wrapper.h | 40 BufferWrapper(const BufferWrapper& other) { *this = other; } argument 42 BufferWrapper(BufferWrapper&& other) { *this = std::move(other); } argument 44 BufferWrapper& operator=(const BufferWrapper& other) { argument 45 if (&other == this) { 48 buffer_ = other.buffer_; 49 capacity_ = other.capacity_; 50 end_ = other.end_; 56 BufferWrapper& operator=(BufferWrapper&& other) { argument [all...] |
H A D | string_wrapper.h | 45 StringWrapper(const StringWrapper& other) { *this = other; } argument 47 StringWrapper(StringWrapper&& other) { *this = std::move(other); } argument 49 StringWrapper& operator=(const StringWrapper& other) { argument 50 if (&other == this) { 53 buffer_ = other.buffer_; 54 capacity_ = other.capacity_; 55 end_ = other.end_; 61 StringWrapper& operator=(StringWrapper&& other) { argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | Tokenizer.cpp | 32 Tokenizer::Tokenizer(const Tokenizer& other) argument 33 : mRanges(other.mRanges)
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.h | 120 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/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandDetails.java | 44 public boolean compareTo(CommandDetails other) { argument 45 return (this.compRequired == other.compRequired && 46 this.commandNumber == other.commandNumber && 47 this.commandQualifier == other.commandQualifier && 48 this.typeOfCommand == other.typeOfCommand);
|
/frameworks/support/compat/src/main/java/androidx/core/os/ |
H A D | LocaleListCompat.java | 74 public boolean equals(Object other) { argument 75 return mLocaleList.equals(((LocaleListCompat) other).unwrap()); 140 public boolean equals(Object other) { argument 141 return mLocaleList.equals(((LocaleListCompat) other).unwrap()); 321 * is an indication that the system has set the default locale to one of the user's other 339 public boolean equals(Object other) { argument 340 return IMPL.equals(other);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/ |
H A D | FitWidthBitmapDrawable.java | 52 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/room/migration/src/main/java/androidx/room/migration/bundle/ |
H A D | EntityBundle.java | 183 public boolean isSchemaEqual(EntityBundle other) { argument 184 if (!mTableName.equals(other.mTableName)) { 187 return checkSchemaEquality(getFieldsByColumnName(), other.getFieldsByColumnName()) 188 && checkSchemaEquality(mPrimaryKey, other.mPrimaryKey) 189 && checkSchemaEquality(mIndices, other.mIndices) 190 && checkSchemaEquality(mForeignKeys, other.mForeignKeys);
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
H A D | Program.java | 133 public boolean equals(Object other) { argument 134 if (!(other instanceof Program)) { 137 return mValues.equals(((Program) other).mValues); 141 * @param other The program you're comparing to. 145 public int compareTo(@NonNull Program other) { argument 147 other.mValues.getAsLong(Programs.COLUMN_START_TIME_UTC_MILLIS)); 235 * @param other The Program you're copying from. 237 public Builder(Program other) { argument 238 mValues = new ContentValues(other.mValues);
|
H A D | WatchNextProgram.java | 131 public boolean equals(Object other) { argument 132 if (!(other instanceof WatchNextProgram)) { 135 return mValues.equals(((WatchNextProgram) other).mValues); 139 * Indicates whether some other WatchNextProgram has any set attribute that is different from 233 * @param other The Program you're copying from. 235 public Builder(WatchNextProgram other) { argument 236 mValues = new ContentValues(other.mValues);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.h | 105 WebmStream &operator=(const WebmStream &other) { argument 106 mType = other.mType; 107 mName = other.mName; 108 mMakeTrack = other.mMakeTrack;
|
/frameworks/base/core/java/android/app/servertransaction/ |
H A D | LaunchActivityItem.java | 167 final LaunchActivityItem other = (LaunchActivityItem) o; 168 final boolean intentsEqual = (mIntent == null && other.mIntent == null) 169 || (mIntent != null && mIntent.filterEquals(other.mIntent)); 170 return intentsEqual && mIdent == other.mIdent 171 && activityInfoEqual(other.mInfo) && Objects.equals(mCurConfig, other.mCurConfig) 172 && Objects.equals(mOverrideConfig, other.mOverrideConfig) 173 && Objects.equals(mCompatInfo, other.mCompatInfo) 174 && Objects.equals(mReferrer, other.mReferrer) 175 && mProcState == other 202 activityInfoEqual(ActivityInfo other) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 102 * @param other the ContentValues from which to copy 104 public void putAll(ContentValues other) { argument 105 mValues.putAll(other.mValues); 444 * any other types to byte arrays.
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | OutputConfiguration.java | 49 * frequent usage and clients should consider it first before other more complicated alternatives. 431 * <p> If the OutputConfiguration was constructed by other constructors, the added 509 * @param other Another {@link OutputConfiguration} instance to be copied. 513 public OutputConfiguration(@NonNull OutputConfiguration other) { argument 514 if (other == null) { 518 this.mSurfaces = other.mSurfaces; 519 this.mRotation = other.mRotation; 520 this.mSurfaceGroupId = other.mSurfaceGroupId; 521 this.mSurfaceType = other.mSurfaceType; 522 this.mConfiguredDataspace = other [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | BrightnessChangeEvent.java | 97 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/core/java/android/os/ |
H A D | LocaleList.java | 96 public boolean equals(Object other) { argument 97 if (other == this) 99 if (!(other instanceof LocaleList)) 101 final Locale[] otherList = ((LocaleList) other).mList; 496 * is an indication that the system has set the default locale to one of the user's other 556 * default locale may have been chosen to be a locale other than the first locale in the locale
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceGroupAdapter.java | 107 public int compareTo(PreferenceLayout other) { argument 108 int compareNames = name.compareTo(other.name); 110 if (resId == other.resId) { 111 if (widgetResId == other.widgetResId) { 114 return widgetResId - other.widgetResId; 117 return resId - other.resId;
|
/frameworks/base/core/java/android/print/ |
H A D | PrinterInfo.java | 322 * @param other the other {@link PrinterInfo} 326 public boolean equalsIgnoringStatus(PrinterInfo other) { argument 327 if (!mId.equals(other.mId)) { 330 if (!mName.equals(other.mName)) { 333 if (!TextUtils.equals(mDescription, other.mDescription)) { 337 if (other.mCapabilities != null) { 340 } else if (!mCapabilities.equals(other.mCapabilities)) { 343 if (mIconResourceId != other.mIconResourceId) { 346 if (mHasCustomPrinterIcon != other 434 Builder(@onNull PrinterInfo other) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 44 * density, instead allow the platform to scale from other densities 322 * Returns true if these display metrics equal the other display metrics. 324 * @param other The display metrics with which to compare. 327 public boolean equals(DisplayMetrics other) { argument 328 return equalsPhysical(other) 329 && scaledDensity == other.scaledDensity 330 && noncompatScaledDensity == other.noncompatScaledDensity; 338 * @param other The display metrics with which to compare. 342 public boolean equalsPhysical(DisplayMetrics other) { argument 343 return other ! [all...] |
/frameworks/base/core/java/com/android/internal/colorextraction/ |
H A D | ColorExtractor.java | 239 public void set(GradientColors other) { argument 240 mMainColor = other.mMainColor; 241 mSecondaryColor = other.mSecondaryColor; 242 mSupportsDarkText = other.mSupportsDarkText; 262 GradientColors other = (GradientColors) o; 263 return other.mMainColor == mMainColor && 264 other.mSecondaryColor == mSecondaryColor && 265 other.mSupportsDarkText == mSupportsDarkText;
|