Searched refs:ROTATION_PORTRAIT (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 112 …n defaultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT) : in GetCurrentDisplayRotation() 284 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT)); in ProcessSwitchToAutoRotationPortrait() 305 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT)); in ProcessSwitchToAutoRotationPortraitRestricted() 357 {DeviceRotation::ROTATION_PORTRAIT, in ProcessRotationMapping() 392 return (deviceRotation == DeviceRotation::ROTATION_PORTRAIT) || in IsDeviceRotationVertical() 414 … return Rotation::ROTATION_0 == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT); in IsDefaultDisplayRotationPortrait() 419 return (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT)) || in IsDisplayRotationVertical() 441 …SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT), withAnimation… in ProcessSwitchToSensorUnrelatedOrientation()
|
H A D | sensor_connector.cpp | 229 motionRotation = DeviceRotation::ROTATION_PORTRAIT; in OnMotionChanged()
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | screen_rotation_controller_test.cpp | 132 DeviceRotation deviceRitation = DeviceRotation::ROTATION_PORTRAIT; 188 deviceRitation = DeviceRotation::ROTATION_PORTRAIT; 209 …ASSERT_EQ(DeviceRotation::ROTATION_PORTRAIT, ScreenRotationController::CalcDeviceRotation(rotation… 324 deviceRotation = DeviceRotation::ROTATION_PORTRAIT; 333 deviceRotation = DeviceRotation::ROTATION_PORTRAIT; 366 deviceRotation = DeviceRotation::ROTATION_PORTRAIT; 378 …RT_EQ(true, ScreenRotationController::IsDeviceRotationVertical(DeviceRotation::ROTATION_PORTRAIT)); 384 …EQ(false, ScreenRotationController::IsDeviceRotationHorizontal(DeviceRotation::ROTATION_PORTRAIT)); 418 deviceRotation = DeviceRotation::ROTATION_PORTRAIT; 421 ASSERT_EQ(deviceRotation, DeviceRotation::ROTATION_PORTRAIT); [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_rotation_property_test.cpp | 68 ScreenRotationProperty::HandleSensorEventInput(DeviceRotation::ROTATION_PORTRAIT); 101 ret = ScreenRotationProperty::ConvertDeviceToFloat(DeviceRotation::ROTATION_PORTRAIT);
|
H A D | screen_cutout_controller_test.cpp | 203 deviceRotation = DeviceRotationValue::ROTATION_PORTRAIT;
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | screen_rotation_property.h | 33 ROTATION_PORTRAIT = 0, enumerator
|
H A D | screen_cutout_controller.h | 27 ROTATION_PORTRAIT = 0, enumerator
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_rotation_property.cpp | 42 case DeviceRotation::ROTATION_PORTRAIT: in ConvertDeviceToFloat()
|
H A D | screen_sensor_connector.cpp | 114 motionRotation = DeviceRotation::ROTATION_PORTRAIT; in OnMotionChanged()
|
H A D | screen_cutout_controller.cpp | 317 …aultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(DeviceRotationValue::ROTATION_PORTRAIT) : in GetCurrentDisplayRotation() 333 { DeviceRotationValue::ROTATION_PORTRAIT, in ProcessRotationMapping()
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | screen_rotation_controller.h | 37 ROTATION_PORTRAIT = 0, enumerator
|