/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_stage_proxy_lifecycle_test.cpp | 108 bool withAnimation = true; in HWTEST_F() local 110 sessionStage_->NotifySessionForeground(reason, withAnimation); in HWTEST_F() 120 bool withAnimation = true; in HWTEST_F() local 123 sessionStage_->NotifySessionBackground(reason, withAnimation, isFromInnerkits); in HWTEST_F()
|
H A D | session_stage_proxy_test.cpp | 398 bool withAnimation = true; in HWTEST_F() local 400 sessionStage_->NotifySessionForeground(reason, withAnimation); in HWTEST_F() 411 bool withAnimation = true; in HWTEST_F() local 414 sessionStage_->NotifySessionBackground(reason, withAnimation, isFromInnerkits); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_service_inner_test.cpp | 150 bool withAnimation = false; in HWTEST_F() local 152 auto ret = inner.SetOrientationFromWindow(displayId, orientation, withAnimation); in HWTEST_F() 156 ret = inner.SetOrientationFromWindow(displayId, orientation, withAnimation); in HWTEST_F() 169 bool withAnimation = false; 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/window/window_manager/dmserver/include/ |
H A D | screen_rotation_controller.h | 52 static void ProcessOrientationSwitch(Orientation orientation, bool withAnimation); 62 static void SetScreenRotation(Rotation targetRotation, bool withAnimation = true); 81 static void ProcessSwitchToSensorUnrelatedOrientation(Orientation orientation, bool withAnimation);
|
H A D | display_manager_service_inner.h | 48 DMError SetOrientationFromWindow(DisplayId displayId, Orientation orientation, bool withAnimation = true);
49 bool SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation = true);
|
H A D | abstract_screen_controller.h | 63 DMError SetOrientation(ScreenId screenId, Orientation orientation, bool isFromWindow, bool withAnimation = true);
64 bool SetRotation(ScreenId screenId, Rotation rotationAfter, bool isFromWindow, bool withAnimation = true);
94 Rotation rotationAfter, bool withAnimation);
|
H A D | display_manager_service.h | 62 DMError SetOrientationFromWindow(ScreenId screenId, Orientation orientation, bool withAnimation);
63 bool SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation);
|
/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 185 void ScreenRotationController::SetScreenRotation(Rotation targetRotation, bool withAnimation) in SetScreenRotation() argument 191 DisplayManagerServiceInner::GetInstance().SetRotationFromWindow(defaultDisplayId_, targetRotation, withAnimation); in SetScreenRotation() 192 WLOGFI("dms: Set screen rotation: %{public}u withAnimation: %{public}u", targetRotation, withAnimation); in SetScreenRotation() 429 void ScreenRotationController::ProcessSwitchToSensorUnrelatedOrientation(Orientation orientation, bool withAnimation) in ProcessSwitchToSensorUnrelatedOrientation() argument 437 SetScreenRotation(Rotation::ROTATION_0, withAnimation); in ProcessSwitchToSensorUnrelatedOrientation() 441 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT), withAnimation); in ProcessSwitchToSensorUnrelatedOrientation() local 446 withAnimation); in ProcessSwitchToSensorUnrelatedOrientation() local 450 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE), withAnimation); in ProcessSwitchToSensorUnrelatedOrientation() local 455 withAnimation); in ProcessSwitchToSensorUnrelatedOrientation() local 464 ProcessOrientationSwitch(Orientation orientation, bool withAnimation) ProcessOrientationSwitch() argument [all...] |
H A D | display_manager_service_inner.cpp | 133 bool withAnimation)
in SetOrientationFromWindow() 140 SetOrientationFromWindow(displayInfo->GetScreenId(), orientation, withAnimation);
in SetOrientationFromWindow() 143 bool DisplayManagerServiceInner::SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation)
in SetRotationFromWindow() argument 150 SetRotationFromWindow(displayInfo->GetScreenId(), targetRotation, withAnimation);
in SetRotationFromWindow() 132 SetOrientationFromWindow(DisplayId displayId, Orientation orientation, bool withAnimation) SetOrientationFromWindow() argument
|
H A D | abstract_screen_controller.cpp | 735 bool isFromWindow, bool withAnimation)
in SetOrientation() 750 withAnimation = true;
in SetOrientation() 760 ScreenRotationController::ProcessOrientationSwitch(newOrientation, withAnimation);
in SetOrientation() 775 if (!withAnimation) {
in SetOrientation() 834 sptr<AbstractScreen>& screen, ScreenId screenId, Rotation rotationAfter, bool withAnimation)
in SetScreenRotateAnimation() 860 if (withAnimation) {
in SetScreenRotateAnimation() 921 bool isFromWindow, bool withAnimation)
in SetRotation() 924 "animation: %{public}u", screenId, rotationAfter, isFromWindow, withAnimation);
in SetRotation() 936 SetScreenRotateAnimation(screen, screenId, rotationAfter, withAnimation);
in SetRotation() 943 if (!withAnimation) {
in SetRotation() 734 SetOrientation(ScreenId screenId, Orientation newOrientation, bool isFromWindow, bool withAnimation) SetOrientation() argument 833 SetScreenRotateAnimation( sptr<AbstractScreen>& screen, ScreenId screenId, Rotation rotationAfter, bool withAnimation) SetScreenRotateAnimation() argument 920 SetRotation(ScreenId screenId, Rotation rotationAfter, bool isFromWindow, bool withAnimation) SetRotation() argument [all...] |
H A D | display_manager_service.cpp | 285 DMError DisplayManagerService::SetOrientationFromWindow(ScreenId screenId, Orientation orientation, bool withAnimation)
in SetOrientationFromWindow() argument 288 return abstractScreenController_->SetOrientation(screenId, orientation, true, withAnimation);
in SetOrientationFromWindow() 291 bool DisplayManagerService::SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation)
in SetRotationFromWindow() argument 294 return abstractScreenController_->SetRotation(screenId, targetRotation, true, withAnimation);
in SetRotationFromWindow()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | window_options_utils.cpp | 41 bool withAnimation = startOptions.GetWithAnimation(); in SetWindowPositionAndSize() local 43 if (!withAnimation && abilityRecord != nullptr && in SetWindowPositionAndSize() 45 want.SetParam(Want::PARAM_RESV_WITH_ANIMATION, withAnimation); in SetWindowPositionAndSize()
|
/foundation/window/window_manager/wm/include/ |
H A D | window_scene_session_impl.h | 30 WMError Show(uint32_t reason = 0, bool withAnimation = false, bool withFocus = true) override; 31 WMError Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits) override; 128 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 129 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override; 205 void AdjustWindowAnimationFlag(bool withAnimation = false); 207 WMError UpdateAnimationFlagProperty(bool withAnimation);
|
H A D | window_extension_session_impl.h | 85 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 86 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override; 93 WMError Show(uint32_t reason = 0, bool withAnimation = false, bool withFocus = true) override; 94 WMError Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
|
H A D | window_session_impl.h | 77 WMError Show(uint32_t reason = 0, bool withAnimation = false, bool withFocus = true) override; 78 WMError Hide(uint32_t reason = 0, bool withAnimation = false, bool isFromInnerkits = true) override; 237 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 238 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
|
/foundation/window/window_manager/window_scene/test/mock/ |
H A D | mock_session_stage.h | 52 MOCK_METHOD2(NotifySessionForeground, void(uint32_t reason, bool withAnimation)); 53 MOCK_METHOD3(NotifySessionBackground, void(uint32_t reason, bool withAnimation, bool isFromInnerkits));
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_start_options.cpp | 157 bool withAnimation = true; in UnwrapStartOptions() local 158 if (UnwrapBooleanByPropertyName(env, param, "withAnimation", withAnimation)) { in UnwrapStartOptions() 159 startOptions.SetWithAnimation(withAnimation); in UnwrapStartOptions()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | start_options.cpp | 142 void StartOptions::SetWithAnimation(bool withAnimation) in SetWithAnimation() argument 144 withAnimation_ = withAnimation; in SetWithAnimation()
|
/foundation/window/window_manager/window_scene/session/container/include/zidl/ |
H A D | session_stage_proxy.h | 57 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 58 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
|
H A D | session_stage_interface.h | 108 virtual void NotifySessionForeground(uint32_t reason, bool withAnimation) = 0; 109 virtual void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) = 0;
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | start_options.h | 54 void SetWithAnimation(bool withAnimation);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_transition_effect.h | 74 void ApplyAnimationOption(const std::function<void()>& func, bool withAnimation = true);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_indicator_pattern.h | 157 void SetChangeIndexWithAnimation(bool withAnimation) in SetChangeIndexWithAnimation() argument 159 changeIndexWithAnimation_ = withAnimation; in SetChangeIndexWithAnimation()
|
/foundation/window/window_manager/window_scene/session/container/src/zidl/ |
H A D | session_stage_stub.cpp | 386 bool withAnimation = data.ReadBool(); in HandleNotifySessionForeground() local 387 NotifySessionForeground(reason, withAnimation); in HandleNotifySessionForeground() 403 bool withAnimation = data.ReadBool(); in HandleNotifySessionBackground() local 405 NotifySessionBackground(reason, withAnimation, isFromInnerkits); in HandleNotifySessionBackground()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_extension_session_impl.cpp | 815 void WindowExtensionSessionImpl::NotifySessionForeground(uint32_t reason, bool withAnimation) in NotifySessionForeground() argument 819 void WindowExtensionSessionImpl::NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) in NotifySessionBackground() argument 866 WMError WindowExtensionSessionImpl::Show(uint32_t reason, bool withAnimation, bool withFocus) in Show() argument 870 return WindowSessionImpl::Show(reason, withAnimation, withFocus); in Show() 873 WMError WindowExtensionSessionImpl::Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits) in Hide() argument
|