Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.h238 realTotalCount_ = realTotalCount; in SetRealTotalCount()
293 cachedCount_ = cachedCount > realTotalCount_ ? realTotalCount_ : cachedCount; in SetCachedCount()
399 int32_t realTotalCount_ = 0; variable
H A Dswiper_layout_algorithm.cpp185 … SwiperUtils::CheckAutoFillDisplayCount(swiperLayoutProperty, mainSize.value(), realTotalCount_); in Measure()
247 startIndex = startIndex < realTotalCount_ ? startIndex : 0; in Measure()
248 endIndex = std::min(endIndex, realTotalCount_ - 1); in Measure()
257 …t endIndex = std::min(GetLoopIndex(itemPositionInAnimation_.rbegin()->first), realTotalCount_ - 1); in Measure()
258 while (startIndex + 1 < realTotalCount_ && in Measure()
285 …isLoop_ ? static_cast<int32_t>(std::ceil(static_cast<float>(realTotalCount_ - measuredItemCount) /… in Measure()
286 : realTotalCount_; in Measure()
576 if (swipeByGroup_ && measureIndex >= realTotalCount_) { in LayoutForwardItem()
621 if (swipeByGroup_ && measureIndex >= realTotalCount_) { in LayoutBackwardItem()
990 if (swipeByGroup_ && layoutIndex >= realTotalCount_) { in LayoutItem()
[all …]