Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/frameworks/native/include/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 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 …]
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 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 …]
/frameworks/native/libs/ui/include/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 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 …]
DShadowSettings.h54 static inline bool operator==(const ShadowSettings& lhs, const ShadowSettings& rhs) {
55 return lhs.boundaries == rhs.boundaries && lhs.ambientColor == rhs.ambientColor &&
56 lhs.spotColor == rhs.spotColor && lhs.lightPos == rhs.lightPos &&
57 lhs.lightRadius == rhs.lightRadius && lhs.length == rhs.length &&
58 lhs.casterIsTranslucent == rhs.casterIsTranslucent;
61 static inline bool operator!=(const ShadowSettings& lhs, const ShadowSettings& rhs) {
62 return !(operator==(lhs, rhs));
/frameworks/av/media/libaudioclient/include/media/
DAudioCommonTypes.h101 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs)
103 return lhs.usage == rhs.usage && lhs.content_type == rhs.content_type &&
104 lhs.flags == rhs.flags && (std::strcmp(lhs.tags, rhs.tags) == 0);
106 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs)
108 return !(lhs==rhs);
111 constexpr bool operator==(const audio_offload_info_t &lhs, const audio_offload_info_t &rhs)
113 return lhs.version == rhs.version && lhs.size == rhs.size &&
114 lhs.sample_rate == rhs.sample_rate && lhs.channel_mask == rhs.channel_mask &&
115 lhs.format == rhs.format && lhs.stream_type == rhs.stream_type &&
116 lhs.bit_rate == rhs.bit_rate && lhs.duration_us == rhs.duration_us &&
[all …]
/frameworks/base/tools/aapt2/
DResource.h110 ResourceNamedTypeRef(const ResourceNamedType& rhs); // NOLINT(google-explicit-constructor)
112 ResourceNamedTypeRef& operator=(const ResourceNamedTypeRef& rhs) = default;
113 ResourceNamedTypeRef& operator=(ResourceNamedTypeRef&& rhs) = default;
114 ResourceNamedTypeRef& operator=(const ResourceNamedType& rhs);
158 ResourceNameRef(const ResourceName& rhs); // NOLINT(google-explicit-constructor)
161 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default;
162 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default;
163 ResourceNameRef& operator=(const ResourceName& rhs);
189 ResourceId(const ResourceId& rhs) = default;
298 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
[all …]
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h158 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) {
159 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence &&
160 lhs.textureName == rhs.textureName &&
161 lhs.useTextureFiltering == rhs.useTextureFiltering &&
162 lhs.textureTransform == rhs.textureTransform &&
163 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha &&
164 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 &&
165 lhs.maxMasteringLuminance == rhs.maxMasteringLuminance &&
166 lhs.maxContentLuminance == rhs.maxContentLuminance;
169 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
[all …]
/frameworks/av/media/libheadtracking/
DTestUtil.h37 const android::media::Pose3f& rhs) {
38 if (lhs.isApprox(rhs, kPoseComparisonPrecision)) {
42 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs);
48 const android::media::Pose3f& rhs) {
49 if (!lhs.isApprox(rhs, kPoseComparisonPrecision)) {
53 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs);
59 const android::media::Twist3f& rhs) {
60 if (lhs.isApprox(rhs, kPoseComparisonPrecision)) {
64 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs);
70 const android::media::Twist3f& rhs) {
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DFps.h107 inline bool isStrictlyLess(Fps lhs, Fps rhs) { in isStrictlyLess() argument
108 return lhs.getValue() < rhs.getValue(); in isStrictlyLess()
112 inline bool isApproxEqual(Fps lhs, Fps rhs) { in isApproxEqual() argument
114 return std::abs(lhs.getValue() - rhs.getValue()) < 0.001f; in isApproxEqual()
118 inline bool isApproxLess(Fps lhs, Fps rhs) { in isApproxLess() argument
119 return isStrictlyLess(lhs, rhs) && !isApproxEqual(lhs, rhs); in isApproxLess()
124 inline bool operator==(Fps lhs, Fps rhs) {
125 return isApproxEqual(lhs, rhs);
128 inline bool operator<(Fps lhs, Fps rhs) {
129 return isApproxLess(lhs, rhs);
[all …]
/frameworks/native/include/ftl/
Dnon_null.h111 constexpr bool operator==(const NonNull<P>& lhs, const NonNull<Q>& rhs) {
112 return lhs.get() == rhs.get();
116 constexpr bool operator!=(const NonNull<P>& lhs, const NonNull<Q>& rhs) {
117 return !operator==(lhs, rhs);
121 constexpr bool operator<(const NonNull<P>& lhs, const NonNull<Q>& rhs) {
122 return lhs.get() < rhs.get();
126 constexpr bool operator<=(const NonNull<P>& lhs, const NonNull<Q>& rhs) {
127 return lhs.get() <= rhs.get();
131 constexpr bool operator>=(const NonNull<P>& lhs, const NonNull<Q>& rhs) {
132 return lhs.get() >= rhs.get();
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputEventTimeline.cpp58 bool ConnectionTimeline::operator==(const ConnectionTimeline& rhs) const { in operator ==()
59 return deliveryTime == rhs.deliveryTime && consumeTime == rhs.consumeTime && in operator ==()
60 finishTime == rhs.finishTime && graphicsTimeline == rhs.graphicsTimeline && in operator ==()
61 mHasDispatchTimeline == rhs.mHasDispatchTimeline && in operator ==()
62 mHasGraphicsTimeline == rhs.mHasGraphicsTimeline; in operator ==()
65 bool ConnectionTimeline::operator!=(const ConnectionTimeline& rhs) const { in operator !=()
66 return !operator==(rhs); in operator !=()
79 bool InputEventTimeline::operator==(const InputEventTimeline& rhs) const { in operator ==()
80 if (connectionTimelines.size() != rhs.connectionTimelines.size()) { in operator ==()
84 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp34 const renderengine::LayerSettings& rhs) { in equalIgnoringSource() argument
35 return lhs.geometry == rhs.geometry && lhs.alpha == rhs.alpha && in equalIgnoringSource()
36 lhs.sourceDataspace == rhs.sourceDataspace && in equalIgnoringSource()
37 lhs.colorTransform == rhs.colorTransform && in equalIgnoringSource()
38 lhs.disableBlending == rhs.disableBlending && lhs.shadow == rhs.shadow && in equalIgnoringSource()
39 lhs.backgroundBlurRadius == rhs.backgroundBlurRadius && in equalIgnoringSource()
40 lhs.stretchEffect == rhs.stretchEffect; in equalIgnoringSource()
43 inline bool equalIgnoringBuffer(const renderengine::Buffer& lhs, const renderengine::Buffer& rhs) { in equalIgnoringBuffer() argument
44 return lhs.useTextureFiltering == rhs.useTextureFiltering && in equalIgnoringBuffer()
45 lhs.textureTransform == rhs.textureTransform && in equalIgnoringBuffer()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DFpsOps.h25 inline bool operator==(Fps lhs, Fps rhs) {
26 return fps_approx_ops::operator==(lhs, rhs);
29 inline bool operator<(Fps lhs, Fps rhs) {
30 return fps_approx_ops::operator<(lhs, rhs);
33 inline bool operator!=(Fps lhs, Fps rhs) {
34 return fps_approx_ops::operator!=(lhs, rhs);
37 inline bool operator>(Fps lhs, Fps rhs) {
38 return fps_approx_ops::operator>(lhs, rhs);
41 inline bool operator<=(Fps lhs, Fps rhs) {
42 return fps_approx_ops::operator<=(lhs, rhs);
[all …]
/frameworks/native/services/sensorservice/
Dmat.h35 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 …]
Dvec.h50 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/renderengine/include/renderengine/
DLayerSettings.h150 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) {
151 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence &&
152 lhs.useTextureFiltering == rhs.useTextureFiltering &&
153 lhs.textureTransform == rhs.textureTransform &&
154 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha &&
155 lhs.isOpaque == rhs.isOpaque && lhs.maxLuminanceNits == rhs.maxLuminanceNits;
158 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
159 return lhs.boundaries == rhs.boundaries && lhs.positionTransform == rhs.positionTransform &&
160 lhs.roundedCornersRadius == rhs.roundedCornersRadius &&
161 lhs.roundedCornersCrop == rhs.roundedCornersCrop;
[all …]
/frameworks/native/libs/ui/
DRegion.cpp73 Region::Region(const Region& rhs) in Region() argument
76 mStorage.insert(mStorage.begin(), rhs.mStorage.begin(), rhs.mStorage.end()); in Region()
78 validate(rhs, "rhs copy-ctor"); in Region()
82 Region::Region(const Rect& rhs) { in Region() argument
83 mStorage.push_back(rhs); in Region()
221 Region& Region::operator = (const Region& rhs) in operator =() argument
225 validate(rhs, "rhs.operator="); in operator =()
227 if (this == &rhs) { in operator =()
233 mStorage.insert(mStorage.begin(), rhs.mStorage.begin(), rhs.mStorage.end()); in operator =()
339 Region& Region::orSelf(const Region& rhs) { in orSelf() argument
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h124 static inline bool operator _op_(const SpAIBinder& lhs, const SpAIBinder& rhs) { \
125 return lhs.get() _op_ rhs.get(); \
127 static inline bool operator _op_(const SpAIBinder& lhs, const AIBinder* rhs) { \
128 return lhs.get() _op_ rhs; \
130 static inline bool operator _op_(const AIBinder* lhs, const SpAIBinder& rhs) { \
131 return lhs _op_ rhs.get(); \
234 bool operator!=(const ScopedAParcel& rhs) const { return get() != rhs.get(); }
235 bool operator<(const ScopedAParcel& rhs) const { return get() < rhs.get(); }
236 bool operator<=(const ScopedAParcel& rhs) const { return get() <= rhs.get(); }
237 bool operator==(const ScopedAParcel& rhs) const { return get() == rhs.get(); }
[all …]
/frameworks/native/libs/ui/include_private/ui/
DRegionHelper.h51 inline region(const region& rhs) in region()
52 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) {} in region()
66 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument
67 : op_mask(op), spanner(lhs, rhs) {} in region_operator()
72 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator()
148 region rhs; variable
151 inline Spanner(const region& _lhs, const region& _rhs) : lhs(_lhs), rhs(_rhs) { in Spanner()
156 if (rhs.count) { in Spanner()
157 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner()
158 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; in Spanner()
[all …]
/frameworks/base/tools/split-select/
DSplitDescription.h34 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/binder/include/binder/
DParcelFileDescriptor.h47 inline bool operator!=(const ParcelFileDescriptor& rhs) const {
48 return mFd.get() != rhs.mFd.get();
50 inline bool operator<(const ParcelFileDescriptor& rhs) const {
51 return mFd.get() < rhs.mFd.get();
53 inline bool operator<=(const ParcelFileDescriptor& rhs) const {
54 return mFd.get() <= rhs.mFd.get();
56 inline bool operator==(const ParcelFileDescriptor& rhs) const {
57 return mFd.get() == rhs.mFd.get();
59 inline bool operator>(const ParcelFileDescriptor& rhs) const {
60 return mFd.get() > rhs.mFd.get();
[all …]
/frameworks/native/include/binder/
DParcelFileDescriptor.h47 inline bool operator!=(const ParcelFileDescriptor& rhs) const {
48 return mFd.get() != rhs.mFd.get();
50 inline bool operator<(const ParcelFileDescriptor& rhs) const {
51 return mFd.get() < rhs.mFd.get();
53 inline bool operator<=(const ParcelFileDescriptor& rhs) const {
54 return mFd.get() <= rhs.mFd.get();
56 inline bool operator==(const ParcelFileDescriptor& rhs) const {
57 return mFd.get() == rhs.mFd.get();
59 inline bool operator>(const ParcelFileDescriptor& rhs) const {
60 return mFd.get() > rhs.mFd.get();
[all …]

12345678910>>...14