Home
last modified time | relevance | path

Searched refs:RotationType (Results 1 – 4 of 4) sorted by relevance

/base/web/webview/ohos_adapter/display_manager_adapter/src/
Ddisplay_manager_adapter_impl.cpp50 OHOS::NWeb::RotationType DisplayAdapterImpl::ConvertRotationType(OHOS::Rosen::Rotation type) in ConvertRotationType()
54 return OHOS::NWeb::RotationType::ROTATION_0; in ConvertRotationType()
56 return OHOS::NWeb::RotationType::ROTATION_90; in ConvertRotationType()
58 return OHOS::NWeb::RotationType::ROTATION_180; in ConvertRotationType()
60 return OHOS::NWeb::RotationType::ROTATION_270; in ConvertRotationType()
62 return OHOS::NWeb::RotationType::ROTATION_BUTT; in ConvertRotationType()
122 RotationType DisplayAdapterImpl::GetRotation() in GetRotation()
127 return RotationType::ROTATION_BUTT; in GetRotation()
/base/web/webview/test/unittest/display_manager_adapter_impl_test/
Ddisplay_manager_adapter_impl_test.cpp98 EXPECT_EQ(displayAdapterImpl->GetRotation(), RotationType::ROTATION_BUTT);
136 OHOS::NWeb::RotationType retType;
138 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_0);
142 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_90);
146 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_180);
150 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_270);
155 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_BUTT);
246 EXPECT_NE(displayAdapterImpl->GetRotation(), RotationType::ROTATION_BUTT);
/base/web/webview/ohos_adapter/interfaces/
Ddisplay_manager_adapter.h23 enum class RotationType : uint32_t { enum
70 virtual RotationType GetRotation() = 0;
/base/web/webview/ohos_adapter/display_manager_adapter/include/
Ddisplay_manager_adapter_impl.h49 RotationType GetRotation() override;
53 OHOS::NWeb::RotationType ConvertRotationType(OHOS::Rosen::Rotation type);