/frameworks/native/libs/ui/include/ui/ |
D | FloatRect.h | 21 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) {
|
D | Transform.h | 85 FloatRect transform(const FloatRect& bounds) const;
|
D | Rect.h | 73 inline explicit Rect(const FloatRect& floatRect) { in Rect() 211 FloatRect toFloatRect() const { in toFloatRect()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FloatRect.h | 21 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) {
|
D | Transform.h | 85 FloatRect transform(const FloatRect& bounds) const;
|
D | Rect.h | 73 inline explicit Rect(const FloatRect& floatRect) { in Rect() 211 FloatRect toFloatRect() const { in toFloatRect()
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 68 FloatRect boundaries = FloatRect(); 85 FloatRect roundedCornersCrop = FloatRect();
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 133 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 …]
|
D | BufferLayer.h | 193 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | LayerProtoHelper.h | 36 static void writeToProto(const FloatRect& rect,
|
D | BufferStateLayer.h | 96 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | BufferLayer.cpp | 703 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()
|
D | Layer.cpp | 286 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 …]
|
D | BufferStateLayer.cpp | 354 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/ |
D | LayerProtoParser.h | 62 class FloatRect { 112 LayerProtoParser::FloatRect hwcCrop; 148 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 37 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()
|
D | DumpHelpers.cpp | 66 void dumpVal(std::string& out, const char* name, const FloatRect& rect) { in dumpVal()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 55 FloatRect sourceCrop;
|
D | OutputLayer.h | 51 virtual FloatRect calculateOutputSourceCrop() const;
|
D | DumpHelpers.h | 54 void dumpVal(std::string& out, const char* name, const FloatRect& rect);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 57 FloatRect geomLayerBounds;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 122 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};
|
D | MockHWC2.h | 53 MOCK_METHOD1(setSourceCrop, Error(const android::FloatRect&));
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 153 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/ |
D | Transform.cpp | 236 FloatRect Transform::transform(const FloatRect& bounds) const in transform() 248 FloatRect r; in transform()
|