Home | History | Annotate | Download | only in widget

Lines Matching full:lastposition

343     private View fillFromBottom(int lastPosition, int nextBottom) {
344 lastPosition = Math.max(lastPosition, mSelectedPosition);
345 lastPosition = Math.min(lastPosition, mItemCount - 1);
347 final int invertedPosition = mItemCount - 1 - lastPosition;
348 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns));
350 return fillUp(lastPosition, nextBottom);
513 final int lastPosition = mFirstPosition + childCount - 1;
514 if (lastPosition == mItemCount - 1 && childCount > 0) {
571 final int lastPosition = mFirstPosition + childCount - 1;
575 if (topOffset > 0 && (lastPosition < mItemCount - 1 || lastBottom > end)) {
576 if (lastPosition == mItemCount - 1 ) {
583 if (lastPosition < mItemCount - 1) {
586 fillDown(lastPosition + (!mStackFromBottom ? 1 : numColumns),