Searched refs:scrollPosition (Results 1 – 6 of 6) sorted by relevance
129 int scrollPosition = mCurrentFetcher.getScrollPosition(); in scrollToCurrent() local130 if (scrollPosition != MediaItemsFetcher.DONT_SCROLL in scrollToCurrent()131 && mCurrentScrollPosition != scrollPosition) { in scrollToCurrent()132 mActivity.scrollToPosition(scrollPosition); in scrollToCurrent()133 mCurrentScrollPosition = scrollPosition; in scrollToCurrent()
1426 float scrollPosition = 0f;1430 scrollPosition = mPendingScrollPosition;1525 setSelectionInternal(selection, scrollPosition, false);1906 private void setSelectionInternal(int adapterIndex, float scrollPosition, boolean fireEvent) {1916 mPendingScrollPosition = scrollPosition;1924 if (scrollPosition > 0 && viewIndex + mItemsOnOffAxis < lastExpandableIndex()) {1926 deltaMain = (int) ((nextCenter - scrollCenter) * scrollPosition);1928 deltaMain = (int) (getSize(view) * scrollPosition);1941 if (scrollPosition == 0) {
192 int scrollPosition = bundle.getInt(EXTRA_SCROLL_POSITION); in onViewCreated() local193 mLayoutManager.scrollToPosition(scrollPosition); in onViewCreated()
63 public void onScroll(float scrollPosition); in onScroll() argument554 public void scrollTo(float scrollPosition) { in scrollTo() argument555 scrollTo(0, Math.round(scrollPosition * mMaxScrollY)); in scrollTo()
764 public void onScroll(float scrollPosition) {765 mScrollPosition = scrollPosition;
726 int scrollPosition = getPosition(getChildAt(firstFullyVisibleChildIndex)); in settleScrollForFling() local727 parent.smoothScrollToPosition(scrollPosition); in settleScrollForFling()