Home
last modified time | relevance | path

Searched refs:outOfView (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.cpp455 int32_t ListItemGroupPattern::UpdateCachedIndexForward(bool outOfView, bool show, int32_t cacheCoun… in UpdateCachedIndexForward() argument
457 int32_t endIndex = (outOfView || itemPosition_.empty()) ? -1 : itemPosition_.rbegin()->first; in UpdateCachedIndexForward()
473 if (outOfView && forwardCachedIndex < forwardCachedIndex_) { in UpdateCachedIndexForward()
479 int32_t ListItemGroupPattern::UpdateCachedIndexBackward(bool outOfView, bool show, int32_t cacheCou… in UpdateCachedIndexBackward() argument
481 …int32_t startIndex = (outOfView || itemPosition_.empty()) ? itemTotalCount_ : itemPosition_.begin(… in UpdateCachedIndexBackward()
500 if (outOfView && backwardCachedIndex > backwardCachedIndex_) { in UpdateCachedIndexBackward()
544 bool outOfView, bool reCache, int32_t forwardCache, int32_t backwardCache) in UpdateCachedIndex() argument
560 if (outOfView) { in UpdateCachedIndex()
580 forwardCachedIndex_ = UpdateCachedIndexForward(outOfView, show, forwardCache); in UpdateCachedIndex()
582 … int32_t endIndex = (outOfView || itemPosition_.empty()) ? -1 : itemPosition_.rbegin()->first; in UpdateCachedIndex()
[all …]
H A Dlist_item_group_pattern.h294 …CachedIndexInfo UpdateCachedIndex(bool outOfView, bool reCache, int32_t forwardCache, int32_t back…
295 int32_t UpdateCachedIndexForward(bool outOfView, bool show, int32_t cacheCount);
296 int32_t UpdateCachedIndexBackward(bool outOfView, bool show, int32_t cacheCount);
H A Dlist_layout_algorithm.cpp1930 …ayoutWrapper>& wrapper, int32_t forwardCache, int32_t backwardCache, int32_t index, bool outOfView) in GetLayoutGroupCachedCount() argument
1939 if (outOfView && recycledItemPosition_.count(index) == 0) { in GetLayoutGroupCachedCount()
1941 } else if (outOfView) { in GetLayoutGroupCachedCount()
1954 res = group->UpdateCachedIndex(outOfView, reCache, forwardCache, backwardCache); in GetLayoutGroupCachedCount()
1955 if (group->GetTotalItemCount() == 0 && outOfView) { in GetLayoutGroupCachedCount()
H A Dlist_layout_algorithm.h464 int32_t forwardCache, int32_t backwardCache, int32_t index, bool outOfView);