Home
last modified time | relevance | path

Searched refs:totalDistance (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java462 double totalDistance = getSplineFlingDistance(velocity); in fling() local
463 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
470 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
475 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
DOverScroller.java768 double totalDistance = 0.0; in fling() local
772 totalDistance = getSplineFlingDistance(velocity); in fling()
775 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
841 final double totalDistance = getSplineFlingDistance(velocity); in startAfterEdge() local
842 if (totalDistance > Math.abs(overDistance)) { in startAfterEdge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java686 int totalDistance = Math.abs(endHeight - startHeight); in calculateTransformationAmount() local
687 if (totalDistance == 0) { in calculateTransformationAmount()
694 float amount = (float) progress / (float) totalDistance; in calculateTransformationAmount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java5736 float totalDistance = getIntrinsicPadding();
5737 return MathUtils.smoothStep(0, totalDistance, dragDownAmount);