Home
last modified time | relevance | path

Searched refs:currentDisplayRotation_ (Results 1 - 3 of 3) sorted by relevance

/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp30 Rotation ScreenRotationController::currentDisplayRotation_; member in OHOS::Rosen::ScreenRotationController
45 currentDisplayRotation_ = GetCurrentDisplayRotation(); in Init()
50 lastSensorDecidedRotation_ = currentDisplayRotation_; in Init()
51 rotationLockedRotation_ = currentDisplayRotation_; in Init()
92 currentDisplayRotation_ = GetCurrentDisplayRotation(); in HandleSensorEventInput()
99 if (currentDisplayRotation_ == ConvertDeviceToDisplayRotation(deviceRotation)) { in HandleSensorEventInput()
144 return currentDisplayRotation_; in CalcTargetDisplayRotation()
151 return currentDisplayRotation_; in CalcTargetDisplayRotation()
157 return currentDisplayRotation_; in CalcTargetDisplayRotation()
162 return currentDisplayRotation_; in CalcTargetDisplayRotation()
[all...]
/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h92 static Rotation currentDisplayRotation_; member in OHOS::Rosen::ScreenRotationController
/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp130 ScreenRotationController::currentDisplayRotation_ = Rotation::ROTATION_0; in HWTEST_F() member in OHOS::Rosen::__anon12036::ScreenRotationController
178 ScreenRotationController::currentDisplayRotation_ = Rotation::ROTATION_90; in HWTEST_F() member in OHOS::Rosen::__anon12036::ScreenRotationController

Completed in 5 milliseconds