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