• Home
  • Raw
  • Download

Lines Matching refs:sptr

35 using Callback = std::function<void (Event event, const sptr<IRemoteObject>& remoteObject)>;
41 sptr<WindowNodeContainer> GetOrCreateWindowNodeContainer(DisplayId displayId);
42 sptr<WindowNodeContainer> GetWindowNodeContainer(DisplayId displayId);
43sptr<WindowNodeContainer> CreateWindowNodeContainer(DisplayId defaultDisplayId, sptr<DisplayInfo> …
44 sptr<WindowNode> GetWindowNode(uint32_t windowId) const;
45 sptr<WindowNode> GetWindowNodeByMissionId(uint32_t missionId) const;
46 …void GetBackgroundNodesByScreenId(ScreenId screenGroupId, std::vector<sptr<WindowNode>>& windowNod…
48 sptr<WindowNode> FindWallpaperWindow();
49 WMError SaveWindow(const sptr<WindowNode>& node);
50 void AddDeathRecipient(sptr<WindowNode> node);
51 sptr<WindowNode> FindWindowNodeWithToken(const sptr<IRemoteObject>& token) const;
52 WMError AddWindowNode(uint32_t parentId, sptr<WindowNode>& node, bool fromStartingWin = false);
56 bool IsVerticalDisplay(sptr<WindowNode>& node) const;
61 void AddSurfaceNodeIdWindowNodePair(uint64_t surfaceNodeId, sptr<WindowNode> node);
65 WMError MinimizeStructuredAppWindowsExceptSelf(sptr<WindowNode>& node);
67 WMError SetWindowMode(sptr<WindowNode>& node, WindowMode dstMode);
74 void ProcessDisplayChange(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
75 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap, DisplayStateChangeType type);
76 void ProcessDisplayDestroy(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
77 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap);
78 void ProcessDisplayCreate(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
79 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap);
82 WMError RaiseZOrderForAppWindow(sptr<WindowNode>& node);
83 void DispatchKeyEvent(sptr<WindowNode> node, std::shared_ptr<MMI::KeyEvent> event);
95 uint32_t GetWindowIdByObject(const sptr<IRemoteObject>& remoteObject);
96 sptr<WindowNode> GetWindowForDumpAceHelpInfo() const;
99 std::vector<sptr<WindowNode>> GetSplitScreenWindowNodes(DisplayId displayId);
104 sptr<WindowNode> FindMainWindowWithToken(sptr<IRemoteObject> token);
105 bool CheckMultiDialogWindows(WindowType type, sptr<IRemoteObject> token);
107 Rect GetDisplayRectWithoutSystemBarAreas(const sptr<WindowNode> destNode);
108 sptr<WindowNode> GetWindowNodeByAbilityToken(const sptr<IRemoteObject>& abilityToken);
111 void LayoutWhenAddWindowNode(sptr<WindowNode>& node, bool afterAnimation = false);
113 void GetVisibilityWindowInfo(std::vector<sptr<WindowVisibilityInfo>>& infos) const;
115 void UpdateDisplayOrientationWhenHideWindow(sptr<WindowNode>& node);
119 void OnRemoteDied(const sptr<IRemoteObject>& remoteObject);
120 WMError DestroyWindowInner(sptr<WindowNode>& node);
121 WMError DestroyWindowSelf(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container);
122 …WMError DestroyWindowWithChild(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container);
123 void UpdateFocusWindowWithWindowRemoved(const sptr<WindowNode>& node,
124 const sptr<WindowNodeContainer>& container) const;
125 void UpdateActiveWindowWithWindowRemoved(const sptr<WindowNode>& node,
126 const sptr<WindowNodeContainer>& container) const;
127 …void UpdateBrightnessWithWindowRemoved(uint32_t windowId, const sptr<WindowNodeContainer>& contain…
129 bool CheckDisplayInfo(const sptr<DisplayInfo>& display);
131 void ProcessExpandDisplayCreate(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
133 std::map<DisplayId, Rect> GetAllDisplayRectsByDMS(sptr<DisplayInfo> displayInfo);
135 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap);
137 WMError PostProcessAddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode,
138 sptr<WindowNodeContainer>& container);
141 bool CheckAddingModeAndSize(sptr<WindowNode>& node, const sptr<WindowNodeContainer>& container);
142 WMError BindDialogToParent(sptr<WindowNode>& node, sptr<WindowNode>& parentNode);
145 std::map<uint32_t, sptr<WindowNode>> windowNodeMap_;
146 std::map<sptr<IRemoteObject>, uint32_t> windowIdMap_;
147 std::map<uint64_t, sptr<WindowNode>> surfaceIdWindowNodeMap_;
149 std::map<ScreenId, sptr<WindowNodeContainer>> windowNodeContainerMap_;
155 std::map<WindowManagerAgentType, std::vector<sptr<IWindowManagerAgent>>> windowManagerAgents_;
157sptr<AgentDeathRecipient> windowDeath_ = new AgentDeathRecipient(std::bind(&WindowRoot::OnRemoteDi…