Lines Matching defs:lastPos
4309 final int lastPos = firstPos + childCount - 1;
4316 } else if (clampedPosition > lastPos) {
4317 viewTravelCount = clampedPosition - lastPos + 1;
4361 final int lastPos = firstPos + childCount - 1;
4366 final int boundPosFromLast = lastPos - boundPosition;
4381 } else if (clampedPosition > lastPos) {
4388 final int posTravel = clampedPosition - lastPos + 1;
4447 final int lastPos = firstPos + childCount - 1;
4452 } else if (mTargetPos > lastPos) {
4453 viewTravelCount = mTargetPos - lastPos;
4477 final int lastPos = firstPos + childCount - 1;
4481 if (targetPos < firstPos || targetPos > lastPos) {
4483 " not visible [" + firstPos + ", " + lastPos + "]");
4485 if (boundPos < firstPos || boundPos > lastPos) {
4535 final int lastPos = firstPos + lastViewIndex;
4541 if (lastPos == mLastSeenPos) {
4551 final int extraScroll = lastPos < mItemCount - 1 ?
4557 mLastSeenPos = lastPos;
4558 if (lastPos < mTargetPos) {
4629 final int lastPos = firstPos + lastViewIndex;
4631 if (lastPos == mLastSeenPos) {
4642 mLastSeenPos = lastPos;
4643 if (lastPos > mBoundPos) {
4667 final int lastPos = firstPos + childCount - 1;
4672 } else if (position > lastPos) {
4673 viewTravelCount = position - lastPos;
4685 } else if (position > lastPos) {
4813 final int lastPos = firstPos + childCount;
4819 (lastPos == mItemCount &&
5290 final int lastPos = mCheckedIdStates.valueAt(checkedIndex);
5292 final long lastPosId = mAdapter.getItemId(lastPos);
5295 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE);
5296 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount);
5315 lastPos, id, false);
5319 mCheckStates.put(lastPos, true);