/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-version-compatibility.md | 16 <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 D | js-service-widget-version-compatibility.md | 16 <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 D | image_composed_element.cpp | 77 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 D | image_source_info.h | 38 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 D | image_source_info.cpp | 139 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 D | image_loader.cpp | 714 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 D | phoneLayout.ets | 26 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 D | webTitleBar.ets | 34 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 D | theme_utils.cpp | 141 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 D | theme_utils.h | 48 …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 D | panel_view.cpp | 104 const ImageInfo* imageSrc) in SetImageInPanel() argument 106 if (image == nullptr || imageSrc == nullptr) { in SetImageInPanel() 109 image->SetSrc(imageSrc); in SetImageInPanel()
|
H A D | panel_view.h | 55 …ageInPanel(UIImageView* image, int16_t imageWidth, int16_t imageHeight, const ImageInfo* imageSrc);
|
H A D | video_component.cpp | 77 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 D | ui_image_animator.h | 113 …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 D | movingphoto_model_ng.cpp | 90 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 D | typical-layout-scenario.md | 386 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 D | mock_image_source_info.cpp | 117 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 D | drag_drop_event.cpp | 86 const std::string& selectedText, const std::string& imageSrc) in AddDataToClipboard() argument 93 seleItemSizeStr->Put("imageSrc", imageSrc.c_str()); in AddDataToClipboard()
|
H A D | drag_drop_event.h | 116 const std::string& selectedText, const std::string& imageSrc);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | render_image.h | 68 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 D | mock_theme_utils.cpp | 32 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 D | render_clock.cpp | 252 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 D | render_clock.h | 117 void UpdateRenderImage(RefPtr<RenderImage>& renderImage, const std::string& imageSrc);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | render_rating.cpp | 294 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 D | movingphoto_test_ng.cpp | 60 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()
|