Searched refs:defaultDeviceRotation_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 36 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 D | screen_cutout_controller.cpp | 32 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 D | screen_cutout_controller.h | 58 static uint32_t defaultDeviceRotation_; variable
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | screen_rotation_controller_test.cpp | 208 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 D | screen_rotation_controller.h | 87 static uint32_t defaultDeviceRotation_; variable
|