Home
last modified time | relevance | path

Searched refs:OrientationType (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/web/webview/test/unittest/display_manager_adapter_impl_test/
H A Ddisplay_manager_adapter_impl_test.cpp99 EXPECT_EQ(displayAdapterImpl->GetOrientation(), OrientationType::BUTT);
172 OHOS::NWeb::OrientationType retType;
174 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::UNSPECIFIED);
178 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::VERTICAL);
182 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::HORIZONTAL);
186 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::REVERSE_VERTICAL);
190 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::REVERSE_HORIZONTAL);
194 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::SENSOR);
198 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::SENSOR_VERTICAL);
202 EXPECT_EQ(retType, OHOS::NWeb::OrientationType::SENSOR_HORIZONTAL);
[all …]
/ohos5.0/base/web/webview/ohos_adapter/display_manager_adapter/src/
H A Ddisplay_manager_adapter_impl.cpp148 return OHOS::NWeb::OrientationType::UNSPECIFIED; in ConvertOrientationType()
150 return OHOS::NWeb::OrientationType::VERTICAL; in ConvertOrientationType()
152 return OHOS::NWeb::OrientationType::HORIZONTAL; in ConvertOrientationType()
154 return OHOS::NWeb::OrientationType::REVERSE_VERTICAL; in ConvertOrientationType()
156 return OHOS::NWeb::OrientationType::REVERSE_HORIZONTAL; in ConvertOrientationType()
158 return OHOS::NWeb::OrientationType::SENSOR; in ConvertOrientationType()
160 return OHOS::NWeb::OrientationType::SENSOR_VERTICAL; in ConvertOrientationType()
162 return OHOS::NWeb::OrientationType::SENSOR_HORIZONTAL; in ConvertOrientationType()
164 return OHOS::NWeb::OrientationType::BUTT; in ConvertOrientationType()
241 OrientationType DisplayAdapterImpl::GetOrientation() in GetOrientation()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_display_adapter_wrapper.cpp48 OHOS::NWeb::OrientationType ArkDisplayAdapterWrapper::GetOrientation() in GetOrientation()
51 return (OHOS::NWeb::OrientationType)type; in GetOrientation()
H A Dark_display_adapter_wrapper.h39 OHOS::NWeb::OrientationType GetOrientation() override;
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Ddisplay_manager_adapter.h34 enum class OrientationType : uint32_t { enum
100 virtual OrientationType GetOrientation() = 0;
/ohos5.0/base/web/webview/ohos_adapter/display_manager_adapter/include/
H A Ddisplay_manager_adapter_impl.h90 OrientationType GetOrientation() override;
98 OHOS::NWeb::OrientationType ConvertOrientationType(OHOS::Rosen::Orientation type);