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()
76 int lastPosition = mPosition; in setLocation() local78 lastPosition = mQueuedPositions.get(mQueuedPositions.size() - 1); in setLocation()80 if (position == lastPosition) return; in setLocation()
464 private View fillFromBottom(int lastPosition, int nextBottom) { in fillFromBottom() argument465 lastPosition = Math.max(lastPosition, mSelectedPosition); in fillFromBottom()466 lastPosition = Math.min(lastPosition, mItemCount - 1); in fillFromBottom()468 final int invertedPosition = mItemCount - 1 - lastPosition; in fillFromBottom()469 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom()471 return fillUp(lastPosition, nextBottom); in fillFromBottom()634 final int lastPosition = mFirstPosition + childCount - 1; in correctTooHigh() local635 if (lastPosition == mItemCount - 1 && childCount > 0) { in correctTooHigh()692 final int lastPosition = mFirstPosition + childCount - 1; in correctTooLow() local696 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()
5153 final int lastPosition = firstPosition + childCount;5154 return lastPosition < mItemCount || lastBottom > getHeight() - listPadding.bottom;
901 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically() local905 if (lastPosition >= itemCount) { in canTargetScrollVertically()