diff options
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r-- | src/com/android/launcher2/Workspace.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 61b7c4b5b..82fd362ed 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -883,8 +883,8 @@ public class Workspace extends SmoothPagedView private class ZInterpolator implements TimeInterpolator { private final float focalLength = 0.2f; - public float getInterpolation(float input) { - return (1.0f - focalLength / (focalLength + input)) / + public float getInterpolation(float input) { + return (1.0f - focalLength / (focalLength + input)) / (1.0f - focalLength / (focalLength + 1.0f)); } } |