Commit Graph

11 Commits

Author SHA1 Message Date
Patrick Dubroy bc6840b316 Support uninstalling an app by dragging from all apps to trash can. 2010-09-03 12:13:00 -07:00
Patrick Dubroy 440c360bc3 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
2010-07-13 17:54:03 -07:00
Daniel Sandler c9b1877f9a New Launcher feature: "hotseat" icons.
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
2010-04-23 12:37:23 -04:00
Romain Guy edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Joe Onorato 0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and 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.
2010-02-12 12:18:40 -05:00
Joe Onorato a9c28f6f97 New trash icon. 2009-09-14 18:39:04 -04:00
Joe Onorato 5162ea9b1f Add drag and drop from AllAppsView (to the workspace).
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.
2009-09-03 09:39:42 -07:00
Joe Onorato 9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato 00acb123c5 Move the drag thing into its own window that goes around on top of everything else. 2009-08-06 12:45:43 -07:00
Joe Onorato a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00