Home
last modified time | relevance | path

Searched refs:onPositionChanged (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/proxy/
H A Dscroll_bar_proxy.cpp101 CHECK_NULL_VOID(node.onPositionChanged); in NotifyScrollableNode()
108 node.onPositionChanged(value, source, IsNestScroller()); in NotifyScrollableNode()
117 CHECK_NULL_VOID(node.onPositionChanged); in NotifyScrollBarNode()
122 node.onPositionChanged(distance, source, IsNestScroller()); in NotifyScrollBarNode()
H A Dscroll_bar_proxy.h30 std::function<bool(double, int32_t source, bool)> onPositionChanged; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.cpp75 for (const auto& [weakScrollableNode, onPositionChanged] : scrollableNodes_) { in NotifyScrollableNode()
76 if (!onPositionChanged) { in NotifyScrollableNode()
115 onPositionChanged(value, SCROLL_FROM_BAR); in NotifyScrollableNode()
H A Dscroll_bar_proxy.h26 std::function<bool(double, int32_t source)> onPositionChanged; member
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_test_ng.cpp310 if (scrollableNode.onPositionChanged) {
311 bool ret = scrollableNode.onPositionChanged(0.0, SCROLL_FROM_BAR, false);
313 ret = scrollableNode.onPositionChanged(0.0, SCROLL_FROM_START, false);