Lines Matching defs:lastPos
4239 final int lastPos = firstPos + childCount - 1;
4246 } else if (clampedPosition > lastPos) {
4247 viewTravelCount = clampedPosition - lastPos + 1;
4291 final int lastPos = firstPos + childCount - 1;
4296 final int boundPosFromLast = lastPos - boundPosition;
4311 } else if (clampedPosition > lastPos) {
4318 final int posTravel = clampedPosition - lastPos + 1;
4377 final int lastPos = firstPos + childCount - 1;
4382 } else if (mTargetPos > lastPos) {
4383 viewTravelCount = mTargetPos - lastPos;
4407 final int lastPos = firstPos + childCount - 1;
4411 if (targetPos < firstPos || targetPos > lastPos) {
4413 " not visible [" + firstPos + ", " + lastPos + "]");
4415 if (boundPos < firstPos || boundPos > lastPos) {
4465 final int lastPos = firstPos + lastViewIndex;
4471 if (lastPos == mLastSeenPos) {
4481 final int extraScroll = lastPos < mItemCount - 1 ?
4487 mLastSeenPos = lastPos;
4488 if (lastPos < mTargetPos) {
4559 final int lastPos = firstPos + lastViewIndex;
4561 if (lastPos == mLastSeenPos) {
4572 mLastSeenPos = lastPos;
4573 if (lastPos > mBoundPos) {
4597 final int lastPos = firstPos + childCount - 1;
4602 } else if (position > lastPos) {
4603 viewTravelCount = position - lastPos;
4615 } else if (position > lastPos) {
4743 final int lastPos = firstPos + childCount;
4749 (lastPos == mItemCount &&
5220 final int lastPos = mCheckedIdStates.valueAt(checkedIndex);
5222 final long lastPosId = mAdapter.getItemId(lastPos);
5225 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE);
5226 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount);
5245 lastPos, id, false);
5249 mCheckStates.put(lastPos, true);