Searched refs:scrollAmount (Results 1 – 2 of 2) sorted by relevance
1801 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f;1806 if (scrollAmount > distanceToMax) {1809 setOverScrolledPixels(currentBottomPixels + (scrollAmount - distanceToMax),1813 scrollAmount = 0f;1816 return scrollAmount;1818 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f;1819 float newScrollY = mOwnScrollY + scrollAmount;1829 scrollAmount = 0.0f;1831 return scrollAmount;1854 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()