Michael Jurka
447bf84d24
Debug time spent in onResume
...
Bug: 8660324
Also, fix regression where new app icons
didn't bounce/animate in
Bug: 8707110
2013-05-15 16:06:26 +02:00
Michael Jurka
c7700af21f
Fix bug where apps weren't appearing on workspace after being installed
...
Bug: 8707110
Change-Id: Ib50e0c600a4a77450127f3947aa894346dc99a5a
2013-05-14 20:45:36 +02:00
Michael Jurka
d23865708c
am 2561ee84: am d74389d9: Merge "Add null pointer checks to fix NPEs" into jb-dev
...
* commit '2561ee8453dc41a9d65f7890ea227416d7e8948c':
Add null pointer checks to fix NPEs
2012-06-18 14:43:06 -07:00
Michael Jurka
5649c28703
Add null pointer checks to fix NPEs
...
Bug: 6611233
Bug: 6685401
Change-Id: I804dfe0a7ad36b43168f7384ef88459d765fff6b
2012-06-18 10:40:03 -07:00
Winson Chung
56f5df728c
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)
2012-06-12 13:15:18 -07:00
Michael Jurka
9bc8eba333
Clean up warnings and some private API usage
...
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-06-12 10:52:57 -07:00
Winson Chung
d9e20bfba5
Adding additional synchronized blocks when committing changes to the new-apps list. (Bug 6621553)
...
Change-Id: Ia2553321230fec4202fa064cdc66ffd13d005281
2012-06-11 13:58:30 -07:00
Winson Chung
bfeac0681b
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
2012-06-06 15:57:27 -07:00
Winson Chung
de0fb8fbf1
Queueing up items for adding later if Launcher is unavailable. (Bug 6457412)
...
Change-Id: Ia66a6411a54397543db4122a80ebca6a50b6360c
2012-05-08 14:37:48 -07:00
Winson Chung
f561bdf68d
Initial change to queue up install/uninstall operations while dragging (Bug 6276881)
...
Change-Id: I68ad881e38711d8d9a8903ab18d30ef4385833d7
2012-05-04 10:20:05 -07:00
Michael Jurka
968795679b
Set FLAG_ACTIVITY_RESET_TASK_IF_NEEDED for all app shortcuts
...
Change-Id: I3a5cc205c24b1ec33f428e8d341a995e864f6a1d
2012-04-27 15:09:37 -07:00
Winson Chung
044c569545
Merge "Fixing issue where ItemInfo had errant cell coordinates leading to an array-out-of-bounds exception. (Bug 6333784)"
2012-04-24 15:37:16 -07:00
Winson Chung
d7e9e37cb7
Fixing issue where ItemInfo had errant cell coordinates leading to an array-out-of-bounds exception. (Bug 6333784)
...
Change-Id: I03c3fe32bd1d027143aeb8abf9275ecaa688070f
2012-04-24 14:49:53 -07:00
Winson Chung
169c3d75e4
Fixing strings to distinguish between being out of space for a single screen and being completely out of space. (Bug 6381160)
...
Change-Id: I3ee3ab2151154ab39f158fbb4776ad7b04d0baab
2012-04-24 14:44:25 -07:00
Winson Chung
a2413751e3
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
2012-04-09 17:04:00 -07:00
Winson Chung
6f778dc376
Revert "Fixing strict mode warning when installing an app in the bg."
...
This reverts commit 3cbb169bcf
2012-04-09 16:09:56 -07:00
Winson Chung
3cbb169bcf
Fixing strict mode warning when installing an app in the bg.
...
Change-Id: I3cb13f4302245f055ef0b16823690c80b4d3ee3a
2012-04-03 14:23:48 -07:00
Winson Chung
f0c6ae0e35
Adding animation post-installing a shortcut.
...
Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
2012-03-23 11:17:25 -07:00
Winson Chung
c3a747ac24
Fixing NPE when null intent passed to InstallShortcutReceiver. (Bug: 6089830)
...
Change-Id: Ideeb26abd29039f9b8d2dde0a752986249148a8c
2012-02-29 10:56:54 -08:00
Winson Chung
b7bea81c7a
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
2012-02-13 13:26:13 -08:00
Winson Chung
e428e292c2
Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)
...
Change-Id: Iba395354374ab721f05e03dd449e4ed9205508e5
2012-01-10 16:21:56 -08:00
Adam Cohen
d919882006
Prevent the creation of Shorcuts with null intents (issue 5629292)
...
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Winson Chung
3d503fbd94
Initial changes to add configurable hotseat.
...
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00
Winson Chung
b3781d934f
Adding check to prevent NPE when we get a badly encoded install-shortcut intent. (3398526)
...
Change-Id: I49c00ff290b126539247f4345e638460040c6ac5
2011-01-27 15:25:44 -08:00
Winson Chung
68846fdce6
Initial changes to allow resolution of arbitrary clip data to widgets that support them.
...
Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
2010-11-03 19:48:17 -07:00
Winson Chung
a9abd0e0bd
Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
...
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00
Michael Jurka
0280c3be4d
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
2010-09-24 15:28:20 -07:00
Adam Cohen
d22015cd37
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
2010-08-04 11:03:47 -07:00
Winson Chung
aafa03cbb9
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
2010-06-30 16:24:40 -07: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
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