/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | pose.h | 41 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); }
|
H A D | ring_buffer.h | 25 RingBuffer(const RingBuffer& other) = default; member in class:android::dvr::RingBuffer 26 RingBuffer(RingBuffer&& other) = default; member in class:android::dvr::RingBuffer 27 RingBuffer& operator=(const RingBuffer& other) = default; member in class:android::dvr::RingBuffer 28 RingBuffer& operator=(RingBuffer&& other) = default; member in class:android::dvr::RingBuffer
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | channel_handle.h | 53 ChannelHandle(ChannelHandle&& other) : ChannelHandleBase{other.value_} { argument 54 other.value_ = kEmptyHandle; 60 ChannelHandle& operator=(ChannelHandle&& other) { argument 61 value_ = other.value_; 62 other.value_ = kEmptyHandle; 77 ChannelHandle(ChannelHandle&& other) argument 78 : ChannelHandleBase{other.value_}, manager_{other.manager_} { 79 other 83 operator =(ChannelHandle&& other) argument [all...] |
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/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | array_wrapper.h | 40 ArrayWrapper(const ArrayWrapper& other) { *this = other; } argument 42 ArrayWrapper(ArrayWrapper&& other) { *this = std::move(other); } argument 44 ArrayWrapper& operator=(const ArrayWrapper& other) { argument 45 if (&other == this) { 48 buffer_ = other.buffer_; 49 capacity_ = other.capacity_; 50 end_ = other.end_; 56 ArrayWrapper& operator=(ArrayWrapper&& other) { argument [all...] |
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | LocaleListInterface.java | 50 boolean equals(Object other); argument
|
/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/support/tv-provider/src/android/support/media/tv/ |
H A D | PreviewProgram.java | 109 public boolean equals(Object other) { argument 110 if (!(other instanceof PreviewProgram)) { 113 return mValues.equals(((PreviewProgram) other).mValues); 192 * @param other The Program you're copying from. 194 public Builder(PreviewProgram other) { argument 195 mValues = new ContentValues(other.mValues);
|
H A D | WatchNextProgram.java | 112 public boolean equals(Object other) { argument 113 if (!(other instanceof WatchNextProgram)) { 116 return mValues.equals(((WatchNextProgram) other).mValues); 196 * @param other The Program you're copying from. 198 public Builder(WatchNextProgram other) { argument 199 mValues = new ContentValues(other.mValues);
|
/frameworks/base/core/java/android/app/admin/ |
H A D | PasswordMetrics.java | 161 public boolean equals(Object other) { argument 162 if (!(other instanceof PasswordMetrics)) { 165 PasswordMetrics o = (PasswordMetrics) other;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 224 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/core/java/android/hardware/display/ |
H A D | WifiDisplay.java | 139 public boolean equals(WifiDisplay other) { argument 140 return other != null 141 && mDeviceAddress.equals(other.mDeviceAddress) 142 && mDeviceName.equals(other.mDeviceName) 143 && Objects.equal(mDeviceAlias, other.mDeviceAlias); 147 * Returns true if the other display is not null and has the same address as this one. 151 public boolean hasSameAddress(WifiDisplay other) { argument 152 return other != null && mDeviceAddress.equals(other.mDeviceAddress);
|
/frameworks/base/core/java/android/net/ |
H A D | LinkAddress.java | 222 * the other is not. 253 * @param other the {@code LinkAddress} to compare to. 258 public boolean isSameAddressAs(LinkAddress other) { argument 259 return address.equals(other.address) && prefixLength == other.prefixLength;
|
/frameworks/base/core/java/android/util/ |
H A D | Rational.java | 179 * <p>A finite value occurs when the denominator is not {@code 0}; in other words 213 * other type will return {@code false}).</p> 243 private boolean equals(Rational other) { argument 244 return (mNumerator == other.mNumerator && mDenominator == other.mDenominator); 255 * <li>All other values will return {@code "numerator/denominator"} where {@code numerator} 446 * <p>{@link #NaN} is considered to be equal to itself and greater than all other 451 * <li>Positive infinity is greater than any other finite number (or negative infinity) 452 * <li>Negative infinity is less than any other finite number (or positive infinity) 454 * against the other finit [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FrameMetrics.java | 115 * Equal to the sum of the values of all other time-valued metric 130 * and are usually hidden by window animations or other tricks. 261 * @param other the FrameMetrics object to copy. 263 public FrameMetrics(FrameMetrics other) { argument 265 System.arraycopy(other.mTimingData, 0, mTimingData, 0, mTimingData.length);
|
H A D | InputChannel.java | 54 private native void nativeTransferTo(InputChannel other); argument 80 * dispatcher and the other to the application's input queue. 119 * @param other The other input channel instance.
|
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.cpp | 60 LayerProperties& LayerProperties::operator=(const LayerProperties& other) { argument 61 setType(other.type()); 62 setOpaque(other.opaque()); 63 setAlpha(other.alpha()); 64 setXferMode(other.xferMode()); 65 setColorFilter(other.colorFilter()); 87 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { argument 88 if (this != &other) { 89 mPrimitiveFields = other.mPrimitiveFields; 90 setStaticMatrix(other [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 56 int index, other; local 64 other = (index == 0 ? 1 : 0); 66 if (buffer_states[other] == BUFFER_EMPTY) 67 empty_index = other; 90 int index, other; local 98 other = (index == 0 ? 1 : 0); 100 if (buffer_states[other] == BUFFER_FULL) 101 full_index = other;
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplayState.java | 119 public RemoteDisplayInfo(RemoteDisplayInfo other) { argument 120 id = other.id; 121 name = other.name; 122 description = other.description; 123 status = other.status; 124 volume = other.volume; 125 volumeMax = other.volumeMax; 126 volumeHandling = other.volumeHandling; 127 presentationDisplayId = other.presentationDisplayId;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | WiFiKeyManager.java | 78 public int compareTo(AliasEntry other) { argument 79 return Integer.compare(getPreference(), other.getPreference());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewTransform.java | 81 public void copyFrom(TaskViewTransform other) { argument 82 translationZ = other.translationZ; 83 scale = other.scale; 84 alpha = other.alpha; 85 visible = other.visible; 86 dimAlpha = other.dimAlpha; 87 viewOutlineAlpha = other.viewOutlineAlpha; 88 rect.set(other.rect); 92 * @return whether {@param other} is the same transform as this 94 public boolean isSame(TaskViewTransform other) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | LocationRequestStatistics.java | 73 public boolean equals(Object other) { argument 74 if (!(other instanceof PackageProviderKey)) { 78 PackageProviderKey otherKey = (PackageProviderKey) other;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CrossProfileIntentFilter.java | 136 boolean equalsIgnoreFilter(CrossProfileIntentFilter other) { argument 137 return mTargetUserId == other.mTargetUserId 138 && mOwnerPackage.equals(other.mOwnerPackage) 139 && mFlags == other.mFlags;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.java | 146 public boolean equals(Object other) { argument 147 if (this == other) { 151 if (!(other instanceof CellIdentityCdma)) { 155 CellIdentityCdma o = (CellIdentityCdma) other;
|
H A D | CellIdentityGsm.java | 162 public boolean equals(Object other) { argument 163 if (this == other) { 167 if (!(other instanceof CellIdentityGsm)) { 171 CellIdentityGsm o = (CellIdentityGsm) other;
|