Home
last modified time | relevance | path

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

12

/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/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/renderengine/include/renderengine/
DLayerSettings.h68 FloatRect boundaries = FloatRect();
85 FloatRect roundedCornersCrop = FloatRect();
/frameworks/native/services/surfaceflinger/
DLayer.h132 RoundedCornerState(FloatRect cropRect, float radius) in RoundedCornerState()
136 FloatRect cropRect = FloatRect();
362 FloatRect getBounds(const Region& activeTransparentRegion) const;
363 FloatRect getBounds() const;
366 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform);
376 FloatRect getBoundsPreScaling(const ui::Transform& bufferScaleTransform) const;
706 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
748 void setupRoundedCornersCropCoordinates(Rect win, const FloatRect& roundedCornersCrop) const;
947 FloatRect mSourceBounds;
951 FloatRect mBounds;
[all …]
DBufferLayer.h192 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DLayerProtoHelper.h36 static void writeToProto(const FloatRect& rect,
DBufferStateLayer.h97 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
DBufferLayer.cpp710 FloatRect BufferLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
717 return FloatRect(0, 0, getActiveWidth(s), getActiveHeight(s)); in computeSourceBounds()
739 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
DLayer.cpp285 static FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce()
298 FloatRect bounds = getBounds(); in getScreenBounds()
305 FloatRect Layer::getBounds() const { in getBounds()
310 FloatRect Layer::getBounds(const Region& activeTransparentRegion) const { in getBounds()
355 FloatRect Layer::getBoundsPreScaling(const ui::Transform& bufferScaleTransform) const { in getBoundsPreScaling()
364 void Layer::computeBounds(FloatRect parentBounds, ui::Transform parentTransform) { in computeBounds()
377 FloatRect bounds = mSourceBounds; in computeBounds()
407 const FloatRect& roundedCornersCrop) const { in setupRoundedCornersCropCoordinates()
532 FloatRect bounds = getBounds(); in prepareClientLayer()
625 FloatRect win = getBounds(); in computeGeometry()
[all …]
DBufferStateLayer.cpp358 FloatRect BufferStateLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds()
362 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/
DMockHWC2.h53 MOCK_METHOD1(setSourceCrop, Error(const android::FloatRect&));
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()
252 static constexpr FloatRect kSourceCrop{11.f, 12.f, 13.f, 14.f};
/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