Home
last modified time | relevance | path

Searched refs:ImageSource (Results 1 – 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_image_source.cpp60 uint32_t ImageSource::GetSupportedFormats(std::set<std::string> &formats) in GetSupportedFormats()
65 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(std::unique_ptr<std::istream> is, in CreateImageSource()
71 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const uint8_t *data, uint32_t size, in CreateImageSource()
78 ImageSource *sourcePtr = new (std::nothrow) ImageSource(std::move(stream), opts); in CreateImageSource()
79 return std::unique_ptr<ImageSource>(sourcePtr); in CreateImageSource()
84 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const std::string &pathName, const Sour… in CreateImageSource()
91 ImageSource *sourcePtr = new (std::nothrow) ImageSource(std::move(stream), opts); in CreateImageSource()
92 return std::unique_ptr<ImageSource>(sourcePtr); in CreateImageSource()
97 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const int fd, const SourceOptions &opts, in CreateImageSource()
103 std::unique_ptr<ImageSource> ImageSource::CreateIncrementalImageSource(const IncrementalSourceOptio… in CreateIncrementalImageSource()
[all …]
Dmock_image_packer.cpp95 uint32_t ImagePacker::AddImage(ImageSource &source) in AddImage()
100 uint32_t ImagePacker::AddImage(ImageSource &source, uint32_t index) in AddImage()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_image_util.cpp79 auto imageSource = Media::ImageSource::CreateImageSource( in UnPackImage()
139 auto imageSource = Media::ImageSource::CreateImageSource(inFilePath, opts, errorCode); in CreatePixelMap()
/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp366 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in GetPixelMap()
367 OHOS::Media::ImageSource::CreateImageSource(fdInfo.fd, opts, errorCode); in GetPixelMap()
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp975 …auto imageSource = Media::ImageSource::CreateImageSource(reinterpret_cast<const uint8_t*>(content.… in DecodeSvgToPixelMap()
1165 auto imageSource = Media::ImageSource::CreateImageSource(imagePath, opts, errCode); in Draw()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp632 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in SaveColor()
633 OHOS::Media::ImageSource::CreateImageSource(pathName, opts, errorCode); in SaveColor()