summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Removing drag and drop parity exceptionsAdam Cohen2012-04-241-4/+7
| | | | Change-Id: I065c9376ebeedc6b11d1ac5805e0326bd7dd8f26
* Cleanup and refactoring in relation to drag and dropAdam Cohen2012-04-091-0/+38
| | | | | | | | | | | | -> 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
* Adding fling-to-delete.Winson Chung2012-03-201-0/+8
| | | | | | - Also fixing issue where the drop target icon changes color slower than the text. Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-131-0/+3
| | | | Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
* Reverting: "Animating the drag view scale up and down when dragging items."Winson Chung2012-02-131-3/+0
| | | | Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-071-0/+3
| | | | | | - Also fixing up how we draw the drag view alpha Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
* Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)Adam Cohen2011-09-291-0/+3
| | | | Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
* Fixing issues with spring loaded adding.Winson Chung2011-07-111-0/+3
| | | | | | | | | - 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
* Substantially improved performance of dragging and drop animationsAdam Cohen2011-07-071-1/+1
| | | | | | | | | | -> 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
* Initial implementation of folder reorderingAdam Cohen2011-06-131-0/+6
| | | | Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
* Refactor of Launcher drag and drop to use a DragObjectAdam Cohen2011-05-241-13/+31
| | | | | | | -> DragObject contains a bunch of parameters instead of pssing them each individually Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
* Adding support for drag and drop of folders and shortcuts. Michael Jurka2010-09-241-0/+6
| | | | | | | | | | | | | 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
* removing dead codeMichael Jurka2010-09-171-21/+0
|
* Implement button to get application info for an app shortcut.Patrick Dubroy2010-08-181-2/+1
| | | | | | | | 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
* Fix bug with drag visualization and UserFolders.Patrick Dubroy2010-07-131-0/+20
| | | | | | | | | 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
* Move the drag thing into its own window that goes around on top of ↵Joe Onorato2009-08-061-8/+25
| | | | everything else.
* Launcher2 compiles.Joe Onorato2009-07-301-1/+1
|
* Move com/android/launcher -> com/android/launcher2Joe Onorato2009-07-301-0/+81