Fading out workspace when dragging to higlight dragged object.
Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
This commit is contained in:
1 parent
7a326648c5
commit
867ca62c0e
6 files changed
+26
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user