Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_group_pattern.cpp506 std::pair<int32_t, int32_t> ListItemGroupPattern::UpdateCachedIndexOmni(int32_t forwardCache, int32… in UpdateCachedIndexOmni() argument
517 int32_t endLimit = std::min(endIndex + forwardCache * lanes_, itemTotalCount_ - 1); in UpdateCachedIndexOmni()
544 bool outOfView, bool reCache, int32_t forwardCache, int32_t backwardCache) in UpdateCachedIndex() argument
569 if (forwardCache > -1 && backwardCache > -1 && !itemPosition_.empty()) { in UpdateCachedIndex()
570 auto cached = UpdateCachedIndexOmni(forwardCache, backwardCache); in UpdateCachedIndex()
579 } else if (forwardCache > -1) { in UpdateCachedIndex()
580 forwardCachedIndex_ = UpdateCachedIndexForward(outOfView, show, forwardCache); in UpdateCachedIndex()
H A Dlist_item_group_pattern.h294 …CachedIndexInfo UpdateCachedIndex(bool outOfView, bool reCache, int32_t forwardCache, int32_t back…
297 std::pair<int32_t, int32_t> UpdateCachedIndexOmni(int32_t forwardCache, int32_t backwardCache);
H A Dlist_layout_algorithm.cpp1930 …const RefPtr<LayoutWrapper>& wrapper, int32_t forwardCache, int32_t backwardCache, int32_t index, … in GetLayoutGroupCachedCount() argument
1946 bool forward = forwardCache > -1; in GetLayoutGroupCachedCount()
1951 forwardCache = forward ? forwardCache : -1; in GetLayoutGroupCachedCount()
1954 res = group->UpdateCachedIndex(outOfView, reCache, forwardCache, backwardCache); in GetLayoutGroupCachedCount()
H A Dlist_layout_algorithm.h464 int32_t forwardCache, int32_t backwardCache, int32_t index, bool outOfView);