Home
last modified time | relevance | path

Searched refs:IsDeviceRotationVertical (Results 1 - 3 of 3) sorted by relevance

/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h68 static bool IsDeviceRotationVertical(DeviceRotation deviceRotation);
/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp178 if (IsDeviceRotationVertical(sensorRotationConverted)) { in ProcessAutoRotationLandscapeOrientation()
280 if (IsDeviceRotationVertical(rotation)) { in ProcessSwitchToAutoRotationPortrait()
390 bool ScreenRotationController::IsDeviceRotationVertical(DeviceRotation deviceRotation) in IsDeviceRotationVertical() function in OHOS::Rosen::ScreenRotationController
/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp378 ASSERT_EQ(true, ScreenRotationController::IsDeviceRotationVertical(DeviceRotation::ROTATION_PORTRAIT)); in HWTEST_F()
379 ASSERT_EQ(true, ScreenRotationController::IsDeviceRotationVertical(DeviceRotation::ROTATION_PORTRAIT_INVERTED)); in HWTEST_F()
380 ASSERT_EQ(false, ScreenRotationController::IsDeviceRotationVertical(DeviceRotation::ROTATION_LANDSCAPE)); in HWTEST_F()

Completed in 4 milliseconds