Home
last modified time | relevance | path

Searched refs:WindowNode (Results 1 – 25 of 65) sorted by relevance

123

/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp26 WindowNode::~WindowNode() in ~WindowNode()
198 void WindowNode::ComputeTransform() in ComputeTransform()
237 bool WindowNode::GetStretchable() const in GetStretchable()
277 Rect WindowNode::GetWindowRect() const in GetWindowRect()
282 bool WindowNode::GetDecoStatus() const in GetDecoStatus()
287 Rect WindowNode::GetRequestRect() const in GetRequestRect()
309 float WindowNode::GetBrightness() const in GetBrightness()
314 bool WindowNode::IsTurnScreenOn() const in IsTurnScreenOn()
319 bool WindowNode::IsKeepScreenOn() const in IsKeepScreenOn()
354 bool WindowNode::IsSplitMode() const in IsSplitMode()
[all …]
H A Dwindow_node_container.cpp136 …ror WindowNodeContainer::AddWindowNodeOnWindowTree(sptr<WindowNode>& node, const sptr<WindowNode>&… in AddWindowNodeOnWindowTree()
244 WMError WindowNodeContainer::AddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode, bo… in AddWindowNode()
902 wptr<WindowNode> weakNode(node); in RemoveNodeFromRSTree()
1247 sptr<WindowNode>& triggerWindow) const in GetExpectImmersiveProperty()
1588 sptr<WindowNode> node = *iter; in RaiseWindowToTop()
1784 WMError WindowNodeContainer::RaiseZOrderForAppWindow(sptr<WindowNode>& node, sptr<WindowNode>& pare… in RaiseZOrderForAppWindow()
1829 sptr<WindowNode> nextFocusableWindow; in GetNextFocusableWindow()
1832 sptr<WindowNode> node) { in GetNextFocusableWindow()
1848 sptr<WindowNode> nextRotatableWindow; in GetNextRotatableWindow()
1850 sptr<WindowNode> node) { in GetNextRotatableWindow()
[all …]
H A Dremote_animation.cpp214 …sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNo… in GetTransitionEvent()
250 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode) in GetTransitionFinishedCallback()
252 wptr<WindowNode> weak = dstNode; in GetTransitionFinishedCallback()
253 wptr<WindowNode> weakSrc = srcNode; in GetTransitionFinishedCallback()
288 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode, in NotifyAnimationStartApp()
345 const sptr<WindowNode>& dstNode) in NotifyAnimationTransition()
523 wptr<WindowNode> srcNodeWptr = srcNode; in NotifyAnimationBackTransition()
524 wptr<WindowNode> dstNodeWptr = dstNode; in NotifyAnimationBackTransition()
715 const sptr<WindowNode>& windowNode) in CreateWindowAnimationTarget()
910 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode, bool needMinimizeSrcNode) in CreateShowAnimationFinishedCallback()
[all …]
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_node_container.h42 …WMError AddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode, bool afterAnimation = …
64 sptr<WindowNode>& triggerWindow) const;
72 WMError RaiseZOrderForAppWindow(sptr<WindowNode>& node, sptr<WindowNode>& parentNode);
123 sptr<WindowNode> GetDeskTopWindow();
139 … void TraverseWindowNode(sptr<WindowNode>& root, std::vector<sptr<WindowNode>>& windowNodes) const;
149 void UpdateWindowTree(sptr<WindowNode>& node);
153 sptr<WindowNode> FindDividerNode() const;
168 WMError AddWindowNodeOnWindowTree(sptr<WindowNode>& node, const sptr<WindowNode>& parentNode);
213 sptr<WindowNode> belowAppWindowNode_ = new WindowNode();
214 sptr<WindowNode> appWindowNode_ = new WindowNode();
[all …]
H A Dremote_animation.h51 …sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNo…
54 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode);
60 const sptr<WindowNode>& dstNode, const TransitionEvent event);
87 const sptr<WindowNode>& windowNode);
89 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode,
92 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode, bool needMinimizeSrcNode);
94 const sptr<WindowNode>& srcNode, TransitionEvent event);
95 static void ProcessNodeStateTask(sptr<WindowNode>& node);
98 static void ExecuteFinalStateTask(sptr<WindowNode>& node);
100 std::vector<wptr<WindowNode>> needMinimizeAppNodes);
[all …]
H A Dwindow_pair.h116 void HandleRemoveWindow(sptr<WindowNode>& node);
124 sptr<WindowNode> Find(sptr<WindowNode>& node);
131 sptr<WindowNode> GetDividerWindow() const;
145 std::vector<sptr<WindowNode>> GetOrderedPair(sptr<WindowNode>& node);
152 std::vector<sptr<WindowNode>> GetPairedWindows();
243 sptr<WindowNode>& bottom, sptr<WindowNode>& mid, sptr<WindowNode>& top);
250 void Insert(sptr<WindowNode>& node);
289 void NotifyShowRecent(sptr<WindowNode> node);
307 sptr<WindowNode> primary_;
308 sptr<WindowNode> secondary_;
[all …]
H A Dwindow_layout_policy_cascade.h39 void GetMaximizeRect(const sptr<WindowNode>& node, Rect& maxRect) override;
48 void SetInitialDividerRect(const sptr<WindowNode>& node, DisplayId displayId);
50 void SetDefaultCascadeRect(const sptr<WindowNode>& node);
52 Rect GetCurCascadeRect(const sptr<WindowNode>& node) const;
55 void UpdateDividerPosition(const sptr<WindowNode>& node) const;
62 void LayoutDivider(const sptr<WindowNode>& node, WindowUpdateType type);
64 void UpdateLayoutRect(const sptr<WindowNode>& node) override;
65 void ComputeDecoratedRequestRect(const sptr<WindowNode>& node) const;
67 void ComputeRectByAspectRatio(const sptr<WindowNode>& node) const;
76 void UpdateFloatingWindowSizeForStretchableWindow(const sptr<WindowNode>& node,
[all …]
H A Dwindow_root.h44 sptr<WindowNode> GetWindowNode(uint32_t windowId) const;
49 sptr<WindowNode> FindWallpaperWindow();
50 WMError SaveWindow(const sptr<WindowNode>& node);
51 void AddDeathRecipient(sptr<WindowNode> node);
57 bool IsVerticalDisplay(sptr<WindowNode>& node) const;
83 WMError RaiseZOrderForAppWindow(sptr<WindowNode>& node);
97 sptr<WindowNode> GetWindowForDumpAceHelpInfo() const;
122 WMError DestroyWindowInner(sptr<WindowNode>& node);
139 WMError PostProcessAddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode,
144 WMError BindDialogToParent(sptr<WindowNode>& node, sptr<WindowNode>& parentNode);
[all …]
H A Davoid_area_controller.h45 void UpdateAvoidAreaListener(sptr<WindowNode>& windowNode, bool isRegisterListener);
47 const std::function<bool(sptr<WindowNode>)>& checkFunc);
52 void AddOrRemoveKeyboard(const sptr<WindowNode>& keyboardNode, bool isAdding);
53 void UpdateOverlayWindowIfNeed(const sptr<WindowNode>& node,
54 const std::function<bool(sptr<WindowNode>)>& checkFunc);
55 AvoidPosType CalculateOverlayRect(const sptr<WindowNode>& node,
56 const sptr<WindowNode>& overlayNode, Rect& overlayRect) const;
60 AvoidArea GetAvoidAreaSystemType(const sptr<WindowNode>& node) const;
61 AvoidArea GetAvoidAreaKeyboardType(const sptr<WindowNode>& node) const;
64 std::unordered_map<uint32_t, sptr<WindowNode>> overlayWindowMap_;
[all …]
H A Dwindow_layout_policy.h32 std::map<WindowRootNodeType, std::unique_ptr<std::vector<sptr<WindowNode>>>>>;
55 virtual bool IsTileRectSatisfiedWithSizeLimits(const sptr<WindowNode>& node);
64 virtual void GetMaximizeRect(const sptr<WindowNode>& node, Rect& maxRect);
70 virtual void UpdateLayoutRect(const sptr<WindowNode>& node) = 0;
72 void LayoutWindowNode(const sptr<WindowNode>& node);
73 void LayoutWindowNodesByRootType(const std::vector<sptr<WindowNode>>& nodeVec);
74 void FixWindowRectWithinDisplay(const sptr<WindowNode>& node) const;
80 void UpdateDisplayLimitRect(const sptr<WindowNode>& node, Rect& limitRect);
83 void UpdateWindowSizeLimits(const sptr<WindowNode>& node);
93 void LimitWindowToBottomRightCorner(const sptr<WindowNode>& node);
[all …]
H A Ddisplay_group_controller.h33 using SysBarNodeMap = std::unordered_map<WindowType, sptr<WindowNode>>;
45 void PreProcessWindowNode(const sptr<WindowNode>& node, WindowUpdateType type);
46 void PostProcessWindowNode(const sptr<WindowNode>& node);
64 void AddWindowNodeOnWindowTree(sptr<WindowNode>& node, WindowRootNodeType rootType);
69 void MoveCrossNodeToTargetDisplay(const sptr<WindowNode>& node, DisplayId targetDisplayId);
70 void MoveNotCrossNodeToDefaultDisplay(const sptr<WindowNode>& node, DisplayId displayId);
71 void UpdateWindowDisplayIdIfNeeded(const sptr<WindowNode>& node);
72 void UpdateWindowShowingDisplays(const sptr<WindowNode>& node);
73 void UpdateWindowDisplayId(const sptr<WindowNode>& node, DisplayId newDisplayId);
75 void ChangeToRectInDisplayGroup(const sptr<WindowNode>& node, DisplayId displayId);
[all …]
H A Dwindow_layout_policy_tile.h36 bool IsTileRectSatisfiedWithSizeLimits(const sptr<WindowNode>& node) override;
37 void PerformWindowLayout(const sptr<WindowNode>& node, WindowUpdateType type) override;
51 void RefreshTileQueue(DisplayId displayId, std::vector<sptr<WindowNode>>& needMinimizeNodes,
52 std::vector<sptr<WindowNode>>& needRecoverNodes);
53 void PushBackNodeInTileQueue(const sptr<WindowNode>& node, DisplayId displayId);
54 void RemoveNodeFromTileQueue(const sptr<WindowNode>& node);
60 void UpdateLayoutRect(const sptr<WindowNode>& node) override;
61 bool IsWindowAlreadyInTileQueue(const sptr<WindowNode>& node);
66 std::map<DisplayId, std::deque<sptr<WindowNode>>> foregroundNodesMap_;
H A Dstarting_window.h36 … static sptr<WindowNode> CreateWindowNode(const sptr<WindowTransitionInfo>& info, uint32_t winId);
37 static void HandleClientWindowCreate(sptr<WindowNode>& node, sptr<IWindow>& window,
40 …static WMError DrawStartingWindow(sptr<WindowNode>& node, std::shared_ptr<Media::PixelMap> pixelMa…
42 static void AddNodeOnRSTree(sptr<WindowNode>& node, bool isMultiDisplay);
43 static void ReleaseStartWinSurfaceNode(sptr<WindowNode>& node);
49 static WMError CreateLeashAndStartingSurfaceNode(sptr<WindowNode>& node);
50 static WMError SetStartingWindowAnimation(wptr<WindowNode> weak);
58 static void UpdateRSTree(sptr<WindowNode>& node, bool isMultiDisplay);
H A Dwindow_controller.h96 void UpdateWindowAnimation(const sptr<WindowNode>& node);
99 void StopBootAnimationIfNeed(const sptr<WindowNode>& node);
107 void ResizeSoftInputCallingWindowIfNeed(const sptr<WindowNode>& node);
109 void HandleTurnScreenOn(const sptr<WindowNode>& node);
112 void NotifyTouchOutside(const sptr<WindowNode>& node);
113 …uint32_t GetEmbedNodeId(const std::vector<sptr<WindowNode>>& windowNodes, const sptr<WindowNode>& …
114 void NotifyWindowPropertyChanged(const sptr<WindowNode>& node);
118 void NotifyAfterAddWindow(sptr<WindowNode>& node);
120 void RelayoutKeyboard(const sptr<WindowNode>& node);
122 void UpdatePrivateStateAndNotify(const sptr<WindowNode>& node);
[all …]
H A Ddisplay_zoom_controller.h36 void ClearZoomTransform(std::vector<sptr<WindowNode>> nodes);
46 void ClearZoomTransformInner(sptr<WindowNode> node);
49 Transform CalcuAnimateZoomTrans(sptr<WindowNode> node);
50 Transform CalcuZoomTransByZoomInfo(sptr<WindowNode> node);
51 Transform CalcuZoomTrans(sptr<WindowNode> node, const DisplayZoomInfo& zoomInfo);
52 void UpdateClientAndSurfaceZoomInfo(sptr<WindowNode> node, const Transform& zoomTrans);
53 void HandleUpdateWindowZoomInfo(sptr<WindowNode> node);
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dminimize_app_test.cpp74 sptr<WindowNode> node10 = new WindowNode();
113 sptr<WindowNode> node1 = new WindowNode();
130 sptr<WindowNode> node1 = new WindowNode();
145 sptr<WindowNode> node1 = new WindowNode();
164 sptr<WindowNode> node1 = new WindowNode();
180 sptr<WindowNode> node1 = new WindowNode();
181 sptr<WindowNode> node2 = new WindowNode();
199 sptr<WindowNode> node1 = new WindowNode();
200 sptr<WindowNode> node2 = new WindowNode();
216 sptr<WindowNode> node1 = new WindowNode();
[all …]
H A Dwindow_pair_test.cpp73 sptr<WindowNode> node0 = new WindowNode(property);
96 sptr<WindowNode> node0 = new WindowNode(property);
130 sptr<WindowNode> node1 = new WindowNode(property1);
132 sptr<WindowNode> node2 = new WindowNode(property2);
151 sptr<WindowNode> node1 = new WindowNode(property1);
153 sptr<WindowNode> node2 = new WindowNode(property2);
181 sptr<WindowNode> node1 = new WindowNode(property1);
196 sptr<WindowNode> node1 = new WindowNode(property1);
212 sptr<WindowNode> node1 = new WindowNode(property1);
1217 sptr<WindowNode> node1 = new WindowNode();
[all …]
H A Dwindow_node_container_test.cpp164 sptr<WindowNode> node1 = new WindowNode(property1, nullptr, nullptr);
168 sptr<WindowNode> node2 = new WindowNode(property2, nullptr, nullptr);
184 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
212 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
226 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
320 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
340 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
384 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
474 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
492 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
[all …]
H A Ddisplay_group_controller_test.cpp138 sptr<WindowNode> node1 = new WindowNode();
169 sptr<WindowNode> node1 = new WindowNode();
172 sptr<WindowNode> child = new WindowNode();
190 sptr<WindowNode> node1 = new WindowNode();
193 sptr<WindowNode> child = new WindowNode();
211 sptr<WindowNode> node1 = new WindowNode();
214 sptr<WindowNode> child = new WindowNode();
233 sptr<WindowNode> node1 = new WindowNode();
236 sptr<WindowNode> child = new WindowNode();
252 sptr<WindowNode> node1 = new WindowNode();
[all …]
H A Dwindow_root_test.cpp379 sptr<WindowNode> node = new WindowNode();
419 sptr<WindowNode> node = new WindowNode();
464 sptr<WindowNode> node = new WindowNode();
469 sptr<WindowNode> node1 = new WindowNode();
487 sptr<WindowNode> node = new WindowNode();
511 sptr<WindowNode> node = new WindowNode();
532 sptr<WindowNode> node = new WindowNode();
645 sptr<WindowNode> node = new WindowNode();
663 sptr<WindowNode> node = new WindowNode();
680 sptr<WindowNode> node = new WindowNode();
[all …]
H A Dwindow_node_test.cpp177 sptr<WindowNode> windowNode2 = new WindowNode(property);
241 WindowNode* windowNode = new WindowNode(property);
261 sptr<WindowNode> windowNode = new WindowNode(property);
288 sptr<WindowNode> windowNode = new WindowNode(property);
317 sptr<WindowNode> windowNode = new WindowNode(property);
345 sptr<WindowNode> windowNode = new WindowNode(property);
369 sptr<WindowNode> windowNode = new WindowNode(property);
397 sptr<WindowNode> windowNode = new WindowNode(property);
417 sptr<WindowNode> windowNode = new WindowNode(property);
443 sptr<WindowNode> windowNode = new WindowNode(property);
[all …]
H A Dwindow_controller_test.cpp260 sptr<WindowNode> windowNode = new WindowNode(property2);
264 sptr<WindowNode> windowNode2 = new WindowNode(property3);
316 sptr<WindowNode> node0 = new WindowNode();
320 sptr<WindowNode> node1 = new WindowNode();
322 sptr<WindowNode> node2= new WindowNode();
372 sptr<WindowNode> node = new WindowNode();
515 sptr<WindowNode> node1 = new WindowNode();
517 sptr<WindowNode> node2 = new WindowNode();
519 sptr<WindowNode> node3 = new WindowNode();
832 sptr<WindowNode> windowNode = new WindowNode(property);
[all …]
H A Dwindow_layout_policy_test.cpp141 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr); in CreateWindowNode()
170 sptr<WindowNode> node0 = new WindowNode(property, nullptr, nullptr);
178 sptr<WindowNode> node1 = new WindowNode(property, nullptr, nullptr);
185 sptr<WindowNode> node2 = new WindowNode(property, nullptr, nullptr);
202 sptr<WindowNode> node = CreateWindowNode(windowInfo_);
219 sptr<WindowNode> node = CreateWindowNode(windowInfo_);
236 sptr<WindowNode> node = CreateWindowNode(windowInfo_);
606 sptr<WindowNode> node = nullptr;
1342 sptr<WindowNode> node = new WindowNode(property, nullptr, nullptr);
1358 std::vector<sptr<WindowNode>> *nodeVec = new std::vector<sptr<WindowNode>>;
[all …]
H A Dremote_animation_test.cpp322 sptr<WindowNode> srcNode = new WindowNode(CreateWindowProperty(1)); // 1 is windowId
623 sptr<WindowNode> statusBar = new WindowNode(CreateWindowProperty(0));
674 sptr<WindowNode> srcNode = new WindowNode(CreateWindowProperty(2)); // 2 is windowId
700 sptr<WindowNode> srcNode = new WindowNode(CreateWindowProperty(2)); // 2 is windowId
770 sptr<WindowNode> srcNode = new WindowNode(CreateWindowProperty(2)); // 2 is windowId
777 sptr<WindowNode> dstNode = new WindowNode(CreateWindowProperty(3)); // 3 is windowId
808 sptr<WindowNode> srcNode = new WindowNode(CreateWindowProperty(2)); // 2 is windowId
1104 sptr<WindowNode> srcNode = new WindowNode();
1117 sptr<WindowNode> dstNode = new WindowNode();
1148 sptr<WindowNode> srcNode = new WindowNode();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_node.cpp28 std::map<int32_t, std::map<int32_t, WeakPtr<WindowNode>>> g_windowNodeMap;
31 WindowNode::WindowNode(const std::string& tag, in WindowNode() function in OHOS::Ace::NG::WindowNode
35 WindowNode::WindowNode(const std::string& tag, in WindowNode() function in OHOS::Ace::NG::WindowNode
43 WindowNode::~WindowNode() in ~WindowNode()
48 RefPtr<WindowNode> WindowNode::GetOrCreateWindowNode(const std::string& tag, in GetOrCreateWindowNode()
51 auto windowNode = ElementRegister::GetInstance()->GetSpecificItemById<WindowNode>(nodeId); in GetOrCreateWindowNode()
92 g_windowNodeMap[screenId][sessionId] = WeakPtr<WindowNode>(windowNode); in GetOrCreateWindowNode()
96 void WindowNode::SetParent(const WeakPtr<UINode>& parent) in SetParent()
128 std::vector<RectF> WindowNode::GetResponseRegionList(const RectF& rect, int32_t sourceType) in GetResponseRegionList()
142 std::vector<RectF> WindowNode::ConvertHotRects(const std::vector<Rosen::Rect>& hotAreas) in ConvertHotRects()
[all …]

123