Home
last modified time | relevance | path

Searched refs:GetSourceSize (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_loading_context.cpp105 return SizeF(GetSourceInfo().GetSourceSize().Width(), GetSourceInfo().GetSourceSize().Height()); in GetImageSize()
110 return SizeF(GetSourceInfo().GetSourceSize().Width(), GetSourceInfo().GetSourceSize().Height()); in GetOriginImageSize()
145 std::optional<SizeF> ImageLoadingContext::GetSourceSize() const in GetSourceSize() function in OHOS::Ace::NG::ImageLoadingContext
H A Dmock_image_source_info.cpp248 Size ImageSourceInfo::GetSourceSize() const in GetSourceSize() function in OHOS::Ace::ImageSourceInfo
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dimage_composed_element.cpp43 … { "sourceSize", [](const ImageComposedElement& inspector) { return inspector.GetSourceSize(); } }, in __anon474b30df0802()
58 DumpLog::GetInstance().AddDesc(std::string("sourceSize: ").append(GetSourceSize())); in Dump()
174 std::string ImageComposedElement::GetSourceSize() const in GetSourceSize() function in OHOS::Ace::V2::ImageComposedElement
H A Dimage_composed_element.h42 std::string GetSourceSize() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_loading_context.cpp321 auto userDefinedSize = GetSourceSize(); in OnMakeCanvasImage()
351 auto userDefinedSize = GetSourceSize(); in ResizableCalcDstSize()
452 …bool res = autoResize != autoResize_ || imageFit != imageFit_ || sourceSize != GetSourceSize() || … in MakeCanvasImageIfNeed()
554 std::optional<SizeF> ImageLoadingContext::GetSourceSize() const in GetSourceSize() function in OHOS::Ace::NG::ImageLoadingContext
H A Dimage_loading_context.h70 std::optional<SizeF> GetSourceSize() const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp299 auto size = ctx->GetSourceSize();
303 size = ctx->GetSourceSize();
307 size = ctx->GetSourceSize();
311 size = ctx->GetSourceSize();
743 auto size = ctx->GetSourceSize();
833 auto size = ctx->GetSourceSize();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_source_info.h101 Size GetSourceSize() const;
H A Dimage_source_info.cpp388 Size ImageSourceInfo::GetSourceSize() const in GetSourceSize() function in OHOS::Ace::ImageSourceInfo
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_testone_ng.cpp1068 EXPECT_EQ(imageLayoutProperty->GetSourceSize().value(),
1090 EXPECT_EQ(imageLayoutProperty->GetSourceSize().value(),
1564 EXPECT_EQ(imageLayoutProperty->GetSourceSize().value(), in ImageModelNGTest001_SetLayoutProperty01()
1884 EXPECT_EQ(imageLayoutProperty->GetSourceSize().has_value(), false); in ImageModelNGFailedTest001_Properties02()
1887 EXPECT_EQ(imageLayoutProperty->GetSourceSize().has_value(), false); in ImageModelNGFailedTest001_Properties02()
H A Dimage_test_ng.cpp773 EXPECT_EQ(imageLayoutProperty->GetSourceSize().value(),
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.h112 return sourceInfo_.GetSourceSize(); in GetImageSourceSize()
H A Drosen_render_image.cpp166 rawImageSize_ = sourceInfo_.GetSourceSize(); in ImageObjReady()
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h247 NATIVEEXPORT size_t GetSourceSize() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp545 const std::optional<SizeF>& sourceSize = props->GetSourceSize(); in StartDecoding()
1372 const std::optional<SizeF>& sourceSize = layoutProp->GetSourceSize(); in DumpLayoutInfo()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_test.cpp963 size_t ret = imageSource->GetSourceSize();
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp3410 size_t ImageSource::GetSourceSize() const in GetSourceSize() function in OHOS::Media::ImageSource