diff options
author | Adam Cohen <adamcohen@google.com> | 2011-09-13 14:51:53 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-09-14 14:04:49 -0700 |
commit | cff6af81d721415785bddc2efd74e179d2def9da (patch) | |
tree | ad0dd301a288c21e9c080a6eb7bdea32941b6cd7 /src/com/android/launcher2/AppsCustomizePagedView.java | |
parent | d90466bc77221f6959f530422f4ec9b4d98b1a5f (diff) | |
download | android_packages_apps_Trebuchet-cff6af81d721415785bddc2efd74e179d2def9da.tar.gz android_packages_apps_Trebuchet-cff6af81d721415785bddc2efd74e179d2def9da.tar.bz2 android_packages_apps_Trebuchet-cff6af81d721415785bddc2efd74e179d2def9da.zip |
Tuning AllApps <--> Workspace transitions
-> Removed extraneous service transactions during scrolling
Change-Id: I60a201e7a94608d6fbafd2350f39a466d7a4c003
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizePagedView.java')
-rw-r--r-- | src/com/android/launcher2/AppsCustomizePagedView.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java index 9512e245f..6640f045f 100644 --- a/src/com/android/launcher2/AppsCustomizePagedView.java +++ b/src/com/android/launcher2/AppsCustomizePagedView.java @@ -192,11 +192,11 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen // Relating to the scroll and overscroll effects Workspace.ZInterpolator mZInterpolator = new Workspace.ZInterpolator(0.5f); - private static float CAMERA_DISTANCE = 3500; + private static float CAMERA_DISTANCE = 6500; private static float TRANSITION_SCALE_FACTOR = 0.74f; - private static float TRANSITION_PIVOT = 0.75f; - private static float TRANSITION_MAX_ROTATION = 26f; - private static final boolean PERFORM_OVERSCROLL_ROTATION = false; + private static float TRANSITION_PIVOT = 0.65f; + private static float TRANSITION_MAX_ROTATION = 22; + private static final boolean PERFORM_OVERSCROLL_ROTATION = true; private AccelerateInterpolator mAlphaInterpolator = new AccelerateInterpolator(0.9f); // Previews & outlines @@ -1183,7 +1183,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen } protected void overScroll(float amount) { - dampedOverScroll(amount); + acceleratedOverScroll(amount); } /** |