Searched refs:CalcTargetDisplayRotation (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | screen_rotation_controller_test.cpp | 127 HWTEST_F(ScreenRotationControllerTest, CalcTargetDisplayRotation, Function | SmallTest | Level3) 135 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 138 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 141 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 145 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 147 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 151 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 153 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 157 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… 159 …ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, d… [all …]
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | screen_rotation_controller.h | 63 static Rotation CalcTargetDisplayRotation(Orientation requestedOrientation,
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 103 Rotation targetDisplayRotation = CalcTargetDisplayRotation(orientation, deviceRotation); in HandleSensorEventInput() 128 Rotation ScreenRotationController::CalcTargetDisplayRotation( in CalcTargetDisplayRotation() function in OHOS::Rosen::ScreenRotationController
|