Lines Matching refs:WindowNode
45 void UpdateAvoidAreaListener(sptr<WindowNode>& windowNode, bool isRegisterListener);
46 void ProcessWindowChange(const sptr<WindowNode>& windowNode, AvoidControlType avoidType,
47 const std::function<bool(sptr<WindowNode>)>& checkFunc);
48 AvoidArea GetAvoidAreaByType(const sptr<WindowNode>& node, AvoidAreaType avoidAreaType) const;
51 void AddOrRemoveOverlayWindowIfNeed(const sptr<WindowNode>& overlayNode, bool isAdding);
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;
59 bool UpdateAvoidAreaIfNeed(const AvoidArea& avoidArea, const sptr<WindowNode>& node, AvoidAreaType avoidAreaType);
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_;
65 std::set<sptr<WindowNode>> avoidAreaListenerNodes_;