Home
last modified time | relevance | path

Searched refs:imageSource (Results 1 – 4 of 4) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/src/
Dans_image_util.cpp79 auto imageSource = Media::ImageSource::CreateImageSource( in UnPackImage() local
83 if (errorCode || !imageSource) { in UnPackImage()
89 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in UnPackImage()
139 auto imageSource = Media::ImageSource::CreateImageSource(inFilePath, opts, errorCode); in CreatePixelMap() local
140 if (errorCode || !imageSource) { in CreatePixelMap()
146 auto ret = imageSource->GetSupportedFormats(formats); in CreatePixelMap()
153 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in CreatePixelMap()
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp975 …auto imageSource = Media::ImageSource::CreateImageSource(reinterpret_cast<const uint8_t*>(content.… in DecodeSvgToPixelMap() local
977 CHKPP(imageSource); in DecodeSvgToPixelMap()
980 std::shared_ptr<Media::PixelMap> pixelMap = imageSource->CreatePixelMap(decodeOpts, errCode); in DecodeSvgToPixelMap()
1165 auto imageSource = Media::ImageSource::CreateImageSource(imagePath, opts, errCode); in Draw() local
1166 CHKPV(imageSource); in Draw()
1172 std::shared_ptr<Media::PixelMap> pixelMap = imageSource->CreatePixelMap(decodeOpts, errCode); in Draw()
/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp366 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in GetPixelMap() local
376 pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in GetPixelMap()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp632 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in SaveColor() local
639 … std::unique_ptr<PixelMap> wallpaperPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in SaveColor()