Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DNumberPicker.java841 int overshootAdjustment = mInitialScrollOffset - futureScrollOffset; in moveToFinalScrollerPosition() local
842 if (overshootAdjustment != 0) { in moveToFinalScrollerPosition()
843 if (Math.abs(overshootAdjustment) > mSelectorElementHeight / 2) { in moveToFinalScrollerPosition()
844 if (overshootAdjustment > 0) { in moveToFinalScrollerPosition()
845 overshootAdjustment -= mSelectorElementHeight; in moveToFinalScrollerPosition()
847 overshootAdjustment += mSelectorElementHeight; in moveToFinalScrollerPosition()
850 amountToScroll += overshootAdjustment; in moveToFinalScrollerPosition()