Home
last modified time | relevance | path

Searched refs:alphaType (Results 1 - 24 of 24) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/imagetoclipboardalphatype_fuzzer/
H A Dimagetoclipboardalphatype_fuzzer.cpp33 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN; in ImageToClipboardAlphaTypeFuzzTest()
35 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in ImageToClipboardAlphaTypeFuzzTest()
37 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_PREMUL; in ImageToClipboardAlphaTypeFuzzTest()
39 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL; in ImageToClipboardAlphaTypeFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/clipboardtoimagealphatype_fuzzer/
H A Dclipboardtoimagealphatype_fuzzer.cpp31 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ClipboardToImageAlphaTypeFuzzTest() local
32 dataRecordAdapterImpl->ClipboardToImageAlphaType(alphaType); in ClipboardToImageAlphaTypeFuzzTest()
/base/web/webview/test/unittest/pasteboard_adapter/
H A Dpasteboard_client_adapter_test.cpp135 return alphaType;
170 alphaType = alpha;
199 ClipBoardImageAlphaType alphaType; member in OHOS::NWeb::MockClipBoardImageDataAdapter
729 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN; in HWTEST_F()
733 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in HWTEST_F()
737 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_PREMUL; in HWTEST_F()
741 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL; in HWTEST_F()
776 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in HWTEST_F() local
777 Media::AlphaType result = g_datarecord->ClipboardToImageAlphaType(alphaType); in HWTEST_F()
780 alphaType in HWTEST_F()
[all...]
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_history_list.h39 void** data, int& width, int& height, ImageColorType& colorType, ImageAlphaType& alphaType) = 0;
H A Dnweb.h699 * @param alphaType the alpha type of the icon.
703 const void** data, size_t& width, size_t& height, ImageColorType& c, ImageAlphaType& alphaType) = 0;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
H A Dmock_pixel_map.cpp68 void PixelMap::UpdatePixelsAlpha(const AlphaType &alphaType, const PixelFormat &pixelFormat, uint8_t *dstPixels, in UpdatePixelsAlpha() argument
223 return imageInfo_.alphaType; in GetAlphaType()
283 bool PixelMap::SetAlphaType(const AlphaType &alphaType) in SetAlphaType() argument
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp1053 Media::AlphaType alphaType; in GetAlphaType() local
1056 alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN; in GetAlphaType()
1059 alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in GetAlphaType()
1062 alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_PREMUL; in GetAlphaType()
1065 alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL; in GetAlphaType()
1068 alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN; in GetAlphaType()
1071 return alphaType; in GetAlphaType()
1080 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; in GetFavicon() local
1081 bool isGetFavicon = item->GetFavicon(&data, width, height, colorType, alphaType); in GetFavicon()
1089 opt.alphaType in GetFavicon()
1118 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; FfiOHOSWebviewCtlGetFavicon() local
[all...]
H A Dwebview_controller_impl.cpp705 NWeb::ImageColorType &colorType, NWeb::ImageAlphaType &alphaType) const in GetFavicon()
710 isGetFavicon = nweb_ptr->GetFavicon(data, width, height, colorType, alphaType); in GetFavicon()
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
H A Dpasteboard_client_adapter_impl.cpp141 switch (imgInfo.alphaType) { in ImageToClipboardAlphaType()
167 (ClipBoardImageAlphaType alphaType) in ClipboardToImageAlphaType()
169 switch (alphaType) { in ClipboardToImageAlphaType()
204 opt.alphaType = ClipboardToImageAlphaType(imageData->GetAlphaType()); in SetImgData()
166 ClipboardToImageAlphaType(ClipBoardImageAlphaType alphaType) ClipboardToImageAlphaType() argument
/base/msdp/device_status/test/fuzztest/startdrag_fuzzer/
H A Dstartdrag_fuzzer.cpp51 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
/base/msdp/device_status/test/fuzztest/updateshadowpic_fuzzer/
H A Dupdateshadowpic_fuzzer.cpp51 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
/base/web/webview/ohos_adapter/pasteboard_adapter/include/
H A Dpasteboard_client_adapter_impl.h63 Media::AlphaType ClipboardToImageAlphaType(ClipBoardImageAlphaType alphaType);
/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/
H A Dnweb_create_window.h176 const void** data, size_t& width, size_t& height, ImageColorType& colorType, ImageAlphaType& alphaType) override
/base/web/webview/test/unittest/common/
H A Dnweb_create_window.h228 ImageColorType& colorType, ImageAlphaType& alphaType) override
/base/msdp/device_status/test/unittest/services/unittest/src/
H A Ddrag_data_manager_test.cpp71 options.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
/base/web/webview/interfaces/kits/cj/include/
H A Dwebview_controller_impl.h193 NWeb::ImageColorType &colorType, NWeb::ImageAlphaType &alphaType) const;
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_controller.h253 const void **data, size_t &width, size_t &height, ImageColorType &colorType, ImageAlphaType &alphaType) const;
H A Dnapi_webview_controller.cpp3777 Media::AlphaType getAlphaType(ImageAlphaType alphaType) in getAlphaType() argument
3780 switch (alphaType) { in getAlphaType()
3807 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; in GetFavicon() local
3808 bool isGetFavicon = item->GetFavicon(&data, width, height, colorType, alphaType); in GetFavicon()
3819 opt.alphaType = getAlphaType(alphaType); in GetFavicon()
3958 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; in GetFavicon() local
3959 bool isGetFavicon = webviewController->GetFavicon(&data, width, height, colorType, alphaType); in GetFavicon()
3968 opt.alphaType = getAlphaType(alphaType); in GetFavicon()
[all...]
H A Dwebview_controller.cpp1216 const void **data, size_t &width, size_t &height, ImageColorType &colorType, ImageAlphaType &alphaType) const in GetFavicon()
1221 isGetFavicon = nweb_ptr->GetFavicon(data, width, height, colorType, alphaType); in GetFavicon()
/base/msdp/device_status/test/unittest/intention/services/src/
H A Dintention_service_test.cpp170 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_manager_test.cpp82 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
H A Ddrag_server_test.cpp187 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_drag_drawing_test.cpp102 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
H A Dinteraction_manager_test.cpp359 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()

Completed in 39 milliseconds