Searched refs:imageSource (Results 1 - 8 of 8) sorted by relevance
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_icon/ |
H A D | user_auth_icon.js | 46 this.__imageSource = new ObservedPropertySimplePU('', this, 'imageSource'); 70 if (a1.imageSource !== undefined) { 71 this.imageSource = a1.imageSource; 90 get imageSource() { 93 set imageSource(x) { 99 this.imageSource = FACE_ICON_RESOURCE; 104 this.imageSource = FINGERPRINT_ICON_RESOURCE; 117 this.imageSource = ''; 123 this.imageSource [all...] |
/base/web/webview/ohos_adapter/ohos_image_adapter/src/ |
H A D | ohos_image_decoder_adapter_impl.cpp | 34 auto imageSource = Media::ImageSource::CreateImageSource( in ParseRawData() local 41 auto ret = imageSource->GetImageInfo(imageInfo); in ParseRawData() 47 return imageSource; in ParseRawData() 99 auto imageSource = ParseRawData(data, size, imageInfo_); in Decode() local 100 if (imageSource == nullptr) { in Decode() 111 pixelMap_ = imageSource->CreatePixelMap(decodeOptions, errorCode); in Decode()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_image_util.cpp | 84 auto imageSource = Media::ImageSource::CreateImageSource( in UnPackImage() local 88 if (errorCode || !imageSource) { in UnPackImage() 89 ANS_LOGE("create imageSource failed"); in UnPackImage() 94 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in UnPackImage() 144 auto imageSource = Media::ImageSource::CreateImageSource(inFilePath, opts, errorCode); in CreatePixelMap() local 145 if (errorCode || !imageSource) { in CreatePixelMap() 146 ANS_LOGE("create imageSource failed"); in CreatePixelMap() 151 auto ret = imageSource->GetSupportedFormats(formats); in CreatePixelMap() 158 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in CreatePixelMap()
|
/base/web/webview/test/fuzztest/ohos_adapter/ohosimagedecoderadapterimpl_fuzzer/ |
H A D | ohosimagedecoderadapterimpl_fuzzer.cpp | 54 auto imageSource = OHOS::Media::ImageSource::CreateImageSource(DEFAULT_MOUSE_DRAG_IMAGE, opts, errorCode); in ProcessImageSource() local 55 if (!imageSource || errorCode != Media::SUCCESS) { in ProcessImageSource() 60 auto pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in ProcessImageSource()
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 381 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in CreatePixelMapByFd() local 383 if (errorCode != 0 || imageSource == nullptr) { in CreatePixelMapByFd() 390 pixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in CreatePixelMapByFd()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_live_view_service.cpp | 504 auto imageSource = Media::ImageSource::CreateImageSource((const uint8_t *)pixelsVec.data(), pixelsVec.size(), in GetLockScreenPictureFromDb() local 512 auto pixelMapPtr = imageSource->CreatePixelMap(decodeOpts, res); in GetLockScreenPictureFromDb()
|
/base/theme/wallpaper_mgr/services/src/ |
H A D | wallpaper_service.cpp | 629 std::unique_ptr<OHOS::Media::ImageSource> imageSource = in SaveColor() local 631 if (errorCode != 0 || imageSource == nullptr) { in SaveColor() 636 std::unique_ptr<PixelMap> wallpaperPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in SaveColor()
|
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_drawing.cpp | 1752 auto imageSource = Media::ImageSource::CreateImageSource(reinterpret_cast<const uint8_t*>(content.c_str()), in DecodeSvgToPixelMap() local 1754 CHKPP(imageSource); in DecodeSvgToPixelMap() 1757 std::shared_ptr<Media::PixelMap> pixelMap = imageSource->CreatePixelMap(decodeOpts, errCode); in DecodeSvgToPixelMap() 3258 auto imageSource = Media::ImageSource::CreateImageSource(imagePath, opts, errCode); in DrawFromSVG() local 3259 if (imageSource == nullptr) { in DrawFromSVG() 3260 FI_HILOGW("imageSource is null"); in DrawFromSVG() 3275 return imageSource->CreatePixelMap(decodeOpts, errCode); in DrawFromSVG()
|
Completed in 13 milliseconds