Searched refs:backwardCache (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_pattern.cpp | 506 …, int32_t> ListItemGroupPattern::UpdateCachedIndexOmni(int32_t forwardCache, int32_t backwardCache) in UpdateCachedIndexOmni() argument 511 int32_t startLimit = std::max(startIndex - backwardCache * lanes_, 0); 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() 585 } else if (backwardCache > -1) { in UpdateCachedIndex() 587 backwardCachedIndex_ = UpdateCachedIndexBackward(outOfView, show, backwardCache); in UpdateCachedIndex()
|
H A D | list_item_group_pattern.h | 294 …xInfo UpdateCachedIndex(bool outOfView, bool reCache, int32_t forwardCache, int32_t backwardCache); 297 std::pair<int32_t, int32_t> UpdateCachedIndexOmni(int32_t forwardCache, int32_t backwardCache);
|
H A D | list_layout_algorithm.cpp | 1930 …const RefPtr<LayoutWrapper>& wrapper, int32_t forwardCache, int32_t backwardCache, int32_t index, … in GetLayoutGroupCachedCount() argument 1947 bool backward = backwardCache > -1; in GetLayoutGroupCachedCount() 1952 backwardCache = backward ? backwardCache : -1; in GetLayoutGroupCachedCount() 1954 res = group->UpdateCachedIndex(outOfView, reCache, forwardCache, backwardCache); in GetLayoutGroupCachedCount()
|
H A D | list_layout_algorithm.h | 464 int32_t forwardCache, int32_t backwardCache, int32_t index, bool outOfView);
|