Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java355 return (!mScroller.mFinished && mScroller.mState != SplineOverScroller.SPLINE); in isOverScrolled()
426 private int mState = SPLINE;
447 private static final int SPLINE = 0; field in OverScroller.SplineOverScroller
570 mState = SPLINE; in startScroll()
650 mState = SPLINE; in fling()
735 if (mState == SPLINE) { in notifyEdgeReached()
765 case SPLINE: in continueWhenFinished()
815 case SPLINE: { in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java499 mScrollerX.mState != SplineOverScroller.SPLINE) || in isOverScrolled()
501 mScrollerY.mState != SplineOverScroller.SPLINE)); in isOverScrolled()
580 private int mState = SPLINE;
599 private static final int SPLINE = 0; field in OverScroller.SplineOverScroller
761 mState = SPLINE; in fling()
844 if (mState == SPLINE) { in notifyEdgeReached()
872 case SPLINE: in continueWhenFinished()
914 case SPLINE: { in update()
DScroller.java69 private static final float[] SPLINE = new float[NB_SAMPLES + 1]; field in Scroller
89 SPLINE[i] = d;
91 SPLINE[NB_SAMPLES] = 1.0f;
273 final float d_inf = SPLINE[index]; in computeScrollOffset()
274 final float d_sup = SPLINE[index + 1]; in computeScrollOffset()