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.java1760 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 …]
/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()