Home
last modified time | relevance | path

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

/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp45 currentDisplayRotation_ = GetCurrentDisplayRotation(); in Init()
63 rotationLockedRotation_ = GetCurrentDisplayRotation(); in SetScreenRotationLocked()
66 … if (GetCurrentDisplayRotation() == ConvertDeviceToDisplayRotation(lastSensorRotationConverted_)) { in SetScreenRotationLocked()
92 currentDisplayRotation_ = GetCurrentDisplayRotation(); in HandleSensorEventInput()
107 Rotation ScreenRotationController::GetCurrentDisplayRotation() in GetCurrentDisplayRotation() function in OHOS::Rosen::ScreenRotationController
187 if (targetRotation == GetCurrentDisplayRotation()) { in SetScreenRotation()
339 return GetCurrentDisplayRotation(); in ConvertDeviceToDisplayRotation()
404 return IsDisplayRotationVertical(GetCurrentDisplayRotation()); in IsCurrentDisplayVertical()
409 return IsDisplayRotationHorizontal(GetCurrentDisplayRotation()); in IsCurrentDisplayHorizontal()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscreen_cutout_controller.h55 Rotation GetCurrentDisplayRotation(DisplayId displayId);
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h60 static Rotation GetCurrentDisplayRotation();
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscreen_cutout_controller.cpp194 …CalcWaterfallRectsByRotation(GetCurrentDisplayRotation(displayId), displayWidth, displayHeight, re… in CalcWaterfallRects()
312 Rotation ScreenCutoutController::GetCurrentDisplayRotation(DisplayId displayId) in GetCurrentDisplayRotation() function in OHOS::Rosen::ScreenCutoutController
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_cutout_controller_test.cpp217 ASSERT_EQ(Rotation::ROTATION_0, controller->GetCurrentDisplayRotation(displayId));