History log of /packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48c7a93eb7ef15ef551aee80c179b8e7e0d2399a 14-May-2013 Michael Jurka <mikejurka@google.com> Persist list of shortcuts to install on home workspace

Bug: 8707110

Change-Id: I6740350040dceb0edaf4295d6a5af62a088a3055
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
447bf84d2454ac28ac26d70feea8139ed986c321 15-May-2013 Michael Jurka <mikejurka@google.com> Debug time spent in onResume

Bug: 8660324

Also, fix regression where new app icons
didn't bounce/animate in

Bug: 8707110
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
c7700af21f7b1df939fce22f4ab5072b3ea29b66 14-May-2013 Michael Jurka <mikejurka@google.com> Fix bug where apps weren't appearing on workspace after being installed

Bug: 8707110

Change-Id: Ib50e0c600a4a77450127f3947aa894346dc99a5a
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
d23865708c4ca6d1d48eb8b1a3cb52d571e96f86 18-Jun-2012 Michael Jurka <mikejurka@google.com> am 2561ee84: am d74389d9: Merge "Add null pointer checks to fix NPEs" into jb-dev

* commit '2561ee8453dc41a9d65f7890ea227416d7e8948c':
Add null pointer checks to fix NPEs
5649c287039ea7908112b41604c3fc2893c4697e 18-Jun-2012 Michael Jurka <mikejurka@google.com> Add null pointer checks to fix NPEs

Bug: 6611233
Bug: 6685401

Change-Id: I804dfe0a7ad36b43168f7384ef88459d765fff6b
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
56f5df728c6dd7108af774a10e57f3e2e2175d6f 12-Jun-2012 Winson Chung <winsonc@google.com> am 5016b985: am 898f152d: Merge "Adding additional synchronized blocks when committing changes to the new-apps list. (Bug 6621553)" into jb-dev

* commit '5016b98520b9dbad8cf234a15fded9fb9e805ea2':
Adding additional synchronized blocks when committing changes to the new-apps list. (Bug 6621553)
9bc8eba3338455c5d915055e8ba044981c512dfa 22-May-2012 Michael Jurka <mikejurka@google.com> Clean up warnings and some private API usage

Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
d9e20bfba5b23c0da34dd628d9055ec3baad1ade 11-Jun-2012 Winson Chung <winsonc@google.com> Adding additional synchronized blocks when committing changes to the new-apps list. (Bug 6621553)

Change-Id: Ia2553321230fec4202fa064cdc66ffd13d005281
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
bfeac0681b63091731c853fdafa3206642449a9d 07-Jun-2012 Winson Chung <winsonc@google.com> Synchronizing on the new-apps list before modifying it. (Bug 6621553)

- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
de0fb8fbf11caac382589ab464b50d528942273a 08-May-2012 Winson Chung <winsonc@google.com> Queueing up items for adding later if Launcher is unavailable. (Bug 6457412)

Change-Id: Ia66a6411a54397543db4122a80ebca6a50b6360c
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
f561bdf68dd304e1d7c3f7796621a4cc39ca15f2 03-May-2012 Winson Chung <winsonc@google.com> Initial change to queue up install/uninstall operations while dragging (Bug 6276881)

Change-Id: I68ad881e38711d8d9a8903ab18d30ef4385833d7
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
968795679be0a3f0118d5a6e2e1580808da5716d 22-Mar-2012 Michael Jurka <mikejurka@google.com> Set FLAG_ACTIVITY_RESET_TASK_IF_NEEDED for all app shortcuts

Change-Id: I3a5cc205c24b1ec33f428e8d341a995e864f6a1d
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
044c5695451db0b056fd0386901716c08015e0f1 25-Apr-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where ItemInfo had errant cell coordinates leading to an array-out-of-bounds exception. (Bug 6333784)"
d7e9e37cb7b253b4b68b8229e5baa7031b65d2e2 24-Apr-2012 Winson Chung <winsonc@google.com> Fixing issue where ItemInfo had errant cell coordinates leading to an array-out-of-bounds exception. (Bug 6333784)

Change-Id: I03c3fe32bd1d027143aeb8abf9275ecaa688070f
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
169c3d75e438999f0b1e70a6015843a4c4422dec 24-Apr-2012 Winson Chung <winsonc@google.com> Fixing strings to distinguish between being out of space for a single screen and being completely out of space. (Bug 6381160)

Change-Id: I3ee3ab2151154ab39f158fbb4776ad7b04d0baab
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
a2413751e3a698aef9c87411a639637883856939 03-Apr-2012 Winson Chung <winsonc@google.com> Adding delay upon user interaction to prevent the new-app animation from taking over your phone. (Bug 6248609)

- Fixing issue where we might have been reading the db items while handling previous broadcast and adding db items to invalid positions
- Making items add alternating from the center page (as opposed to the current page)
- Re-adding the strict-mode fix (really requires 1. to be true)
- Adding flag for enabling strict mode exceptions
- Removing items from the new apps add list on uninstall-shortcut broadcast

Change-Id: I495e80bf5f8dbb4b87dd709460937d6f2a1e05e7
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
6f778dc3762a5483f010f0fee952dade12c3e2a9 10-Apr-2012 Winson Chung <winsonc@google.com> Revert "Fixing strict mode warning when installing an app in the bg."

This reverts commit 3cbb169bcf193193786818ee3c61defdc95cfd92
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
3cbb169bcf193193786818ee3c61defdc95cfd92 03-Apr-2012 Winson Chung <winsonc@google.com> Fixing strict mode warning when installing an app in the bg.

Change-Id: I3cb13f4302245f055ef0b16823690c80b4d3ee3a
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
f0c6ae0e35d3e020db55b5b826955da66b14b7f6 22-Mar-2012 Winson Chung <winsonc@google.com> Adding animation post-installing a shortcut.

Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
c3a747ac245d6175a6838230d8b01c618555e062 29-Feb-2012 Winson Chung <winsonc@google.com> Fixing NPE when null intent passed to InstallShortcutReceiver. (Bug: 6089830)

Change-Id: Ideeb26abd29039f9b8d2dde0a752986249148a8c
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
b7bea81c7a83994c694b6ea643a3edad29cce3f3 13-Feb-2012 Winson Chung <winsonc@google.com> Minimizing number of db calls when installing shortcut externally.

- Fixing case where the drag view was persisting after drag failed from AllApps

Change-Id: Ia2439462b93f196f3fcba73814e0994e54600e70
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
e428e292c27e650ab4de76b78728ba55019cd282 11-Jan-2012 Winson Chung <winsonc@google.com> Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)

Change-Id: Iba395354374ab721f05e03dd449e4ed9205508e5
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
d919882006a457d16dea46bd546472e6534b5c19 23-Nov-2011 Adam Cohen <adamcohen@google.com> Prevent the creation of Shorcuts with null intents (issue 5629292)

Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
3d503fbd9468fb2b9fa645f4f7b91e11229edbfa 14-Jul-2011 Winson Chung <winsonc@google.com> Initial changes to add configurable hotseat.

Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
b3781d934ffb55a282a2567de55a23fb92b71856 28-Jan-2011 Winson Chung <winsonc@google.com> Adding check to prevent NPE when we get a badly encoded install-shortcut intent. (3398526)

Change-Id: I49c00ff290b126539247f4345e638460040c6ac5
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
68846fdce6c01bbe474bd0c8307e1ccaac161cbc 29-Oct-2010 Winson Chung <winsonc@google.com> Initial changes to allow resolution of arbitrary clip data to widgets that support them.

Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
a9abd0e0bdedb5cbbd12b84cb83037a735e79a20 28-Oct-2010 Winson Chung <winsonc@google.com> Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.

Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

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
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
d22015cd37ea6ef53762eca5be57daca123ff607 27-Jul-2010 Adam Cohen <adamcohen@google.com> Cleaning up grid size specification in Launcher

This commit eliminates the notion of in-place rotations and a bunch of
associated complexities (including the notion of canonical coordinates).
Further, the number of x and y cells per workspace screen is now being stored
in a single location in the XML definition of Workspace. This fixes a couple
bugs where incorrect values were being used. Finally, eliminated the notion of
"shortAxis" and "longAxis" in terms of padding and cell count. These have been
translated to corresponding x and y axis values.

Change-Id: I30cfed66f82d739355b3f01730b28b6c0437989c
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
aafa03cbb925c74be1c13f8bb99d928be429e62f 12-Jun-2010 Winson Chung <winsonc@google.com> Allow for NxM layout and in-place rotation of items on homescreen.

Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
edcce099c98a6c40d10109ac092ab50f9d2668f3 04-Mar-2010 Romain Guy <romainguy@android.com> Fix the build!
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
0589f0f66ce498512c6ee47482c649d88294c9d0 08-Feb-2010 Joe Onorato <joeo@android.com> 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.
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/InstallShortcutReceiver.java