Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java40 private TestViewCallback mViewCallback; field in AsyncListUtilTest
47 mViewCallback = new TestViewCallback(); in setupCallbacks()
57 String.class, TILE_SIZE, mDataCallback, mViewCallback); in setUpUi()
76 mViewCallback.mStartPreload = 5; in withPreload()
77 mViewCallback.mEndPreload = 15; in withPreload()
80 mViewCallback.mStartPreload = 0; in withPreload()
81 mViewCallback.mEndPreload = 0; in withPreload()
100 mViewCallback.expectDataSetChanged(40); in dataRefresh()
103 mViewCallback.waitForDataSetChanged("increasing item count"); in dataRefresh()
106 mViewCallback.expectDataSetChanged(15); in dataRefresh()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java54 final ViewCallback mViewCallback; field in AsyncListUtil
92 mViewCallback = viewCallback; in AsyncListUtil()
175 mViewCallback.getItemRangeInto(mTmpRange); in updateRange()
198 mViewCallback.extendRangeInto(mTmpRange, mTmpRangeExtended, mScrollHint); in updateRange()
218 mViewCallback.onDataRefresh();
251 mViewCallback.onItemLoaded(position);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java55 private TestViewCallback mViewCallback; field in AsyncListUtilLayoutTest
87 mViewCallback = new TestViewCallback(); in asyncListUtil()
96 String.class, TILE_SIZE, mDataCallback, mViewCallback); in asyncListUtil()