Home
last modified time | relevance | path

Searched refs:targetRotation (Results 1 - 12 of 12) sorted by relevance

/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_inner_test.cpp168 Rotation targetRotation = Rotation::ROTATION_0; in HWTEST_F() local
171 auto ret = inner.SetRotationFromWindow(displayId, targetRotation, withAnimation); in HWTEST_F()
175 ret = inner.SetRotationFromWindow(displayId, targetRotation, withAnimation); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_path_animation.cpp222 float targetRotation = 0.0f; in OnUpdateStagingValue() local
225 targetRotation = startTangent; in OnUpdateStagingValue()
227 targetRotation = endTangent; in OnUpdateStagingValue()
233 targetRotation = IsReversed() ? currentRotation + byRotation in OnUpdateStagingValue()
236 targetRotation = IsReversed() ? currentRotation - byRotation in OnUpdateStagingValue()
241 SetRotation(target, targetRotation); in OnUpdateStagingValue()
/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp185 void ScreenRotationController::SetScreenRotation(Rotation targetRotation, bool withAnimation) in SetScreenRotation() argument
187 if (targetRotation == GetCurrentDisplayRotation()) { in SetScreenRotation()
190 DisplayManagerServiceInner::GetInstance().GetDefaultDisplay()->SetRotation(targetRotation); in SetScreenRotation()
191 DisplayManagerServiceInner::GetInstance().SetRotationFromWindow(defaultDisplayId_, targetRotation, withAnimation); in SetScreenRotation()
192 WLOGFI("dms: Set screen rotation: %{public}u withAnimation: %{public}u", targetRotation, withAnimation); in SetScreenRotation()
H A Ddisplay_manager_service_inner.cpp143 bool DisplayManagerServiceInner::SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation) in SetRotationFromWindow() argument
150 SetRotationFromWindow(displayInfo->GetScreenId(), targetRotation, withAnimation); in SetRotationFromWindow()
H A Ddisplay_manager_service.cpp291 bool DisplayManagerService::SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation) in SetRotationFromWindow() argument
294 return abstractScreenController_->SetRotation(screenId, targetRotation, true, withAnimation); in SetRotationFromWindow()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp525 Rotation targetRotation = Rotation::ROTATION_0; in ConvertIntToRotation() local
528 targetRotation = Rotation::ROTATION_90; in ConvertIntToRotation()
531 targetRotation = Rotation::ROTATION_180; in ConvertIntToRotation()
534 targetRotation = Rotation::ROTATION_270; in ConvertIntToRotation()
537 targetRotation = Rotation::ROTATION_0; in ConvertIntToRotation()
540 return targetRotation; in ConvertIntToRotation()
570 Rotation targetRotation = ConvertIntToRotation(rotation); in UpdateToInputManager() local
571 DisplayOrientation displayOrientation = CalcDisplayOrientation(targetRotation, foldDisplayMode); in UpdateToInputManager()
574 property_.UpdateScreenRotation(targetRotation); in UpdateToInputManager()
605 Rotation targetRotation in UpdatePropertyAfterRotation() local
642 Rotation targetRotation = ConvertIntToRotation(rotation); UpdatePropertyOnly() local
[all...]
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_service_inner.h49 bool SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation = true);
H A Dscreen_rotation_controller.h62 static void SetScreenRotation(Rotation targetRotation, bool withAnimation = true);
H A Ddisplay_manager_service.h63 bool SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation);
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h138 bool SetRotationFromWindow(Rotation targetRotation);
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_test.cpp965 Rotation targetRotation = Rotation::ROTATION_0; in HWTEST_F() local
969 ASSERT_EQ(ssm_->SetRotationFromWindow(targetRotation), ssm_->SetRotation(id, targetRotation, true)); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp904 Rotation targetRotation = screenSession->ConvertIntToRotation(static_cast<int32_t>(info.rotation_)); in HookDisplayInfoByUid() local
905 displayInfo->SetRotation(targetRotation); in HookDisplayInfoByUid()
906 DisplayOrientation targetOrientation = screenSession->CalcDisplayOrientation(targetRotation, in HookDisplayInfoByUid()
908 TLOGI(WmsLogTag::DMS, "tR: %{public}u, tO: %{public}u", targetRotation, targetOrientation); in HookDisplayInfoByUid()
2604 bool ScreenSessionManager::SetRotationFromWindow(Rotation targetRotation) in SetRotationFromWindow() argument
2610 return SetRotation(displayInfo->GetScreenId(), targetRotation, true); in SetRotationFromWindow()

Completed in 22 milliseconds