HomeSort by relevance Sort by last modified time
    Searched refs:mFirstPosition (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/widget/
Gallery.java 180 * If true, mFirstPosition is the position of the rightmost child, and
419 View extremeChild = getChildAt(extremeItemPosition - mFirstPosition);
483 int firstPosition = mFirstPosition;
524 mFirstPosition += count;
602 int newPos = mFirstPosition + newSelectedChildIndex;
661 * mFirstPosition will be decreased as we add views to the left later
664 mFirstPosition = mSelectedPosition;
708 curPosition = mFirstPosition + numChildren;
712 mFirstPosition = curPosition = mItemCount - 1;
737 curPosition = mFirstPosition - 1
    [all...]
ListView.java 213 if (mFirstPosition != 0) {
227 if (mFirstPosition + childCount < mItemCount) {
545 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop);
554 final int lastVisiblePosition = mFirstPosition + childCount - 1;
655 fillDown(mFirstPosition + count, startOffset);
664 fillUp(mFirstPosition - 1, startOffset);
700 setVisibleRangeHint(mFirstPosition, mFirstPosition + getChildCount() - 1);
733 mFirstPosition = pos + 1;
734 setVisibleRangeHint(mFirstPosition, mFirstPosition + getChildCount() - 1)
    [all...]
GridView.java 243 int position = mFirstPosition + count;
256 int position = mFirstPosition;
299 setVisibleRangeHint(mFirstPosition, mFirstPosition + getChildCount() - 1);
393 mFirstPosition = pos;
399 mFirstPosition = Math.max(0, pos + 1);
402 setVisibleRangeHint(mFirstPosition, mFirstPosition + getChildCount() - 1);
407 * Fills the list from top to bottom, starting with mFirstPosition
415 mFirstPosition = Math.min(mFirstPosition, mSelectedPosition)
    [all...]
AbsSpinner.java 255 final int position = mFirstPosition;
270 boolean shouldAnimate = animate && mFirstPosition <= position &&
271 position <= mFirstPosition + getChildCount() - 1;
305 return getChildAt(mSelectedPosition - mFirstPosition);
355 return mFirstPosition + i;
AdapterView.java 66 int mFirstPosition = 0;
610 return mFirstPosition + i;
625 return mFirstPosition;
635 return mFirstPosition + getChildCount() - 1;
    [all...]
AbsListView.java     [all...]
ExpandableListView.java 387 for (int i = 0, childFlPos = mFirstPosition - headerViewsCount; i < childCount;
520 int flatListPosition = childIndex + mFirstPosition;
    [all...]
Spinner.java 537 mFirstPosition = mSelectedPosition;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AdapterViewICS.java 68 int mFirstPosition = 0;
619 return mFirstPosition + i;
634 return mFirstPosition;
644 return mFirstPosition + getChildCount() - 1;
    [all...]
AbsSpinnerICS.java 239 final int position = mFirstPosition;
254 boolean shouldAnimate = animate && mFirstPosition <= position &&
255 position <= mFirstPosition + getChildCount() - 1;
289 return getChildAt(mSelectedPosition - mFirstPosition);
339 return mFirstPosition + i;
SpinnerICS.java 333 mFirstPosition = mSelectedPosition;
  /packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java 66 private int mFirstPosition;
187 fillRight(mFirstPosition + getChildCount(), 0);
188 fillLeft(mFirstPosition - 1, 0);
399 overhang = fillLeft(mFirstPosition - 1, allowOverhang);
402 overhang = fillRight(mFirstPosition + getChildCount(), allowOverhang);
435 * is always the view corresponding to position mFirstPosition + i.
473 mFirstPosition++;
528 mFirstPosition = pos + 1;
671 mFirstPosition = 0;
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 67 * - mFirstPosition is the adapter position of the View returned by getChildAt(0).
68 * - Any child index can be translated to an adapter position by adding mFirstPosition.
69 * - Any adapter position can be translated to a child index by subtracting mFirstPosition.
70 * - Views for items in the range [mFirstPosition, mFirstPosition + getChildCount()) are
115 private int mFirstPosition;
275 return mFirstPosition;
398 overhang = fillUp(mFirstPosition - 1, allowOverhang);
401 overhang = fillDown(mFirstPosition + getChildCount(), allowOverhang) + mItemMargin;
432 if (mFirstPosition != 0 || getChildCount() != mItemCount)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java 91 * - mFirstPosition is the adapter position of the View returned by getChildAt(0).
92 * - Any child index can be translated to an adapter position by adding mFirstPosition.
93 * - Any adapter position can be translated to a child index by subtracting mFirstPosition.
94 * - Views for items in the range [mFirstPosition, mFirstPosition + getChildCount()) are
188 private int mFirstPosition;
477 * guards against jagged edges and just layout views on the screen starting from mFirstPosition
830 return mAdapter.isDraggable(mFirstPosition + i);
    [all...]

Completed in 1331 milliseconds