Searched refs:other (Results 26 - 50 of 648) sorted by relevance

1234567891011>>

/frameworks/native/libs/ui/include/ui/
H A DFloatRect.h30 FloatRect intersect(const FloatRect& other) const {
32 // Inline to avoid tromping on other min/max defines or adding a
34 (left > other.left) ? left : other.left,
35 (top > other.top) ? top : other.top,
36 (right < other.right) ? right : other.right,
37 (bottom < other.bottom) ? bottom : other
[all...]
/frameworks/native/libs/ui/include_vndk/ui/
H A DFloatRect.h30 FloatRect intersect(const FloatRect& other) const {
32 // Inline to avoid tromping on other min/max defines or adding a
34 (left > other.left) ? left : other.left,
35 (top > other.top) ? top : other.top,
36 (right < other.right) ? right : other.right,
37 (bottom < other.bottom) ? bottom : other
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dchannel_handle.h53 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 Dstatus.h41 // 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/rs/cpp/util/
H A DStrongPointer.h68 sp(T* other); // NOLINT, implicit
69 sp(const sp<T>& other);
70 template<typename U> sp(U* other); // NOLINT, implicit
71 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
77 sp& operator = (T* other);
78 sp& operator = (const sp<T>& other);
80 template<typename U> sp& operator = (const sp<U>& other);
81 template<typename U> sp& operator = (U* other);
84 void force_set(T* other);
121 sp<T>::sp(T* other)
141 sp(const sp<U>& other) argument
154 operator =(const sp<T>& other) argument
163 operator =(T* other) argument
172 operator =(const sp<U>& other) argument
182 operator =(U* other) argument
191 force_set(T* other) argument
[all...]
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DForeignKeyBundle.java107 public boolean isSchemaEqual(ForeignKeyBundle other) { argument
108 if (mTable != null ? !mTable.equals(other.mTable) : other.mTable != null) return false;
109 if (mOnDelete != null ? !mOnDelete.equals(other.mOnDelete) : other.mOnDelete != null) {
112 if (mOnUpdate != null ? !mOnUpdate.equals(other.mOnUpdate) : other.mOnUpdate != null) {
116 return mColumns.equals(other.mColumns) && mReferencedColumns.equals(
117 other.mReferencedColumns);
H A DIndexBundle.java72 public boolean isSchemaEqual(IndexBundle other) { argument
73 if (mUnique != other.mUnique) return false;
75 if (!other.mName.startsWith(DEFAULT_PREFIX)) {
78 } else if (other.mName.startsWith(DEFAULT_PREFIX)) {
80 } else if (!mName.equals(other.mName)) {
85 if (mColumnNames != null ? !mColumnNames.equals(other.mColumnNames)
86 : other.mColumnNames != null) {
H A DPrimaryKeyBundle.java51 public boolean isSchemaEqual(PrimaryKeyBundle other) { argument
52 return mColumnNames.equals(other.mColumnNames) && mAutoGenerate == other.mAutoGenerate;
/frameworks/base/core/java/android/os/
H A DBatteryProperties.java40 public void set(BatteryProperties other) { argument
41 chargerAcOnline = other.chargerAcOnline;
42 chargerUsbOnline = other.chargerUsbOnline;
43 chargerWirelessOnline = other.chargerWirelessOnline;
44 maxChargingCurrent = other.maxChargingCurrent;
45 maxChargingVoltage = other.maxChargingVoltage;
46 batteryStatus = other.batteryStatus;
47 batteryHealth = other.batteryHealth;
48 batteryPresent = other.batteryPresent;
49 batteryLevel = other
[all...]
/frameworks/av/media/libaaudio/examples/input_monitor/jni/
H A DApplication.mk1 # TODO remove then when we support other architectures
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
H A DPrimaryKeyBundleTest.java34 PrimaryKeyBundle other = new PrimaryKeyBundle(true,
36 assertThat(bundle.isSchemaEqual(other), is(true));
43 PrimaryKeyBundle other = new PrimaryKeyBundle(false,
45 assertThat(bundle.isSchemaEqual(other), is(false));
52 PrimaryKeyBundle other = new PrimaryKeyBundle(true,
54 assertThat(bundle.isSchemaEqual(other), is(false));
61 PrimaryKeyBundle other = new PrimaryKeyBundle(true,
63 assertThat(bundle.isSchemaEqual(other), is(false));
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java105 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/base/core/java/android/view/
H A DDisplayInfo.java279 public DisplayInfo(DisplayInfo other) { argument
280 copyFrom(other);
292 public boolean equals(DisplayInfo other) { argument
293 return other != null
294 && layerStack == other.layerStack
295 && flags == other.flags
296 && type == other.type
297 && Objects.equals(address, other.address)
298 && Objects.equals(uniqueId, other.uniqueId)
299 && appWidth == other
334 copyFrom(DisplayInfo other) argument
[all...]
H A DMagnificationSpec.java65 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...]
/frameworks/base/libs/hwui/
H A DFloatColor.h53 bool operator==(const FloatColor& other) const {
54 return MathUtils::areEqual(r, other.r) && MathUtils::areEqual(g, other.g) &&
55 MathUtils::areEqual(b, other.b) && MathUtils::areEqual(a, other.a);
58 bool operator!=(const FloatColor& other) const { return !(*this == other); }
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpRoot.java59 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 DDisplayViewport.java89 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/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
H A DQSTile.java120 public boolean copyTo(State other) { argument
121 if (other == null) throw new IllegalArgumentException();
122 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException();
123 final boolean changed = !Objects.equals(other.icon, icon)
124 || !Objects.equals(other.iconSupplier, iconSupplier)
125 || !Objects.equals(other.label, label)
126 || !Objects.equals(other.secondaryLabel, secondaryLabel)
127 || !Objects.equals(other.contentDescription, contentDescription)
128 || !Objects.equals(other.dualLabelContentDescription,
130 || !Objects.equals(other
187 copyTo(State other) argument
218 copyTo(State other) argument
254 copyTo(State other) argument
[all...]
/frameworks/ml/nn/runtime/include/
H A DNeuralNetworksWrapper.h91 Memory(Memory&& other) { *this = std::move(other); } argument
92 Memory& operator=(Memory&& other) { argument
93 if (this != &other) {
95 mMemory = other.mMemory;
96 mValid = other.mValid;
97 other.mMemory = nullptr;
98 other.mValid = false;
128 Model(Model&& other) { *this = std::move(other); } argument
129 operator =(Model&& other) argument
228 Event(Event&& other) argument
229 operator =(Event&& other) argument
270 Compilation(Compilation&& other) argument
271 operator =(Compilation&& other) argument
313 Execution(Execution&& other) argument
314 operator =(Execution&& other) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DMacros.h27 bool operator==(const Type& other) const; \
29 bool operator!=(const Type& other) const { return !(*this == other); } \
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dstring_wrapper.h45 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/av/camera/ndk/impl/
H A DACameraManager.h100 bool operator == (const Callback& other) const {
101 return (mAvailable == other.mAvailable &&
102 mUnavailable == other.mUnavailable &&
103 mContext == other.mContext);
105 bool operator != (const Callback& other) const {
106 return !(*this == other);
108 bool operator < (const Callback& other) const {
109 if (*this == other) return false;
110 if (mContext != other.mContext) return mContext < other
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DPin.java66 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 DTransitionValues.java31 * 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 DDependency.java29 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;

Completed in 3802 milliseconds

1234567891011>>