summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/SmoothPagedView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/SmoothPagedView.java')
-rw-r--r--src/com/android/launcher3/SmoothPagedView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/SmoothPagedView.java b/src/com/android/launcher3/SmoothPagedView.java
index 64dcb34ca..4e331aa2c 100644
--- a/src/com/android/launcher3/SmoothPagedView.java
+++ b/src/com/android/launcher3/SmoothPagedView.java
@@ -19,7 +19,6 @@ package com.android.launcher3;
import android.content.Context;
import android.util.AttributeSet;
import android.view.animation.Interpolator;
-import android.widget.Scroller;
public abstract class SmoothPagedView extends PagedView {
private static final float SMOOTHING_SPEED = 0.75f;
@@ -100,7 +99,7 @@ public abstract class SmoothPagedView extends PagedView {
mBaseLineFlingVelocity = 2500.0f;
mFlingVelocityInfluence = 0.4f;
mScrollInterpolator = new OvershootInterpolator();
- mScroller = new Scroller(getContext(), mScrollInterpolator);
+ setDefaultInterpolator(mScrollInterpolator);
}
}