Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.h420 void SetScrollSource(int32_t scrollSource) in SetScrollSource() argument
422 if (scrollSource == SCROLL_FROM_JUMP || scrollSource == SCROLL_FROM_FOCUS_JUMP) { in SetScrollSource()
430 if (scrollSource == SCROLL_FROM_NONE) { in SetScrollSource()
436 scrollSource_ = scrollSource; in SetScrollSource()
451 static ScrollState GetScrollState(int32_t scrollSource);
623 void AddScrollableFrameInfo(int32_t scrollSource);
H A Dscrollable_properties.h195 inline std::string GetSourceStr(int32_t scrollSource) in GetSourceStr() argument
197 switch (scrollSource) { in GetSourceStr()
H A Dscrollable_pattern.cpp1941 ScrollState ScrollablePattern::GetScrollState(int32_t scrollSource) in GetScrollState() argument
1944 …if (scrollSource == SCROLL_FROM_UPDATE || scrollSource == SCROLL_FROM_AXIS || scrollSource == SCRO… in GetScrollState()
1948 if (scrollSource == SCROLL_FROM_ANIMATION || scrollSource == SCROLL_FROM_ANIMATION_SPRING || in GetScrollState()
1949 scrollSource == SCROLL_FROM_ANIMATION_CONTROLLER || scrollSource == SCROLL_FROM_BAR_FLING) { in GetScrollState()
3184 void ScrollablePattern::AddScrollableFrameInfo(int32_t scrollSource) in AddScrollableFrameInfo() argument
3196 .scrollState_ = scrollSource, in AddScrollableFrameInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_scrollable_base.cpp40 ScrollSource scrollSource) { in JsOnWillScroll() argument
41 auto params = ConvertToJSValues(scrollOffset, scrollState, scrollSource); in JsOnWillScroll()
H A Djs_scroll.cpp222 ScrollSource scrollSource) { in OnWillScrollCallback() argument
223 auto params = ConvertToJSValues(xOffset, yOffset, scrollState, scrollSource); in OnWillScrollCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkScroll.ts367 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult> {
369 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult) {
474 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult): this {
H A DArkList.ts527 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult> {
529 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult) {
814 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult): this {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.h43 void SetScrollSource(int32_t scrollSource) in SetScrollSource() argument
45 scrollSource_ = scrollSource; in SetScrollSource()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-scrollable-common.md356 type OnWillScrollCallback = (scrollOffset: number, scrollState: ScrollState, scrollSource: ScrollSo…
370 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | 是 | 当前滑动操作的来源。 |
H A Dts-container-scroll.md440 …llback = (xOffset: number, yOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) …
453 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | 是 | 当前滚动操作的来源。 |
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-scrollable-common.md357 type OnWillScrollCallback = (scrollOffset: number, scrollState: ScrollState, scrollSource: ScrollSo…
371 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | Yes| Source of the current s…
H A Dts-container-scroll.md436 …llback = (xOffset: number, yOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) …
449 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | Yes| Source of the current s…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp472 auto scrollSource = GetScrollSource(); in FireOnReachEnd() local
473 if (scrollUpToEnd || (scrollDownToEnd && scrollSource != SCROLL_FROM_NONE)) { in FireOnReachEnd()
477 … scrollUpToEnd, scrollDownToEnd, scrollSource, static_cast<int32_t>(host->GetAccessibilityId())); in FireOnReachEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_list_bridge.cpp1339 const ScrollState& scrollState, ScrollSource scrollSource) { in SetOnListWillScroll() argument
1347 …ocal<panda::NumberRef> sourceParam = panda::NumberRef::New(vm, static_cast<int32_t>(scrollSource)); in SetOnListWillScroll()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts1791 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult): this;