Searched refs:lastPosition (Results 1 – 8 of 8) sorted by relevance
70 final int lastPosition = mListView.getCount() - 1; in testPanDownAcrossUnselectableChildrenToBottom() local72 …for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++… in testPanDownAcrossUnselectableChildrenToBottom()76 + "after " + maxDowns + " downs", lastPosition, mListView.getLastVisiblePosition()); in testPanDownAcrossUnselectableChildrenToBottom()
68 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically() local72 if (lastPosition >= itemCount) { in canTargetScrollVertically()
440 private View fillFromBottom(int lastPosition, int nextBottom) { in fillFromBottom() argument441 lastPosition = Math.max(lastPosition, mSelectedPosition); in fillFromBottom()442 lastPosition = Math.min(lastPosition, mItemCount - 1); in fillFromBottom()444 final int invertedPosition = mItemCount - 1 - lastPosition; in fillFromBottom()445 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom()447 return fillUp(lastPosition, nextBottom); in fillFromBottom()610 final int lastPosition = mFirstPosition + childCount - 1; in correctTooHigh() local611 if (lastPosition == mItemCount - 1 && childCount > 0) { in correctTooHigh()668 final int lastPosition = mFirstPosition + childCount - 1; in correctTooLow() local672 if (topOffset > 0 && (lastPosition < mItemCount - 1 || lastBottom > end)) { in correctTooLow()[all …]
319 int lastPosition = getLastVisiblePosition(); in run() local320 boolean scroll = firstPosition != 0 && lastPosition != getCount() - 1; in run()
1391 int lastPosition = mFirstPosition + childCount - 1; in correctTooHigh() local1392 if (lastPosition == mItemCount - 1 && childCount > 0) { in correctTooHigh()1459 int lastPosition = mFirstPosition + childCount - 1; in correctTooLow() local1464 if (lastPosition < mItemCount - 1 || lastBottom > end) { in correctTooLow()1465 if (lastPosition == mItemCount - 1) { in correctTooLow()1471 if (lastPosition < mItemCount - 1) { in correctTooLow()1474 fillDown(lastPosition + 1, lastChild.getBottom() + mDividerHeight); in correctTooLow()1478 } else if (lastPosition == mItemCount - 1) { in correctTooLow()
4807 final int lastPosition = firstPosition + childCount;4808 return lastPosition < mItemCount || lastBottom > getHeight() - listPadding.bottom;
323 int lastPosition = getLastVisiblePosition(); in run() local324 boolean scroll = firstPosition != 0 && lastPosition != getCount() - 1; in run()
901 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically() local905 if (lastPosition >= itemCount) { in canTargetScrollVertically()