Home
last modified time | relevance | path

Searched refs:bgImageSizeOpt (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_painter.cpp40 …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 Dimage_painter.h41 …eF& boxPaintSize_, const SizeF& srcSize, const std::optional<BackgroundImageSize>& bgImageSizeOpt);
H A Dimage_painter.cpp405 …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 Dimage_painter_test_ng.cpp558 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);