Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1801 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 …]
/frameworks/base/core/java/android/widget/
DGallery.java563 int scrollAmount = targetCenter - selectedCenter; in scrollIntoSlots() local
564 if (scrollAmount != 0) { in scrollIntoSlots()
565 mFlingRunnable.startUsingDistance(scrollAmount); in scrollIntoSlots()