Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/core/src/
Dans_image_util.cpp88 Media::DecodeOptions decodeOpts; in UnPackImage() local
89 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in UnPackImage()
152 Media::DecodeOptions decodeOpts; in CreatePixelMap() local
153 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in CreatePixelMap()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp453 OHOS::Media::DecodeOptions decodeOpts; in SaveColor() local
454 … std::unique_ptr<PixelMap> wallpaperPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in SaveColor()
502 OHOS::Media::DecodeOptions decodeOpts; in MakeCropWallpaper() local
503 … std::unique_ptr<PixelMap> wallpaperPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in MakeCropWallpaper()
507 SetPixelMapCropParameters(std::move(wallpaperPixelMap), decodeOpts); in MakeCropWallpaper()
508 wallpaperPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in MakeCropWallpaper()
525 …::SetPixelMapCropParameters(std::unique_ptr<PixelMap> wallpaperPixelMap, DecodeOptions &decodeOpts) in SetPixelMapCropParameters() argument
536 decodeOpts.CropRect.top = (pictureHeight - pyScrHeight) / HALF; in SetPixelMapCropParameters()
540 decodeOpts.CropRect.left = (pictureWidth - pyScrWidth) / HALF; in SetPixelMapCropParameters()
543 decodeOpts.CropRect.height = bHeightFlag ? pyScrHeight : pictureHeight; in SetPixelMapCropParameters()
[all …]
/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/src/
Dwallpaper_manager.cpp313 OHOS::Media::DecodeOptions decodeOpts; in GetPixelMap() local
315 pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in GetPixelMap()
/base/theme/wallpaper_mgr/services/include/
Dwallpaper_service.h147 Media::DecodeOptions &decodeOpts);