Lines Matching refs:WindowRoot
50 uint32_t WindowRoot::GetTotalWindowNum() const
55 sptr<WindowNode> WindowRoot::GetWindowForDumpAceHelpInfo() const
68 ScreenId WindowRoot::GetScreenGroupId(DisplayId displayId, bool& isRecordedDisplay)
82 sptr<WindowNodeContainer> WindowRoot::GetOrCreateWindowNodeContainer(DisplayId displayId)
96 sptr<WindowNodeContainer> WindowRoot::GetWindowNodeContainer(DisplayId displayId)
116 sptr<WindowNodeContainer> WindowRoot::CreateWindowNodeContainer(DisplayId defaultDisplayId,
142 bool WindowRoot::CheckDisplayInfo(const sptr<DisplayInfo>& display)
155 sptr<WindowNode> WindowRoot::GetWindowNode(uint32_t windowId) const
164 sptr<WindowNode> WindowRoot::GetWindowNodeByMissionId(uint32_t missionId) const
173 void WindowRoot::GetBackgroundNodesByScreenId(ScreenId screenGroupId, std::vector<sptr<WindowNode>>& windowNodes)
197 void WindowRoot::GetForegroundNodes(std::vector<sptr<WindowNode>>& windowNodes)
209 sptr<WindowNode> WindowRoot::FindWindowNodeWithToken(const sptr<IRemoteObject>& token) const
230 void WindowRoot::AddDeathRecipient(sptr<WindowNode> node)
250 WMError WindowRoot::SaveWindow(const sptr<WindowNode>& node)
282 WMError WindowRoot::MinimizeStructuredAppWindowsExceptSelf(sptr<WindowNode>& node)
293 void WindowRoot::MinimizeTargetWindows(std::vector<uint32_t>& windowIds)
310 std::vector<sptr<WindowNode>> WindowRoot::GetSplitScreenWindowNodes(DisplayId displayId)
327 bool WindowRoot::IsForbidDockSliceMove(DisplayId displayId) const
329 auto container = const_cast<WindowRoot*>(this)->GetOrCreateWindowNodeContainer(displayId);
337 bool WindowRoot::IsDockSliceInExitSplitModeArea(DisplayId displayId) const
339 auto container = const_cast<WindowRoot*>(this)->GetOrCreateWindowNodeContainer(displayId);
347 void WindowRoot::ExitSplitMode(DisplayId displayId)
357 void WindowRoot::AddSurfaceNodeIdWindowNodePair(uint64_t surfaceNodeId, sptr<WindowNode> node)
392 void WindowRoot::GetUnreliableWindowInfo(int32_t windowId, std::vector<sptr<UnreliableWindowInfo>>& infos) const
420 void WindowRoot::GetVisibilityWindowInfo(std::vector<sptr<WindowVisibilityInfo>>& infos) const
439 std::vector<std::pair<uint64_t, WindowVisibilityState>> WindowRoot::GetWindowVisibilityChangeInfo(
478 void WindowRoot::NotifyWindowVisibilityChange(std::shared_ptr<RSOcclusionData> occlusionData)
521 AvoidArea WindowRoot::GetAvoidAreaByType(uint32_t windowId, AvoidAreaType avoidAreaType)
537 void WindowRoot::MinimizeAllAppWindows(DisplayId displayId)
547 WMError WindowRoot::ToggleShownStateForAllAppWindows()
594 void WindowRoot::DestroyLeakStartingWindow()
609 WMError WindowRoot::PostProcessAddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode,
675 bool WindowRoot::CheckAddingModeAndSize(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container)
693 Rect WindowRoot::GetDisplayRectWithoutSystemBarAreas(const sptr<WindowNode> dstNode)
740 void WindowRoot::GetAllAnimationPlayingNodes(std::vector<wptr<WindowNode>>& windowNodes)
757 void WindowRoot::LayoutWhenAddWindowNode(sptr<WindowNode>& node, bool afterAnimation)
778 WMError WindowRoot::BindDialogToParent(sptr<WindowNode>& node, sptr<WindowNode>& parentNode)
792 WMError WindowRoot::AddWindowNode(uint32_t parentId, sptr<WindowNode>& node, bool fromStartingWin)
854 WMError WindowRoot::RemoveWindowNode(uint32_t windowId, bool fromAnimation)
897 void WindowRoot::UpdateDisplayOrientationWhenHideWindow(sptr<WindowNode>& node)
915 WMError WindowRoot::SetGestureNavigationEnabled(bool enable)
927 WMError WindowRoot::UpdateWindowNode(uint32_t windowId, WindowUpdateReason reason)
947 WMError WindowRoot::UpdateSizeChangeReason(uint32_t windowId, WindowSizeChangeReason reason)
963 void WindowRoot::SetBrightness(uint32_t windowId, float brightness)
1004 void WindowRoot::HandleKeepScreenOn(uint32_t windowId, bool requireLock)
1019 void WindowRoot::UpdateFocusableProperty(uint32_t windowId)
1042 WMError WindowRoot::SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode)
1062 WMError WindowRoot::DestroyWindowSelf(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container)
1082 WMError WindowRoot::DestroyWindowWithChild(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container)
1102 WMError WindowRoot::DestroyWindow(uint32_t windowId, bool onlySelf)
1127 WMError WindowRoot::DestroyWindowInner(sptr<WindowNode>& node)
1177 void WindowRoot::UpdateFocusWindowWithWindowRemoved(const sptr<WindowNode>& node,
1218 void WindowRoot::UpdateActiveWindowWithWindowRemoved(const sptr<WindowNode>& node,
1251 void WindowRoot::UpdateBrightnessWithWindowRemoved(uint32_t windowId, const sptr<WindowNodeContainer>& container) const
1263 bool WindowRoot::IsVerticalDisplay(sptr<WindowNode>& node) const
1265 auto container = const_cast<WindowRoot*>(this)->GetOrCreateWindowNodeContainer(node->GetDisplayId());
1273 WMError WindowRoot::RequestFocus(uint32_t windowId)
1295 WMError WindowRoot::RequestActiveWindow(uint32_t windowId)
1318 void WindowRoot::ProcessWindowStateChange(WindowState state, WindowStateChangeReason reason)
1328 void WindowRoot::NotifySystemBarTints()
1338 WMError WindowRoot::NotifyDesktopUnfrozen()
1355 sptr<WindowNode> WindowRoot::FindWallpaperWindow()
1368 WMError WindowRoot::RaiseZOrderForAppWindow(sptr<WindowNode>& node)
1410 void WindowRoot::DispatchKeyEvent(sptr<WindowNode> node, std::shared_ptr<MMI::KeyEvent> event)
1445 uint32_t WindowRoot::GetWindowIdByObject(const sptr<IRemoteObject>& remoteObject)
1451 void WindowRoot::OnRemoteDied(const sptr<IRemoteObject>& remoteObject)
1456 WMError WindowRoot::GetTopWindowId(uint32_t mainWinId, uint32_t& topWinId)
1477 WMError WindowRoot::SetWindowLayoutMode(DisplayId displayId, WindowLayoutMode mode)
1491 std::vector<DisplayId> WindowRoot::GetAllDisplayIds() const
1498 std::vector<DisplayId>& displayIdVec = const_cast<WindowRoot*>(this)->displayIdMap_[it.first];
1506 std::string WindowRoot::GenAllWindowsLogInfo() const
1523 std::vector<DisplayId>& displayIdVec = const_cast<WindowRoot*>(this)->displayIdMap_[elem.first];
1532 void WindowRoot::FocusFaultDetection() const
1572 void WindowRoot::ProcessExpandDisplayCreate(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
1593 std::map<DisplayId, Rect> WindowRoot::GetAllDisplayRectsByDMS(sptr<DisplayInfo> displayInfo)
1612 std::map<DisplayId, Rect> WindowRoot::GetAllDisplayRectsByDisplayInfo(
1629 void WindowRoot::ProcessDisplayCreate(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
1651 void WindowRoot::MoveNotShowingWindowToDefaultDisplay(DisplayId defaultDisplayId, DisplayId displayId)
1667 void WindowRoot::ProcessDisplayDestroy(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
1715 void WindowRoot::ProcessDisplayChange(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
1742 Rect WindowRoot::GetDisplayGroupRect(DisplayId displayId) const
1745 auto container = const_cast<WindowRoot*>(this)->GetOrCreateWindowNodeContainer(displayId);
1753 bool WindowRoot::HasPrivateWindow(DisplayId displayId)
1759 bool WindowRoot::HasMainFullScreenWindowShown(DisplayId displayId)
1765 void WindowRoot::SetMaxAppWindowNumber(uint32_t windowNum)
1770 void WindowRoot::SetSplitRatios(const std::vector<float>& splitRatioNumbers)
1787 void WindowRoot::SetExitSplitRatios(const std::vector<float>& exitSplitRatios)
1800 WMError WindowRoot::GetModeChangeHotZones(DisplayId displayId,
1812 void WindowRoot::RemoveSingleUserWindowNodes(int accountId)
1825 WMError WindowRoot::UpdateRsTree(uint32_t windowId, bool isAdd)
1848 sptr<WindowNode> WindowRoot::FindMainWindowWithToken(sptr<IRemoteObject> token)
1864 bool WindowRoot::CheckMultiDialogWindows(WindowType type, sptr<IRemoteObject> token)
1889 sptr<WindowNode> WindowRoot::GetWindowNodeByAbilityToken(const sptr<IRemoteObject>& abilityToken)
1900 bool WindowRoot::TakeWindowPairSnapshot(DisplayId displayId)
1906 void WindowRoot::ClearWindowPairSnapshot(DisplayId displayId)
1916 void WindowRoot::CheckAndNotifyWaterMarkChangedResult()