Searched refs:bgImageSizeOpt (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_painter.cpp | 40 …zeF& boxPaintSize_, const SizeF& srcSize, const std::optional<BackgroundImageSize>& bgImageSizeOpt) in CalculateBgImageSize() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | image_painter.h | 41 …eF& boxPaintSize_, const SizeF& srcSize, const std::optional<BackgroundImageSize>& bgImageSizeOpt);
|
H A D | image_painter.cpp | 405 …zeF& boxPaintSize_, const SizeF& srcSize, const std::optional<BackgroundImageSize>& bgImageSizeOpt) in CalculateBgImageSize() argument 408 if (bgImageSizeOpt == std::nullopt || NearZero(srcSize.Width()) || NearZero(srcSize.Height()) || in CalculateBgImageSize() 412 auto bgImageSize = bgImageSizeOpt.value(); in CalculateBgImageSize()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | image_painter_test_ng.cpp | 558 const std::optional<BackgroundImageSize>& bgImageSizeOpt = backgroundImageSize; variable 559 NG::ImagePainter::CalculateBgImageSize(boxPaintSize_, srcSize, bgImageSizeOpt); 584 const std::optional<BackgroundImageSize>& bgImageSizeOpt = backgroundImageSize; variable 585 NG::ImagePainter::CalculateBgImageSize(boxPaintSize_, srcSize, bgImageSizeOpt);
|