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

  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/
RecyclerViewActivity.java 95 private int mFirstPosition;
121 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) {
122 View v = recycler.getViewForPosition(mFirstPosition + i);
158 if (mFirstPosition > 0 && scrolled > dy) {
159 mFirstPosition--;
160 View v = recycler.getViewForPosition(mFirstPosition);
179 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
180 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
210 while (mFirstPosition > 0 && newViewsHeight < mScrollDistance) {
211 mFirstPosition--
    [all...]
AnimatedRecyclerView.java 185 private int mFirstPosition;
218 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) {
219 View v = recycler.getViewForPosition(mFirstPosition + i);
255 if (position < mFirstPosition) {
256 newTop = view.getHeight() * (position - mFirstPosition);
295 if (mFirstPosition > 0 && scrolled > dy) {
296 mFirstPosition--;
297 View v = recycler.getViewForPosition(mFirstPosition);
315 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
316 View v = recycler.getViewForPosition(mFirstPosition + getChildCount())
    [all...]
  /frameworks/base/core/java/android/widget/
AdapterView.java 66 int mFirstPosition = 0;
614 return mFirstPosition + i;
629 return mFirstPosition;
639 return mFirstPosition + getChildCount() - 1;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AdapterViewCompat.java 70 int mFirstPosition = 0;
621 return mFirstPosition + i;
636 return mFirstPosition;
646 return mFirstPosition + getChildCount() - 1;
    [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...]
  /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...]
  /prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar 

Completed in 1173 milliseconds