Home
last modified time | relevance | path

Searched refs:displayRectMap (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Ddisplay_group_info.cpp55 auto displayRectMap = GetAllDisplayRects(); in UpdateLeftAndRightDisplayId() local
56 leftDisplayId_ = displayRectMap.begin()->first; in UpdateLeftAndRightDisplayId()
57 rightDisplayId_ = displayRectMap.begin()->first; in UpdateLeftAndRightDisplayId()
58 for (auto& elem : displayRectMap) { in UpdateLeftAndRightDisplayId()
60 if (curDisplayRect.posX_ < displayRectMap[leftDisplayId_].posX_) { in UpdateLeftAndRightDisplayId()
64 …(displayRectMap[rightDisplayId_].posX_ + static_cast<int32_t>(displayRectMap[rightDisplayId_].widt… in UpdateLeftAndRightDisplayId()
158 std::map<DisplayId, Rect> displayRectMap; in GetAllDisplayRects() local
163 displayRectMap.insert(std::make_pair(elem.first, displayRect)); in GetAllDisplayRects()
165 return displayRectMap; in GetAllDisplayRects()
H A Ddisplay_group_controller.cpp150 auto displayRectMap = displayGroupInfo.GetAllDisplayRects(); in UpdateWindowShowingDisplays() local
153 for (auto& elem : displayRectMap) { in UpdateWindowShowingDisplays()
166 displayRectMap[leftDisplayId].posX_)) { in UpdateWindowShowingDisplays()
170 …(displayRectMap[rightDisplayId].posX_ + static_cast<int32_t>(displayRectMap[rightDisplayId].width_… in UpdateWindowShowingDisplays()
200 for (auto& elem : displayRectMap) { in UpdateWindowDisplayIdIfNeeded()
420 layoutPolicy->ProcessDisplayCreate(displayId, displayRectMap); in ProcessDisplayCreate()
442 const std::map<DisplayId, Rect>& displayRectMap) in ProcessSystemBarRotation() argument
446 auto iter = displayRectMap.find(displayId); in ProcessSystemBarRotation()
447 if (iter == displayRectMap.end()) { in ProcessSystemBarRotation()
462 const std::map<DisplayId, Rect>& displayRectMap) in UpdateNodeSizeChangeReasonWithRotation() argument
[all …]
H A Dwindow_layout_policy.cpp188 for (auto& elem : displayRectMap) { in UpdateDisplayRectAndDisplayGroupInfo()
207 displayRectMap.size() != oriDisplayRectMap.size()) { in ProcessDisplayCreate()
211 for (auto& elem : displayRectMap) { in ProcessDisplayCreate()
224 UpdateDisplayRectAndDisplayGroupInfo(displayRectMap); in ProcessDisplayCreate()
234 displayRectMap.size() != oriDisplayRectMap.size()) { in ProcessDisplayDestroy()
240 auto newIter = displayRectMap.find(oriIter->first); in ProcessDisplayDestroy()
241 if (newIter != displayRectMap.end()) { in ProcessDisplayDestroy()
254 UpdateDisplayRectAndDisplayGroupInfo(displayRectMap); in ProcessDisplayDestroy()
271 for (auto& elem : displayRectMap) { in ProcessDisplaySizeChangeOrRotation()
278 UpdateDisplayRectAndDisplayGroupInfo(displayRectMap); in ProcessDisplaySizeChangeOrRotation()
[all …]
H A Dwindow_root.cpp107 auto displayRectMap = GetAllDisplayRectsByDMS(displayInfo); in GetWindowNodeContainer() local
1574 std::map<DisplayId, Rect>& displayRectMap) in ProcessExpandDisplayCreate() argument
1596 std::map<DisplayId, Rect> displayRectMap; in GetAllDisplayRectsByDMS() local
1599 return displayRectMap; in GetAllDisplayRectsByDMS()
1610 return displayRectMap; in GetAllDisplayRectsByDMS()
1616 std::map<DisplayId, Rect> displayRectMap; in GetAllDisplayRectsByDisplayInfo() local
1622 displayRectMap.insert(std::make_pair(id, displayRect)); in GetAllDisplayRectsByDisplayInfo()
1627 return displayRectMap; in GetAllDisplayRectsByDisplayInfo()
1698 auto displayRectIter = displayRectMap.find(displayId); in ProcessDisplayDestroy()
1699 if (displayRectIter == displayRectMap.end()) { in ProcessDisplayDestroy()
[all …]
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Ddisplay_group_controller.h48 const std::map<DisplayId, Rect>& displayRectMap);
50 const std::map<DisplayId, Rect>& displayRectMap,
53 const std::map<DisplayId, Rect>& displayRectMap,
67 const std::map<DisplayId, Rect>& displayRectMap, DisplayStateChangeType type);
76 …SizeChangeReasonWithRotation(DisplayId displayId, const std::map<DisplayId, Rect>& displayRectMap);
79 …ssSystemBarRotation(const sptr<WindowNode>& node, const std::map<DisplayId, Rect>& displayRectMap);
H A Dwindow_layout_policy.h48 void ProcessDisplayCreate(DisplayId displayId, const std::map<DisplayId, Rect>& displayRectMap);
49 … void ProcessDisplayDestroy(DisplayId displayId, const std::map<DisplayId, Rect>& displayRectMap);
50 …sDisplaySizeChangeOrRotation(DisplayId displayId, const std::map<DisplayId, Rect>& displayRectMap);
98 void UpdateDisplayRectAndDisplayGroupInfo(const std::map<DisplayId, Rect>& displayRectMap);
H A Dwindow_root.h134 std::map<DisplayId, Rect>& displayRectMap);
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Ddisplay_group_controller_test.cpp715 std::map<DisplayId, Rect> displayRectMap; variable
716 displayGroupController_->ProcessDisplayCreate(defaultDisplayId, displayInfo, displayRectMap);
730 std::map<DisplayId, Rect> displayRectMap; variable
733 displayRectMap, windowIds);
748 std::map<DisplayId, Rect> displayRectMap = {}; variable
749 displayGroupController_->ProcessSystemBarRotation(node, displayRectMap);
H A Dwindow_root_test.cpp1015 std::map<DisplayId, Rect> displayRectMap = {}; variable
1016 windowRoot_->ProcessExpandDisplayCreate(defaultDisplayId, displayInfo, displayRectMap);