Searched refs:untilIndex (Results 1 – 1 of 1) sorted by relevance
134 private int getItemsHeight(Adapter adapter, int untilIndex) { in getItemsHeight() argument140 if (untilIndex > totalItems) { in getItemsHeight()141 untilIndex = totalItems; in getItemsHeight()142 } else if (untilIndex < 0) { in getItemsHeight()143 untilIndex = 0; in getItemsHeight()145 if (untilIndex <= mLastValidHeightIndex) { in getItemsHeight()146 return mTotalHeightCache[untilIndex]; in getItemsHeight()150 for (int i = mLastValidHeightIndex; i < untilIndex; i++) { in getItemsHeight()154 mLastValidHeightIndex = untilIndex; in getItemsHeight()