Home
last modified time | relevance | path

Searched refs:RemoteAnimation (Results 1 - 13 of 13) sorted by relevance

/foundation/window/window_manager/wmserver/test/unittest/
H A Dremote_animation_test.cpp97 EXPECT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(animationController_)); in InitRemoteAnimation()
98 RemoteAnimation::isRemoteAnimationEnable_ = true; in InitRemoteAnimation()
99 RemoteAnimation::animationFirst_ = true; in InitRemoteAnimation()
103 RemoteAnimation::SetWindowControllerAndRoot(windowController_, windowRoot_); in InitRemoteAnimation()
106 RemoteAnimation::SetMainTaskHandler(wmsTaskHandler_); in InitRemoteAnimation()
152 RemoteAnimation::SetAnimationFirst(false); in HWTEST_F()
153 EXPECT_EQ(false, RemoteAnimation::animationFirst_); in HWTEST_F()
154 EXPECT_EQ(false, RemoteAnimation::IsRemoteAnimationEnabledAndFirst(0)); in HWTEST_F()
164 EXPECT_EQ(true, RemoteAnimation::animationFirst_); in HWTEST_F()
165 EXPECT_EQ(true, RemoteAnimation in HWTEST_F()
[all...]
H A Dstarting_window_test.cpp68 ASSERT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(animationController_)); in SetUp()
357 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
374 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
392 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
406 ASSERT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
423 ASSERT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
442 ASSERT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F()
H A Dwindow_controller_test.cpp115 RemoteAnimation::windowAnimationController_ = iface_cast<RSIWindowAnimationController>(iRemoteObjectMocker); in HWTEST_F()
144 RemoteAnimation::windowAnimationController_ = nullptr; in HWTEST_F()
179 RemoteAnimation::windowAnimationController_ = mock; in HWTEST_F()
180 RemoteAnimation::windowRoot_ = windowRoot_; in HWTEST_F()
181 RemoteAnimation::animationFirst_ = true; in HWTEST_F()
215 RemoteAnimation::windowAnimationController_ = nullptr; in HWTEST_F()
H A Dwindow_manager_service_test.cpp475 RemoteAnimation::SetWindowControllerAndRoot(wms->windowController_, wms->windowController_->windowRoot_); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dremote_animation.cpp43 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_WINDOW, "RemoteAnimation"};
47 bool RemoteAnimation::isRemoteAnimationEnable_ = true;
48 std::atomic<uint32_t> RemoteAnimation::allocationId_ = 0;
49 sptr<RSIWindowAnimationController> RemoteAnimation::windowAnimationController_ = nullptr;
50 std::weak_ptr<AppExecFwk::EventHandler> RemoteAnimation::wmsTaskHandler_;
51 wptr<WindowRoot> RemoteAnimation::windowRoot_;
52 bool RemoteAnimation::animationFirst_ = false;
53 wptr<WindowController> RemoteAnimation::windowController_ = nullptr;
63 void RemoteAnimation::SetAnimationFirst(bool animationFirst) in SetAnimationFirst()
69 bool RemoteAnimation
[all...]
H A Dwindow_node_state_machine.cpp48 if (!RemoteAnimation::IsAnimationFirst()) { in GetDestroyTask()
78 if (!RemoteAnimation::IsAnimationFirst()) { in UpdateAnimationTaskCount()
H A Dwindow_manager_service.cpp216 bool animaEnabled = RemoteAnimation::CheckAnimationController(); in InitWithAbilityManagerServiceAdded()
234 animaEnabled = RemoteAnimation::CheckAnimationController(); in NotifyWindowTransition()
374 RemoteAnimation::isRemoteAnimationEnable_ = item.boolValue_; in ConfigureWindowManagerService()
816 return RemoteAnimation::NotifyAnimationAbilityDied(info); in NotifyAnimationAbilityDied()
1048 if (RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in DestroyWindow()
1133 RemoteAnimation::OnRemoteDie(remoteObject); in SetWindowAnimationController()
1139 RemoteAnimation::SetWindowControllerAndRoot(windowController_, windowRoot_); in SetWindowAnimationController()
1140 RemoteAnimation::SetMainTaskHandler(handler_); in SetWindowAnimationController()
1143 RemoteAnimation::SetAnimationFirst(system::GetParameter("persist.window.af.enabled", "1") == "1"); in SetWindowAnimationController()
1176 RemoteAnimation in OnWindowEvent()
[all...]
H A Dwindow_controller.cpp82 if (!RemoteAnimation::CheckAnimationController()) { in StartingWindow()
147 if (!RemoteAnimation::CheckTransition(srcInfo, srcNode, dstInfo, dstNode)) { in NotifyWindowTransition()
152 auto transitionEvent = RemoteAnimation::GetTransitionEvent(srcInfo, dstInfo, srcNode, dstNode); in NotifyWindowTransition()
155 return RemoteAnimation::NotifyAnimationTransition(srcInfo, dstInfo, srcNode, dstNode); in NotifyWindowTransition()
158 return RemoteAnimation::NotifyAnimationMinimize(srcInfo, srcNode); in NotifyWindowTransition()
161 return RemoteAnimation::NotifyAnimationClose(srcInfo, srcNode, transitionEvent); in NotifyWindowTransition()
164 return RemoteAnimation::NotifyAnimationBackTransition(srcInfo, dstInfo, srcNode, dstNode, transitionEvent); in NotifyWindowTransition()
630 res = RemoteAnimation::NotifyAnimationScreenUnlock(removeFunc, windowNode); in RemoveWindowNode()
1082 return RemoteAnimation::SetWindowAnimationController(controller); in SetWindowAnimationController()
1348 if (RemoteAnimation in MinimizeAllAppWindows()
[all...]
H A Dstarting_window.cpp182 if (RemoteAnimation::CheckRemoteAnimationEnabled(node->GetDisplayId()) && node->leashWinSurfaceNode_) { in DrawStartingWindow()
343 if (!RemoteAnimation::CheckAnimationController()) { in AddNodeOnRSTree()
H A Dwindow_system_effect.cpp53 if (needCheckAnimation && RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in SetCornerRadius()
H A Dwindow_node_container.cpp225 RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in LayoutWhenAddWindowNode()
293 RemoteAnimation::NotifyAnimationUpdateWallpaper(node); in AddWindowNode()
368 if (fromAnimation || (RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in RemoveFromRsTreeWhenRemoveWindowNode()
373 // When RemoteAnimation exists, remove node from rs tree after animation in RemoveFromRsTreeWhenRemoveWindowNode()
652 RemoteAnimation::NotifyAnimationUpdateWallpaper(nullptr); in DestroyWindowNode()
H A Dwindow_layout_policy.cpp301 if (!RemoteAnimation::CheckAnimationController()) { in NotifyAnimationSizeChangeIfNeeded()
324 RemoteAnimation::NotifyAnimationTargetsUpdate(fullScreenWinIds, floatMainIds); in NotifyAnimationSizeChangeIfNeeded()
/foundation/window/window_manager/wmserver/include/
H A Dremote_animation.h43 class RemoteAnimation : public RefBase { class
45 RemoteAnimation() = delete;
46 ~RemoteAnimation() = default;

Completed in 21 milliseconds