diff options
author | Adam Cohen <adamcohen@google.com> | 2011-06-13 16:55:12 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-06-13 16:55:12 -0700 |
commit | bfbfd26c627a18f8e1e3e6d0e53e78feab360203 (patch) | |
tree | 0f823f053dcd28e303d19733e73f8215e0598b3d /src/com/android/launcher2/DropTarget.java | |
parent | 61fa4197c4316bb0f9b05fcefb676f86197a2273 (diff) | |
download | android_packages_apps_Trebuchet-bfbfd26c627a18f8e1e3e6d0e53e78feab360203.tar.gz android_packages_apps_Trebuchet-bfbfd26c627a18f8e1e3e6d0e53e78feab360203.tar.bz2 android_packages_apps_Trebuchet-bfbfd26c627a18f8e1e3e6d0e53e78feab360203.zip |
Initial implementation of folder reordering
Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
Diffstat (limited to 'src/com/android/launcher2/DropTarget.java')
-rw-r--r-- | src/com/android/launcher2/DropTarget.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher2/DropTarget.java b/src/com/android/launcher2/DropTarget.java index 9c0faf31f..6e18479ac 100644 --- a/src/com/android/launcher2/DropTarget.java +++ b/src/com/android/launcher2/DropTarget.java @@ -34,6 +34,12 @@ public interface DropTarget { /** Y offset from the upper-left corner of the cell to where we touched. */ public int yOffset = -1; + /** This indicates whether a drag is in final stages, either drop or cancel. It + * differentiates onDragExit, since this is called when the drag is ending, above + * the current drag target, or when the drag moves off the current drag object. + */ + public boolean dragComplete = false; + /** The view that moves around while you drag. */ public DragView dragView = null; |