Home
last modified time | relevance | path

Searched refs:scrollPosition (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java122 public void scrollToPositionWithPredictive(final int scrollPosition, final int scrollOffset) in scrollToPositionWithPredictive() argument
131 scrollPosition, mLayoutManager.mPendingScrollPosition); in scrollToPositionWithPredictive()
138 mRecyclerView.findViewHolderForLayoutPosition(scrollPosition); in scrollToPositionWithPredictive()
157 mLayoutManager.scrollToPosition(scrollPosition); in scrollToPositionWithPredictive()
159 mLayoutManager.scrollToPositionWithOffset(scrollPosition, in scrollToPositionWithPredictive()
DLinearLayoutManagerBaseConfigSetTest.java185 final int scrollPosition = config.mStackFromEnd ? 0 : mTestAdapter.getItemCount(); in getFirstLastChildrenTest() local
189 mRecyclerView.smoothScrollToPosition(scrollPosition); in getFirstLastChildrenTest()
DStaggeredGridLayoutManagerTest.java862 public void scrollToPositionWithPredictive(final int scrollPosition, final int scrollOffset) in scrollToPositionWithPredictive() argument
873 scrollPosition, mLayoutManager.mPendingScrollPosition); in scrollToPositionWithPredictive()
879 RecyclerView.ViewHolder vh = rv.findViewHolderForLayoutPosition(scrollPosition); in scrollToPositionWithPredictive()
898 mLayoutManager.scrollToPosition(scrollPosition); in scrollToPositionWithPredictive()
900 mLayoutManager.scrollToPositionWithOffset(scrollPosition, in scrollToPositionWithPredictive()
DStaggeredGridLayoutManagerBaseConfigSetTest.java332 final int scrollPosition = mAdapter.getItemCount(); in getFirstLastChildrenTest() local
336 mRecyclerView.smoothScrollToPosition(scrollPosition); in getFirstLastChildrenTest()
/frameworks/base/core/java/android/widget/
DScrollView.java1562 mScrollY = mSavedState.scrollPosition; in onLayout()
1849 ss.scrollPosition = mScrollY; in onSaveInstanceState()
1861 public int scrollPosition; field in ScrollView.SavedState
1869 scrollPosition = source.readInt(); in SavedState()
1875 dest.writeInt(scrollPosition); in writeToParcel()
1882 + " scrollPosition=" + scrollPosition + "}"; in toString()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java1680 scrollTo(getScrollX(), mSavedState.scrollPosition); in onLayout()
1893 ss.scrollPosition = getScrollY(); in onSaveInstanceState()
1898 public int scrollPosition; field in NestedScrollView.SavedState
1906 scrollPosition = source.readInt(); in SavedState()
1912 dest.writeInt(scrollPosition); in writeToParcel()
1919 + " scrollPosition=" + scrollPosition + "}"; in toString()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java5292 ItemAt(int scrollPosition, int position, ItemLocation loc) {
5293 mScrollPosition = scrollPosition;
5315 static ItemAt itemAt(int scrollPosition, int position, ItemLocation location) {
5316 return new ItemAt(scrollPosition, position, location);