summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* 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