Home
last modified time | relevance | path

Searched refs:alphaType (Results 1 – 15 of 15) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/clipboardtoimagealphatype_fuzzer/
Dclipboardtoimagealphatype_fuzzer.cpp31 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in DoSomethingInterestingWithMyAPI() local
32 dataRecordAdapterImpl->ClipboardToImageAlphaType(alphaType); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp643 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN;
647 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE;
651 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_PREMUL;
655 imgInfo.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL;
690 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; variable
691 Media::AlphaType result = g_datarecord->ClipboardToImageAlphaType(alphaType);
694 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE;
695 result = g_datarecord->ClipboardToImageAlphaType(alphaType);
698 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED;
699 result = g_datarecord->ClipboardToImageAlphaType(alphaType);
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_history_list.h37 ImageColorType& colorType, ImageAlphaType& alphaType) = 0;
Dnweb_handler.h79 ImageAlphaType alphaType; member
Dnweb.h577 ImageColorType& colorType, ImageAlphaType& alphaType) = 0;
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
Dpasteboard_client_adapter_impl.cpp130 switch (imgInfo.alphaType) { in ImageToClipboardAlphaType()
156 (ClipBoardImageAlphaType alphaType) in ClipboardToImageAlphaType() argument
158 switch (alphaType) { in ClipboardToImageAlphaType()
193 opt.alphaType = ClipboardToImageAlphaType(imageData->alphaType); in SetImgData()
271 imageData.alphaType = ImageToClipboardAlphaType(imgInfo); in GetImgData()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_pixel_map.cpp68 void PixelMap::UpdatePixelsAlpha(const AlphaType &alphaType, const PixelFormat &pixelFormat, uint8_… in UpdatePixelsAlpha() argument
223 return imageInfo_.alphaType; in GetAlphaType()
283 bool PixelMap::SetAlphaType(const AlphaType &alphaType) in SetAlphaType() argument
/base/web/webview/ohos_adapter/interfaces/
Dpasteboard_client_adapter.h39 ClipBoardImageAlphaType alphaType; member
/base/web/webview/ohos_adapter/pasteboard_adapter/include/
Dpasteboard_client_adapter_impl.h63 Media::AlphaType ClipboardToImageAlphaType(ClipBoardImageAlphaType alphaType);
/base/web/webview/test/unittest/common/
Dnweb_create_window.h224 ImageColorType& colorType, ImageAlphaType& alphaType) override in GetFavicon() argument
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.h187 … void **data, size_t &width, size_t &height, ImageColorType &colorType, ImageAlphaType &alphaType);
Dwebview_controller.cpp827 …t void **data, size_t &width, size_t &height, ImageColorType &colorType, ImageAlphaType &alphaType) in GetFavicon() argument
832 isGetFavicon = nweb_ptr->GetFavicon(data, width, height, colorType, alphaType); in GetFavicon()
Dnapi_webview_controller.cpp2871 Media::AlphaType getAlphaType(ImageAlphaType alphaType) in getAlphaType() argument
2874 switch (alphaType) { in getAlphaType()
2901 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; in GetFavicon() local
2902 bool isGetFavicon = item->GetFavicon(&data, width, height, colorType, alphaType); in GetFavicon()
2913 opt.alphaType = getAlphaType(alphaType); in GetFavicon()
3048 ImageAlphaType alphaType = ImageAlphaType::ALPHA_TYPE_UNKNOWN; in GetFavicon() local
3049 bool isGetFavicon = webviewController->GetFavicon(&data, width, height, colorType, alphaType); in GetFavicon()
3058 opt.alphaType = getAlphaType(alphaType); in GetFavicon()
/base/msdp/device_status/frameworks/native/interaction/test/unittest/src/
Dinteraction_drag_drawing_test.cpp90 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()
Dinteraction_manager_test.cpp190 opts.alphaType = Media::AlphaType::IMAGE_ALPHA_TYPE_OPAQUE; in CreatePixelMap()