Merge commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e'
* commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e':
When we're launching apps, we need to always use startActivitySafely.
It's possible that the app doesn't implement the component as promised, and the launcher shouldn't
crash.
Bug: 3005141
Change-Id: Ieac51433a467fd12160247bfd281828a69f5f7d2
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
Merge commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13'
* commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13':
Make LauncherModel.deleteItemFromDatabase write to disk async.
* fix crash where Workspace gets an ACTION_MOVE
but didn't get the ACTION_DOWN before it
* fix crash in DimmableBubbleTextView on
non-xlarge devices (buganizer bug#3001211)
Change-Id: I419b4a9fd3c95df9949f1d46746845ad2dc4b831
- icons and widgets on home screens can be "dimmed"
- celllayout no longer renders a dimmed version of itself, but instead its children make dimmed versions of themselves
- celllayout no longer always takes up full size of workspace, in landscape mode
neighboring screens (celllayouts) are visible
- on xlarge devices, in landscape mode side screens are "dimmed"
- moved holographic outline helper to its own file
- fixed bug where mini-screens were still able to scroll left/right
Change-Id: I9e85ab4147edfae1e7525c3d11d42be3fabf4f6d
- 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
Logging indicated a 1.2 second improvement in Launcher start time
during boot (when single-threaded yaffs is very heavily contended).
BUG=2947474
Change-Id: Ie72cf02c5eacb27c6d874b6d67a0bb2de7f6b74a
- adds support for seeing dimmed side-pages on
home
- adds workspace support for pages that are
smaller than workspace itself
- removing a lot of code duplicated between
PagedView and Workspace
- tested new Workspace on Nexus One, and perf.
was indistinguishable from old Workspace in my
tests
Change-Id: Ie33ab4e8b35ac01b22894cff66650bb0ece8dfcc
You still can't modify the contents of the workspace while it's loading,
but this makes it appear a little bit more responsive. Launching apps
while the launcher is loading has always been possible.
Bug: 2748595
Change-Id: Iaf203c7358647a9b2211bb7386579ae75b82a698