Searched refs:smoothScroller (Results 1 – 5 of 5) sorted by relevance
161 RecyclerView.SmoothScroller smoothScroller = createScroller(layoutManager); in snapFromFling() local162 if (smoothScroller == null) { in snapFromFling()171 smoothScroller.setTargetPosition(targetPosition); in snapFromFling()172 layoutManager.startSmoothScroll(smoothScroller); in snapFromFling()
5002 final SmoothScroller smoothScroller = mLayout.mSmoothScroller; in run() local5027 if (smoothScroller != null && !smoothScroller.isPendingInitialRun() in run()5028 && smoothScroller.isRunning()) { in run()5031 smoothScroller.stop(); in run()5032 } else if (smoothScroller.getTargetPosition() >= adapterSize) { in run()5033 smoothScroller.setTargetPosition(adapterSize - 1); in run()5034 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()5036 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()5101 if (smoothScroller != null) { in run()5102 if (smoothScroller.isPendingInitialRun()) { in run()[all …]
529 RecyclerView.SmoothScroller smoothScroller = mSnapHelper.createScroller(layoutManager); in scrollToPosition() local530 smoothScroller.setTargetPosition(position); in scrollToPosition()532 layoutManager.startSmoothScroll(smoothScroller); in scrollToPosition()
4653 final SmoothScroller smoothScroller = mLayout.mSmoothScroller; in run() local4682 if (smoothScroller != null && !smoothScroller.isPendingInitialRun() in run()4683 && smoothScroller.isRunning()) { in run()4686 smoothScroller.stop(); in run()4687 } else if (smoothScroller.getTargetPosition() >= adapterSize) { in run()4688 smoothScroller.setTargetPosition(adapterSize - 1); in run()4689 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()4691 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()4750 if (smoothScroller != null) { in run()4751 if (smoothScroller.isPendingInitialRun()) { in run()[all …]
2761 public void startSmoothScroll(RecyclerView.SmoothScroller smoothScroller) {2763 super.startSmoothScroll(smoothScroller);2764 if (smoothScroller.isRunning() && smoothScroller instanceof GridLinearSmoothScroller) {2765 mCurrentSmoothScroller = (GridLinearSmoothScroller) smoothScroller;