Searched refs:START_TENSION (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DScroller.java67 private static float START_TENSION = 0.4f; // Tension at start: (0.4 * total T, 1.0 * Distance) field in class:Scroller
68 private static float END_TENSION = 1.0f - START_TENSION;
84 tx = coef * ((1.0f - x) * START_TENSION + x * END_TENSION) + x * x * x;
395 final double l = Math.log(START_TENSION * velocity / ALPHA);
H A DOverScroller.java593 private static final float START_TENSION = 0.5f; field in class:OverScroller.SplineOverScroller
595 private static final float P1 = START_TENSION * INFLEXION;
622 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
629 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherScroller.java68 private static final float START_TENSION = 0.5f; field in class:LauncherScroller
70 private static final float P1 = START_TENSION * INFLEXION;
99 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
106 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DOverScrollerSGV.java595 private static final float START_TENSION = 0.5f; field in class:OverScrollerSGV.SplineOverScroller
597 private static final float P1 = START_TENSION * INFLEXION;
624 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
631 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;

Completed in 33 milliseconds