Home
last modified time | relevance | path

Searched refs:scrollableNode (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/proxy/
H A Dscroll_bar_proxy.cpp55 void ScrollBarProxy::RegisterScrollableNode(const ScrollableNodeInfo& scrollableNode) in RegisterScrollableNode() argument
57 scorllableNode_ = scrollableNode; in RegisterScrollableNode()
60 void ScrollBarProxy::RegisterNestScrollableNode(const ScrollableNodeInfo& scrollableNode) in RegisterNestScrollableNode() argument
62 if (std::find(nestScrollableNodes_.begin(), nestScrollableNodes_.end(), scrollableNode) != in RegisterNestScrollableNode()
66 nestScrollableNodes_.emplace_back(scrollableNode); in RegisterNestScrollableNode()
80 …[&scrollableNode](const ScrollableNodeInfo& info) { return scrollableNode == info.scrollableNode; … in UnRegisterNestScrollableNode()
102 auto scrollable = node.scrollableNode.Upgrade(); in NotifyScrollableNode()
118 auto scrollable = node.scrollableNode.Upgrade(); in NotifyScrollBarNode()
150 auto scrollable = scorllableNode_.scrollableNode.Upgrade(); in NotifyScrollBar()
158 auto pattern = info.scrollableNode.Upgrade(); in NotifyScrollBar()
[all …]
H A Dscroll_bar_proxy.h29 WeakPtr<ScrollablePattern> scrollableNode; member
40 return scrollableNode == info.scrollableNode;
53 void RegisterScrollableNode(const ScrollableNodeInfo& scrollableNode);
111 void RegisterNestScrollableNode(const ScrollableNodeInfo& scrollableNode);
113 void UnRegisterNestScrollableNode(const WeakPtr<ScrollablePattern>& scrollableNode);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.h25 WeakPtr<RenderNode> scrollableNode; member
30 return scrollableNode == info.scrollableNode;
43 void RegisterScrollableNode(const ScrollableNodeInfo& scrollableNode);
47 void UnRegisterScrollableNode(const WeakPtr<RenderNode>& scrollableNode);
H A Dscroll_bar_proxy.cpp26 void ScrollBarProxy::RegisterScrollableNode(const ScrollableNodeInfo& scrollableNode) in RegisterScrollableNode() argument
28 …if (std::find(scrollableNodes_.begin(), scrollableNodes_.end(), scrollableNode) != scrollableNodes… in RegisterScrollableNode()
32 scrollableNodes_.emplace_back(scrollableNode); in RegisterScrollableNode()
44 void ScrollBarProxy::UnRegisterScrollableNode(const WeakPtr<RenderNode>& scrollableNode) in UnRegisterScrollableNode() argument
47 …[&scrollableNode](const ScrollableNodeInfo& info) { return scrollableNode == info.scrollableNode; … in UnRegisterScrollableNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_manager.cpp173 auto scrollableNode = FindScrollableOfFocusedTextField(frameNode); in GetOnFocusTextFieldInfo() local
174 CHECK_NULL_VOID(scrollableNode); in GetOnFocusTextFieldInfo()
175 auto scrollPattern = scrollableNode->GetPattern<ScrollablePattern>(); in GetOnFocusTextFieldInfo()
192 auto scrollableNode = FindScrollableOfFocusedTextField(frameNode); in ScrollToSafeAreaHelper() local
193 CHECK_NULL_RETURN(scrollableNode, false); in ScrollToSafeAreaHelper()
194 auto scrollPattern = scrollableNode->GetPattern<ScrollablePattern>(); in ScrollToSafeAreaHelper()
198 auto scrollableRect = scrollableNode->GetTransformRectRelativeToWindow(); in ScrollToSafeAreaHelper()
270 auto scrollableNode = FindScrollableOfFocusedTextField(node); in UpdateScrollableParentViewPort() local
271 CHECK_NULL_VOID(scrollableNode); in UpdateScrollableParentViewPort()
272 auto scrollPattern = scrollableNode->GetPattern<ScrollablePattern>(); in UpdateScrollableParentViewPort()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Drefresh_coordination.cpp23 auto scrollableNode = scrollableNode_.Upgrade(); in FindRefreshNode() local
24 CHECK_NULL_RETURN(scrollableNode, nullptr); in FindRefreshNode()
25 auto parent = scrollableNode->GetParent(); in FindRefreshNode()
H A Drefresh_coordination.h28 RefreshCoordination(RefPtr<FrameNode> scrollableNode) in RefreshCoordination() argument
30 scrollableNode_ = WeakClaim(RawPtr(scrollableNode)); in RefreshCoordination()
H A Dscrollable_pattern.cpp3606 auto pattern = parentNodeInfo.scrollableNode.Upgrade(); in UnsetParentNestedScroll()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_model_ng.cpp102 auto pattern = info.scrollableNode.Upgrade(); in SetEnableNestedScroll()
124 auto pattern = info.scrollableNode.Upgrade(); in SetEnableNestedScroll()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp733 auto scrollableNode = AceType::DynamicCast<FrameNode>(childNode); in UpdateScrollTransition() local
734 CHECK_NULL_VOID(scrollableNode); in UpdateScrollTransition()
735 auto scrollableRenderContext = scrollableNode->GetRenderContext(); in UpdateScrollTransition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dbase_text_select_overlay.h287 void RegisterScrollingListener(const RefPtr<FrameNode> scrollableNode);
H A Dbase_text_select_overlay.cpp977 void BaseTextSelectOverlay::RegisterScrollingListener(const RefPtr<FrameNode> scrollableNode) in RegisterScrollingListener() argument
982 auto scrollingNode = scrollableNode; in RegisterScrollingListener()
997 …crollCallback = [weak = WeakClaim(this), scrollNode = WeakClaim(AceType::RawPtr(scrollableNode))] { in RegisterScrollingListener()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_test_ng.cpp309 auto scrollableNode = scrollBarProxy->scorllableNode_; variable
310 if (scrollableNode.onPositionChanged) {
311 bool ret = scrollableNode.onPositionChanged(0.0, SCROLL_FROM_BAR, false);
313 ret = scrollableNode.onPositionChanged(0.0, SCROLL_FROM_START, false);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_fling_test_ng.cpp881 auto scrollableNode = AceType::MakeRefPtr<FrameNode>("tag", 0, pattern); variable
882 scrollPn->refreshCoordination_ = AceType::MakeRefPtr<RefreshCoordination>(scrollableNode);
H A Dscrollable_test_ng.cpp1758 auto scrollableNode = AceType::MakeRefPtr<FrameNode>("tag", 0, pattern); variable
1759 scrollPn->refreshCoordination_ = AceType::MakeRefPtr<RefreshCoordination>(scrollableNode);