/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_source_info.h | 35 ImageSourceInfo(std::string imageSrc, std::string bundleName, std::string moduleName, 40 ImageSourceInfo(const std::shared_ptr<std::string> &imageSrc, std::string bundleName, std::string moduleName, 45 explicit ImageSourceInfo(std::string imageSrc, Dimension width = Dimension(-1), Dimension height = Dimension(-1), in ImageSourceInfo() argument 48 : ImageSourceInfo(std::move(imageSrc), "", "", width, height, resourceId, pixmap) in ImageSourceInfo() 58 static bool IsSVGSource(const std::string& imageSrc, SrcType srcType, InternalResource::ResourceId resourceId);
|
H A D | image_source_info.cpp | 139 ImageSourceInfo::ImageSourceInfo(std::string imageSrc, std::string bundleName, std::string moduleName, Dimension width, 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 bundleName, in ImageSourceInfo() argument 173 : srcRef_(imageSrc), bundleName_(std::move(bundleName)), moduleName_(std::move(moduleName)), sourceWidth_(width), in ImageSourceInfo()
|
H A D | image_loader.cpp | 715 auto imageSrc = ImageSource::Create(fd); in GetThumbnailOrientation() local 716 CHECK_NULL_RETURN(imageSrc, ""); in GetThumbnailOrientation() 717 std::string orientation = imageSrc->GetProperty("Orientation"); in GetThumbnailOrientation() 941 auto imageSrc = ImageSource::Create(fd); in GetThumbnailOrientation() local 942 CHECK_NULL_RETURN(imageSrc, ""); in GetThumbnailOrientation() 943 std::string orientation = imageSrc->GetProperty("Orientation"); in GetThumbnailOrientation()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | image_composed_element.cpp | 73 auto imageSrc = renderImage->GetImageSrc(); in GetSrc() local 74 if (imageSrc.find("resources") != std::string::npos) { in GetSrc() 75 auto num = imageSrc.find("resources"); in GetSrc() 76 imageSrc = imageSrc.substr(num); in GetSrc() 78 return imageSrc; in GetSrc()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | panel_view.cpp | 104 const ImageInfo* imageSrc) in SetImageInPanel() 106 if (image == nullptr || imageSrc == nullptr) { in SetImageInPanel() 109 image->SetSrc(imageSrc); in SetImageInPanel() 100 SetImageInPanel( UIImageView *image, int16_t imageWidth, int16_t imageHeight, const ImageInfo* imageSrc) SetImageInPanel() argument
|
H A D | panel_view.h | 55 void SetImageInPanel(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()
|
/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>& themeConstants) in ProcessImageSource() argument 146 if (std::regex_match(imageSrc, matches, APP_MEDIA_RES_NAME_REGEX) && matches.size() == MEDIA_RESOURCE_MATCH_SIZE) { in ProcessImageSource() 149 if (std::regex_match(imageSrc, matches, SYS_MEDIA_RES_ID_REGEX) && matches.size() == MEDIA_RESOURCE_MATCH_SIZE) { 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>& themeConstants);
|
/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>& themeConstants) in ProcessImageSource() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_image_animator.h | 105 * @param imageSrc Indicates the pointer to the {@link ImageAnimatorInfo} array for storing the configured 113 void SetImageAnimatorSrc(const ImageAnimatorInfo imageSrc[], uint8_t imageNum, uint16_t timeOfUpdate); 118 * @param imageSrc Indicates the pointer to the {@link ImageAnimatorInfo} array for storing the configured 125 void SetImageAnimatorSrc(const ImageAnimatorInfo imageSrc[], uint8_t imageNum);
|
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_model_ng.cpp | 87 std::string imageSrc = dataProvider->GetMovingPhotoImageUri(value); in SetImageSrc() local 88 imageSrc += "?date_modified=" + std::to_string(movingPhotoPattern->GetCurrentDateModified()); in SetImageSrc() 90 src.SetSrc(imageSrc); in SetImageSrc()
|
/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() 93 seleItemSizeStr->Put("imageSrc", imageSrc.c_str()); in AddDataToClipboard() 85 AddDataToClipboard(const RefPtr<PipelineContext>& context, const std::string& extraInfo, const std::string& selectedText, const std::string& imageSrc) AddDataToClipboard() argument
|
H A D | drag_drop_event.h | 116 const std::string& selectedText, const std::string& imageSrc);
|
H A D | render_box.h | 217 const std::string& selectedText, const std::string& imageSrc) override;
|
/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()
|
/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 moduleName, Dimension width, 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 bundleName, in ImageSourceInfo() argument
|
/foundation/arkui/ace_engine/frameworks/core/components/clock/ |
H A D | render_clock.h | 117 void UpdateRenderImage(RefPtr<RenderImage>& renderImage, const std::string& imageSrc);
|
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()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/movingphoto/ |
H A D | movingphoto_test_ng.cpp | 63 std::optional<std::string> imageSrc; member 100 g_testProperty.imageSrc = MOVINGPHOTO_IMAGE_SRC; in SetUpTestSuite() 135 if (g_testProperty.imageSrc.has_value()) { in CreateMovingPhotoNode() 136 MovingPhotoModelNG().SetImageSrc(g_testProperty.imageSrc.value()); in CreateMovingPhotoNode()
|
/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() 297 if (!imageSrc.empty()) { in UpdateRenderImage() 307 imageComponent->SetSrc(imageSrc); in UpdateRenderImage() 293 UpdateRenderImage(const RefPtr<ImageComponent>& imageComponent, const ImageFit& imageFit, const std::string& imageSrc, RefPtr<RenderImage>& renderImage, uint32_t svgColor) UpdateRenderImage() argument
|
H A D | render_rating.h | 209 const std::string& imageSrc, RefPtr<RenderImage>& renderImage, uint32_t svgColor);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_base.cpp | 151 if (property.imageSrc.has_value()) { in CreateImageSpanNode() 152 imageLayoutProperty->UpdateImageSourceInfo(ImageSourceInfo(property.imageSrc.value())); in CreateImageSpanNode()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_component.cpp | 371 const std::string& imageSrc, InternalResource::ResourceId resourceId, const std::string& text, bool useResource) in BuildMenuOption() 382 image = AceType::MakeRefPtr<ImageComponent>(imageSrc); in BuildMenuOption() 370 BuildMenuOption( const std::string& imageSrc, InternalResource::ResourceId resourceId, const std::string& text, bool useResource) BuildMenuOption() argument
|
H A D | text_overlay_component.h | 209 RefPtr<OptionComponent> BuildMenuOption(const std::string& imageSrc, InternalResource::ResourceId resourceId,
|