/frameworks/native/libs/ui/include_vndk/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 98 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/libs/ui/include/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | ShadowSettings.h | 30 FloatRect boundaries = FloatRect();
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 98 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/include/ui/ |
D | FloatRect.h | 24 class FloatRect { 26 FloatRect() = default; 27 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function 33 FloatRect intersect(const FloatRect& other) const { in intersect() 34 FloatRect intersection = { in intersect() 56 inline bool operator==(const FloatRect& a, const FloatRect& b) { 60 static inline void PrintTo(const FloatRect& rect, ::std::ostream* os) { in PrintTo() 70 struct hash<android::FloatRect> { 71 size_t operator()(const android::FloatRect& rect) const {
|
D | Rect.h | 76 inline explicit Rect(const FloatRect& floatRect) { in Rect() 207 return Rect(FloatRect(left * scaleX, top * scaleY, right * scaleX, bottom * scaleY)); in scale() 223 FloatRect toFloatRect() const { in toFloatRect()
|
D | Transform.h | 98 FloatRect transform(const FloatRect& bounds) const;
|
/frameworks/native/libs/renderengine/skia/ |
D | Cache.cpp | 69 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawShadowLayers() 70 FloatRect smallerRect(20, 20, displayRect.width()-20, displayRect.height()-20); in drawShadowLayers() 135 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageLayers() 174 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawSolidLayers() 200 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawBlurLayers() 227 FloatRect rect(0, 0, displayRect.width(), displayRect.height() - 20); // boundary is smaller in drawClippedLayers() 247 FloatRect(0, 0, displayRect.width(), displayRect.height()), in drawClippedLayers() 272 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawPIPImageLayer() 282 .roundedCornersCrop = FloatRect(-93.75, 0, displayRect.width() + 93.75, in drawPIPImageLayer() 304 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawHolePunchLayer() [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.h | 31 RoundedCornerState(const FloatRect& cropRect, const vec2& radius) in RoundedCornerState() 35 FloatRect cropRect = FloatRect(); 70 FloatRect transformedBounds; 148 FloatRect sourceBounds() const;
|
/frameworks/av/media/libstagefright/renderfright/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,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 164 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerSourceCropTest() 172 FloatRect calculateOutputSourceCrop() { in calculateOutputSourceCrop() 182 const FloatRect expected{}; in TEST_F() 187 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 192 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 194 const FloatRect expected{0.f, 0.f, 1920.f, 1080.f}; in TEST_F() 199 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F() 202 const FloatRect expected{0.f, 0.f, 1080.f, 1080.f}; in TEST_F() 211 FloatRect expected; in TEST_F() 217 /* 0 */ Entry{false, TR_IDENT, TR_IDENT, FloatRect{0.f, 0.f, 1920.f, 1080.f}}, in TEST_F() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | Rect_test.cpp | 83 const Rect rect(FloatRect(10, 20, 30, 40)); in TEST() 94 const Rect rect(FloatRect(10 - kError, 20 - kError, 30 - kError, 40 - kError)); in TEST() 258 const FloatRect floatRect = rect.toFloatRect(); in TEST() 259 EXPECT_EQ(FloatRect(10.f, 20.f, 50.f, 60.f), floatRect); in TEST() 277 const std::vector<FloatRect> floatRects = { in TEST() 285 const bool hashEq = std::hash<FloatRect>{}(a) == std::hash<FloatRect>{}(b); in TEST()
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 72 FloatRect boundaries = FloatRect(); 89 FloatRect roundedCornersCrop = FloatRect();
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 505 FloatRect computeSourceBounds(const FloatRect& parentBounds) const; 587 static bool computeTrustedPresentationState(const FloatRect& bounds, 588 const FloatRect& sourceBounds, 590 const FloatRect& screenBounds, float, 607 FloatRect getBounds(const Region& activeTransparentRegion) const; 608 FloatRect getBounds() const; 609 Rect getInputBoundsInDisplaySpace(const FloatRect& insetBounds, 613 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform, float shadowRadius); 1005 void setupRoundedCornersCropCoordinates(Rect win, const FloatRect& roundedCornersCrop) const; 1029 std::pair<FloatRect, bool> getInputBounds(bool fillParentBounds) const; [all …]
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 64 class FloatRect { 118 LayerProtoParser::FloatRect cornerRadiusCrop; 143 static LayerProtoParser::FloatRect generateFloatRect(
|
/frameworks/base/libs/input/ |
D | MouseCursorController.h | 46 std::optional<FloatRect> getBounds() const; 105 std::optional<FloatRect> getBoundsLocked() const;
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 70 FloatRect boundaries = FloatRect(); 87 FloatRect roundedCornersCrop = FloatRect();
|
/frameworks/native/services/inputflinger/tests/ |
D | FakePointerController.cpp | 151 std::optional<FloatRect> FakePointerController::getBounds() const { in getBounds() 154 return mHaveBounds ? std::make_optional<FloatRect>(mMinX, mMinY, mMaxX, mMaxY) : std::nullopt; in getBounds()
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.h | 56 void setBoundsInLogicalDisplay(FloatRect bounds) { mBoundsInLogicalDisplay = bounds; } in setBoundsInLogicalDisplay() 104 FloatRect mBoundsInLogicalDisplay{};
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 49 FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce() 83 FloatRect activeCropFloat = in calculateInitialCrop() 108 FloatRect OutputLayer::calculateOutputSourceCrop(uint32_t internalDisplayRotationFlags) const { in calculateOutputSourceCrop() 117 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop() 221 FloatRect geomLayerBounds = layerState.geomLayerBounds; in calculateOutputDisplayFrame() 432 FloatRect sourceCrop = outputDependentState.sourceCrop; in writeOutputDependentGeometryStateToHWC() 437 FloatRect(0.f, 0.f, in writeOutputDependentGeometryStateToHWC()
|