Searched refs:scrollAmount (Results 1 – 2 of 2) sorted by relevance
1760 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f;1765 if (scrollAmount > distanceToMax) {1768 setOverScrolledPixels(currentBottomPixels + (scrollAmount - distanceToMax),1772 scrollAmount = 0f;1775 return scrollAmount;1777 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f;1778 float newScrollY = mOwnScrollY + scrollAmount;1788 scrollAmount = 0.0f;1790 return scrollAmount;1813 float scrollAmount = newBottomAmount < 0 ? newBottomAmount : 0.0f;[all …]
563 int scrollAmount = targetCenter - selectedCenter; in scrollIntoSlots() local564 if (scrollAmount != 0) { in scrollIntoSlots()565 mFlingRunnable.startUsingDistance(scrollAmount); in scrollIntoSlots()