/frameworks/native/libs/ui/include/ui/ |
D | Region.h | 41 Region(const Region& rhs); 42 explicit Region(const Rect& rhs); 47 Region& operator = (const Region& rhs); 66 Region& orSelf(const Rect& rhs); 67 Region& xorSelf(const Rect& rhs); 68 Region& andSelf(const Rect& rhs); 69 Region& subtractSelf(const Rect& rhs); 72 Region& orSelf(const Region& rhs); 73 Region& xorSelf(const Region& rhs); 74 Region& andSelf(const Region& rhs); [all …]
|
D | Point.h | 40 inline bool operator == (const Point& rhs) const { 41 return (x == rhs.x) && (y == rhs.y); 43 inline bool operator != (const Point& rhs) const { 44 return !operator == (rhs); 53 bool operator < (const Point& rhs) const { 54 return y<rhs.y || (y==rhs.y && x<rhs.x); 63 inline Point& operator += (const Point& rhs) { 64 x += rhs.x; 65 y += rhs.y; 68 inline Point& operator -= (const Point& rhs) { [all …]
|
D | Rect.h | 149 inline bool operator == (const Rect& rhs) const { 150 return (left == rhs.left) && (top == rhs.top) && 151 (right == rhs.right) && (bottom == rhs.bottom); 154 inline bool operator != (const Rect& rhs) const { 155 return !operator == (rhs); 160 bool operator < (const Rect& rhs) const; 162 const Rect operator + (const Point& rhs) const; 163 const Rect operator - (const Point& rhs) const; 165 Rect& operator += (const Point& rhs) { 166 return offsetBy(rhs.x, rhs.y); [all …]
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 41 Region(const Region& rhs); 42 explicit Region(const Rect& rhs); 47 Region& operator = (const Region& rhs); 66 Region& orSelf(const Rect& rhs); 67 Region& xorSelf(const Rect& rhs); 68 Region& andSelf(const Rect& rhs); 69 Region& subtractSelf(const Rect& rhs); 72 Region& orSelf(const Region& rhs); 73 Region& xorSelf(const Region& rhs); 74 Region& andSelf(const Region& rhs); [all …]
|
D | Point.h | 40 inline bool operator == (const Point& rhs) const { 41 return (x == rhs.x) && (y == rhs.y); 43 inline bool operator != (const Point& rhs) const { 44 return !operator == (rhs); 53 bool operator < (const Point& rhs) const { 54 return y<rhs.y || (y==rhs.y && x<rhs.x); 63 inline Point& operator += (const Point& rhs) { 64 x += rhs.x; 65 y += rhs.y; 68 inline Point& operator -= (const Point& rhs) { [all …]
|
D | Rect.h | 149 inline bool operator == (const Rect& rhs) const { 150 return (left == rhs.left) && (top == rhs.top) && 151 (right == rhs.right) && (bottom == rhs.bottom); 154 inline bool operator != (const Rect& rhs) const { 155 return !operator == (rhs); 160 bool operator < (const Rect& rhs) const; 162 const Rect operator + (const Point& rhs) const; 163 const Rect operator - (const Point& rhs) const; 165 Rect& operator += (const Point& rhs) { 166 return offsetBy(rhs.x, rhs.y); [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | Maybe.h | 44 Maybe(const Maybe& rhs); 47 Maybe(const Maybe<U>& rhs); // NOLINT(google-explicit-constructor) 49 Maybe(Maybe&& rhs) noexcept; 52 Maybe(Maybe<U>&& rhs); // NOLINT(google-explicit-constructor) 54 Maybe& operator=(const Maybe& rhs); 57 Maybe& operator=(const Maybe<U>& rhs); 59 Maybe& operator=(Maybe&& rhs) noexcept; 62 Maybe& operator=(Maybe<U>&& rhs); 99 Maybe& copy(const Maybe<U>& rhs); 102 Maybe& move(Maybe<U>&& rhs); [all …]
|
D | Maybe_test.cpp | 33 Dummy(const Dummy& rhs) { in Dummy() 35 if (rhs.data) { in Dummy() 37 *data = *rhs.data; in Dummy() 40 << (const void*)&rhs << "}" << std::endl; in Dummy() 43 Dummy(Dummy&& rhs) { in Dummy() 44 data = rhs.data; in Dummy() 45 rhs.data = nullptr; in Dummy() 47 << (const void*)&rhs << "}" << std::endl; in Dummy() 50 Dummy& operator=(const Dummy& rhs) { in operator =() 54 if (rhs.data) { in operator =() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Resource.h | 116 ResourceNameRef(const ResourceName& rhs); // NOLINT(google-explicit-constructor) 118 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; 119 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; 120 ResourceNameRef& operator=(const ResourceName& rhs); 146 ResourceId(const ResourceId& rhs); 229 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {} in ResourceId() argument 256 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 257 return lhs.id < rhs.id; 260 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { 261 return lhs.id > rhs.id; [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 39 bool NotifyConfigurationChangedArgs::operator==(const NotifyConfigurationChangedArgs& rhs) const { in operator ==() 40 return sequenceNum == rhs.sequenceNum && eventTime == rhs.eventTime; in operator ==() 68 bool NotifyKeyArgs::operator==(const NotifyKeyArgs& rhs) const { in operator ==() 69 return sequenceNum == rhs.sequenceNum in operator ==() 70 && eventTime == rhs.eventTime in operator ==() 71 && deviceId == rhs.deviceId in operator ==() 72 && source == rhs.source in operator ==() 73 && displayId == rhs.displayId in operator ==() 74 && policyFlags == rhs.policyFlags in operator ==() 75 && action == rhs.action in operator ==() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StringPiece.h | 59 BasicStringPiece<TChar>& operator=(const BasicStringPiece<TChar>& rhs); 72 bool contains(const BasicStringPiece<TChar>& rhs) const; 73 int compare(const BasicStringPiece<TChar>& rhs) const; 74 bool operator<(const BasicStringPiece<TChar>& rhs) const; 75 bool operator>(const BasicStringPiece<TChar>& rhs) const; 76 bool operator==(const BasicStringPiece<TChar>& rhs) const; 77 bool operator!=(const BasicStringPiece<TChar>& rhs) const; 122 const BasicStringPiece<TChar>& rhs) { 123 data_ = rhs.data_; 124 length_ = rhs.length_; [all …]
|
D | TypeWrappers.h | 30 iterator& operator=(const iterator& rhs) { 31 mTypeVariant = rhs.mTypeVariant; 32 mIndex = rhs.mIndex; 36 bool operator==(const iterator& rhs) const { 37 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex; 40 bool operator!=(const iterator& rhs) const { 41 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
|
/frameworks/base/tools/aapt2/jni/ |
D | ScopedUtfChars.h | 35 ScopedUtfChars(ScopedUtfChars&& rhs) : in ScopedUtfChars() argument 36 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars() 37 rhs.env_ = nullptr; in ScopedUtfChars() 38 rhs.string_ = nullptr; in ScopedUtfChars() 39 rhs.utf_chars_ = nullptr; in ScopedUtfChars() 48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { 49 if (this != &rhs) { 54 env_ = rhs.env_; 55 string_ = rhs.string_; 56 utf_chars_ = rhs.utf_chars_; [all …]
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 35 typename TypeTraits<TYPE>::ParameterType rhs) { in doAssign() argument 38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign() 45 const mat<TYPE, C, D>& rhs) in doMul() argument 52 v += lhs[k][r] * rhs[c][k]; in doMul() 63 const vec<TYPE, D>& rhs) in doMul() argument 69 v += lhs[k][r] * rhs[k]; in doMul() 79 const mat<TYPE, C, 1>& rhs) in doMul() argument 84 res[c][r] = lhs[r] * rhs[c][0]; in doMul() 92 const mat<TYPE, C, R>& rhs, in doMul() argument 98 res[c][r] = rhs[c][r] * v; in doMul() [all …]
|
D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 54 lhs[i] = rhs[i]; in doAssign() 69 const VRHS<TYPE, SIZE>& rhs) { in doAdd() argument 72 r[i] = lhs[i] + rhs[i]; in doAdd() 84 const VRHS<TYPE, SIZE>& rhs) { in doSub() argument 87 r[i] = lhs[i] - rhs[i]; in doSub() 98 typename TypeTraits<TYPE>::ParameterType rhs) { in doMulScalar() argument 101 r[i] = lhs[i] * rhs; in doMulScalar() 112 const VEC<TYPE, SIZE>& rhs) { in doScalarMul() argument 115 r[i] = lhs * rhs[i]; in doScalarMul() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 74 Region::Region(const Region& rhs) in Region() argument 75 : mStorage(rhs.mStorage) in Region() 78 validate(rhs, "rhs copy-ctor"); in Region() 82 Region::Region(const Rect& rhs) { in Region() argument 83 mStorage.add(rhs); in Region() 220 Region& Region::operator = (const Region& rhs) in operator =() argument 224 validate(rhs, "rhs.operator="); in operator =() 226 mStorage = rhs.mStorage; in operator =() 315 Region& Region::orSelf(const Region& rhs) { in orSelf() argument 316 return operationSelf(rhs, op_or); in orSelf() [all …]
|
D | Rect.cpp | 40 bool Rect::operator <(const Rect& rhs) const { in operator <() 41 if (top < rhs.top) { in operator <() 43 } else if (top == rhs.top) { in operator <() 44 if (left < rhs.left) { in operator <() 46 } else if (left == rhs.left) { in operator <() 47 if (bottom < rhs.bottom) { in operator <() 49 } else if (bottom == rhs.bottom) { in operator <() 50 if (right < rhs.right) { in operator <() 83 const Rect Rect::operator +(const Point& rhs) const { in operator +() 84 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +() [all …]
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 57 inline region(const region& rhs) in region() 58 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } in region() 72 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument 73 : op_mask(op), spanner(lhs, rhs) in region_operator() 80 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 164 region rhs; variable 168 : lhs(_lhs), rhs(_rhs) in Spanner() 174 if (rhs.count) { in Spanner() 175 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner() 176 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; in Spanner() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 12 rsQuaternionAdd(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionAdd() argument 13 q->w += rhs->w; in rsQuaternionAdd() 14 q->x += rhs->x; in rsQuaternionAdd() 15 q->y += rhs->y; in rsQuaternionAdd() 16 q->z += rhs->z; in rsQuaternionAdd() 77 rsQuaternionSet(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionSet() argument 78 q->w = rhs->w; in rsQuaternionSet() 79 q->x = rhs->x; in rsQuaternionSet() 80 q->y = rhs->y; in rsQuaternionSet() 81 q->z = rhs->z; in rsQuaternionSet() [all …]
|
/frameworks/native/include/binder/ |
D | ParcelFileDescriptor.h | 46 inline bool operator!=(const ParcelFileDescriptor& rhs) const { 47 return mFd != rhs.mFd; 49 inline bool operator<(const ParcelFileDescriptor& rhs) const { 50 return mFd < rhs.mFd; 52 inline bool operator<=(const ParcelFileDescriptor& rhs) const { 53 return mFd <= rhs.mFd; 55 inline bool operator==(const ParcelFileDescriptor& rhs) const { 56 return mFd == rhs.mFd; 58 inline bool operator>(const ParcelFileDescriptor& rhs) const { 59 return mFd > rhs.mFd; [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ParcelFileDescriptor.h | 46 inline bool operator!=(const ParcelFileDescriptor& rhs) const { 47 return mFd != rhs.mFd; 49 inline bool operator<(const ParcelFileDescriptor& rhs) const { 50 return mFd < rhs.mFd; 52 inline bool operator<=(const ParcelFileDescriptor& rhs) const { 53 return mFd <= rhs.mFd; 55 inline bool operator==(const ParcelFileDescriptor& rhs) const { 56 return mFd == rhs.mFd; 58 inline bool operator>(const ParcelFileDescriptor& rhs) const { 59 return mFd > rhs.mFd; [all …]
|
/frameworks/base/tools/split-select/ |
D | SplitDescription.h | 34 int compare(const SplitDescription& rhs) const; 35 inline bool operator<(const SplitDescription& rhs) const; 36 inline bool operator==(const SplitDescription& rhs) const; 37 inline bool operator!=(const SplitDescription& rhs) const; 50 bool SplitDescription::operator<(const SplitDescription& rhs) const { 51 return compare(rhs) < 0; 54 bool SplitDescription::operator==(const SplitDescription& rhs) const { 55 return compare(rhs) == 0; 58 bool SplitDescription::operator!=(const SplitDescription& rhs) const { 59 return compare(rhs) != 0;
|
/frameworks/native/libs/gui/ |
D | HdrMetadata.cpp | 96 bool HdrMetadata::operator==(const HdrMetadata& rhs) const { in operator ==() 97 if (validTypes != rhs.validTypes) return false; in operator ==() 100 if (smpte2086.displayPrimaryRed.x != rhs.smpte2086.displayPrimaryRed.x || in operator ==() 101 smpte2086.displayPrimaryRed.y != rhs.smpte2086.displayPrimaryRed.y || in operator ==() 102 smpte2086.displayPrimaryGreen.x != rhs.smpte2086.displayPrimaryGreen.x || in operator ==() 103 smpte2086.displayPrimaryGreen.y != rhs.smpte2086.displayPrimaryGreen.y || in operator ==() 104 smpte2086.displayPrimaryBlue.x != rhs.smpte2086.displayPrimaryBlue.x || in operator ==() 105 smpte2086.displayPrimaryBlue.y != rhs.smpte2086.displayPrimaryBlue.y || in operator ==() 106 smpte2086.whitePoint.x != rhs.smpte2086.whitePoint.x || in operator ==() 107 smpte2086.whitePoint.y != rhs.smpte2086.whitePoint.y || in operator ==() [all …]
|
/frameworks/base/tools/aapt/ |
D | Symbol.h | 33 inline bool operator<(const Symbol& rhs) const; 48 inline bool operator<(const SymbolDefinition& rhs) const; 77 bool Symbol::operator<(const Symbol& rhs) const { 78 return (package < rhs.package) || (type < rhs.type) || (name < rhs.name) || (id < rhs.id); 90 bool SymbolDefinition::operator<(const SymbolDefinition& rhs) const { 91 return (symbol < rhs.symbol) || (config < rhs.config) || (source < rhs.source);
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 62 inline friend bool operator==(const Locale& lhs, const Locale& rhs) { 63 return lhs.lang == rhs.lang && lhs.region == rhs.region; 69 inline friend bool operator==(const AndroidManifest& lhs, const AndroidManifest& rhs) { 87 inline friend bool operator==(const AndroidSdk& lhs, const AndroidSdk& rhs) { 88 return lhs.min_sdk_version == rhs.min_sdk_version && 89 lhs.target_sdk_version == rhs.target_sdk_version && 90 lhs.max_sdk_version == rhs.max_sdk_version && 91 lhs.manifest == rhs.manifest; 103 inline friend bool operator==(const GlTexture& lhs, const GlTexture& rhs) { 104 return lhs.name == rhs.name && lhs.texture_paths == rhs.texture_paths;
|