Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp2921 …auto firstItemLength = firstItemInfoInVisibleArea.second.endPos - firstItemInfoInVisibleArea.secon… in ComputeNextIndexByVelocity() local
2922 if (LessOrEqual(firstItemLength, 0)) { in ComputeNextIndexByVelocity()
2934 …direction ? dragDistance > firstItemLength / 2 : firstItemInfoInVisibleArea.second.endPos < firstI… in ComputeNextIndexByVelocity()
4261 …auto firstItemLength = firstItemInfoInVisibleArea.second.endPos - firstItemInfoInVisibleArea.secon… in TriggerAnimationEndOnSwipeToLeft() local
4263 if (std::abs(firstIndexStartPos) < (firstItemLength / 2)) { in TriggerAnimationEndOnSwipeToLeft()
4276 …auto firstItemLength = firstItemInfoInVisibleArea.second.endPos - firstItemInfoInVisibleArea.secon… in TriggerAnimationEndOnSwipeToRight() local
4279 if (std::abs(secondIndexStartPos) < (firstItemLength / 2)) { in TriggerAnimationEndOnSwipeToRight()