Searched refs:cachedIndex (Results 1 – 1 of 1) sorted by relevance
202 int cachedIndex = getLastIndex(); in calculateOffsetAfterLastItem() local204 while (cachedIndex >= mFirstIndex) { in calculateOffsetAfterLastItem()205 Location loc = getLocation(cachedIndex); in calculateOffsetAfterLastItem()210 cachedIndex--; in calculateOffsetAfterLastItem()213 cachedIndex = getLastIndex(); in calculateOffsetAfterLastItem()218 int offset = isReversedFlow() ? -getLocation(cachedIndex).size - mSpacing: in calculateOffsetAfterLastItem()219 getLocation(cachedIndex).size + mSpacing; in calculateOffsetAfterLastItem()220 for (int i = cachedIndex + 1; i <= getLastIndex(); i++) { in calculateOffsetAfterLastItem()