Searched refs:IsUserOrientation (Results 1 – 3 of 3) sorted by relevance
725 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));
485 bool IsUserOrientation(Orientation orientation) const;
1784 bool isUserOrientation = IsUserOrientation(orientation); in SetRequestedOrientation()4118 bool WindowSessionImpl::IsUserOrientation(Orientation orientation) const in IsUserOrientation() function in OHOS::Rosen::WindowSessionImpl