Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp38 constexpr double JUMP_INDEX_THRESHOLD = 2.0; variable
186 if (((index - rankIndex) * estimateAverageHeight_) > (colSize_* JUMP_INDEX_THRESHOLD)) { in CheckJumpToIndex()
228 if (source == SCROLL_FROM_BAR && std::abs(offset) > colSize_ * JUMP_INDEX_THRESHOLD) { in UpdateScrollPosition()