Home
last modified time | relevance | path

Searched refs:ROTATION_LANDSCAPE (Results 1 - 10 of 10) sorted by relevance

/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_rotation_property_test.cpp69 ScreenRotationProperty::HandleSensorEventInput(DeviceRotation::ROTATION_LANDSCAPE); in HWTEST_F()
104 ret = ScreenRotationProperty::ConvertDeviceToFloat(DeviceRotation::ROTATION_LANDSCAPE); in HWTEST_F()
/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp113 ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE); in GetCurrentDisplayRotation()
293 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE)); in ProcessSwitchToAutoRotationLandscape()
317 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE)); in ProcessSwitchToAutoRotationLandscapeRestricted()
359 {DeviceRotation::ROTATION_LANDSCAPE, in ProcessRotationMapping()
398 return (deviceRotation == DeviceRotation::ROTATION_LANDSCAPE) || in IsDeviceRotationHorizontal()
425 return (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE)) || in IsDisplayRotationHorizontal()
450 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE), withAnimation); in ProcessSwitchToSensorUnrelatedOrientation()
H A Dsensor_connector.cpp234 DeviceRotation::ROTATION_LANDSCAPE_INVERTED : DeviceRotation::ROTATION_LANDSCAPE; in OnMotionChanged()
243 DeviceRotation::ROTATION_LANDSCAPE : DeviceRotation::ROTATION_LANDSCAPE_INVERTED; in OnMotionChanged()
/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp181 DeviceRotation deviceRitation = DeviceRotation::ROTATION_LANDSCAPE; in HWTEST_F()
192 deviceRitation = DeviceRotation::ROTATION_LANDSCAPE; in HWTEST_F()
224 ASSERT_EQ(DeviceRotation::ROTATION_LANDSCAPE, ScreenRotationController::CalcDeviceRotation(rotation)); in HWTEST_F()
258 DeviceRotation deviceRitation = DeviceRotation::ROTATION_LANDSCAPE; in HWTEST_F()
343 deviceRotation = DeviceRotation::ROTATION_LANDSCAPE; in HWTEST_F()
380 ASSERT_EQ(false, ScreenRotationController::IsDeviceRotationVertical(DeviceRotation::ROTATION_LANDSCAPE)); in HWTEST_F()
382 ASSERT_EQ(true, ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation::ROTATION_LANDSCAPE)); in HWTEST_F()
499 ScreenRotationController::ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE); in HWTEST_F()
677 DeviceRotation::ROTATION_LANDSCAPE_INVERTED : DeviceRotation::ROTATION_LANDSCAPE; in HWTEST_F()
688 DeviceRotation::ROTATION_LANDSCAPE in HWTEST_F()
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_rotation_property.h34 ROTATION_LANDSCAPE, member in OHOS::Rosen::DeviceRotation
H A Dscreen_cutout_controller.h28 ROTATION_LANDSCAPE, member in OHOS::Rosen::DeviceRotationValue
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_rotation_property.cpp45 case DeviceRotation::ROTATION_LANDSCAPE: in ConvertDeviceToFloat()
H A Dscreen_cutout_controller.cpp297 return (rotation == ConvertDeviceToDisplayRotation(DeviceRotationValue::ROTATION_LANDSCAPE)) ||
318 ConvertDeviceToDisplayRotation(DeviceRotationValue::ROTATION_LANDSCAPE);
335 { DeviceRotationValue::ROTATION_LANDSCAPE, in ProcessRotationMapping()
H A Dscreen_sensor_connector.cpp126 motionRotation = DeviceRotation::ROTATION_LANDSCAPE; in OnMotionChanged()
/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h38 ROTATION_LANDSCAPE, member in OHOS::Rosen::DeviceRotation

Completed in 6 milliseconds