/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_event_test_ng.cpp | 648 auto res = swiperPattern->HandleScroll(5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 664 res = swiperPattern->HandleScroll(5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f); 680 auto res = pattern_->HandleScroll(5.0f, SCROLL_FROM_ANIMATION, NestedState::CHILD_SCROLL); 686 res = pattern_->HandleScroll(5.0f, SCROLL_FROM_ANIMATION, NestedState::CHILD_SCROLL); 702 auto res = pattern_->HandleScroll(5.0f, SCROLL_FROM_AXIS, NestedState::CHILD_SCROLL); 706 res = pattern_->HandleScroll(-5.0f, SCROLL_FROM_AXIS, NestedState::CHILD_SCROLL); 724 pattern_->HandleScroll(5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 725 pattern_->HandleScroll(-5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 726 pattern_->HandleScroll(-2.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 769 pattern_->HandleScroll(5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/refresh/ |
H A D | refresh_event_test_ng.cpp | 1085 auto res = pattern_->HandleScroll(-5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f); 1095 res = pattern_->HandleScroll(5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f); 1119 EXPECT_CALL(*mockScroll, HandleScroll(-5.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f)) 1122 auto res = pattern_->HandleScroll(-5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f); 1132 EXPECT_CALL(*mockScroll, HandleScroll(-5.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f)) 1135 res = pattern_->HandleScroll(-5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f); 1162 EXPECT_CALL(*mockScroll, HandleScroll(0.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f)) 1165 auto res = pattern_->HandleScroll(-5.0f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL, 0.f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scrollable.cpp | 396 auto result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL); in HandleScrollParentFirst() 412 if (state == NestedState::CHILD_SCROLL) { in HandleScrollParentFirst() 451 … auto result = parent->HandleScroll(overOffset + remainOffset, source, NestedState::CHILD_SCROLL); in HandleScrollSelfFirst() 456 if (state == NestedState::CHILD_SCROLL) { in HandleScrollSelfFirst() 481 if (state == NestedState::CHILD_SCROLL) { in HandleScrollSelfOnly() 512 auto result = parent->HandleScroll(parentOffset, source, NestedState::CHILD_SCROLL); in HandleScrollParallel() 517 if (state == NestedState::CHILD_SCROLL) { in HandleScrollParallel()
|
H A D | scrollable.h | 39 CHILD_SCROLL, enumerator
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.cpp | 1157 if (state == NestedState::CHILD_SCROLL) { in HandleScroll() 1160 result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, velocity); in HandleScroll() 1164 … result = parent->HandleScroll(result.remain, source, NestedState::CHILD_SCROLL, velocity); in HandleScroll() 1175 result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, velocity); in HandleScroll()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_pattern.cpp | 1990 auto result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, GetVelocity()); in HandleScrollParentFirst() 2006 if (state == NestedState::CHILD_SCROLL) { in HandleScrollParentFirst() 2049 …auto result = parent->HandleScroll(overOffset + remainOffset, source, NestedState::CHILD_SCROLL, G… in HandleScrollSelfFirst() 2054 if (state == NestedState::CHILD_SCROLL) { in HandleScrollSelfFirst() 2080 if (state == NestedState::CHILD_SCROLL) { in HandleScrollSelfOnly() 2110 …auto result = parent->HandleScroll(parentOffset, source, NestedState::CHILD_SCROLL, GetVelocity()); in HandleScrollParallel() 2115 if (state == NestedState::CHILD_SCROLL) { in HandleScrollParallel() 2152 isAtTopOrBottom ? NestedState::CHILD_OVER_SCROLL : NestedState::CHILD_SCROLL, in HandleOutBoundary() 2183 …result = parent->HandleScroll(oppositeOverOffset, source, NestedState::CHILD_SCROLL, GetVelocity()… in HandleSelfOutBoundary() 2190 … result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, GetVelocity()); in HandleSelfOutBoundary() [all …]
|
H A D | scrollable.h | 37 CHILD_SCROLL, enumerator
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/ |
H A D | scrollable_test_ng.cpp | 79 auto result = scrollPn->HandleScroll(20.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 176 auto result = scrollPn->HandleScroll(20.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 384 auto result = scrollPn->HandleScroll(20.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); 535 auto result = scrollPn->HandleScroll(20.f, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | sheet_coverage_test_ng.cpp | 555 NestedState state = NestedState::CHILD_SCROLL; 559 EXPECT_EQ(state, NestedState::CHILD_SCROLL); 585 EXPECT_NE(state, NestedState::CHILD_SCROLL);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 5072 auto result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, velocity); in HandleScrollParentFirst() 5100 auto res = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, velocity); in HandleScrollSelfFirst() 5136 return state == NestedState::CHILD_SCROLL // child hasn't reach edge in ChildFirst()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 5593 parent->HandleScroll(tweak, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); in HandleScrollVelocity() 5671 … result = HandleScroll(parent.Upgrade(), -velocity, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); in OnOverScrollFlingVelocityHandler() 5888 …uto result = HandleScroll(parent.Upgrade(), offset, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); in FilterScrollEventHandleOffset() 5896 HandleScroll(parent.Upgrade(), offset, SCROLL_FROM_UPDATE, NestedState::CHILD_SCROLL); in FilterScrollEventHandleOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_presentation_pattern.cpp | 2423 if (state == NestedState::CHILD_SCROLL) { in GetSheetTypeWithAuto()
|