Home
last modified time | relevance | path

Searched refs:outRange (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java232 public void getItemRangeInto(int[] outRange) { in getItemRangeInto() argument
233 outRange[0] = mFirstVisibleItem; in getItemRangeInto()
234 outRange[1] = mLastVisibleItem; in getItemRangeInto()
238 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { in extendRangeInto() argument
239 outRange[0] = range[0] - mStartPreload; in extendRangeInto()
240 outRange[1] = range[1] + mEndPreload; in extendRangeInto()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java225 public void getItemRangeInto(int[] outRange) { in getItemRangeInto() argument
226 outRange[0] = mLayoutManager.findFirstVisibleItemPosition(); in getItemRangeInto()
227 outRange[1] = mLayoutManager.findLastVisibleItemPosition(); in getItemRangeInto()
231 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { in extendRangeInto() argument
232 outRange[0] = range[0] - mStartPrefetch; in extendRangeInto()
233 outRange[1] = range[1] + mEndPrefetch; in extendRangeInto()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java551 public abstract void getItemRangeInto(int[] outRange); in getItemRangeInto() argument
572 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { in extendRangeInto() argument
575 outRange[0] = range[0] - (scrollHint == HINT_SCROLL_DESC ? fullRange : halfRange); in extendRangeInto()
576 outRange[1] = range[1] + (scrollHint == HINT_SCROLL_ASC ? fullRange : halfRange); in extendRangeInto()