Searched refs:lastPosition (Results 1 – 6 of 6) sorted by relevance
72 final int lastPosition = mListView.getCount() - 1; in testPanDownAcrossUnselectableChildrenToBottom() local74 …for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++… in testPanDownAcrossUnselectableChildrenToBottom()78 + "after " + maxDowns + " downs", lastPosition, mListView.getLastVisiblePosition()); in testPanDownAcrossUnselectableChildrenToBottom()
465 private View fillFromBottom(int lastPosition, int nextBottom) { in fillFromBottom() argument466 lastPosition = Math.max(lastPosition, mSelectedPosition); in fillFromBottom()467 lastPosition = Math.min(lastPosition, mItemCount - 1); in fillFromBottom()469 final int invertedPosition = mItemCount - 1 - lastPosition; in fillFromBottom()470 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom()472 return fillUp(lastPosition, nextBottom); in fillFromBottom()635 final int lastPosition = mFirstPosition + childCount - 1; in correctTooHigh() local636 if (lastPosition == mItemCount - 1 && childCount > 0) { in correctTooHigh()693 final int lastPosition = mFirstPosition + childCount - 1; in correctTooLow() local697 if (topOffset > 0 && (lastPosition < mItemCount - 1 || lastBottom > end)) { in correctTooLow()[all …]
1540 int lastPosition = mFirstPosition + childCount - 1; in correctTooHigh() local1541 if (lastPosition == mItemCount - 1 && childCount > 0) { in correctTooHigh()1609 int lastPosition = mFirstPosition + childCount - 1; in correctTooLow() local1614 if (lastPosition < mItemCount - 1 || lastBottom > end) { in correctTooLow()1615 if (lastPosition == mItemCount - 1) { in correctTooLow()1621 if (lastPosition < mItemCount - 1) { in correctTooLow()1624 fillDown(lastPosition + 1, lastChild.getBottom() + mDividerHeight); in correctTooLow()1628 } else if (lastPosition == mItemCount - 1) { in correctTooLow()
5212 final int lastPosition = firstPosition + childCount;5213 return lastPosition < mItemCount || lastBottom > getHeight() - listPadding.bottom;
139 int lastPosition = mPosition; in setLocation() local141 lastPosition = mQueuedPositions.get(mQueuedPositions.size() - 1); in setLocation()143 if (position == lastPosition) return; in setLocation()
901 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically() local905 if (lastPosition >= itemCount) { in canTargetScrollVertically()