Home
last modified time | relevance | path

Searched refs:ClipBoardImageAlphaType (Results 1 – 5 of 5) 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()
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
Dpasteboard_client_adapter_impl.cpp127 ClipBoardImageAlphaType PasteDataRecordAdapterImpl::ImageToClipboardAlphaType in ImageToClipboardAlphaType()
132 return ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ImageToClipboardAlphaType()
134 return ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE; in ImageToClipboardAlphaType()
136 return ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED; in ImageToClipboardAlphaType()
138 return ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ImageToClipboardAlphaType()
156 (ClipBoardImageAlphaType alphaType) in ClipboardToImageAlphaType()
159 case ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN : in ClipboardToImageAlphaType()
161 case ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE : in ClipboardToImageAlphaType()
163 case ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED : in ClipboardToImageAlphaType()
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp655 ClipBoardImageAlphaType result = g_datarecord->ImageToClipboardAlphaType(imgInfo);
656 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN);
660 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE);
664 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED);
668 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN);
701 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN;
705 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE;
709 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED;
713 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_POSTMULTIPLIED;
756 image->alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN;
/base/web/webview/ohos_adapter/interfaces/
Dpasteboard_client_adapter.h30 enum class ClipBoardImageAlphaType { enum
39 ClipBoardImageAlphaType alphaType;
/base/web/webview/ohos_adapter/pasteboard_adapter/include/
Dpasteboard_client_adapter_impl.h61 ClipBoardImageAlphaType ImageToClipboardAlphaType(const Media::ImageInfo &imgInfo);
63 Media::AlphaType ClipboardToImageAlphaType(ClipBoardImageAlphaType alphaType);