Home
last modified time | relevance | path

Searched refs:WindowNodeState (Results 1 - 7 of 7) sorted by relevance

/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_state_machine.cpp66 void WindowNodeStateMachine::TransitionTo(WindowNodeState state) in TransitionTo()
110 if (currState_ == WindowNodeState::SHOW_ANIMATION_PLAYING || in IsRemoteAnimationPlaying()
111 currState_ == WindowNodeState::HIDE_ANIMATION_PLAYING) { in IsRemoteAnimationPlaying()
121 return currState_ == WindowNodeState::SHOW_ANIMATION_PLAYING; in IsShowAnimationPlaying()
128 return currState_ == WindowNodeState::HIDE_ANIMATION_PLAYING; in IsHideAnimationPlaying()
135 if (currState_ == WindowNodeState::SHOW_ANIMATION_PLAYING || in IsWindowNodeShownOrShowing()
136 currState_ == WindowNodeState::SHOW_ANIMATION_DONE || currState_ == WindowNodeState::SHOWN) { in IsWindowNodeShownOrShowing()
146 if (currState_ == WindowNodeState::HIDE_ANIMATION_PLAYING || in IsWindowNodeHiddenOrHiding()
147 currState_ == WindowNodeState in IsWindowNodeHiddenOrHiding()
[all...]
H A Dremote_animation.cpp281 weakNode->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_DONE); in GetTransitionFinishedCallback()
373 dstNode->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_PLAYING); in NotifyAnimationTransition()
380 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in NotifyAnimationTransition()
407 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in NotifyAnimationMinimize()
419 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in NotifyAnimationMinimize()
443 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in NotifyAnimationClose()
508 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in NotifyAnimationBackTransition()
521 dstNode->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_PLAYING); in NotifyAnimationBackTransition()
561 srcNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in GetAnimationTargetsForHome()
582 srcNode->stateMachine_.TransitionTo(WindowNodeState in GetAnimationHomeFinishCallback()
[all...]
H A Dstarting_window.cpp86 node->stateMachine_.TransitionTo(WindowNodeState::STARTING_CREATED); in CreateWindowNode()
H A Dwindow_controller.cpp363 node->stateMachine_.TransitionTo(WindowNodeState::SHOWN); // for normal show which not use remote animation in AddWindowNode()
641 windowNode->stateMachine_.TransitionTo(WindowNodeState::HIDDEN); in RemoveWindowNode()
675 node->stateMachine_.TransitionTo(WindowNodeState::DESTROYED); in DestroyWindow()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node_state_machine.h31 enum class WindowNodeState : uint32_t { class
49 void TransitionTo(WindowNodeState state);
61 WindowNodeState GetCurrentState();
91 WindowNodeState currState_ = WindowNodeState::INITIAL;
/foundation/window/window_manager/wmserver/test/unittest/
H A Dremote_animation_test.cpp306 node_->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_PLAYING); in HWTEST_F()
310 EXPECT_EQ(true, node_->stateMachine_.currState_ == WindowNodeState::SHOW_ANIMATION_DONE); in HWTEST_F()
344 node_->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_PLAYING); in HWTEST_F()
357 dstNode->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in HWTEST_F()
409 EXPECT_NE(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F()
411 node_->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in HWTEST_F()
416 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F()
418 node_->stateMachine_.TransitionTo(WindowNodeState::HIDE_ANIMATION_PLAYING); in HWTEST_F()
423 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F()
425 node_->stateMachine_.TransitionTo(WindowNodeState in HWTEST_F()
[all...]
H A Dwindow_controller_test.cpp122 node_->stateMachine_.currState_ = WindowNodeState::SHOW_ANIMATION_PLAYING; in HWTEST_F()
126 node_->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
184 srcNode->stateMachine_.currState_ = WindowNodeState::HIDDEN; in HWTEST_F()
188 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
193 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
198 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
203 dstNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
209 dstNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()

Completed in 11 milliseconds