/frameworks/native/libs/ui/include/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 97 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/include/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 97 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 97 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/libs/renderengine/skia/ |
D | Cache.cpp | 60 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawShadowLayers() 61 FloatRect smallerRect(20, 20, displayRect.width()-20, displayRect.height()-20); in drawShadowLayers() 124 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageLayers() 164 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawSolidLayers() 191 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawBlurLayers() 219 FloatRect rect(0, 0, displayRect.width(), displayRect.height() - 20); // boundary is smaller in drawClippedLayers() 239 FloatRect(0, 0, displayRect.width(), displayRect.height()), in drawClippedLayers() 265 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawPIPImageLayer() 275 .roundedCornersCrop = FloatRect( in drawPIPImageLayer() 298 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawHolePunchLayer() [all …]
|
D | SkiaGLRenderEngine.h | 91 inline SkRect getSkRect(const FloatRect& layer); 93 inline std::pair<SkRRect, SkRRect> getBoundsAndClip(const FloatRect& bounds, 94 const FloatRect& crop, float cornerRadius);
|
/frameworks/native/libs/renderengine/gl/ |
D | GLSkiaShadowPort.h | 53 FloatRect fDevBounds; 59 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, 64 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect,
|
D | GLSkiaShadowPort.cpp | 239 const FloatRect& bounds = args.fDevBounds; in fillInCircleVerts() 351 const FloatRect& bounds = args.fDevBounds; in fillInRRectVerts() 512 static std::unique_ptr<Geometry> getShadowGeometry(const vec4& color, const FloatRect& devRect, in getShadowGeometry() 518 FloatRect bounds = devRect; in getShadowGeometry() 548 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect, in getAmbientShadowGeometry() 558 FloatRect outsetRect(casterRect); in getAmbientShadowGeometry() 574 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, in getSpotShadowGeometry() 594 FloatRect spotShadowRect = shadowTransform.transform(casterRect); in getSpotShadowGeometry()
|
D | GLShadowVertexGenerator.h | 40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLSkiaShadowPort.h | 53 FloatRect fDevBounds; 59 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, 64 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect,
|
D | GLSkiaShadowPort.cpp | 239 const FloatRect& bounds = args.fDevBounds; in fillInCircleVerts() 351 const FloatRect& bounds = args.fDevBounds; in fillInRRectVerts() 512 static std::unique_ptr<Geometry> getShadowGeometry(const vec4& color, const FloatRect& devRect, in getShadowGeometry() 518 FloatRect bounds = devRect; in getShadowGeometry() 548 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect, in getAmbientShadowGeometry() 558 FloatRect outsetRect(casterRect); in getAmbientShadowGeometry() 574 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, in getSpotShadowGeometry() 594 FloatRect spotShadowRect = shadowTransform.transform(casterRect); in getSpotShadowGeometry()
|
D | GLShadowVertexGenerator.h | 40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 156 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerSourceCropTest() 164 FloatRect calculateOutputSourceCrop() { in calculateOutputSourceCrop() 174 const FloatRect expected{}; in TEST_F() 179 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 184 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 186 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 191 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 194 const FloatRect expected{0.f, 0.f, 1080.f, 1080.f}; in TEST_F() 203 FloatRect expected; in TEST_F() 209 /* 0 */ Entry{false, TR_IDENT, TR_IDENT, FloatRect{0.f, 0.f, 1920.f, 1080.f}}, in TEST_F() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | Rect_test.cpp | 83 const Rect rect(FloatRect(10, 20, 30, 40)); in TEST() 94 const Rect rect(FloatRect(10 - kError, 20 - kError, 30 - kError, 40 - kError)); in TEST() 258 const FloatRect floatRect = rect.toFloatRect(); in TEST() 259 EXPECT_EQ(FloatRect(10.f, 20.f, 50.f, 60.f), floatRect); in TEST() 277 const std::vector<FloatRect> floatRects = { in TEST() 285 const bool hashEq = std::hash<FloatRect>{}(a) == std::hash<FloatRect>{}(b); in TEST()
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 74 FloatRect boundaries = FloatRect(); 91 FloatRect roundedCornersCrop = FloatRect(); 111 FloatRect boundaries = FloatRect();
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 72 FloatRect boundaries = FloatRect(); 89 FloatRect roundedCornersCrop = FloatRect();
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 62 class FloatRect { 116 LayerProtoParser::FloatRect cornerRadiusCrop; 140 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 137 RoundedCornerState(FloatRect cropRect, float radius) in RoundedCornerState() 141 FloatRect cropRect = FloatRect(); 589 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 648 FloatRect getBounds(const Region& activeTransparentRegion) const; 649 FloatRect getBounds() const; 652 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform, float shadowRadius); 943 void setupRoundedCornersCropCoordinates(Rect win, const FloatRect& roundedCornersCrop) const; 1077 FloatRect mSourceBounds; 1081 FloatRect mBounds; 1084 FloatRect mScreenBounds;
|
D | BufferLayer.h | 228 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 45 FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce() 79 FloatRect activeCropFloat = in calculateInitialCrop() 104 FloatRect OutputLayer::calculateOutputSourceCrop() const { in calculateOutputSourceCrop() 114 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop() 219 FloatRect geomLayerBounds = layerState.geomLayerBounds; in calculateOutputDisplayFrame() 380 FloatRect sourceCrop = outputDependentState.sourceCrop; in writeOutputDependentGeometryStateToHWC() 385 FloatRect(0.f, 0.f, in writeOutputDependentGeometryStateToHWC()
|