Home
last modified time | relevance | path

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

/foundation/window/window_manager/wmserver/src/
H A Dwindow_root.cpp696 std::map<WindowType, std::pair<bool, Rect>> systemBarRects; in GetDisplayRectWithoutSystemBarAreas() local
701 systemBarRects[node->GetWindowType()] = std::make_pair(node->currentVisibility_, node->GetWindowRect()); in GetDisplayRectWithoutSystemBarAreas()
721 if (systemBarRects.count(WindowType::WINDOW_TYPE_STATUS_BAR)) { in GetDisplayRectWithoutSystemBarAreas()
722 isStatusShow = systemBarRects[WindowType::WINDOW_TYPE_STATUS_BAR].first; in GetDisplayRectWithoutSystemBarAreas()
724 systemBarRects[WindowType::WINDOW_TYPE_STATUS_BAR].second.height_); in GetDisplayRectWithoutSystemBarAreas()
725 targetRect.height_ -= systemBarRects[WindowType::WINDOW_TYPE_STATUS_BAR].second.height_; in GetDisplayRectWithoutSystemBarAreas()
729 if (systemBarRects.count(WindowType::WINDOW_TYPE_NAVIGATION_BAR)) { in GetDisplayRectWithoutSystemBarAreas()
730 if (isStatusShow && !(systemBarRects[WindowType::WINDOW_TYPE_NAVIGATION_BAR].first)) { in GetDisplayRectWithoutSystemBarAreas()
733 targetRect.height_ -= systemBarRects[WindowType::WINDOW_TYPE_NAVIGATION_BAR].second.height_; in GetDisplayRectWithoutSystemBarAreas()

Completed in 4 milliseconds