Home
last modified time | relevance | path

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

/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp169 if (IsDeviceRotationHorizontal(sensorRotationConverted)) { in ProcessAutoRotationPortraitOrientation()
289 if (IsDeviceRotationHorizontal(rotation)) { in ProcessSwitchToAutoRotationLandscape()
396 bool ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation deviceRotation) in IsDeviceRotationHorizontal() function in OHOS::Rosen::ScreenRotationController
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h69 static bool IsDeviceRotationHorizontal(DeviceRotation deviceRotation);
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp382 …ASSERT_EQ(true, ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation::ROTATION_LAND…
383 …ASSERT_EQ(true, ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation::ROTATION_LAND…
384 …ASSERT_EQ(false, ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation::ROTATION_POR…