Searched refs:scrollDistance (Results 1 – 6 of 6) sorted by relevance
76 int scrollDistance = (getViewDimension(view) / 2) - 1; in snapOnScrollSameViewEdge() local78 ? -scrollDistance : scrollDistance; in snapOnScrollSameViewEdge()96 int scrollDistance = (getViewDimension(view) / 2) - 1; in snapOnScrollSameView() local97 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollSameView()118 int scrollDistance = (getViewDimension(view) / 2) + 1; in snapOnScrollNextView() local119 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollNextView()190 int scrollDistance = distFromCenter(view) / 2; in setupSnapHelper() local191 if (scrollDistance == 0) { in setupSnapHelper()195 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in setupSnapHelper()
88 int scrollDistance = mLayoutManager.canScrollHorizontally() ? 52 : 52; in snapOnScrollSameViewFixedSize() local89 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollSameViewFixedSize()112 int scrollDistance = findMinSafeScrollDistance(); in snapOnScrollSameView() local113 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollSameView()134 int scrollDistance = getViewDimension(view) + 1; in snapOnScrollNextItem() local135 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollNextItem()225 int scrollDistance = distFromCenter(view) / 2; in setupSnapHelper() local226 if (scrollDistance == 0) { in setupSnapHelper()230 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in setupSnapHelper()
72 int scrollDistance = (getViewDimension(view) / 2) - 1; in snapOnScrollSameView() local73 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollSameView()94 int scrollDistance = getViewDimension(view) + 1; in snapOnScrollNextItem() local95 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollNextItem()171 int scrollDistance = distFromCenter(view) / 2; in setupSnapHelper() local172 if (scrollDistance == 0) { in setupSnapHelper()176 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in setupSnapHelper()
77 int scrollDistance = (getViewDimension(view) / 2) - 1; in snapOnScrollSameView() local78 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollSameView()103 int scrollDistance = (getViewDimension(view) / 2) + 1; in snapOnScrollNextView() local104 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in snapOnScrollNextView()220 int scrollDistance = distFromCenter(view) / 2; in setupSnapHelper() local221 if (scrollDistance == 0) { in setupSnapHelper()225 int scrollDist = mReverseScroll ? -scrollDistance : scrollDistance; in setupSnapHelper()
835 int scrollDistance = screenSize; in pageUp() local848 scrollDistance = screenSize - orientationHelper.getDecoratedEnd(child); in pageUp()853 scrollDistance = Math.abs(orientationHelper.getDecoratedStart(child)); in pageUp()861 mRecyclerView.smoothScrollBy(0, -scrollDistance); in pageUp()880 int scrollDistance = screenSize; in pageDown() local886 scrollDistance = orientationHelper.getDecoratedStart(lastChild); in pageDown()887 if (scrollDistance < 0) { in pageDown()891 scrollDistance = screenSize; in pageDown()906 scrollDistance = orientationHelper.getDecoratedStart(child); in pageDown()911 scrollDistance = orientationHelper.getDecoratedEnd(child) - screenSize; in pageDown()[all …]
258 final int scrollDistance = 150; in smoothScrollBy_scrollsEntireDistanceIncludingMargins() local273 mNestedScrollView.smoothScrollBy(0, scrollDistance); in smoothScrollBy_scrollsEntireDistanceIncludingMargins()