Home
last modified time | relevance | path

Searched refs:overScrollFeature_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.h90 overScrollFeature_ = true; in SetOverScrollFeature()
379 bool overScrollFeature_ = false; variable
H A Dswiper_layout_algorithm.cpp547 …if ((!overScrollFeature_ && NonNegative(currentOffset_)) || (overScrollFeature_ && overScrollTop))… in MeasureSwiper()
708 …float endMainPos = overScrollFeature_ ? std::max(startPos + contentMainSize_, endMainPos_) : endMa… in LayoutForward()
745 if (overScrollFeature_ && canOverScroll_) { in LayoutForward()
840 …float startMainPos = overScrollFeature_ ? std::min(endPos - contentMainSize_, startMainPos_) : sta… in LayoutBackward()
882 if (overScrollFeature_) { in LayoutBackward()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.h117 overScrollFeature_ = true; in SetOverScrollFeature()
557 bool overScrollFeature_ = false; variable
H A Dlist_layout_algorithm.cpp858 if ((NonNegative(currentOffset_) || overScrollFeature_ || (canOverScroll_ && in MeasureList()
862 if (overScrollTop && !canOverScroll_ && !overScrollFeature_) { in MeasureList()
868 …if (overScrollFeature_ && !overScrollTop && GreatNotEqual(contentMainSize_, prevContentMainSize_) … in MeasureList()
1036 float endMainPos = (overScrollFeature_ && startIndex == 0) ? in LayoutForward()
1100 if (overScrollFeature_ && canOverScroll_) { in LayoutForward()
1123 float startMainPos = (overScrollFeature_ && endIndex == totalItemCount_ - 1) ? in LayoutBackward()
1155 if (overScrollFeature_ && !NearZero(prevContentMainSize_)) { in LayoutBackward()
1168 if (overScrollFeature_) { in LayoutBackward()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_layout_test_ng.cpp596 swiperLayoutAlgorithm->overScrollFeature_ = false;
598 swiperLayoutAlgorithm->overScrollFeature_ = true;
654 swiperLayoutAlgorithm->overScrollFeature_ = true;
948 swiperLayoutAlgorithm->overScrollFeature_ = true;
962 swiperLayoutAlgorithm->overScrollFeature_ = false;
1152 swiperLayoutAlgorithm->overScrollFeature_ = false;