Searched refs:dstSize_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_loading_context.cpp | 123 dstSize_ = SizeF(); in OnUnloaded() 324 ImagePainter::ApplyImageFit(imageFit_, *userDefinedSize, dstSize_, srcRect_, dstRect_); in OnMakeCanvasImage() 329 ImagePainter::ApplyImageFit(imageFit_, imageSize, dstSize_, srcRect_, dstRect_); in OnMakeCanvasImage() 335 ImagePainter::ApplyImageFit(imageFit_, targetSize, dstSize_, srcRect_, dstRect_); in OnMakeCanvasImage() 353 ImagePainter::ApplyImageFit(imageFit_, *userDefinedSize, dstSize_, srcRect_, dstRect_); in ResizableCalcDstSize() 358 ImagePainter::ApplyImageFit(imageFit_, imageSize, dstSize_, srcRect_, dstRect_); in ResizableCalcDstSize() 364 ImagePainter::ApplyImageFit(imageFit_, targetSize, dstSize_, srcRect_, dstRect_); in ResizableCalcDstSize() 459 } else if (dstSize_ == SizeF()) { in MakeCanvasImageIfNeed() 463 dstSize_ = dstSize; in MakeCanvasImageIfNeed() 492 ctx->dstSize_ = dstSize; in MakeCanvasImage() [all …]
|
H A D | image_loading_context.h | 195 return dstSize_.IsPositive() && dstSize != dstSize_; in SizeChanging() 220 SizeF dstSize_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_loading_context.cpp | 93 dstSize_ = dstSize; in MakeCanvasImageIfNeed() 135 return dstSize_; in GetDstSize()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/ |
H A D | image_provider_test_ng.cpp | 361 ctx->dstSize_ = SizeF(1, 1); 365 ctx->dstSize_ = SizeF(); 458 EXPECT_EQ(ctx->dstSize_, SizeF(LENGTH_100, LENGTH_100)); 579 ctx->dstSize_ = SizeF(200, 200); 734 ctx->dstSize_ = SizeF(200, 200); 824 ctx->dstSize_ = SizeF(200, 200);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/ |
H A D | image_test_ng.cpp | 1491 EXPECT_EQ(pattern->loadingCtx_->dstSize_, SizeF(0, 0));
|