/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 780 auto radiusSize = SizeF(std::abs(rect.GetWidth()), std::abs(rect.GetHeight())); in DrawingCreateInset() local 786 … DrawingDimensionToPx(inset->GetBottomRightRadius().GetX(), radiusSize, LengthMode::HORIZONTAL); in DrawingCreateInset() 788 … DrawingDimensionToPx(inset->GetBottomRightRadius().GetY(), radiusSize, LengthMode::VERTICAL); in DrawingCreateInset() 790 … DrawingDimensionToPx(inset->GetBottomLeftRadius().GetX(), radiusSize, LengthMode::HORIZONTAL); in DrawingCreateInset() 792 DrawingDimensionToPx(inset->GetBottomLeftRadius().GetY(), radiusSize, LengthMode::VERTICAL); in DrawingCreateInset() 886 auto radiusSize = SizeF(width, height); in DrawingCreateRect() local 888 …rect->GetTopLeftRadius().GetX(), rect->GetTopLeftRadius().GetY(), radiusSize, LengthMode::HORIZONT… in DrawingCreateRect() 890 …rect->GetTopLeftRadius().GetY(), rect->GetTopLeftRadius().GetX(), radiusSize, LengthMode::VERTICAL… in DrawingCreateRect() 892 …rect->GetTopRightRadius().GetX(), rect->GetTopRightRadius().GetY(), radiusSize, LengthMode::HORIZO… in DrawingCreateRect() 894 …rect->GetTopRightRadius().GetY(), rect->GetTopRightRadius().GetX(), radiusSize, LengthMode::VERTIC… in DrawingCreateRect() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 803 auto radiusSize = SizeF(std::abs(rect.width()), std::abs(rect.height())); in SkiaCreateInset() local 805 …float topLeftRadiusY = SkiaDimensionToPx(inset->GetTopLeftRadius().GetY(), radiusSize, LengthMode:… in SkiaCreateInset() 809 SkiaDimensionToPx(inset->GetBottomRightRadius().GetX(), radiusSize, LengthMode::HORIZONTAL); in SkiaCreateInset() 811 SkiaDimensionToPx(inset->GetBottomRightRadius().GetY(), radiusSize, LengthMode::VERTICAL); in SkiaCreateInset() 813 SkiaDimensionToPx(inset->GetBottomLeftRadius().GetX(), radiusSize, LengthMode::HORIZONTAL); in SkiaCreateInset() 909 auto radiusSize = SizeF(width, height); in SkiaCreateRect() local 911 …rect->GetTopLeftRadius().GetX(), rect->GetTopLeftRadius().GetY(), radiusSize, LengthMode::HORIZONT… in SkiaCreateRect() 913 …rect->GetTopLeftRadius().GetY(), rect->GetTopLeftRadius().GetX(), radiusSize, LengthMode::VERTICAL… in SkiaCreateRect() 915 …rect->GetTopRightRadius().GetX(), rect->GetTopRightRadius().GetY(), radiusSize, LengthMode::HORIZO… in SkiaCreateRect() 917 …rect->GetTopRightRadius().GetY(), rect->GetTopRightRadius().GetX(), radiusSize, LengthMode::VERTIC… in SkiaCreateRect() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_render_box.cpp | 973 auto radiusSize = Size(std::abs(rect.width()), std::abs(rect.height())); local 976 auto radiusSize = Size(std::abs(rect.GetWidth()), std::abs(rect.GetHeight())); local 978 …float topLeftRadiusX = DimensionToPx(inset->GetTopLeftRadius().GetX(), radiusSize, LengthMode::HOR… 979 …float topLeftRadiusY = DimensionToPx(inset->GetTopLeftRadius().GetY(), radiusSize, LengthMode::VER… 980 …float topRightRadiusX = DimensionToPx(inset->GetTopRightRadius().GetX(), radiusSize, LengthMode::H… 981 …float topRightRadiusY = DimensionToPx(inset->GetTopRightRadius().GetY(), radiusSize, LengthMode::V… 1185 auto radiusSize = Size(width, height); local 1187 …rect->GetTopLeftRadius().GetX(), rect->GetTopLeftRadius().GetY(), radiusSize, LengthMode::HORIZONT… 1189 …rect->GetTopLeftRadius().GetY(), rect->GetTopLeftRadius().GetX(), radiusSize, LengthMode::VERTICAL… 1191 …rect->GetTopRightRadius().GetX(), rect->GetTopRightRadius().GetY(), radiusSize, LengthMode::HORIZO… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image.h | 125 int radiusSize = 4; in dump() local 126 for (int i = 0; i < radiusSize; i++) { in dump()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 764 auto radiusSize = paintProperty->GetItemBorderRadius().has_value() in ApplyIndexChanged() local 767 … childRenderContext->UpdateBorderRadius({ radiusSize, radiusSize, radiusSize, radiusSize }); in ApplyIndexChanged() 772 auto radiusSize = indexerTheme->GetHoverRadiusSize(); in ApplyIndexChanged() local 773 … childRenderContext->UpdateBorderRadius({ radiusSize, radiusSize, radiusSize, radiusSize }); in ApplyIndexChanged()
|