Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/include/ui/
DFloatRect.h21 class FloatRect {
23 FloatRect() = default;
24 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function
30 FloatRect intersect(const FloatRect& other) const { in intersect()
31 FloatRect intersection = { in intersect()
51 inline bool operator==(const FloatRect& a, const FloatRect& b) {
DTransform.h85 FloatRect transform(const FloatRect& bounds) const;
DRect.h73 inline explicit Rect(const FloatRect& floatRect) { in Rect()
211 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/libs/ui/include_vndk/ui/
DFloatRect.h21 class FloatRect {
23 FloatRect() = default;
24 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function
30 FloatRect intersect(const FloatRect& other) const { in intersect()
31 FloatRect intersection = { in intersect()
51 inline bool operator==(const FloatRect& a, const FloatRect& b) {
DTransform.h85 FloatRect transform(const FloatRect& bounds) const;
DRect.h73 inline explicit Rect(const FloatRect& floatRect) { in Rect()
211 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h68 FloatRect boundaries = FloatRect();
85 FloatRect roundedCornersCrop = FloatRect();
/frameworks/native/services/surfaceflinger/
DLayer.h133 RoundedCornerState(FloatRect cropRect, float radius) in RoundedCornerState()
137 FloatRect cropRect = FloatRect();
363 FloatRect getBounds(const Region& activeTransparentRegion) const;
364 FloatRect getBounds() const;
367 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform);
377 FloatRect getBoundsPreScaling(const ui::Transform& bufferScaleTransform) const;
697 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
739 void setupRoundedCornersCropCoordinates(Rect win, const FloatRect& roundedCornersCrop) const;
936 FloatRect mSourceBounds;
940 FloatRect mBounds;
[all …]
DBufferLayer.h193 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DLayerProtoHelper.h36 static void writeToProto(const FloatRect& rect,
DBufferStateLayer.h96 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DBufferLayer.cpp703 FloatRect BufferLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
710 return FloatRect(0, 0, getActiveWidth(s), getActiveHeight(s)); in computeSourceBounds()
732 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
DLayer.cpp286 static FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce()
299 FloatRect bounds = getBounds(); in getScreenBounds()
306 FloatRect Layer::getBounds() const { in getBounds()
311 FloatRect Layer::getBounds(const Region& activeTransparentRegion) const { in getBounds()
356 FloatRect Layer::getBoundsPreScaling(const ui::Transform& bufferScaleTransform) const { in getBoundsPreScaling()
365 void Layer::computeBounds(FloatRect parentBounds, ui::Transform parentTransform) { in computeBounds()
378 FloatRect bounds = mSourceBounds; in computeBounds()
408 const FloatRect& roundedCornersCrop) const { in setupRoundedCornersCropCoordinates()
533 FloatRect bounds = getBounds(); in prepareClientLayer()
626 FloatRect win = getBounds(); in computeGeometry()
[all …]
DBufferStateLayer.cpp354 FloatRect BufferStateLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
358 return FloatRect(0, 0, getActiveWidth(s), getActiveHeight(s)); in computeSourceBounds()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h62 class FloatRect {
112 LayerProtoParser::FloatRect hwcCrop;
148 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp37 FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce()
103 FloatRect activeCropFloat = in calculateInitialCrop()
128 FloatRect OutputLayer::calculateOutputSourceCrop() const { in calculateOutputSourceCrop()
138 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop()
DDumpHelpers.cpp66 void dumpVal(std::string& out, const char* name, const FloatRect& rect) { in dumpVal()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h55 FloatRect sourceCrop;
DOutputLayer.h51 virtual FloatRect calculateOutputSourceCrop() const;
DDumpHelpers.h54 void dumpVal(std::string& out, const char* name, const FloatRect& rect);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h57 FloatRect geomLayerBounds;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp122 mLayerState.frontEnd.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerDisplayFrameTest()
167 mLayerState.frontEnd.geomLayerBounds = FloatRect{0.f, 0.f, 960.f, 540.f}; in TEST_F()
251 static constexpr FloatRect kSourceCrop{11.f, 12.f, 13.f, 14.f};
DMockHWC2.h53 MOCK_METHOD1(setSourceCrop, Error(const android::FloatRect&));
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp153 LayerProtoParser::FloatRect LayerProtoParser::generateFloatRect(const FloatRectProto& rectProto) { in generateFloatRect()
154 LayerProtoParser::FloatRect rect; in generateFloatRect()
273 std::string LayerProtoParser::FloatRect::to_string() const { in to_string()
/frameworks/native/libs/ui/
DTransform.cpp236 FloatRect Transform::transform(const FloatRect& bounds) const in transform()
248 FloatRect r; in transform()

12