Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp185 int32_t rankIndex = GetStartingItem(index); in CheckJumpToIndex() local
186 if (((index - rankIndex) * estimateAverageHeight_) > (colSize_* JUMP_INDEX_THRESHOLD)) { in CheckJumpToIndex()
190 ScrollToIndex(rankIndex); in CheckJumpToIndex()
191 currentOffset_ = remainOffset + (index - rankIndex) * estimateAverageHeight_; in CheckJumpToIndex()