Home | History | Annotate | Download | only in widget

Lines Matching defs:firstPos

1098         final int firstPos = mFirstPosition;
1104 final int position = firstPos + i;
1777 int firstPos = mFirstPosition;
1778 if (firstPos >= mItemCount) {
1779 firstPos = mItemCount - 1;
1781 ss.position = firstPos;
1782 ss.firstId = mAdapter.getItemId(firstPos);
4308 final int firstPos = mFirstPosition;
4309 final int lastPos = firstPos + childCount - 1;
4313 if (clampedPosition < firstPos) {
4314 viewTravelCount = firstPos - clampedPosition + 1;
4360 final int firstPos = mFirstPosition;
4361 final int lastPos = firstPos + childCount - 1;
4365 if (clampedPosition < firstPos) {
4372 final int posTravel = firstPos - clampedPosition + 1;
4382 final int boundPosFromFirst = boundPosition - firstPos;
4446 final int firstPos = mFirstPosition;
4447 final int lastPos = firstPos + childCount - 1;
4450 if (mTargetPos < firstPos) {
4451 viewTravelCount = firstPos - mTargetPos;
4456 final int targetTop = getChildAt(mTargetPos - firstPos).getTop();
4475 final int firstPos = mFirstPosition;
4477 final int lastPos = firstPos + childCount - 1;
4481 if (targetPos < firstPos || targetPos > lastPos) {
4483 " not visible [" + firstPos + ", " + lastPos + "]");
4485 if (boundPos < firstPos || boundPos > lastPos) {
4490 final View targetChild = getChildAt(targetPos - firstPos);
4507 final View boundChild = getChildAt(boundPos - firstPos);
4530 final int firstPos = mFirstPosition;
4535 final int lastPos = firstPos + lastViewIndex;
4568 if (firstPos == mBoundPos || childCount <= nextViewIndex
4569 || firstPos + childCount >= mItemCount) {
4572 final int nextPos = firstPos + nextViewIndex;
4600 if (firstPos == mLastSeenPos) {
4611 final int extraScroll = firstPos > 0 ?
4616 mLastSeenPos = firstPos;
4618 if (firstPos > mTargetPos) {
4629 final int lastPos = firstPos + lastViewIndex;
4657 if (mLastSeenPos == firstPos) {
4663 mLastSeenPos = firstPos;
4667 final int lastPos = firstPos + childCount - 1;
4670 if (position < firstPos) {
4671 viewTravelCount = firstPos - position + 1;
4680 if (position < firstPos) {
4692 final int targetTop = getChildAt(position - firstPos).getTop();
4811 final int firstPos = mFirstPosition;
4813 final int lastPos = firstPos + childCount;
4818 (firstPos == 0 && getChildAt(0).getTop() == topLimit && distance < 0) ||