Home
last modified time | relevance | path

Searched refs:FloatRect (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/native/libs/ui/include/ui/
DFloatRect.h23 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()
DTransform.h87 FloatRect transform(const FloatRect& bounds) const;
DRect.h75 inline explicit Rect(const FloatRect& floatRect) { in Rect()
213 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/include/ui/
DFloatRect.h23 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()
DRect.h75 inline explicit Rect(const FloatRect& floatRect) { in Rect()
213 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/libs/ui/include_vndk/ui/
DFloatRect.h23 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()
DTransform.h87 FloatRect transform(const FloatRect& bounds) const;
DRect.h75 inline explicit Rect(const FloatRect& floatRect) { in Rect()
213 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.h53 FloatRect fDevBounds;
59 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect,
64 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect,
DGLSkiaShadowPort.cpp239 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()
DGLShadowVertexGenerator.h40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
DGLShadowVertexGenerator.cpp30 GLShadowVertexGenerator::GLShadowVertexGenerator(const FloatRect& casterRect, in GLShadowVertexGenerator()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp136 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 …]
DMockHWC2.h65 MOCK_METHOD1(setSourceCrop, Error(const android::FloatRect&));
/frameworks/native/services/surfaceflinger/
DLayer.h137 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 …]
DBufferLayer.h230 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DLayerProtoHelper.h36 static void writeToProto(const FloatRect& rect,
DBufferStateLayer.h103 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DBufferLayer.cpp635 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/
DLayerSettings.h72 FloatRect boundaries = FloatRect();
89 FloatRect roundedCornersCrop = FloatRect();
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h62 class FloatRect {
115 LayerProtoParser::FloatRect cornerRadiusCrop;
138 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h75 FloatRect sourceCrop;
DDumpHelpers.h54 void dumpVal(std::string& out, const char* name, const FloatRect& rect);
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp43 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/
DLayerProtoParser.cpp141 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()

12