Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DListView.java2618 int amountToScroll = amountToScroll(direction, nextSelectedPosition); in arrowScrollImpl() local
2624 amountToScroll = focusResult.getAmountToScroll(); in arrowScrollImpl()
2646 if (amountToScroll > 0) { in arrowScrollImpl()
2647 scrollListItemsBy((direction == View.FOCUS_UP) ? amountToScroll : -amountToScroll); in arrowScrollImpl()
2828 private int amountToScroll(int direction, int nextSelectedPosition) { in amountToScroll() method in ListView
2863 int amountToScroll = (viewToMakeVisible.getBottom() - goalBottom); in amountToScroll() local
2868 amountToScroll = Math.min(amountToScroll, max); in amountToScroll()
2871 return Math.min(amountToScroll, getMaxScrollAmount()); in amountToScroll()
2900 int amountToScroll = (goalTop - viewToMakeVisible.getTop()); in amountToScroll() local
2904 amountToScroll = Math.min(amountToScroll, max); in amountToScroll()
[all …]
DNumberPicker.java830 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition() local
831 int futureScrollOffset = (mCurrentScrollOffset + amountToScroll) % mSelectorElementHeight; in moveToFinalScrollerPosition()
841 amountToScroll += overshootAdjustment; in moveToFinalScrollerPosition()
842 scrollBy(0, amountToScroll); in moveToFinalScrollerPosition()