summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DeleteZone.java
Commit message (Collapse)AuthorAgeFilesLines
* Fixing up some Folder bugsAdam Cohen2011-06-081-1/+0
| | | | | | | | | | -> Rendering properly while in spring-loaded mode -> Fixed bug where sometimes the folder's background would vanish -> Fixed bug where the folder background was "stuck" in a fixed location, not following the folder -> Can now add to folders and create folders from spring-loaded mode Change-Id: Ie1c5583a6230a192e6d07763d001b50053daca43
* Adding drag target bar.Winson Chung2011-06-011-1/+1
| | | | Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
* Refactor of Launcher drag and drop to use a DragObjectAdam Cohen2011-05-241-11/+8
| | | | | | | -> DragObject contains a bunch of parameters instead of pssing them each individually Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
* Fixing folder bugs:Adam Cohen2011-05-181-6/+0
| | | | | | | | | | | | -> Folders were not loading with ordering properly persisted -> When an item was put in the trash directly from a folder it was trying to remove the item from the folder again, sometimes removing an extra item from the folder -> Making sure the FolderIcon always shows the _last_ 4 items; this was not working when the launcher was being restarted -> Fixed a tiny rotation bug in the FolderIcon Change-Id: I27423f17fd2f2b396f844c055f1e7abb4f4d5d19
* Moving tablet interface to 'large' devicesMichael Jurka2011-05-121-8/+8
| | | | | (later, we will decide this more accurately based on the width of the screen in dips, but for now keeping changes so that they can easily be backported to earlier versions of Android) Change-Id: I203addcbf19e8e3813c488af47e4fdf90dcd3115
* Stripping LiveFolders from LauncherAdam Cohen2011-04-281-10/+9
| | | | Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
* Updating old style animations to use new Animators.Winson Chung2011-03-301-83/+52
| | | | Change-Id: Idc5c39d3d216fcefb335e8936d051ab5bbe72f8e
* Adding fade when dragging items outside of the customization tray.Winson Chung2010-12-211-3/+7
| | | | Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
* adding "Remove" and "Delete" text to delete buttonMichael Jurka2010-12-211-4/+16
| | | | | | - also removed some unused assets Change-Id: Iad42afd2f144de92d80fb89d892ab42b32811b69
* Don't show application info icon on workspaceMichael Jurka2010-12-201-4/+8
| | | Change-Id: I79e59211633609f4bd13e91a6c745ff28a309e2e
* Fixing drop target padding for the trash bin and all apps.Winson Chung2010-12-201-3/+4
| | | | Change-Id: I65e0af4b52ce26037c77b8120d51226be27efb90
* Fixing drawing order issue in bg gradientWinson Chung2010-12-151-74/+29
| | | | | | | | - Synchronizing icon button animations + some initial code refactoring for icon buttons - Fixing crash in non-xlarge devices - Adding fix to prevent customization bg protection from being drawn in all apps Change-Id: If231a1bf4b32f59fb1de85ff67143ee08d2c93a1
* Removing CAB from AllAppsAdam Cohen2010-12-011-20/+20
| | | | | | | | -Removed CAB and single selection mode -Replaced it with trash and appinfo drag targets at the top right of the tab view Change-Id: Ic4acaaef7fc71dc2ca0bffd516da31e85af1be69
* Layout tweaks in LauncherAdam Lesinski2010-11-171-34/+50
| | | | | | | | | | | | | | -Removed All apps and Configure toolbar buttons from Customization Drawer, removed Configure button from All apps and added Market icon to All apps -Changed spacing of CellLayouts when scrolling -Modified gap spacing in workspace layout -Made workspace invisible in All apps but touching the place where the workspace was takes you back to workspace Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
* Fixing drag to application info button in All AppsMichael Jurka2010-10-221-4/+9
| | | Change-Id: I6f31bf3ac24366791cf84830584846d57aab9b80
* making size of delete zone & info button largerMichael Jurka2010-10-151-6/+25
| | | | | | | - only on XLarge devices - make application info button inactive when its not visible - making scroll right "dead" zone bigger so users don't trigger accidental scroll when deleting items Change-Id: I474de710a80b165d2ce1553c9231a829679132b2
* Adding support for drag and drop of folders and shortcuts. Michael Jurka2010-09-241-0/+4
| | | | | | | | | | | | | 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
* Fix misaligned drop targets in the all apps CABPatrick Dubroy2010-09-221-9/+31
|
* removing dead codeMichael Jurka2010-09-171-5/+0
|
* am 73013bf9: Make LauncherModel.deleteItemFromDatabase write to disk async.Brad Fitzpatrick2010-09-151-1/+8
|\ | | | | | | | | | | | | Merge commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13' * commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13': Make LauncherModel.deleteItemFromDatabase write to disk async.
| * Make LauncherModel.deleteItemFromDatabase write to disk async.Brad Fitzpatrick2010-09-141-1/+8
| | | | | | | | | | | | Fixes a bunch of StrictMode violations and removes TODOs. Change-Id: I886bd071d4a8336c228d29c517a8ffc5223c0623
* | Fix 2981705: Unable to uninstall downloaded app by dragging to trash.Patrick Dubroy2010-09-081-1/+0
| | | | | | | | | | - on long press, copy constructor of ApplicationInfo is called. It wasn't copying flags. - also fix all apps choice mode so that chosen object is set when preparing CAB
* | Don't allow system apps to be uninstalled by tapping the trash can button.Patrick Dubroy2010-09-071-13/+1
| |
* | For now, just show a toast when user tries to delete a system app.Patrick Dubroy2010-09-031-2/+13
| |
* | Support uninstalling an app by dragging from all apps to trash can.Patrick Dubroy2010-09-031-16/+23
| |
* | Fix bug with drag visualization and UserFolders.Patrick Dubroy2010-07-131-0/+6
|/ | | | | | | | | 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
* New Launcher feature: "hotseat" icons.Daniel Sandler2010-04-231-18/+2
| | | | | | | | | | | | | | | | | | | | The hotseats are permanent slots on either side of the AllApps button. Their functions are: LEFT/BOTTOM: Phone Launched via the hardcoded class name com.android.contacts/.ContactsLaunchActivity. RIGHT/TOP: Browser Launched by querying to see which application is the default for URLs, then starting that activity directly. In the future, it would be ideal to allow an application with permission to access LauncherProvider to customize these (icons, contentDescriptions, and Intents). Bug: 2559083 Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4
* Fix the build!Romain Guy2010-03-041-0/+2
|
* Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ↵Joe Onorato2010-02-121-2/+2
| | | | | | | | | | | ShortcutInfo which is used for the workspace. Consolidate the three icon resampling functions into one. Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample them each time we load them.
* New trash icon.Joe Onorato2009-09-141-1/+1
|
* Add drag and drop from AllAppsView (to the workspace).Joe Onorato2009-09-031-1/+1
| | | | | Also had to fix AppInfoCache to load the icon as a drawable, which I had broken when I made AllAppsView use the icons as power of two textures.
* Redo the launcher loading code and put the real app icons into rollo.Joe Onorato2009-08-241-6/+5
|
* Move the drag thing into its own window that goes around on top of ↵Joe Onorato2009-08-061-15/+22
| | | | everything else.
* Launcher2 compiles.Joe Onorato2009-07-301-1/+1
|
* Move com/android/launcher -> com/android/launcher2Joe Onorato2009-07-301-0/+265