Home
last modified time | relevance | path

Searched refs:ROTATION_PORTRAIT (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp112 …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 Dsensor_connector.cpp229 motionRotation = DeviceRotation::ROTATION_PORTRAIT; in OnMotionChanged()
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp132 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 Dscreen_rotation_property_test.cpp68 ScreenRotationProperty::HandleSensorEventInput(DeviceRotation::ROTATION_PORTRAIT);
101 ret = ScreenRotationProperty::ConvertDeviceToFloat(DeviceRotation::ROTATION_PORTRAIT);
H A Dscreen_cutout_controller_test.cpp203 deviceRotation = DeviceRotationValue::ROTATION_PORTRAIT;
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscreen_rotation_property.h33 ROTATION_PORTRAIT = 0, enumerator
H A Dscreen_cutout_controller.h27 ROTATION_PORTRAIT = 0, enumerator
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscreen_rotation_property.cpp42 case DeviceRotation::ROTATION_PORTRAIT: in ConvertDeviceToFloat()
H A Dscreen_sensor_connector.cpp114 motionRotation = DeviceRotation::ROTATION_PORTRAIT; in OnMotionChanged()
H A Dscreen_cutout_controller.cpp317 …aultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(DeviceRotationValue::ROTATION_PORTRAIT) : in GetCurrentDisplayRotation()
333 { DeviceRotationValue::ROTATION_PORTRAIT, in ProcessRotationMapping()
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h37 ROTATION_PORTRAIT = 0, enumerator