Lines Matching refs:Scroller
334 * The {@link Scroller} responsible for flinging the selector.
336 private final Scroller mFlingScroller;
339 * The {@link Scroller} responsible for adjusting the selector.
341 private final Scroller mAdjustScroller;
405 * The back ground color used to optimize scroller fading.
747 mFlingScroller = new Scroller(getContext(), null, true);
748 mAdjustScroller = new Scroller(getContext(), new DecelerateInterpolator(2.5f));
806 * Move to the final position of a scroller. Ensures to force finish the scroller
810 * @param scroller The scroller to whose final position to get.
811 * @return True of the a move was performed, i.e. the scroller was not in final position.
813 private boolean moveToFinalScrollerPosition(Scroller scroller) {
814 scroller.forceFinished(true);
815 int amountToScroll = scroller.getFinalY() - scroller.getCurrY();
1070 Scroller scroller = mFlingScroller;
1071 if (scroller.isFinished()) {
1072 scroller = mAdjustScroller;
1073 if (scroller.isFinished()) {
1077 scroller.computeScrollOffset();
1078 int currentScrollerY = scroller.getCurrY();
1080 mPreviousScrollerY = scroller.getStartY();
1084 if (scroller.isFinished()) {
1085 onScrollerFinished(scroller);
1723 * Callback invoked upon completion of a given <code>scroller</code>.
1725 private void onScrollerFinished(Scroller scroller) {
1726 if (scroller == mFlingScroller) {