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 D | scroll_bar_proxy.cpp | 101 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 D | scroll_bar_proxy.h | 30 std::function<bool(double, int32_t source, bool)> onPositionChanged; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/ |
H A D | scroll_bar_proxy.cpp | 75 for (const auto& [weakScrollableNode, onPositionChanged] : scrollableNodes_) { in NotifyScrollableNode() 76 if (!onPositionChanged) { in NotifyScrollableNode() 115 onPositionChanged(value, SCROLL_FROM_BAR); in NotifyScrollableNode()
|
H A D | scroll_bar_proxy.h | 26 std::function<bool(double, int32_t source)> onPositionChanged; member
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_test_ng.cpp | 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);
|