Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DListView.java2709 int amountToScroll = amountToScroll(direction, nextSelectedPosition); in arrowScrollImpl() local
2715 amountToScroll = focusResult.getAmountToScroll(); in arrowScrollImpl()
2737 if (amountToScroll > 0) { in arrowScrollImpl()
2738 scrollListItemsBy((direction == View.FOCUS_UP) ? amountToScroll : -amountToScroll); in arrowScrollImpl()
2919 private int amountToScroll(int direction, int nextSelectedPosition) { in amountToScroll() method in ListView
2954 int amountToScroll = (viewToMakeVisible.getBottom() - goalBottom); in amountToScroll() local
2959 amountToScroll = Math.min(amountToScroll, max); in amountToScroll()
2962 return Math.min(amountToScroll, getMaxScrollAmount()); in amountToScroll()
2991 int amountToScroll = (goalTop - viewToMakeVisible.getTop()); in amountToScroll() local
2995 amountToScroll = Math.min(amountToScroll, max); in amountToScroll()
[all …]
DNumberPicker.java839 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition() local
840 int futureScrollOffset = (mCurrentScrollOffset + amountToScroll) % mSelectorElementHeight; in moveToFinalScrollerPosition()
850 amountToScroll += overshootAdjustment; in moveToFinalScrollerPosition()
851 scrollBy(0, amountToScroll); in moveToFinalScrollerPosition()