Home
last modified time | relevance | path

Searched refs:SplineOverScroller (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java41 private final SplineOverScroller mScroller;
83 mScroller = new SplineOverScroller(context); in OverScroller()
355 return (!mScroller.mFinished && mScroller.mState != SplineOverScroller.SPLINE); in isOverScrolled()
382 return mScroller.mState == SplineOverScroller.SPRING && !isFinished(); in isSpringing()
385 static class SplineOverScroller { class in OverScroller
452 private static final FloatPropertyCompat<SplineOverScroller> SPRING_PROPERTY =
453 new FloatPropertyCompat<SplineOverScroller>("splineOverScrollerSpring") {
455 public float getValue(SplineOverScroller scroller) {
460 public void setValue(SplineOverScroller scroller, float value) {
502 SplineOverScroller(Context context) { in SplineOverScroller() method in OverScroller.SplineOverScroller
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java34 private final SplineOverScroller mScrollerX;
35 private final SplineOverScroller mScrollerY;
74 mScrollerX = new SplineOverScroller(); in OverScroller()
75 mScrollerY = new SplineOverScroller(); in OverScroller()
77 SplineOverScroller.initFromContext(context); in OverScroller()
499 mScrollerX.mState != SplineOverScroller.SPLINE) || in isOverScrolled()
501 mScrollerY.mState != SplineOverScroller.SPLINE)); in isOverScrolled()
539 static class SplineOverScroller { class in OverScroller
648 SplineOverScroller() { in SplineOverScroller() method in OverScroller.SplineOverScroller