Home
last modified time | relevance | path

Searched refs:defaultDeviceRotation_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp36 uint32_t ScreenRotationController::defaultDeviceRotation_ = 0; member in OHOS::Rosen::ScreenRotationController
207 if (defaultDeviceRotation_ == 1) { in CalcDeviceRotation()
208 deviceRotationValue += static_cast<int32_t>(defaultDeviceRotation_); in CalcDeviceRotation()
353 defaultDeviceRotation_ = (modes == nullptr || modes->width_ < modes->height_) ? 0 : 1; in ProcessRotationMapping()
358 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90}, in ProcessRotationMapping()
360 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90}, in ProcessRotationMapping()
362 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_180 : Rotation::ROTATION_270}, in ProcessRotationMapping()
369 {defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90, in ProcessRotationMapping()
371 {defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90, in ProcessRotationMapping()
373 {defaultDeviceRotation_ == 0 ? Rotation::ROTATION_180 : Rotation::ROTATION_270, in ProcessRotationMapping()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscreen_cutout_controller.cpp32 uint32_t ScreenCutoutController::defaultDeviceRotation_ = 0; member in OHOS::Rosen::ScreenCutoutController
317 …return defaultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(DeviceRotationValue::ROTATION_… in GetCurrentDisplayRotation()
327 defaultDeviceRotation_ = in ProcessRotationMapping()
329 TLOGI(WmsLogTag::DMS, "defaultDeviceRotation: %{public}u", defaultDeviceRotation_); in ProcessRotationMapping()
334 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90 }, in ProcessRotationMapping()
336 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90 }, in ProcessRotationMapping()
338 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_180 : Rotation::ROTATION_270 }, in ProcessRotationMapping()
340 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_180 : Rotation::ROTATION_270 }, in ProcessRotationMapping()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscreen_cutout_controller.h58 static uint32_t defaultDeviceRotation_; variable
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp208 ScreenRotationController::defaultDeviceRotation_ = 0;
213 ScreenRotationController::defaultDeviceRotation_ = 0;
218 ScreenRotationController::defaultDeviceRotation_ = 1;
223 ScreenRotationController::defaultDeviceRotation_ = 1;
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h87 static uint32_t defaultDeviceRotation_; variable