Scrolling folder during drag-drop

> Show a scroll hint (partial scroll) when the icon is over the last icon (some fraction)
> Automatically scroll the folder if the user stays in that position for some time
> Rearrance the icons on the new page only after the scroll animaiton is complete

Change-Id: I7a2dd85ab23802d647801686df069975d197cd39
This commit is contained in:
Sunny Goyal committed 2015-03-13 09:20:00 -07:00
1 parent d3570ec81c
commit 4846193300
3 files changed
+261 -35

No files matched your search

@@ -49,8 +49,8 @@ public class DragController {
/** Indicates the drag is a copy. */
public static int DRAG_ACTION_COPY = 1;
private static final int SCROLL_DELAY = 500;
private static final int RESCROLL_DELAY = PagedView.PAGE_SNAP_ANIMATION_DURATION + 150;
public static final int SCROLL_DELAY = 500;
public static final int RESCROLL_DELAY = PagedView.PAGE_SNAP_ANIMATION_DURATION + 150;
private static final boolean PROFILE_DRAWING_DURING_DRAG = false;