Home
last modified time | relevance | path

Searched refs:nestedScroll (Results 1 – 25 of 51) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dnestable_scroll_container.cpp59 void NestableScrollContainer::SetNestedScroll(const NestedScrollOptions& nestedScroll, bool isFixed… in SetNestedScroll() argument
61 if (isFixedNestedScrollMode_ && !nestedScroll.NeedParent()) { in SetNestedScroll()
65 if (nestedScroll.NeedParent()) { in SetNestedScroll()
73 if (parent && !nestedScroll.NeedParent() && nestedScroll_.NeedParent()) { in SetNestedScroll()
76 nestedScroll_ = nestedScroll; in SetNestedScroll()
H A Dscrollable_pattern.cpp191 auto nestedScroll = GetNestedScroll(); in ToJsonValue() local
192 …nestedScrollOptions->Put("scrollForward", nestedScroll.GetNestedScrollModeStr(nestedScroll.forward… in ToJsonValue()
193 …nestedScrollOptions->Put("scrollBackward", nestedScroll.GetNestedScrollModeStr(nestedScroll.backwa… in ToJsonValue()
1058 if (nestedScroll) { in ScrollEndCallback()
1074 if (!nestedScroll) { in SetScrollBarProxy()
1085 if (nestedScroll) { in SetScrollBarProxy()
2145 auto nestedScroll = GetNestedScroll(); in HandleOutBoundary() local
2180 switch (nestedScroll) { in HandleSelfOutBoundary()
2213 auto nestedScroll = GetNestedScroll(); in HandleScroll() local
2299 auto nestedScroll = GetNestedScroll(); in HandleScrollableOverScroll() local
[all …]
H A Dnestable_scroll_container.h82 …void SetNestedScroll(const NestedScrollOptions& nestedScroll, bool isFixedNestedScrollMode = false…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp1151 auto nestedScroll = GetNestedScroll(); in HandleScroll() local
1159 if (parent && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) { in HandleScroll()
1162 } else if (parent && nestedScroll.forward == NestedScrollMode::SELF_FIRST) { in HandleScroll()
1180 if (parent && ((Negative(offset) && nestedScroll.forward == NestedScrollMode::SELF_FIRST) || in HandleScroll()
1200 auto nestedScroll = GetNestedScroll(); in OnScrollStartRecursive() local
1203 if (parent && nestedScroll.NeedParent() && in OnScrollStartRecursive()
1204 …(nestedScroll.forward != NestedScrollMode::PARALLEL || nestedScroll.backward != NestedScrollMode::… in OnScrollStartRecursive()
1212 auto nestedScroll = GetNestedScroll(); in HandleScrollVelocity() local
1214 if (parent && ((Negative(velocity) && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) || in HandleScrollVelocity()
1235 auto nestedScroll = GetNestedScroll(); in OnScrollEndRecursive() local
[all …]
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-nested-scrolling.md4 …estedscrollmode10)枚举类型,使得Web组件可以嵌套ArkUI可滚动容器,进行嵌套滚动。开发者可以在Web组件创建时,使用[nestedScroll](../reference/a…
6 nestedScroll入参为一个[NestedScrollOptions](../reference/apis-arkui/arkui-ts/ts-container-scrollable-com…
97 .nestedScroll({
119 .nestedScroll({
/ohos5.0/docs/en/application-dev/web/
H A Dweb-nested-scrolling.md4 …framework. You can specify the default nested scrolling mode through [nestedScroll](../reference/a…
6 **nestedScroll** is a [NestedScrollOptions](../reference/apis-arkui/arkui-ts/ts-container-scrollabl…
97 .nestedScroll({
119 .nestedScroll({
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/splitlayout/source/
H A Dsplitlayout.ets73 .nestedScroll({
122 .nestedScroll({
178 .nestedScroll({
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-sheet-page.md50 .nestedScroll({
79 .nestedScroll({
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_attr_test_ng.cpp866 auto nestedScroll = pattern_->GetNestedScroll(); variable
867 EXPECT_EQ(nestedScroll.forward, NestedScrollMode::SELF_ONLY);
868 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_ONLY);
891 auto nestedScroll = pattern_->GetNestedScroll(); variable
892 EXPECT_EQ(nestedScroll.forward, NestedScrollMode::SELF_FIRST);
893 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_FIRST);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/splitlayout/interfaces/
H A Dsplitlayout.js160 Scroll.nestedScroll({
244 Scroll.nestedScroll({
322 Scroll.nestedScroll({
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-arkui-layout.md69 可滚动类组件可以使用nestedScroll属性设置嵌套滚动。
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-scrollable-common.md76 ### nestedScroll<sup>11+</sup>
78 nestedScroll(value: NestedScrollOptions): T
H A Dts-basic-components-scrollbar.md219 .nestedScroll({
H A Dts-container-scroll.md150 ### nestedScroll<sup>10+</sup>
152 nestedScroll(value: NestedScrollOptions)
993 该示例使用nestedScroll属性实现了内层List组件和外层Scroll组件的嵌套滚动。
1027 .nestedScroll({
H A Dts-container-grid.md437 ### nestedScroll<sup>10+</sup>
439 nestedScroll(value: NestedScrollOptions)
1008 nestedScroll和onScrollFrameBegin的使用。
1110 .nestedScroll({
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-sheet-page.md50 .nestedScroll({
79 .nestedScroll({
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkWeb.ts298 nestedScroll(value: NestedScrollOptions): this {
H A DArkWaterFlow.ts335 nestedScroll(value: NestedScrollOptions): this {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp4928 const auto& nestedScroll = GetNestedScroll(); in NotifyParentScrollStart() local
4929 if (parent && nestedScroll.NeedParent()) { in NotifyParentScrollStart()
4963 const auto& nestedScroll = GetNestedScroll(); in NotifyParentScrollEnd() local
4964 if (parent && (nestedScroll.NeedParent() || GetIsNestedInterrupt())) { in NotifyParentScrollEnd()
5001 const auto nestedScroll = GetNestedScroll(); in HandleScrollVelocity() local
5002 if (parent && nestedScroll.NeedParent(NonPositive(velocity))) { in HandleScrollVelocity()
5047 auto nestedScroll = GetNestedScroll(); in HandleScroll() local
5048 if (!parent || !nestedScroll.NeedParent()) { in HandleScroll()
5057 if (parent && ((Negative(offset) && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) || in HandleScroll()
5873 auto nestedScroll = GetNestedScroll().forward; in ToJsonValue() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp5792 if (nestedScroll.scrollUp == nestedScroll.scrollLeft) { in SetNestedScrollExt()
5793 nestedOpt.backward = nestedScroll.scrollUp; in SetNestedScrollExt()
5795 if (nestedScroll.scrollDown == nestedScroll.scrollRight) { in SetNestedScrollExt()
5796 nestedOpt.forward = nestedScroll.scrollDown; in SetNestedScrollExt()
5804 nestedScroll_ = nestedScroll; in SetNestedScrollExt()
5908 auto nestedScroll = GetNestedScrollExt(); in CheckParentScroll() local
5911 (directValue > 0 && nestedScroll.scrollLeft == scrollMode && in CheckParentScroll()
5913 (directValue < 0 && nestedScroll.scrollDown == scrollMode && in CheckParentScroll()
5921 auto nestedScroll = GetNestedScrollExt(); in CheckOverParentScroll() local
5924 (directValue < 0 && nestedScroll.scrollLeft == scrollMode && in CheckOverParentScroll()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts299 nestedScroll(value: NestedScrollOptions): this;
906 nestedScroll(value: NestedScrollOptions): ScrollAttribute;
1530 nestedScroll(value: NestedScrollOptions): this;
1773 nestedScroll(value: NestedScrollOptions): this;
1846 nestedScroll(value: SwiperNestedScrollMode): this;
1896 nestedScroll(value: NestedScrollOptions): this;
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-scrollbar.md219 .nestedScroll({
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dreasonably-dispose-highly-loaded-component-render.md104 .nestedScroll({
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.31/
H A Dchangelogs-arkui.md262 .nestedScroll({
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets255 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE…
493 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE…
684 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE…
834 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE…

123