/frameworks/native/include/ui/ |
H A 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) { argument 68 operator -=(const Point& rhs) argument [all...] |
H A D | Region.h | 40 Region(const Region& rhs); 41 explicit Region(const Rect& rhs); 46 Region& operator = (const Region& rhs); 65 Region& orSelf(const Rect& rhs); 66 Region& xorSelf(const Rect& rhs); 67 Region& andSelf(const Rect& rhs); 68 Region& subtractSelf(const Rect& rhs); 71 Region& orSelf(const Region& rhs); 72 Region& xorSelf(const Region& rhs); 73 Region& andSelf(const Region& rhs); 198 operator |=(const Region& rhs) argument 201 operator ^=(const Region& rhs) argument 204 operator &=(const Region& rhs) argument 207 operator -=(const Region& rhs) argument [all...] |
/frameworks/native/libs/ui/include/ui/ |
H A 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) { argument 68 operator -=(const Point& rhs) argument [all...] |
H A D | Region.h | 40 Region(const Region& rhs); 41 explicit Region(const Rect& rhs); 46 Region& operator = (const Region& rhs); 65 Region& orSelf(const Rect& rhs); 66 Region& xorSelf(const Rect& rhs); 67 Region& andSelf(const Rect& rhs); 68 Region& subtractSelf(const Rect& rhs); 71 Region& orSelf(const Region& rhs); 72 Region& xorSelf(const Region& rhs); 73 Region& andSelf(const Region& rhs); 198 operator |=(const Region& rhs) argument 201 operator ^=(const Region& rhs) argument 204 operator &=(const Region& rhs) argument 207 operator -=(const Region& rhs) argument [all...] |
/frameworks/native/libs/ui/include_vndk/ui/ |
H A 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) { argument 68 operator -=(const Point& rhs) argument [all...] |
H A D | Region.h | 40 Region(const Region& rhs); 41 explicit Region(const Rect& rhs); 46 Region& operator = (const Region& rhs); 65 Region& orSelf(const Rect& rhs); 66 Region& xorSelf(const Rect& rhs); 67 Region& andSelf(const Rect& rhs); 68 Region& subtractSelf(const Rect& rhs); 71 Region& orSelf(const Region& rhs); 72 Region& xorSelf(const Region& rhs); 73 Region& andSelf(const Region& rhs); 198 operator |=(const Region& rhs) argument 201 operator ^=(const Region& rhs) argument 204 operator &=(const Region& rhs) argument 207 operator -=(const Region& rhs) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
H A D | Utils.cpp | 21 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 22 if (lhs.size() < rhs.size()) { 24 } else if (lhs.size() > rhs.size()) { 27 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/frameworks/base/tools/split-select/ |
H A 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) ! [all...] |
/frameworks/base/tools/aapt2/jni/ |
H A D | ScopedUtfChars.h | 35 ScopedUtfChars(ScopedUtfChars&& rhs) : argument 36 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { 37 rhs.env_ = nullptr; 38 rhs.string_ = nullptr; 39 rhs.utf_chars_ = nullptr; 48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { argument 49 if (this != &rhs) { 53 // Move the rhs ScopedUtfChar [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | Maybe.h | 44 Maybe(const Maybe& rhs); 47 Maybe(const Maybe<U>& rhs); // NOLINT(implicit) 49 Maybe(Maybe&& rhs); 52 Maybe(Maybe<U>&& rhs); // NOLINT(implicit) 54 Maybe& operator=(const Maybe& rhs); 57 Maybe& operator=(const Maybe<U>& rhs); 59 Maybe& operator=(Maybe&& rhs); 62 Maybe& operator=(Maybe<U>&& rhs); 99 Maybe& copy(const Maybe<U>& rhs); 102 Maybe& move(Maybe<U>&& rhs); 122 Maybe(const Maybe& rhs) argument 130 Maybe(const Maybe<U>& rhs) argument 137 Maybe(Maybe&& rhs) argument 149 Maybe(Maybe<U>&& rhs) argument 160 operator =(const Maybe& rhs) argument 167 operator =(const Maybe<U>& rhs) argument 173 copy(const Maybe<U>& rhs) argument 195 operator =(Maybe&& rhs) argument 202 operator =(Maybe<U>&& rhs) argument 208 move(Maybe<U>&& rhs) argument [all...] |
H A D | Maybe_test.cpp | 33 Dummy(const Dummy& rhs) { argument 35 if (rhs.data) { 37 *data = *rhs.data; 40 << (const void*)&rhs << "}" << std::endl; 43 Dummy(Dummy&& rhs) { argument 44 data = rhs.data; 45 rhs.data = nullptr; 47 << (const void*)&rhs << "}" << std::endl; 50 Dummy& operator=(const Dummy& rhs) { argument 54 if (rhs 63 operator =(Dummy&& rhs) argument [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | EntityDeleteComparator.kt | 27 override fun compare(lhs: Entity, rhs: Entity): Int { 28 val ltr = lhs.shouldBeDeletedAfter(rhs) 29 val rtl = rhs.shouldBeDeletedAfter(lhs)
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | TypeWrappers.h | 30 iterator& operator=(const iterator& rhs) { argument 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;
|
H A D | StringPiece.h | 51 BasicStringPiece<TChar>& operator=(const BasicStringPiece<TChar>& rhs); 64 bool contains(const BasicStringPiece<TChar>& rhs) const; 65 int compare(const BasicStringPiece<TChar>& rhs) const; 66 bool operator<(const BasicStringPiece<TChar>& rhs) const; 67 bool operator>(const BasicStringPiece<TChar>& rhs) const; 68 bool operator==(const BasicStringPiece<TChar>& rhs) const; 69 bool operator!=(const BasicStringPiece<TChar>& rhs) const; 114 const BasicStringPiece<TChar>& rhs) { 115 data_ = rhs.data_; 116 length_ = rhs 113 operator =( const BasicStringPiece<TChar>& rhs) argument 262 operator ==(const TChar* lhs, const BasicStringPiece<TChar>& rhs) argument 267 operator !=(const TChar* lhs, const BasicStringPiece<TChar>& rhs) argument 276 operator +=(::std::basic_string<TChar>& lhs, const BasicStringPiece<TChar>& rhs) argument 282 operator ==(const ::std::basic_string<TChar>& lhs, const BasicStringPiece<TChar>& rhs) argument 287 operator !=(const ::std::basic_string<TChar>& lhs, const BasicStringPiece<TChar>& rhs) argument [all...] |
/frameworks/base/tools/aapt/ |
H A 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 [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Source.h | 63 inline bool operator==(const Source& lhs, const Source& rhs) { argument 64 return lhs.path == rhs.path && lhs.line == rhs.line; 67 inline bool operator<(const Source& lhs, const Source& rhs) { argument 68 int cmp = lhs.path.compare(rhs.path); 72 if (rhs.line) { 73 return lhs.line.value() < rhs.line.value(); 77 return bool(rhs.line);
|
H A D | Resource.h | 111 ResourceNameRef(const ResourceName& rhs); // NOLINT(implicit) 113 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; member in struct:aapt::ResourceNameRef 114 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; member in struct:aapt::ResourceNameRef 115 ResourceNameRef& operator=(const ResourceName& rhs); 141 ResourceId(const ResourceId& rhs); 224 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {} argument 251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { argument 252 return lhs.id < rhs.id; 255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { argument 259 operator ==(const ResourceId& lhs, const ResourceId& rhs) argument 263 operator !=(const ResourceId& lhs, const ResourceId& rhs) argument 305 operator <(const ResourceName& lhs, const ResourceName& rhs) argument 310 operator ==(const ResourceName& lhs, const ResourceName& rhs) argument 315 operator !=(const ResourceName& lhs, const ResourceName& rhs) argument 328 ResourceNameRef(const ResourceName& rhs) argument 335 operator =(const ResourceName& rhs) argument 350 operator <(const ResourceNameRef& lhs, const ResourceNameRef& rhs) argument 355 operator ==(const ResourceNameRef& lhs, const ResourceNameRef& rhs) argument 360 operator !=(const ResourceNameRef& lhs, const ResourceNameRef& rhs) argument 373 operator !=(const ResourceName& lhs, const ResourceNameRef& rhs) argument 377 operator ==(const SourcedResourceName& lhs, const SourcedResourceName& rhs) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | HdrMetadata.cpp | 69 bool HdrMetadata::operator==(const HdrMetadata& rhs) const { 70 if (validTypes != rhs.validTypes) return false; 73 if (smpte2086.displayPrimaryRed.x != rhs.smpte2086.displayPrimaryRed.x || 74 smpte2086.displayPrimaryRed.y != rhs.smpte2086.displayPrimaryRed.y || 75 smpte2086.displayPrimaryGreen.x != rhs.smpte2086.displayPrimaryGreen.x || 76 smpte2086.displayPrimaryGreen.y != rhs.smpte2086.displayPrimaryGreen.y || 77 smpte2086.displayPrimaryBlue.x != rhs.smpte2086.displayPrimaryBlue.x || 78 smpte2086.displayPrimaryBlue.y != rhs.smpte2086.displayPrimaryBlue.y || 79 smpte2086.whitePoint.x != rhs.smpte2086.whitePoint.x || 80 smpte2086.whitePoint.y != rhs [all...] |
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 40 bool Rect::operator <(const Rect& rhs) const { 41 if (top < rhs.top) { 43 } else if (top == rhs.top) { 44 if (left < rhs.left) { 46 } else if (left == rhs.left) { 47 if (bottom < rhs.bottom) { 49 } else if (bottom == rhs.bottom) { 50 if (right < rhs.right) { 75 const Rect Rect::operator +(const Point& rhs) const { 76 const Rect result(left + rhs [all...] |
/frameworks/opt/net/lowpan/libandroid_net_lowpan/ |
H A D | LowpanChannelInfo.cpp | 81 bool LowpanChannelInfo::operator==(const LowpanChannelInfo& rhs) argument 83 if (mIndex != rhs.mIndex) { 87 if (mName != rhs.mName) { 91 if (mSpectrumCenterFrequency != rhs.mSpectrumCenterFrequency) { 95 if (mSpectrumBandwidth != rhs.mSpectrumBandwidth) { 99 if (mMaxTxPower != rhs.mMaxTxPower) { 103 if (mIsMaskedByRegulatoryDomain != rhs.mIsMaskedByRegulatoryDomain) {
|
/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser.h | 61 inline friend bool operator==(const Locale& lhs, const Locale& rhs) { argument 62 return lhs.lang == rhs.lang && lhs.region == rhs.region; 68 inline friend bool operator==(const AndroidManifest& lhs, const AndroidManifest& rhs) { argument 86 inline friend bool operator==(const AndroidSdk& lhs, const AndroidSdk& rhs) { argument 87 return lhs.min_sdk_version == rhs.min_sdk_version && 88 lhs.target_sdk_version == rhs.target_sdk_version && 89 lhs.max_sdk_version == rhs.max_sdk_version && 90 lhs.manifest == rhs.manifest; 102 inline friend bool operator==(const GlTexture& lhs, const GlTexture& rhs) { argument [all...] |
/frameworks/rs/ |
H A D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { argument 45 loadMultiply(this, rhs);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/ |
H A D | Utils.h | 26 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
H A D | HiddenNetwork.java | 39 public boolean equals(Object rhs) { argument 40 if (this == rhs) return true; 41 if (!(rhs instanceof HiddenNetwork)) { 44 HiddenNetwork network = (HiddenNetwork) rhs;
|