Home
last modified time | relevance | path

Searched refs:imageSrc (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-version-compatibility.md16 <image src="{{imageSrc}}" style="width: 100px;height: 100px;"></image>
25 "imageSrc": "defaultSrc.png"
29 "imageSrc": "newSrc.webp"
37 假设系统运行版本在8及以下,则实际解析的imageSrc值为defaultSrc.png;
39 假设系统运行版本为9,则实际解析的imageSrc值为newSrc.webp。
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-version-compatibility.md16 <image src="{{imageSrc}}" style="width: 100px;height: 100px;"></image>
25 "imageSrc": "defaultSrc.png"
29 "imageSrc": "newSrc.webp"
37 If the API version is 8 or earlier, the value of **imageSrc** is **defaultSrc.png**.
39 If the API version is 9, the value of **imageSrc** is **newSrc.webp**.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dimage_composed_element.cpp77 auto imageSrc = renderImage->GetImageSrc(); in GetSrc() local
78 if (imageSrc.find("resources") != std::string::npos) { in GetSrc()
79 auto num = imageSrc.find("resources"); in GetSrc()
80 imageSrc = imageSrc.substr(num); in GetSrc()
82 return imageSrc; in GetSrc()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_source_info.h38 ImageSourceInfo(std::string imageSrc, std::string bundleName, std::string moduleName,
43 …ImageSourceInfo(const std::shared_ptr<std::string> &imageSrc, std::string bundleName, std::string …
48 …explicit ImageSourceInfo(std::string imageSrc, Dimension width = Dimension(-1), Dimension height =…
51 : ImageSourceInfo(std::move(imageSrc), "", "", width, height, resourceId, pixmap)
61 …static bool IsSVGSource(const std::string& imageSrc, SrcType srcType, InternalResource::ResourceId…
H A Dimage_source_info.cpp139 ImageSourceInfo::ImageSourceInfo(std::string imageSrc, std::string bundleName, std::string moduleNa… in ImageSourceInfo() argument
141 …: src_(std::move(imageSrc)), bundleName_(std::move(bundleName)), moduleName_(std::move(moduleName)… in ImageSourceInfo()
170 ImageSourceInfo::ImageSourceInfo(const std::shared_ptr<std::string>& imageSrc, std::string bundleNa… in ImageSourceInfo() argument
173 …: srcRef_(imageSrc), bundleName_(std::move(bundleName)), moduleName_(std::move(moduleName)), sourc… in ImageSourceInfo()
H A Dimage_loader.cpp714 auto imageSrc = ImageSource::Create(fd); in GetThumbnailOrientation() local
715 CHECK_NULL_RETURN(imageSrc, ""); in GetThumbnailOrientation()
716 std::string orientation = imageSrc->GetProperty("Orientation"); in GetThumbnailOrientation()
889 auto imageSrc = ImageSource::Create(fd); in GetThumbnailOrientation() local
890 CHECK_NULL_RETURN(imageSrc, ""); in GetThumbnailOrientation()
891 std::string orientation = imageSrc->GetProperty("Orientation"); in GetThumbnailOrientation()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/
H A DphoneLayout.ets26 imageSrc: Resource,
40 imageSrc : $r('app.media.ic_public_back') ,
44 imageSrc : $r('app.media.ic_public_advance') ,
48 imageSrc : $r('app.media.ic_public_home') ,
52 imageSrc : $r('app.media.ic_public_refresh') ,
70 Image(item.imageSrc)
H A DwebTitleBar.ets34 imageSrc: Resource,
54 imageSrc : $r('app.media.ic_public_back') ,
58 imageSrc : $r('app.media.ic_public_advance') ,
62 imageSrc : $r('app.media.ic_public_refresh') ,
66 imageSrc : $r('app.media.ic_public_home') ,
72 imageSrc : $r('app.media.submit') ,
76 imageSrc : $r('app.media.ic_public_add') ,
85 Image(item.imageSrc)
144 Image(item.imageSrc)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_utils.cpp141 std::string ThemeUtils::ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants… in ProcessImageSource() argument
146 …if (std::regex_match(imageSrc, matches, APP_MEDIA_RES_NAME_REGEX) && matches.size() == MEDIA_RESOU… in ProcessImageSource()
149 …if (std::regex_match(imageSrc, matches, SYS_MEDIA_RES_ID_REGEX) && matches.size() == MEDIA_RESOURC… in ProcessImageSource()
154 return imageSrc; in ProcessImageSource()
H A Dtheme_utils.h48 …static std::string ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants>& t…
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dpanel_view.cpp104 const ImageInfo* imageSrc) in SetImageInPanel() argument
106 if (image == nullptr || imageSrc == nullptr) { in SetImageInPanel()
109 image->SetSrc(imageSrc); in SetImageInPanel()
H A Dpanel_view.h55 …ageInPanel(UIImageView* image, int16_t imageWidth, int16_t imageHeight, const ImageInfo* imageSrc);
H A Dvideo_component.cpp77 const ImageInfo* imageSrc = playFlag ? GetVideoPlayImageOffInfo() : GetVideoPlayImageOnInfo(); in UpdatePlayImageInfo() local
78 playImageView->SetSrc(imageSrc); in UpdatePlayImageInfo()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_image_animator.h113 …void SetImageAnimatorSrc(const ImageAnimatorInfo imageSrc[], uint8_t imageNum, uint16_t timeOfUpda…
125 void SetImageAnimatorSrc(const ImageAnimatorInfo imageSrc[], uint8_t imageNum);
/ohos5.0/foundation/arkui/ace_engine/component_ext/movingphoto/
H A Dmovingphoto_model_ng.cpp90 std::string imageSrc = dataProvider->GetMovingPhotoImageUri(value); in SetImageSrc() local
91 imageSrc += "?date_modified=" + std::to_string(movingPhotoPattern->GetCurrentDateModified()); in SetImageSrc()
93 src.SetSrc(imageSrc); in SetImageSrc()
/ohos5.0/docs/zh-cn/application-dev/key-features/multi-device-app-dev/
H A Dtypical-layout-scenario.md386 imageSrc:Resource
391 imageSrc:$r('app.media.my_image_moon')
395 imageSrc:$r('app.media.my_image')
442 Image(images[this.selectIndex].imageSrc)
516 Image(this.imageSrc)
535 private imageSrc: Resource=$r('app.media.my_image')
541 Image(this.imageSrc)
722 private imageSrc: Resource = $r('app.media.startIcon');
728 Image(this.imageSrc)
747 private imageSrc: Resource = $r('app.media.startIcon');
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_source_info.cpp117 ImageSourceInfo::ImageSourceInfo(std::string imageSrc, std::string bundleName, std::string moduleNa… in ImageSourceInfo() argument
119 …: src_(std::move(imageSrc)), bundleName_(std::move(bundleName)), moduleName_(std::move(moduleName)… in ImageSourceInfo()
126 ImageSourceInfo::ImageSourceInfo(const std::shared_ptr<std::string>& imageSrc, std::string bundleNa… in ImageSourceInfo() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Ddrag_drop_event.cpp86 const std::string& selectedText, const std::string& imageSrc) in AddDataToClipboard() argument
93 seleItemSizeStr->Put("imageSrc", imageSrc.c_str()); in AddDataToClipboard()
H A Ddrag_drop_event.h116 const std::string& selectedText, const std::string& imageSrc);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.h68 void SetImageSrc(const std::string& imageSrc) in SetImageSrc() argument
70 if (imageSrc != sourceInfo_.GetSrc()) { in SetImageSrc()
71 sourceInfo_.SetSrc(imageSrc); in SetImageSrc()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_theme_utils.cpp32 std::string ThemeUtils::ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants… in ProcessImageSource() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drender_clock.cpp252 void RenderClock::UpdateRenderImage(RefPtr<RenderImage>& renderImage, const std::string& imageSrc) in UpdateRenderImage() argument
254 RefPtr<ImageComponent> imageComponent = AceType::MakeRefPtr<ImageComponent>(imageSrc); in UpdateRenderImage()
H A Drender_clock.h117 void UpdateRenderImage(RefPtr<RenderImage>& renderImage, const std::string& imageSrc);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.cpp294 const std::string& imageSrc, RefPtr<RenderImage>& renderImage, uint32_t svgColor) in UpdateRenderImage() argument
297 if (!imageSrc.empty()) { in UpdateRenderImage()
307 imageComponent->SetSrc(imageSrc); in UpdateRenderImage()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/movingphoto/
H A Dmovingphoto_test_ng.cpp60 std::optional<std::string> imageSrc; member
97 g_testProperty.imageSrc = MOVINGPHOTO_IMAGE_SRC; in SetUpTestSuite()
132 if (g_testProperty.imageSrc.has_value()) { in CreateMovingPhotoNode()
133 MovingPhotoModelNG().SetImageSrc(g_testProperty.imageSrc.value()); in CreateMovingPhotoNode()

12