Home
last modified time | relevance | path

Searched refs:dstMode (Results 1 - 8 of 8) sorted by relevance

/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_container.cpp2182 WMError WindowNodeContainer::SwitchLayoutPolicy(WindowLayoutMode dstMode, DisplayId displayId, bool reorder) in SwitchLayoutPolicy() argument
2185 static_cast<uint32_t>(layoutMode_), static_cast<uint32_t>(dstMode), static_cast<uint32_t>(reorder), displayId); in SwitchLayoutPolicy()
2186 if (dstMode < WindowLayoutMode::BASE || dstMode >= WindowLayoutMode::END) { in SwitchLayoutPolicy()
2195 if (layoutMode_ != dstMode) { in SwitchLayoutPolicy()
2199 layoutMode_ = dstMode; in SwitchLayoutPolicy()
2200 layoutPolicy_ = layoutPolicies_[dstMode]; in SwitchLayoutPolicy()
2204 WLOGI("Current layout mode is already: %{public}d", static_cast<uint32_t>(dstMode)); in SwitchLayoutPolicy()
2450 void WindowNodeContainer::UpdateSizeChangeReason(sptr<WindowNode>& node, WindowMode srcMode, WindowMode dstMode) in UpdateSizeChangeReason() argument
2452 if ((srcMode == WindowMode::WINDOW_MODE_FULLSCREEN) && (dstMode in UpdateSizeChangeReason()
2468 SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode) SetWindowMode() argument
2531 ResetWindowZOrderPriorityWhenSetMode(sptr<WindowNode>& node, const WindowMode& dstMode, const WindowMode& srcMode) ResetWindowZOrderPriorityWhenSetMode() argument
[all...]
H A Dwindow_root.cpp1042 WMError WindowRoot::SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode) in SetWindowMode() argument
1050 if (curWinMode == dstMode) { in SetWindowMode()
1053 auto res = container->SetWindowMode(node, dstMode); in SetWindowMode()
H A Dwindow_controller.cpp757 WMError WindowController::SetWindowMode(uint32_t windowId, WindowMode dstMode) in SetWindowMode() argument
765 WMError ret = windowRoot_->SetWindowMode(node, dstMode); in SetWindowMode()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node_container.h89 WMError SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode);
176 void UpdateSizeChangeReason(sptr<WindowNode>& node, WindowMode srcMode, WindowMode dstMode);
181 const WindowMode& dstMode, const WindowMode& srcMode);
H A Dwindow_root.h68 WMError SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode);
H A Dwindow_controller.h106 WMError SetWindowMode(uint32_t windowId, WindowMode dstMode);
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_root_test.cpp770 WindowMode dstMode = WindowMode::WINDOW_MODE_UNDEFINED; in HWTEST_F() local
771 auto ret = windowRoot_->SetWindowMode(node, dstMode); in HWTEST_F()
773 dstMode = WindowMode::WINDOW_MODE_FULLSCREEN; in HWTEST_F()
774 ret = windowRoot_->SetWindowMode(node, dstMode); in HWTEST_F()
1319 WindowMode dstMode = WindowMode::WINDOW_MODE_UNDEFINED; in HWTEST_F() local
1320 auto ret = windowRoot_->SetWindowMode(node, dstMode); in HWTEST_F()
1322 node->SetWindowMode(dstMode); in HWTEST_F()
1323 ret = windowRoot_->SetWindowMode(node, dstMode); in HWTEST_F()
H A Dwindow_node_container_test.cpp757 WindowMode dstMode = WindowMode::WINDOW_MODE_FLOATING; in HWTEST_F() local
758 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, container->SetWindowMode(node, dstMode)); in HWTEST_F()
766 dstMode = WindowMode::WINDOW_MODE_SPLIT_PRIMARY; in HWTEST_F()
768 ASSERT_EQ(WMError::WM_OK, container->SetWindowMode(node, dstMode)); in HWTEST_F()
788 WindowMode dstMode = WindowMode::WINDOW_MODE_SPLIT_PRIMARY; in HWTEST_F() local
790 ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, container->SetWindowMode(node, dstMode)); in HWTEST_F()

Completed in 18 milliseconds