Home
last modified time | relevance | path

Searched refs:withAnimation (Results 1 - 25 of 51) sorted by relevance

123

/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_stage_proxy_lifecycle_test.cpp108 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 Dsession_stage_proxy_test.cpp398 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 Ddisplay_manager_service_inner_test.cpp150 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 Dscreen_rotation_controller.h52 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 Ddisplay_manager_service_inner.h48 DMError SetOrientationFromWindow(DisplayId displayId, Orientation orientation, bool withAnimation = true);
49 bool SetRotationFromWindow(DisplayId displayId, Rotation targetRotation, bool withAnimation = true);
H A Dabstract_screen_controller.h63 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 Ddisplay_manager_service.h62 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 Dscreen_rotation_controller.cpp185 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 Ddisplay_manager_service_inner.cpp133 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 Dabstract_screen_controller.cpp735 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 Ddisplay_manager_service.cpp285 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 Dwindow_options_utils.cpp41 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 Dwindow_scene_session_impl.h30 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 Dwindow_extension_session_impl.h85 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 Dwindow_session_impl.h77 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 Dmock_session_stage.h52 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 Dnapi_common_start_options.cpp157 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 Dstart_options.cpp142 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 Dsession_stage_proxy.h57 void NotifySessionForeground(uint32_t reason, bool withAnimation) override;
58 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
H A Dsession_stage_interface.h108 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 Dstart_options.h54 void SetWithAnimation(bool withAnimation);
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_transition_effect.h74 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 Dswiper_indicator_pattern.h157 void SetChangeIndexWithAnimation(bool withAnimation) in SetChangeIndexWithAnimation() argument
159 changeIndexWithAnimation_ = withAnimation; in SetChangeIndexWithAnimation()
/foundation/window/window_manager/window_scene/session/container/src/zidl/
H A Dsession_stage_stub.cpp386 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 Dwindow_extension_session_impl.cpp815 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

Completed in 22 milliseconds

123