diff options
author | Winson Chung <winsonc@google.com> | 2012-02-21 15:48:35 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2012-02-23 10:32:03 -0800 |
commit | 867ca62c0e4b811d46734ff940d59c7a787525c8 (patch) | |
tree | f5551fdbf3038f1c4e5fae8ac3463a078404e687 /src/com/android/launcher2/PagedView.java | |
parent | 7a326648c54922c60c32088e173c93068a82d107 (diff) | |
download | android_packages_apps_Trebuchet-867ca62c0e4b811d46734ff940d59c7a787525c8.tar.gz android_packages_apps_Trebuchet-867ca62c0e4b811d46734ff940d59c7a787525c8.tar.bz2 android_packages_apps_Trebuchet-867ca62c0e4b811d46734ff940d59c7a787525c8.zip |
Fading out workspace when dragging to higlight dragged object.
Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
Diffstat (limited to 'src/com/android/launcher2/PagedView.java')
-rw-r--r-- | src/com/android/launcher2/PagedView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index 184ea7a3c..a615b59f2 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -67,7 +67,7 @@ public abstract class PagedView extends ViewGroup { private static final float OVERSCROLL_ACCELERATE_FACTOR = 2; private static final float OVERSCROLL_DAMP_FACTOR = 0.14f; - + private static final float RETURN_TO_ORIGINAL_PAGE_THRESHOLD = 0.33f; // The page is moved more than halfway, automatically move to the next page on touch up. private static final float SIGNIFICANT_MOVE_THRESHOLD = 0.4f; |