Home
last modified time | relevance | path

Searched refs:CalcRotation (Results 1 - 7 of 7) sorted by relevance

/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_screen_test.cpp227 * @tc.name: CalcRotation
231 HWTEST_F(AbstractScreenTest, CalcRotation, Function | SmallTest | Level3) in HWTEST_F()
236 ASSERT_EQ(Rotation::ROTATION_0, absScreen_->CalcRotation(Orientation::UNSPECIFIED)); in HWTEST_F()
243 ASSERT_EQ(Rotation::ROTATION_0, absScreen_->CalcRotation(Orientation::UNSPECIFIED)); in HWTEST_F()
244 ASSERT_EQ(Rotation::ROTATION_90, absScreen_->CalcRotation(Orientation::VERTICAL)); in HWTEST_F()
245 ASSERT_EQ(Rotation::ROTATION_0, absScreen_->CalcRotation(Orientation::HORIZONTAL)); in HWTEST_F()
246 ASSERT_EQ(Rotation::ROTATION_270, absScreen_->CalcRotation(Orientation::REVERSE_VERTICAL)); in HWTEST_F()
247 ASSERT_EQ(Rotation::ROTATION_180, absScreen_->CalcRotation(Orientation::REVERSE_HORIZONTAL)); in HWTEST_F()
248 ASSERT_EQ(Rotation::ROTATION_0, absScreen_->CalcRotation(Orientation::LOCKED)); in HWTEST_F()
699 * @tc.name: CalcRotation
[all...]
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_test.cpp1947 GTEST_LOG_(INFO) << "ScreenSessionTest: CalcRotation start"; in HWTEST_F()
1952 auto res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1962 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1966 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1974 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1982 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1990 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
1998 res = session->CalcRotation(orientation, foldDisplayMode); in HWTEST_F()
2001 GTEST_LOG_(INFO) << "ScreenSessionTest: CalcRotation end"; in HWTEST_F()
2011 GTEST_LOG_(INFO) << "ScreenSessionTest: CalcRotation star in HWTEST_F()
[all...]
/foundation/window/window_manager/dmserver/include/
H A Dabstract_screen.h47 Rotation CalcRotation(Orientation orientation) const;
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h139 Rotation CalcRotation(Orientation orientation, FoldDisplayMode foldDisplayMode) const;
/foundation/window/window_manager/dmserver/src/
H A Dabstract_screen.cpp436 Rotation AbstractScreen::CalcRotation(Orientation orientation) const in CalcRotation() function in OHOS::Rosen::AbstractScreen
H A Dabstract_screen_controller.cpp321 Rotation rotationAfter = absScreen->CalcRotation(absScreen->screenRequestedOrientation_); in ProcessScreenConnected()
762 Rotation rotationAfter = screen->CalcRotation(newOrientation); in SetOrientation()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp511 Rotation rotationAfter = CalcRotation(orientation, foldDisplayMode); in ScreenOrientationChange()
806 Rotation ScreenSession::CalcRotation(Orientation orientation, FoldDisplayMode foldDisplayMode) const in CalcRotation() function in OHOS::Rosen::ScreenSession

Completed in 12 milliseconds