/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/ |
H A D | image_testtwo_ng.cpp | 275 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 D | image_testone_ng.cpp | 1634 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 D | image_test_ng.cpp | 723 EXPECT_EQ(imageLayoutProperty->GetImageFit(), std::nullopt);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | image_component.cpp | 207 imageComponent->SetImageFit(other->GetImageFit()); in MakeFromOtherWithoutSourceAndEvent() 227 ImageFit ImageComponent::GetImageFit() const in GetImageFit() function in OHOS::Ace::ImageComponent
|
H A D | image_component.h | 83 ImageFit GetImageFit() const;
|
H A D | render_image.h | 64 ImageFit GetImageFit() const in GetImageFit() function
|
H A D | render_image.cpp | 87 imageFit_ = image->GetImageFit(); in Update()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_loading_context.cpp | 113 ImageFit ImageLoadingContext::GetImageFit() const in GetImageFit() function in OHOS::Ace::NG::ImageLoadingContext
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | image_analyzer_manager.cpp | 227 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 D | js_render_image.h | 99 ImageFit GetImageFit() in GetImageFit() function
|
H A D | js_render_image.cpp | 307 imageFit_ = loadingCtx_->GetImageFit(); in OnImageLoadSuccess()
|
H A D | js_canvas_renderer.cpp | 466 imageInfo.imageFit = jsImage->GetImageFit(); in DrawSvgImage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_loading_context.h | 57 ImageFit GetImageFit() const;
|
H A D | image_loading_context.cpp | 517 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 D | image_span_view.cpp | 131 return layoutProperty->GetImageFit().value_or(ImageFit::COVER); in GetObjectFit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | image_composed_element.cpp | 101 renderImage ? renderImage->GetImageFit() : ImageFit::COVER; in GetObjectFit()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image.h | 111 ImageFit GetImageFit();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 544 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 D | image_model_ng.cpp | 877 return layoutProperty->GetImageFit().value_or(ImageFit::COVER); in GetObjectFit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 90 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 D | rs_particles_drawable.cpp | 120 auto imageFit = image->GetImageFit(); in CaculateImageAtlsArry()
|
H A D | rs_image.cpp | 333 ImageFit RSImage::GetImageFit() in GetImageFit() function in OHOS::Rosen::RSImage
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 1303 …rsImagePtr->SetImageFit(static_cast<int32_t>(imageParameter.GetImageFit().value_or(ImageFit::COVER… in ConvertParticleEmitterOption()
|