Home
last modified time | relevance | path

Searched refs:IsUserOrientation (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_two_test.cpp725 HWTEST_F(WindowSessionImplTwoTest, IsUserOrientation, Function | SmallTest | Level2)
730 ASSERT_FALSE(window->IsUserOrientation(Orientation::FOLLOW_DESKTOP));
731 ASSERT_TRUE(window->IsUserOrientation(Orientation::USER_ROTATION_PORTRAIT));
732 ASSERT_TRUE(window->IsUserOrientation(Orientation::USER_ROTATION_LANDSCAPE));
733 ASSERT_TRUE(window->IsUserOrientation(Orientation::USER_ROTATION_PORTRAIT_INVERTED));
734 ASSERT_TRUE(window->IsUserOrientation(Orientation::USER_ROTATION_LANDSCAPE_INVERTED));
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_session_impl.h485 bool IsUserOrientation(Orientation orientation) const;
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp1784 bool isUserOrientation = IsUserOrientation(orientation); in SetRequestedOrientation()
4118 bool WindowSessionImpl::IsUserOrientation(Orientation orientation) const in IsUserOrientation() function in OHOS::Rosen::WindowSessionImpl