OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbaf98
)
Whitespace fix
author
Adam Cohen
<adamcohen@google.com>
Mon, 15 Nov 2010 19:30:05 +0000
(11:30 -0800)
committer
Adam Cohen
<adamcohen@google.com>
Mon, 15 Nov 2010 19:30:05 +0000
(11:30 -0800)
Change-Id: Ia6b328defddc002ea0acb028d452bdd97ed3d4cc
src/com/android/launcher2/Workspace.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher2/Workspace.java
b/src/com/android/launcher2/Workspace.java
index
61b7c4b
..
82fd362
100644
(file)
--- 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));
}
}