Home
last modified time | relevance | path

Searched refs:ClipBoardImageAlphaType (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_clip_board_image_data_adapter_wrapper.cpp31 NWeb::ClipBoardImageAlphaType ArkClipBoardImageDataAdapterWrapper::GetAlphaType() in GetAlphaType()
33 return (NWeb::ClipBoardImageAlphaType)ctocpp_->GetAlphaType(); in GetAlphaType()
66 void ArkClipBoardImageDataAdapterWrapper::SetAlphaType(NWeb::ClipBoardImageAlphaType alpha) in SetAlphaType()
H A Dark_clip_board_image_data_adapter_wrapper.h31 NWeb::ClipBoardImageAlphaType GetAlphaType() override;
45 void SetAlphaType(NWeb::ClipBoardImageAlphaType alpha) override;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/clipboardtoimagealphatype_fuzzer/
H A Dclipboardtoimagealphatype_fuzzer.cpp31 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ClipboardToImageAlphaTypeFuzzTest()
/ohos5.0/base/web/webview/test/unittest/pasteboard_adapter/
H A Dpasteboard_client_adapter_test.cpp133 ClipBoardImageAlphaType GetAlphaType() override in GetAlphaType()
168 void SetAlphaType(ClipBoardImageAlphaType alpha) override in SetAlphaType()
199 ClipBoardImageAlphaType alphaType;
733 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN);
737 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE);
745 EXPECT_EQ(result, ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN);
778 ClipBoardImageAlphaType alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN;
782 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE;
786 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED;
790 alphaType = ClipBoardImageAlphaType::ALPHA_TYPE_POSTMULTIPLIED;
[all …]
/ohos5.0/base/web/webview/ohos_adapter/pasteboard_adapter/src/
H A Dpasteboard_client_adapter_impl.cpp172 ClipBoardImageAlphaType PasteDataRecordAdapterImpl::ImageToClipboardAlphaType in ImageToClipboardAlphaType()
177 return ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ImageToClipboardAlphaType()
179 return ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE; in ImageToClipboardAlphaType()
181 return ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED; in ImageToClipboardAlphaType()
183 return ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN; in ImageToClipboardAlphaType()
201 (ClipBoardImageAlphaType alphaType) in ClipboardToImageAlphaType()
204 case ClipBoardImageAlphaType::ALPHA_TYPE_UNKNOWN : in ClipboardToImageAlphaType()
206 case ClipBoardImageAlphaType::ALPHA_TYPE_OPAQUE : in ClipboardToImageAlphaType()
208 case ClipBoardImageAlphaType::ALPHA_TYPE_PREMULTIPLIED : in ClipboardToImageAlphaType()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dpasteboard_client_adapter.h27 enum class ClipBoardImageAlphaType { enum
44 virtual ClipBoardImageAlphaType GetAlphaType() = 0;
58 virtual void SetAlphaType(ClipBoardImageAlphaType alpha) = 0;
/ohos5.0/base/web/webview/ohos_adapter/pasteboard_adapter/include/
H A Dpasteboard_client_adapter_impl.h64 ClipBoardImageAlphaType ImageToClipboardAlphaType(const Media::ImageInfo &imgInfo);
66 Media::AlphaType ClipboardToImageAlphaType(ClipBoardImageAlphaType alphaType);
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_clip_board_image_data_adapter_impl.cpp67 real_->SetAlphaType((OHOS::NWeb::ClipBoardImageAlphaType)alpha); in SetAlphaType()