/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 105 public Size(Size other) { argument 106 if (other == null) { 109 val = new Point(other.width(), other.height()); 116 * @param other The source size. 118 public Size(Camera.Size other) { argument 119 if (other == null) { 122 val = new Point(other.width, other.height); 129 * @param other Th 131 Size(android.util.Size other) argument [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | status.h | 41 // Copy/move constructors. Move constructor leaves |other| object in empty 43 Status(const Status& other) = default; member in class:android::pdx::Status 44 Status(Status&& other) argument 45 : value_{std::move(other.value_)}, error_{other.error_} { 46 other.error_ = -1; 50 Status& operator=(const Status& other) = default; member in class:android::pdx::Status 51 Status& operator=(Status&& other) { argument 52 error_ = other.error_; 53 value_ = std::move(other 74 PropagateError(const Status<U>& other) argument 144 PropagateError(const Status<U>& other) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MagnificationSpec.java | 65 public static MagnificationSpec obtain(MagnificationSpec other) { argument 67 info.scale = other.scale; 68 info.offsetX = other.offsetX; 69 info.offsetY = other.offsetY; 89 public void setTo(MagnificationSpec other) { argument 90 scale = other.scale; 91 offsetX = other.offsetX; 92 offsetY = other.offsetY; 109 public boolean equals(Object other) { argument 110 if (this == other) { [all...] |
H A D | DisplayInfo.java | 265 public DisplayInfo(DisplayInfo other) { argument 266 copyFrom(other); 278 public boolean equals(DisplayInfo other) { argument 279 return other != null 280 && layerStack == other.layerStack 281 && flags == other.flags 282 && type == other.type 283 && Objects.equal(address, other.address) 284 && Objects.equal(uniqueId, other.uniqueId) 285 && appWidth == other 319 copyFrom(DisplayInfo other) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FloatColor.h | 58 bool operator==(const FloatColor& other) const { 59 return MathUtils::areEqual(r, other.r) 60 && MathUtils::areEqual(g, other.g) 61 && MathUtils::areEqual(b, other.b) 62 && MathUtils::areEqual(a, other.a); 65 bool operator!=(const FloatColor& other) const { 66 return !(*this == other);
|
H A D | RenderBufferCache.h | 53 * not enough space available. Adding a buffer can cause other buffer to 92 bool operator==(const RenderBufferEntry& other) const { 93 return compare(*this, other) == 0; 96 bool operator!=(const RenderBufferEntry& other) const { 97 return compare(*this, other) != 0; 100 bool operator<(const RenderBufferEntry& other) const { 101 return RenderBufferEntry::compare(*this, other) < 0;
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpRoot.java | 59 final MtpRoot other = (MtpRoot) object; 60 return mDeviceId == other.mDeviceId && 61 mStorageId == other.mStorageId && 62 mDescription.equals(other.mDescription) && 63 mFreeSpace == other.mFreeSpace && 64 mMaxCapacity == other.mMaxCapacity && 65 mVolumeIdentifier.equals(other.mVolumeIdentifier);
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayViewport.java | 89 DisplayViewport other = (DisplayViewport) o; 90 return valid == other.valid 91 && displayId == other.displayId 92 && orientation == other.orientation 93 && logicalFrame.equals(other.logicalFrame) 94 && physicalFrame.equals(other.physicalFrame) 95 && deviceWidth == other.deviceWidth 96 && deviceHeight == other.deviceHeight 97 && TextUtils.equals(uniqueId, other.uniqueId);
|
/frameworks/ml/nn/runtime/include/ |
H A D | NeuralNetworksWrapper.h | 89 Memory(Memory&& other) { *this = std::move(other); } argument 90 Memory& operator=(Memory&& other) { argument 91 if (this != &other) { 92 mMemory = other.mMemory; 93 mValid = other.mValid; 94 other.mMemory = nullptr; 95 other.mValid = false; 125 Model(Model&& other) { *this = std::move(other); } argument 126 operator =(Model&& other) argument 204 Event(Event&& other) argument 205 operator =(Event&& other) argument 239 Compilation(Compilation&& other) argument 240 operator =(Compilation&& other) argument 281 Execution(Execution&& other) argument 282 operator =(Execution&& other) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | Macros.h | 27 bool operator==(const Type& other) const; \ 29 bool operator!=(const Type& other) const { return !(*this == other); } \
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 78 * This should be spread to other technologies, 86 * This should be spread to other technologies, 519 ApnSetting other = (ApnSetting) o; 521 return carrier.equals(other.carrier) 522 && id == other.id 523 && numeric.equals(other.numeric) 524 && apn.equals(other.apn) 525 && proxy.equals(other.proxy) 526 && mmsc.equals(other.mmsc) 527 && mmsProxy.equals(other 601 similar(ApnSetting other) argument [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
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/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 119 public boolean copyTo(State other) { argument 120 if (other == null) throw new IllegalArgumentException(); 121 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException(); 122 final boolean changed = !Objects.equals(other.icon, icon) 123 || !Objects.equals(other.iconSupplier, iconSupplier) 124 || !Objects.equals(other.label, label) 125 || !Objects.equals(other.contentDescription, contentDescription) 126 || !Objects.equals(other.dualLabelContentDescription, 128 || !Objects.equals(other.expandedAccessibilityClassName, 130 || !Objects.equals(other 183 copyTo(State other) argument 214 copyTo(State other) argument 250 copyTo(State other) argument [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.h | 99 bool operator == (const Callback& other) const { 100 return (mAvailable == other.mAvailable && 101 mUnavailable == other.mUnavailable && 102 mContext == other.mContext); 104 bool operator != (const Callback& other) const { 105 return !(*this == other); 107 bool operator < (const Callback& other) const { 108 if (*this == other) return false; 109 if (mContext != other.mContext) return mContext < other [all...] |
/frameworks/base/core/java/android/security/net/config/ |
H A D | Pin.java | 66 Pin other = (Pin) obj; 67 if (other.hashCode() != mHashCode) { 70 if (!Arrays.equals(digest, other.digest)) { 73 if (!digestAlgorithm.equals(other.digestAlgorithm)) {
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionValues.java | 31 * be unique to avoid clobbering values stored by other transitions, 62 public boolean equals(Object other) { argument 63 if (other instanceof TransitionValues) { 64 if (view == ((TransitionValues) other).view) { 65 if (values.equals(((TransitionValues) other).values)) {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | Dependency.java | 29 public Dependency(Expr dependant, Expr other) { argument 31 mOther = other; 37 public Dependency(Expr dependant, Expr other, Expr condition, boolean expectedOutput) { argument 39 mOther = other;
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | TransitionValues.java | 30 * 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 D | PeriodicSync.java | 64 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 D | SyncInfo.java | 74 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/support/paging/common/src/main/java/android/arch/paging/ |
H A D | PageArrayList.java | 46 private PageArrayList(PageArrayList<T> other) { argument 47 mPages = other.isImmutable() ? other.mPages : new ArrayList<>(other.mPages); 48 mPageIndexOffset = other.mPageIndexOffset; 49 mPageSize = other.mPageSize; 50 mCount = other.size(); 51 mMaxPageCount = other.mMaxPageCount;
|
/frameworks/av/media/libmedia/ |
H A D | MediaResource.cpp | 57 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 D | WebmFrame.cpp | 65 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 D | HighSpeedVideoConfiguration.java | 147 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;
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreKey.java | 83 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) {
|