summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Workspace.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r--src/com/android/launcher2/Workspace.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 0b75521c1..c9898c8fe 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -367,7 +367,7 @@ public class Workspace extends SmoothPagedView
// Fade out the workspace slightly to highlight the currently dragging item
animate().alpha(mDragFadeOutAlpha)
- .setInterpolator(new AccelerateInterpolator())
+ .setInterpolator(new AccelerateInterpolator(1.5f))
.setDuration(mDragFadeOutDuration)
.start();
}
@@ -379,7 +379,7 @@ public class Workspace extends SmoothPagedView
// Fade the workspace back in after we have completed dragging
animate().alpha(1f)
- .setInterpolator(new AccelerateInterpolator())
+ .setInterpolator(new DecelerateInterpolator(1.5f))
.setDuration(mDragFadeOutDuration)
.start();
}
@@ -605,7 +605,7 @@ public class Workspace extends SmoothPagedView
/** This differs from isSwitchingState in that we take into account how far the transition
* has completed. */
- private boolean isFinishedSwitchingState() {
+ public boolean isFinishedSwitchingState() {
return !mIsSwitchingState || (mTransitionProgress > 0.5f);
}