Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_info_base.cpp79 int32_t newCachedCount = static_cast<int32_t>(ceil(pageCount * itemCount)); in UpdateDefaultCachedCount() local
80 if (newCachedCount > MAX_DEFAULT_CACHED_COUNT) { in UpdateDefaultCachedCount()
84 defCachedCount_ = std::max(newCachedCount, defCachedCount_); in UpdateDefaultCachedCount()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp993 int32_t newCachedCount = static_cast<int32_t>(ceil(pageCount * itemCount)); in UpdateDefaultCachedCount() local
994 if (newCachedCount > MAX_DEFAULT_CACHED_COUNT) { in UpdateDefaultCachedCount()
998 defCachedCount_ = std::max(newCachedCount, defCachedCount_); in UpdateDefaultCachedCount()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp2458 int32_t newCachedCount = static_cast<int32_t>(ceil(pageCount * itemCount)); in UpdateDefaultCachedCount() local
2459 if (newCachedCount > MAX_DEFAULT_CACHED_COUNT) { in UpdateDefaultCachedCount()
2463 return std::max(newCachedCount, oldCacheCount); in UpdateDefaultCachedCount()