/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 158 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 …]
|
D | DisplaySettings.h | 65 static inline bool operator==(const DisplaySettings& lhs, const DisplaySettings& rhs) { 66 return lhs.physicalDisplay == rhs.physicalDisplay && lhs.clip == rhs.clip && 67 lhs.maxLuminance == rhs.maxLuminance && lhs.outputDataspace == rhs.outputDataspace && 68 lhs.colorTransform == rhs.colorTransform && 69 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.orientation == rhs.orientation;
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 178 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) { 179 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence && 180 lhs.textureName == rhs.textureName && 181 lhs.useTextureFiltering == rhs.useTextureFiltering && 182 lhs.textureTransform == rhs.textureTransform && 183 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha && 184 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 && 185 lhs.maxLuminanceNits == rhs.maxLuminanceNits; 188 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) { 189 return lhs.boundaries == rhs.boundaries && lhs.positionTransform == rhs.positionTransform && [all …]
|
D | DisplaySettings.h | 68 static inline bool operator==(const DisplaySettings& lhs, const DisplaySettings& rhs) { 69 return lhs.physicalDisplay == rhs.physicalDisplay && lhs.clip == rhs.clip && 70 lhs.maxLuminance == rhs.maxLuminance && lhs.outputDataspace == rhs.outputDataspace && 71 lhs.colorTransform == rhs.colorTransform && 72 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.orientation == rhs.orientation;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | ClientCompositionRequestCache.cpp | 33 inline bool equalIgnoringSource(const renderengine::LayerSettings& lhs, 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.textureName == rhs.textureName && in equalIgnoringBuffer() 45 lhs.useTextureFiltering == rhs.useTextureFiltering && in equalIgnoringBuffer() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Resource.h | 251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 252 return lhs.id < rhs.id; 255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { 256 return lhs.id > rhs.id; 259 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) { 260 return lhs.id == rhs.id; 263 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) { 264 return lhs.id != rhs.id; 318 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) { 319 return std::tie(lhs.package, lhs.type, lhs.entry) < [all …]
|
D | Source.h | 71 inline bool operator==(const Source& lhs, const Source& rhs) { 72 return lhs.path == rhs.path && lhs.line == rhs.line; 75 inline bool operator<(const Source& lhs, const Source& rhs) { 76 int cmp = lhs.path.compare(rhs.path); 79 if (lhs.line) { 81 return lhs.line.value() < rhs.line.value();
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintController.java | 145 private static float[] mul3x3(@NonNull @Size(9) float[] lhs, @NonNull @Size(9) float[] rhs) { in mul3x3() argument 147 r[0] = lhs[0] * rhs[0] + lhs[3] * rhs[1] + lhs[6] * rhs[2]; in mul3x3() 148 r[1] = lhs[1] * rhs[0] + lhs[4] * rhs[1] + lhs[7] * rhs[2]; in mul3x3() 149 r[2] = lhs[2] * rhs[0] + lhs[5] * rhs[1] + lhs[8] * rhs[2]; in mul3x3() 150 r[3] = lhs[0] * rhs[3] + lhs[3] * rhs[4] + lhs[6] * rhs[5]; in mul3x3() 151 r[4] = lhs[1] * rhs[3] + lhs[4] * rhs[4] + lhs[7] * rhs[5]; in mul3x3() 152 r[5] = lhs[2] * rhs[3] + lhs[5] * rhs[4] + lhs[8] * rhs[5]; in mul3x3() 153 r[6] = lhs[0] * rhs[6] + lhs[3] * rhs[7] + lhs[6] * rhs[8]; in mul3x3() 154 r[7] = lhs[1] * rhs[6] + lhs[4] * rhs[7] + lhs[7] * rhs[8]; in mul3x3() 155 r[8] = lhs[2] * rhs[6] + lhs[5] * rhs[7] + lhs[8] * rhs[8]; in mul3x3()
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 54 lhs[i] = rhs[i]; in doAssign() 56 lhs[i] = 0; in doAssign() 57 return lhs; in doAssign() 68 const VLHS<TYPE, SIZE>& lhs, in doAdd() argument 72 r[i] = lhs[i] + rhs[i]; in doAdd() 83 const VLHS<TYPE, SIZE>& lhs, in doSub() argument 87 r[i] = lhs[i] - rhs[i]; in doSub() 97 const VEC<TYPE, SIZE>& lhs, in doMulScalar() argument 101 r[i] = lhs[i] * rhs; in doMulScalar() [all …]
|
D | mat.h | 34 mat<TYPE, C, R>& lhs, in doAssign() argument 38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign() 39 return lhs; in doAssign() 44 const mat<TYPE, D, R>& lhs, in doMul() argument 52 v += lhs[k][r] * rhs[c][k]; in doMul() 62 const mat<TYPE, D, R>& lhs, in doMul() argument 69 v += lhs[k][r] * rhs[k]; in doMul() 78 const vec<TYPE, R>& lhs, in doMul() argument 84 res[c][r] = lhs[r] * rhs[c][0]; in doMul() 172 friend inline mat PURE operator + (const mat& lhs, const mat& rhs) { [all …]
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 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() 147 region lhs; variable 151 inline Spanner(const region& _lhs, const region& _rhs) : lhs(_lhs), rhs(_rhs) { in Spanner() 152 if (lhs.count) { in Spanner() 153 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner() 154 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner() 162 inline bool isDone() const { return !rhs.count && !lhs.count; } in isDone() 169 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 162 bool operator==(const LayerState& lhs, const LayerState& rhs) { in operator ==() argument 163 return lhs.mId == rhs.mId && lhs.mName == rhs.mName && lhs.mDisplayFrame == rhs.mDisplayFrame && in operator ==() 164 lhs.mSourceCrop == rhs.mSourceCrop && lhs.mBufferTransform == rhs.mBufferTransform && in operator ==() 165 lhs.mBlendMode == rhs.mBlendMode && lhs.mAlpha == rhs.mAlpha && in operator ==() 166 lhs.mLayerMetadata == rhs.mLayerMetadata && lhs.mVisibleRegion == rhs.mVisibleRegion && in operator ==() 167 lhs.mOutputDataspace == rhs.mOutputDataspace && lhs.mPixelFormat == rhs.mPixelFormat && in operator ==() 168 lhs.mColorTransform == rhs.mColorTransform && in operator ==() 169 lhs.mCompositionType == rhs.mCompositionType && in operator ==() 170 lhs.mSidebandStream == rhs.mSidebandStream && lhs.mBuffer == rhs.mBuffer && in operator ==() 171 (lhs.mCompositionType.get() != hal::Composition::SOLID_COLOR || in operator ==() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 178 static inline bool operator==(const LayerFE::ClientCompositionTargetSettings& lhs, 180 return lhs.clip.hasSameRects(rhs.clip) && 181 lhs.needsFiltering == rhs.needsFiltering && lhs.isSecure == rhs.isSecure && 182 lhs.supportsProtectedContent == rhs.supportsProtectedContent && 183 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.viewport == rhs.viewport && 184 lhs.dataspace == rhs.dataspace && 185 lhs.realContentIsVisible == rhs.realContentIsVisible && 186 lhs.clearContent == rhs.clearContent; 189 static inline bool operator==(const LayerFE::LayerSettings& lhs, 191 return static_cast<const renderengine::LayerSettings&>(lhs) == [all …]
|
/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;
|
D | ConfigurationParser.internal.h | 87 ComparisonChain& Add(const Group<T>& groups, const Maybe<std::string>& lhs, in Add() argument 89 return Add(GetGroupOrder(groups, lhs), GetGroupOrder(groups, rhs)); in Add() 96 ComparisonChain& Add(int lhs, int rhs) { in Add() argument 98 has_result_ = (lhs != rhs); in Add() 99 result_ = (lhs < rhs); in Add() 178 bool operator()(const ConfiguredArtifact& lhs, const ConfiguredArtifact& rhs) { in operator() 184 .Add(GetMinSdk(lhs), GetMinSdk(rhs)) in operator() 188 .Add(abi_groups, lhs.abi_group, rhs.abi_group) in operator() 190 .Add(screen_density_groups, lhs.screen_density_group, rhs.screen_density_group) in operator() 191 .Add(locale_groups, lhs.locale_group, rhs.locale_group) in operator() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioCommonTypes.h | 34 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 36 return lhs.usage == rhs.usage && lhs.content_type == rhs.content_type && 37 lhs.flags == rhs.flags && (std::strcmp(lhs.tags, rhs.tags) == 0); 39 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 41 return !(lhs==rhs);
|
/frameworks/native/include/ftl/ |
D | array_traits.h | 105 friend bool operator==(const Array<T, N>& lhs, const Array<T, M>& rhs) { 106 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 110 friend bool operator<(const Array<T, N>& lhs, const Array<T, M>& rhs) { 111 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); 115 friend bool operator>(const Array<T, N>& lhs, const Array<T, M>& rhs) { 116 return rhs < lhs; 120 friend bool operator!=(const Array<T, N>& lhs, const Array<T, M>& rhs) { 121 return !(lhs == rhs); 125 friend bool operator>=(const Array<T, N>& lhs, const Array<T, M>& rhs) { 126 return !(lhs < rhs); [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | PersistableBundle.h | 95 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 96 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 97 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 98 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 99 lhs.mIntVectorMap == rhs.mIntVectorMap && 100 lhs.mLongVectorMap == rhs.mLongVectorMap && 101 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 102 lhs.mStringVectorMap == rhs.mStringVectorMap && 103 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 106 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/native/include/binder/ |
D | PersistableBundle.h | 95 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 96 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 97 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 98 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 99 lhs.mIntVectorMap == rhs.mIntVectorMap && 100 lhs.mLongVectorMap == rhs.mLongVectorMap && 101 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 102 lhs.mStringVectorMap == rhs.mStringVectorMap && 103 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 106 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/base/media/native/midi/ |
D | MidiDeviceInfo.cpp | 120 static inline bool areVectorsEqual(const Vector<String16>& lhs, const Vector<String16>& rhs) { in areVectorsEqual() argument 121 if (lhs.size() != rhs.size()) return false; in areVectorsEqual() 122 for (size_t i = 0; i < lhs.size(); ++i) { in areVectorsEqual() 123 if (lhs[i] != rhs[i]) return false; in areVectorsEqual() 128 bool operator==(const MidiDeviceInfo& lhs, const MidiDeviceInfo& rhs) { in operator ==() argument 129 return (lhs.mType == rhs.mType && lhs.mId == rhs.mId && in operator ==() 130 areVectorsEqual(lhs.mInputPortNames, rhs.mInputPortNames) && in operator ==() 131 areVectorsEqual(lhs.mOutputPortNames, rhs.mOutputPortNames) && in operator ==() 132 lhs.mProperties == rhs.mProperties && in operator ==() 133 lhs.mIsPrivate == rhs.mIsPrivate); in operator ==()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.h | 103 inline bool operator==(const UsageLocation& lhs, const UsageLocation& rhs) { 106 return lhs.name == rhs.name; 109 inline bool operator<(const UsageLocation& lhs, const UsageLocation& rhs) { 110 return lhs.name.compare(rhs.name) < 0; 117 inline bool operator<(const NameAndSignature& lhs, const NameAndSignature& rhs) { 118 if (lhs.name < rhs.name) { 121 if (lhs.name == rhs.name) { 122 return lhs.signature < rhs.signature;
|
/frameworks/native/libs/math/include/math/ |
D | TVecHelpers.h | 65 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 66 for (size_t i = 0; i < lhs.size(); i++) { 67 lhs[i] += v[i]; 69 return lhs; 73 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 74 for (size_t i = 0; i < lhs.size(); i++) { 75 lhs[i] -= v[i]; 77 return lhs; 86 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 87 for (size_t i = 0; i < lhs.size(); i++) { [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|
/frameworks/native/include/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|