Home
last modified time | relevance | path

Searched refs:restoreFunc (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_node_container.h79 …WMError ToggleShownStateForAllAppWindows(std::function<bool(uint32_t, WindowMode)> restoreFunc, bo…
81 void RestoreAllAppWindows(std::function<bool(uint32_t, WindowMode)> restoreFunc);
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_node_container_test.cpp719 auto restoreFunc = [](uint32_t windowId, WindowMode mode) { in __anona37d80c60302() variable
722 ASSERT_EQ(WMError::WM_OK, container->ToggleShownStateForAllAppWindows(restoreFunc, true));
741 auto restoreFunc = [](uint32_t windowId, WindowMode mode) { in __anona37d80c60402() variable
744 … ASSERT_EQ(WMError::WM_DO_NOTHING, container->ToggleShownStateForAllAppWindows(restoreFunc, true));
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_container.cpp2044 std::function<bool(uint32_t, WindowMode)> restoreFunc, bool restore) in ToggleShownStateForAllAppWindows() argument
2064 RestoreAllAppWindows(restoreFunc); in ToggleShownStateForAllAppWindows()
2121 …id WindowNodeContainer::RestoreAllAppWindows(std::function<bool(uint32_t, WindowMode)> restoreFunc) in RestoreAllAppWindows() argument
2137 if (!restoreFunc(windowId, backupWindowMode_[windowId])) { in RestoreAllAppWindows()
H A Dwindow_root.cpp564 auto restoreFunc = [this](uint32_t windowId, WindowMode mode) { in ToggleShownStateForAllAppWindows() local
588 … WMError tmpRes = container->ToggleShownStateForAllAppWindows(restoreFunc, isAllAppWindowsEmpty); in ToggleShownStateForAllAppWindows()