Home
last modified time | relevance | path

Searched refs:START_TENSION (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java66 private static float START_TENSION = 0.4f; // Tension at start: (0.4 * total T, 1.0 * Distance) field in Scroller
67 private static float END_TENSION = 1.0f - START_TENSION;
83 tx = coef * ((1.0f - x) * START_TENSION + x * END_TENSION) + x * x * x;
394 final double l = Math.log(START_TENSION * velocity / ALPHA); in fling()
DOverScroller.java590 private static final float START_TENSION = 0.5f; field in OverScroller.SplineOverScroller
592 private static final float P1 = START_TENSION * INFLEXION;
619 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
626 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java67 private static final float START_TENSION = 0.5f; field in LauncherScroller
69 private static final float P1 = START_TENSION * INFLEXION;
98 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
105 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;