/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/proxy/ |
H A D | scroll_bar_proxy.cpp | 55 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 D | scroll_bar_proxy.h | 29 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 D | scroll_bar_proxy.h | 25 WeakPtr<RenderNode> scrollableNode; member 30 return scrollableNode == info.scrollableNode; 43 void RegisterScrollableNode(const ScrollableNodeInfo& scrollableNode); 47 void UnRegisterScrollableNode(const WeakPtr<RenderNode>& scrollableNode);
|
H A D | scroll_bar_proxy.cpp | 26 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 D | text_field_manager.cpp | 173 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 D | refresh_coordination.cpp | 23 auto scrollableNode = scrollableNode_.Upgrade(); in FindRefreshNode() local 24 CHECK_NULL_RETURN(scrollableNode, nullptr); in FindRefreshNode() 25 auto parent = scrollableNode->GetParent(); in FindRefreshNode()
|
H A D | refresh_coordination.h | 28 RefreshCoordination(RefPtr<FrameNode> scrollableNode) in RefreshCoordination() argument 30 scrollableNode_ = WeakClaim(RawPtr(scrollableNode)); in RefreshCoordination()
|
H A D | scrollable_pattern.cpp | 3606 auto pattern = parentNodeInfo.scrollableNode.Upgrade(); in UnsetParentNestedScroll()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_model_ng.cpp | 102 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 D | refresh_pattern.cpp | 733 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 D | base_text_select_overlay.h | 287 void RegisterScrollingListener(const RefPtr<FrameNode> scrollableNode);
|
H A D | base_text_select_overlay.cpp | 977 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 D | scroll_test_ng.cpp | 309 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 D | scrollable_fling_test_ng.cpp | 881 auto scrollableNode = AceType::MakeRefPtr<FrameNode>("tag", 0, pattern); variable 882 scrollPn->refreshCoordination_ = AceType::MakeRefPtr<RefreshCoordination>(scrollableNode);
|
H A D | scrollable_test_ng.cpp | 1758 auto scrollableNode = AceType::MakeRefPtr<FrameNode>("tag", 0, pattern); variable 1759 scrollPn->refreshCoordination_ = AceType::MakeRefPtr<RefreshCoordination>(scrollableNode);
|