/frameworks/native/libs/ui/include/ui/ |
D | FloatRect.h | 23 class FloatRect { 25 FloatRect() = default; 26 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 32 FloatRect intersect(const FloatRect& other) const { in intersect() 33 FloatRect intersection = { in intersect() 53 inline bool operator==(const FloatRect& a, const FloatRect& b) { 57 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo()
|
D | Transform.h | 87 FloatRect transform(const FloatRect& bounds) const;
|
D | Rect.h | 75 inline explicit Rect(const FloatRect& floatRect) { in Rect() 213 FloatRect toFloatRect() const { in toFloatRect()
|
/frameworks/native/include/ui/ |
D | FloatRect.h | 23 class FloatRect { 25 FloatRect() = default; 26 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 32 FloatRect intersect(const FloatRect& other) const { in intersect() 33 FloatRect intersection = { in intersect() 53 inline bool operator==(const FloatRect& a, const FloatRect& b) { 57 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo()
|
D | Rect.h | 75 inline explicit Rect(const FloatRect& floatRect) { in Rect() 213 FloatRect toFloatRect() const { in toFloatRect()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FloatRect.h | 23 class FloatRect { 25 FloatRect() = default; 26 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 32 FloatRect intersect(const FloatRect& other) const { in intersect() 33 FloatRect intersection = { in intersect() 53 inline bool operator==(const FloatRect& a, const FloatRect& b) { 57 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo()
|
D | Transform.h | 87 FloatRect transform(const FloatRect& bounds) const;
|
D | Rect.h | 75 inline explicit Rect(const FloatRect& floatRect) { in Rect() 213 FloatRect toFloatRect() const { in toFloatRect()
|
/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,
|
D | GLShadowVertexGenerator.cpp | 30 GLShadowVertexGenerator::GLShadowVertexGenerator(const FloatRect& casterRect, in GLShadowVertexGenerator()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 136 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerSourceCropTest() 144 FloatRect calculateOutputSourceCrop() { in calculateOutputSourceCrop() 154 const FloatRect expected{}; in TEST_F() 159 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 164 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 166 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 171 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 174 const FloatRect expected{0.f, 0.f, 1080.f, 1080.f}; in TEST_F() 183 FloatRect expected; in TEST_F() 189 /* 0 */ Entry{false, TR_IDENT, TR_IDENT, FloatRect{0.f, 0.f, 1920.f, 1080.f}}, in TEST_F() [all …]
|
D | MockHWC2.h | 65 MOCK_METHOD1(setSourceCrop, Error(const android::FloatRect&));
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 137 RoundedCornerState(FloatRect cropRect, float radius) in RoundedCornerState() 141 FloatRect cropRect = FloatRect(); 443 FloatRect getBounds(const Region& activeTransparentRegion) const; 444 FloatRect getBounds() const; 447 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform, float shadowRadius); 457 FloatRect getBoundsPreScaling(const ui::Transform& bufferScaleTransform) const; 823 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 876 void setupRoundedCornersCropCoordinates(Rect win, const FloatRect& roundedCornersCrop) const; 1074 FloatRect mSourceBounds; 1078 FloatRect mBounds; [all …]
|
D | BufferLayer.h | 230 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | LayerProtoHelper.h | 36 static void writeToProto(const FloatRect& rect,
|
D | BufferStateLayer.h | 103 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | BufferLayer.cpp | 635 const FloatRect sourceCrop = compositionState.sourceCrop; in needsFilteringForScreenshots() 685 FloatRect BufferLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 692 return FloatRect(0, 0, getActiveWidth(s), getActiveHeight(s)); in computeSourceBounds() 714 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
|
/frameworks/native/libs/renderengine/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 { 115 LayerProtoParser::FloatRect cornerRadiusCrop; 138 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 75 FloatRect sourceCrop;
|
D | DumpHelpers.h | 54 void dumpVal(std::string& out, const char* name, const FloatRect& rect);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 43 FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce() 77 FloatRect activeCropFloat = in calculateInitialCrop() 102 FloatRect OutputLayer::calculateOutputSourceCrop() const { in calculateOutputSourceCrop() 112 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 141 LayerProtoParser::FloatRect LayerProtoParser::generateFloatRect(const FloatRectProto& rectProto) { in generateFloatRect() 142 LayerProtoParser::FloatRect rect; in generateFloatRect() 261 std::string LayerProtoParser::FloatRect::to_string() const { in to_string()
|