/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_service_inner_test.cpp | 168 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 D | rs_path_animation.cpp | 222 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 D | screen_rotation_controller.cpp | 185 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 D | display_manager_service_inner.cpp | 143 bool DisplayManagerServiceInner::SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation)
in SetRotationFromWindow() argument 150 SetRotationFromWindow(displayInfo->GetScreenId(), targetRotation, withAnimation);
in SetRotationFromWindow()
|
H A D | display_manager_service.cpp | 291 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 D | screen_session.cpp | 525 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 D | display_manager_service_inner.h | 49 bool SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation = true);
|
H A D | screen_rotation_controller.h | 62 static void SetScreenRotation(Rotation targetRotation, bool withAnimation = true);
|
H A D | display_manager_service.h | 63 bool SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation);
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_session_manager.h | 138 bool SetRotationFromWindow(Rotation targetRotation);
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_test.cpp | 965 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 D | screen_session_manager.cpp | 904 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()
|