Lines Matching defs:std

114     std::for_each(belowAppWindowNode_->children_.begin(), belowAppWindowNode_->children_.end(), counter);
115 std::for_each(appWindowNode_->children_.begin(), appWindowNode_->children_.end(), counter);
116 std::for_each(aboveAppWindowNode_->children_.begin(), aboveAppWindowNode_->children_.end(), counter);
131 std::for_each(appWindowNode_->children_.begin(), appWindowNode_->children_.end(), counter);
132 std::for_each(aboveAppWindowNode_->children_.begin(), aboveAppWindowNode_->children_.end(), counter);
311 const std::vector<DisplayId>& lastShowingDisplays)
320 if (std::find(curShowingDisplays.begin(), curShowingDisplays.end(), displayId) == curShowingDisplays.end()) {
328 if (std::find(lastShowingDisplays.begin(), lastShowingDisplays.end(), displayId) == lastShowingDisplays.end()) {
357 auto iter = std::find(node->parent_->children_.begin(), node->parent_->children_.end(), node);
405 std::vector<sptr<WindowNode>> rootNodes = { belowAppWindowNode_, appWindowNode_, aboveAppWindowNode_ };
515 std::vector<sptr<WindowNode>> windowNodes;
592 std::vector<sptr<WindowNode>> tempWindows;
629 WMError WindowNodeContainer::DestroyWindowNode(sptr<WindowNode>& node, std::vector<uint32_t>& windowIds)
649 auto emptyVector = std::vector<sptr<WindowNode>>();
696 auto iter = std::find(parentNode->children_.begin(), parentNode->children_.end(), node);
923 const std::vector<uint32_t>& WindowNodeContainer::Destroy()
926 auto emptyVector = std::vector<uint32_t>();
958 std::vector<sptr<WindowNode>> rootNodes = { aboveAppWindowNode_, appWindowNode_, belowAppWindowNode_ };
1049 if (std::fabs(node->GetBrightness() - UNDEFINED_BRIGHTNESS) < std::numeric_limits<float>::min()) {
1201 std::string identity = IPCSkeleton::ResetCallingIdentity();
1215 std::string identity = IPCSkeleton::ResetCallingIdentity();
1245 std::unordered_map<WindowType, SystemBarProperty> WindowNodeContainer::GetExpectImmersiveProperty(DisplayId id,
1248 std::unordered_map<WindowType, SystemBarProperty> sysBarPropMap {
1253 std::vector<sptr<WindowNode>> rootNodes = { aboveAppWindowNode_, appWindowNode_, belowAppWindowNode_ };
1354 const std::unordered_map<WindowType, SystemBarProperty>& systemBarPropInfo) const
1459 void WindowNodeContainer::NotifySystemBarTints(std::vector<DisplayId> displayIdVec)
1556 void WindowNodeContainer::RaiseOrderedWindowToTop(std::vector<sptr<WindowNode>>& orderedNodes,
1557 std::vector<sptr<WindowNode>>& windowNodes)
1561 auto orderedIter = std::find_if(orderedNodes.begin(), orderedNodes.end(),
1575 void WindowNodeContainer::RaiseWindowToTop(uint32_t windowId, std::vector<sptr<WindowNode>>& windowNodes)
1581 auto iter = std::find_if(windowNodes.begin(), windowNodes.end(),
1594 void WindowNodeContainer::TraverseContainer(std::vector<sptr<WindowNode>>& windowNodes) const
1605 std::reverse(windowNodes.begin(), windowNodes.end());
1608 void WindowNodeContainer::TraverseWindowNode(sptr<WindowNode>& node, std::vector<sptr<WindowNode>>& windowNodes) const
1657 const std::string& windowName = node->GetWindowName().size() < WINDOW_NAME_MAX_LENGTH ?
1683 const std::string& windowName = node->GetWindowName().size() < WINDOW_NAME_MAX_LENGTH ?
1717 std::vector<sptr<WindowNode>> rootNodes = { belowAppWindowNode_, appWindowNode_, aboveAppWindowNode_ };
1777 std::vector<sptr<WindowNode>> orderedPair = windowPair->GetOrderedPair(node);
1882 std::vector<sptr<WindowNode>> windowNodes;
1884 auto iter = std::find_if(windowNodes.begin(), windowNodes.end(), [windowId](sptr<WindowNode>& node) {
1891 int index = std::distance(windowNodes.begin(), iter);
1926 std::vector<int32_t> exitSplitPoints = windowPair->GetExitSplitPoints();
1969 std::vector<sptr<WindowNode>> windowNodes;
1983 std::vector<sptr<WindowNode>> windowNodes;
2025 std::vector<sptr<WindowNode>> rootNodes = {
2043 std::function<bool(uint32_t, WindowMode)> restoreFunc, bool restore)
2073 std::set<DisplayId> displayIdSet;
2076 std::vector<sptr<WindowNode>> children = appWindowNode_->children_;
2120 void WindowNodeContainer::RestoreAllAppWindows(std::function<bool(uint32_t, WindowMode)> restoreFunc)
2122 std::vector<uint32_t> backupWindowIds(backupWindowIds_);
2124 std::vector<sptr<WindowPair>> windowPairs;
2157 const std::vector<uint32_t>& exceptionalIds, const std::vector<WindowMode>& exceptionalModes)
2164 if (std::find(exceptionalIds.begin(), exceptionalIds.end(), appNode->GetWindowId()) != exceptionalIds.end() ||
2165 std::find(exceptionalModes.begin(), exceptionalModes.end(),
2177 std::vector<uint32_t> exceptionalIds = { node->GetWindowId() };
2178 std::vector<WindowMode> exceptionalModes = { WindowMode::WINDOW_MODE_FLOATING, WindowMode::WINDOW_MODE_PIP };
2271 std::vector<sptr<WindowNode>> needReZOrderNodes;
2373 std::vector<sptr<WindowNode>> rootNodes = { belowAppWindowNode_, appWindowNode_, aboveAppWindowNode_ };
2375 std::reverse(rootNodes.begin(), rootNodes.end());
2595 std::vector<sptr<WindowNode>> windowNodes;
2640 std::vector<sptr<WindowNode>> windowNodes = windowPair->GetPairedWindows();