History log of /packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
570f51446d7480a9f8293d1bf1709640b70dff2a 24-Apr-2012 Adam Cohen <adamcohen@google.com> Removing drag and drop parity exceptions

Change-Id: I065c9376ebeedc6b11d1ac5805e0326bd7dd8f26
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
c6cc61d45836e4081920883cc4d448ccb0bb8417 04-Apr-2012 Adam Cohen <adamcohen@google.com> Cleanup and refactoring in relation to drag and drop

-> folder creation, adding to folders, reordering, switching pages
-> ensuring parity of dragEnter and dragExit in cell layouts and workspace
(neither were consistently getting an even number of each)
-> actually enforced above with exceptions -- probably want to
take these out, but maybe we can leave them in as warnings
-> fixed bug with mapping points to hotseat
-> fixes other bugs with drag and drop

Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
043f2af567178b82b0b41f12d379e7dd12da2936 02-Mar-2012 Winson Chung <winsonc@google.com> Adding fling-to-delete.

- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
7bd1bbb509f9569fa18d6b4d33242679fd98bc9b 14-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
a1cdab039292f3d809528c0e2e38580b37864d8d 13-Feb-2012 Winson Chung <winsonc@google.com> Reverting: "Animating the drag view scale up and down when dragging items."

Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
42c29aedf2b518c4317fc534f3c87711b57bc9b5 07-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
36cc09b07b19198f4ea886583cef462ade27192c 30-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)

Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
557d6ed50cc6560163440aa134870ef0bb11415b 09-Jul-2011 Winson Chung <winsonc@google.com> Fixing issues with spring loaded adding.

- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
8dfcba4af7a7ece09e8c7d96053e54f3a383e905 08-Jul-2011 Adam Cohen <adamcohen@google.com> Substantially improved performance of dragging and drop animations

-> Took DragView drawing out of the window and put it into the DragLayer
-> Added fade-in/out animations to transition between the final view
and the DragView, after the view animates
-> Enabled hardware layers on Folder items which improves the
performance Folder reordering

Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
bfbfd26c627a18f8e1e3e6d0e53e78feab360203 14-Jun-2011 Adam Cohen <adamcohen@google.com> Initial implementation of folder reordering

Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
cb3382b1bfe1a534b1b44f5c4def9b2db605ac90 24-May-2011 Adam Cohen <adamcohen@google.com> Refactor of Launcher drag and drop to use a DragObject

-> DragObject contains a bunch of parameters instead of pssing
them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
f79d5265c6446246f98e25e6b1b94d3bdc92ae29 17-Sep-2010 Michael Jurka <mikejurka@google.com> removing dead code
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
4ed6278e518cc6894cb150b606382e8e6a012599 18-Aug-2010 Patrick Dubroy <dubroy@google.com> Implement button to get application info for an app shortcut.

For now, it's just a drag target like the delete zone. Once all apps
and the home screen support a selection mode, this (and delete) will
be implemented as buttons in the Contextual Action Bar.

Change-Id: I6bf43d03eefda672ea34c583a7021137da22b184
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
440c360bc395c43683fa9ca226e59f9e35f9e926 14-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix bug with drag visualization and UserFolders.

When dragging an app shortcut, it was possible that we'd show a red rectangle
around a cell occupied by a UserFolder. This shouldn't be possible -- as soon
as that cell becomes the target drop cell, the folder should start handling
the drag and drop events.

Change-Id: I1b7a8b1aa9aeb7e2f1bd51ce8d947c06455e988f
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
00acb123c5100f06b8e89e8ec8978ebafc6f6d26 04-Aug-2009 Joe Onorato <joeo@android.com> Move the drag thing into its own window that goes around on top of everything else.
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/DropTarget.java