Home
last modified time | relevance | path

Searched refs:GetImageFit (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_testtwo_ng.cpp275 EXPECT_EQ(imageRenderProperty->GetImageFit(), ImageFit::FILL);
276 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::FILL);
285 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::CONTAIN);
293 EXPECT_EQ(imageRenderProperty->GetImageFit(), ImageFit::COVER);
294 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::COVER);
303 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::FITWIDTH);
312 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::FITHEIGHT);
320 EXPECT_EQ(imageRenderProperty->GetImageFit(), ImageFit::NONE);
321 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::NONE);
330 EXPECT_EQ(layoutProperty->GetImageFit(), ImageFit::SCALE_DOWN);
[all …]
H A Dimage_testone_ng.cpp1634 EXPECT_EQ(imageRenderProperty->GetImageFit().value(), ImageFit::FITWIDTH); in ImageModelNGTest001_MixedProperties01()
1635 EXPECT_EQ(imageLayoutProperty->GetImageFit().value(), ImageFit::FITWIDTH); in ImageModelNGTest001_MixedProperties01()
1829 EXPECT_EQ(imageLayoutProperty->GetImageFit().has_value(), false); in ImageModelNGFailedTest001_Properties01()
1832 EXPECT_EQ(imageLayoutProperty->GetImageFit().has_value(), false); in ImageModelNGFailedTest001_Properties01()
H A Dimage_test_ng.cpp723 EXPECT_EQ(imageLayoutProperty->GetImageFit(), std::nullopt);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Dimage_component.cpp207 imageComponent->SetImageFit(other->GetImageFit()); in MakeFromOtherWithoutSourceAndEvent()
227 ImageFit ImageComponent::GetImageFit() const in GetImageFit() function in OHOS::Ace::ImageComponent
H A Dimage_component.h83 ImageFit GetImageFit() const;
H A Drender_image.h64 ImageFit GetImageFit() const in GetImageFit() function
H A Drender_image.cpp87 imageFit_ = image->GetImageFit(); in Update()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_loading_context.cpp113 ImageFit ImageLoadingContext::GetImageFit() const in GetImageFit() function in OHOS::Ace::NG::ImageLoadingContext
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_analyzer_manager.cpp227 if (analyzerUIConfig_.imageFit != props->GetImageFit().value_or(ImageFit::COVER)) { in UpdateAnalyzerUIConfig()
228 analyzerUIConfig_.imageFit = props->GetImageFit().value_or(ImageFit::COVER); in UpdateAnalyzerUIConfig()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_render_image.h99 ImageFit GetImageFit() in GetImageFit() function
H A Djs_render_image.cpp307 imageFit_ = loadingCtx_->GetImageFit(); in OnImageLoadSuccess()
H A Djs_canvas_renderer.cpp466 imageInfo.imageFit = jsImage->GetImageFit(); in DrawSvgImage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_loading_context.h57 ImageFit GetImageFit() const;
H A Dimage_loading_context.cpp517 ImageFit ImageLoadingContext::GetImageFit() const in GetImageFit() function in OHOS::Ace::NG::ImageLoadingContext
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dimage_span_view.cpp131 return layoutProperty->GetImageFit().value_or(ImageFit::COVER); in GetObjectFit()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dimage_composed_element.cpp101 renderImage ? renderImage->GetImageFit() : ImageFit::COVER; in GetObjectFit()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image.h111 ImageFit GetImageFit();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp544 ImageFit imageFit = props->GetImageFit().value_or(ImageFit::COVER); in StartDecoding()
589 config.imageFit_ = layoutProps->GetImageFit().value_or(ImageFit::COVER); in SetImagePaintConfig()
955 …geometryNode->GetContentSize(), true, imageLayoutProperty->GetImageFit().value_or(ImageFit::COVER)… in CreateDataReadyCallbackForAlt()
1366 auto imageFit = layoutProp->GetImageFit().value_or(ImageFit::COVER); in DumpLayoutInfo()
2214 imageRenderProperty->UpdateImageFit(renderProperty->GetImageFit().value()); in SetImageFit()
2217 imageLayoutProperty->UpdateImageFit(layoutProperty->GetImageFit().value()); in SetImageFit()
H A Dimage_model_ng.cpp877 return layoutProperty->GetImageFit().value_or(ImageFit::COVER); in GetObjectFit()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dparticle_property.h90 std::optional<ImageFit> GetImageFit() const in GetImageFit() function
103 (imageFit_ == other.GetImageFit());
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_particles_drawable.cpp120 auto imageFit = image->GetImageFit(); in CaculateImageAtlsArry()
H A Drs_image.cpp333 ImageFit RSImage::GetImageFit() in GetImageFit() function in OHOS::Rosen::RSImage
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp1303 …rsImagePtr->SetImageFit(static_cast<int32_t>(imageParameter.GetImageFit().value_or(ImageFit::COVER… in ConvertParticleEmitterOption()