Lines Matching refs:lastPos
4915 final int lastPos = firstPos + childCount;
4921 (lastPos == mItemCount &&
5437 final int lastPos = mCheckedIdStates.valueAt(checkedIndex);
5439 final long lastPosId = mAdapter.getItemId(lastPos);
5442 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE);
5443 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount);
5462 lastPos, id, false);
5466 mCheckStates.put(lastPos, true);
7213 final int lastPos = firstPos + childCount - 1;
7220 } else if (clampedPosition > lastPos) {
7221 viewTravelCount = clampedPosition - lastPos + 1;
7266 final int lastPos = firstPos + childCount - 1;
7271 final int boundPosFromLast = lastPos - boundPosition;
7286 } else if (clampedPosition > lastPos) {
7293 final int posTravel = clampedPosition - lastPos + 1;
7354 final int lastPos = firstPos + childCount - 1;
7359 } else if (mTargetPos > lastPos) {
7360 viewTravelCount = mTargetPos - lastPos;
7384 final int lastPos = firstPos + childCount - 1;
7388 if (targetPos < firstPos || targetPos > lastPos) {
7390 " not visible [" + firstPos + ", " + lastPos + "]");
7392 if (boundPos < firstPos || boundPos > lastPos) {
7444 final int lastPos = firstPos + lastViewIndex;
7450 if (lastPos == mLastSeenPos) {
7460 final int extraScroll = lastPos < mItemCount - 1 ?
7466 mLastSeenPos = lastPos;
7467 if (lastPos < mTargetPos) {
7538 final int lastPos = firstPos + lastViewIndex;
7540 if (lastPos == mLastSeenPos) {
7551 mLastSeenPos = lastPos;
7552 if (lastPos > mBoundPos) {
7576 final int lastPos = firstPos + childCount - 1;
7581 } else if (position > lastPos) {
7582 viewTravelCount = position - lastPos;
7594 } else if (position > lastPos) {