/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_pattern.h | 420 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 D | scrollable_properties.h | 195 inline std::string GetSourceStr(int32_t scrollSource) in GetSourceStr() argument 197 switch (scrollSource) { in GetSourceStr()
|
H A D | scrollable_pattern.cpp | 1941 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 D | js_scrollable_base.cpp | 40 ScrollSource scrollSource) { in JsOnWillScroll() argument 41 auto params = ConvertToJSValues(scrollOffset, scrollState, scrollSource); in JsOnWillScroll()
|
H A D | js_scroll.cpp | 222 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 D | ArkScroll.ts | 367 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult> { 369 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult) { 474 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult): this {
|
H A D | ArkList.ts | 527 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 D | grid_scroll_layout_algorithm.h | 43 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 D | ts-container-scrollable-common.md | 356 type OnWillScrollCallback = (scrollOffset: number, scrollState: ScrollState, scrollSource: ScrollSo… 370 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | 是 | 当前滑动操作的来源。 |
|
H A D | ts-container-scroll.md | 440 …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 D | ts-container-scrollable-common.md | 357 type OnWillScrollCallback = (scrollOffset: number, scrollState: ScrollState, scrollSource: ScrollSo… 371 | scrollSource | [ScrollSource](ts-appendix-enums.md#scrollsource12) | Yes| Source of the current s…
|
H A D | ts-container-scroll.md | 436 …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 D | list_pattern.cpp | 472 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 D | arkts_native_list_bridge.cpp | 1339 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 D | arkComponent.d.ts | 1791 scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult): this;
|