History log of /packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
374753cabf05cde1ad669d07bde47e34fdcbe499 19-Mar-2014 Amith Yamasani <yamasani@google.com> Launcher2 multi-profile support

Use LauncherApps API and badging APIs instead of PackageManager.

Adds support to show apps from current user and any managed profiles.

Background: Managed profiles are user sandboxes that are visible from
the primary user and can be launched as if they are a part of this user.
A launcher should now be capable of listing apps from this user as well
as related profiles of this user.

Launching of activities is now via the LauncherApps interface, to allow
for cross-profile app launching. Only activities with category LAUNCHER
can be added as a shortcut on the workspace for a managed profile.

Widgets are only supported for the current profile. Widgets from the
managed profile are not available.

TODO: Handle users appearing and disappearing.

Change-Id: I732a476d68236f7de7eaa5a2105c868621c8a57e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
52ee3ec0beb56a37575aa37c6788823102c3bd6d 26-Sep-2013 Michael Feldstein <feldstein@google.com> Deblue the glow when picking up and dragging icons and widgets around

Change-Id: I2c48f1b871dcb529fefb6e1d3013cb6245d45755
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5d467ac00736847cabed6ec760b50b5e89160936 09-Aug-2013 Romain Guy <romainguy@google.com> It is *very important* to call super.onDetachedFromWindow()
Bug #10075732

Change-Id: I515005e35398317d98124964b6bb74f488a213f4
(cherry picked from commit 2361a4daf77ac1f076273d19bc6e171b3b74b22e)
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
354caf708760762eb5ff1cbddad21d38fd59bf2c 14-May-2013 Winson Chung <winsonc@google.com> am 07381ae4: am cdbbab76: Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)

* commit '07381ae4e4a24466c6f2d81a3e6736c9fda5bb19':
Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)
cdbbab76e1e6e2819c16e0c2d3b528cf4ecd48c5 13-May-2013 Winson Chung <winsonc@google.com> Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)

Change-Id: I1f63e548caa4b00b7166db4a53307c80650d8907
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cd59767b567fc5c745eff1e0f5e7338bbbaf9ceb 09-May-2013 Winson Chung <winsonc@google.com> am 42e22357: am 56d796a9: Merge "Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)" into jb-mr2-dev

* commit '42e2235780046beba1ea3162f615cef06cf97728':
Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)
83892cc0768bd6d7f0827886e9e7a2eb3eed2b01 02-May-2013 Winson Chung <winsonc@google.com> Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)

- Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153)

Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
032e6bad1ba588ed8a884fb8f28fb8596efac480 22-Apr-2013 Michael Jurka <mikejurka@google.com> Clean up unused code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
25460a1d5cb473033408c9e76898bb77e785c66f 02-Apr-2013 Winson Chung <winsonc@google.com> Fixing issue where drag view is jumping when you scroll from hovering over an edge. (Bug 8522679)

Change-Id: Ie523e718bd1b558db9608aa66f6c353e4b8e1a14
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f1ad608c28c79c8e9b83d83ce9154f1b7284f412 13-Mar-2013 Michael Jurka <mikejurka@google.com> Fix jumps in the beginning of animations

If the first draw frame of an animation is
expensive, which it often is, it causes a big
jump. Added a helper class which automatically
adjusts the animation start time if the first
frame is more than 16ms.

Change-Id: I100edbc41c2abe930a32d6bcf0a782ea9735f7f9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
315d38e9773af8d060045fe8611eab85597cbd3f 07-Mar-2013 Michael Jurka <mikejurka@google.com> Improve All Apps --> Workspace performance

Fix bug where HW layers were not enabled for that
transition

Bug: 8323765
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ce3cbd145b4222779abae32869da8dd3c2aefb67 26-Feb-2013 Romain Guy <romainguy@google.com> Disable clipping where unnecessary

This change prevents the renderer from using a stencil buffer
to render rotated CellLayouts.

Change-Id: I0414f59ed45502323ab588820ceb4a5e3ec17140
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
52aee60edcfe5a16e16523c1a4241ac4d8b3672d 30-Jan-2013 Winson Chung <winsonc@google.com> Adding RTL paging.

Change-Id: Ic27d499cb76c7c30da37ed93f5372dd8441118b7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
47639b9c1db9a5d0d89ce6b4b36d6b3c0d489602 14-Jan-2013 Michael Jurka <mikejurka@google.com> Use less HW layers in All Apps

(saves memory)

Change-Id: Ib2beda7549662a787437c7aa043e7858357c051f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3c1681d5f7d56af5b25126d1c2b2ba7aa799deca 15-Nov-2012 Michael Jurka <mikejurka@google.com> Cleaning up unused code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
eeacd56cc922632bf087a7fd7a20ebe5b7a5ca04 11-Oct-2012 Romain Guy <romainguy@google.com> Remove unnecessary allocations during draw
Bug #7327799

Change-Id: Ic3a18fb9d850f2c692dcb187a206c61dfa8108a4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
aaa5c21ee2e03def644fb6ba8eadbb59873ddd45 06-Oct-2012 Adam Cohen <adamcohen@google.com> Fix to ensure default widgets get size callbacks (issue 7287744)

Change-Id: I46b329db247a0b450493530ab619576c45418b01
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
37990b4b4fc241fcf12a4b6d1725c69605b26605 26-Sep-2012 Michael Jurka <mikejurka@google.com> Fix # 6925851: Workspace page spacing gets messed up

Change-Id: I694fa1e04049e35a415b1f1a85759e501fec6258
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9e05a5ea951b4d5ffce324da8dd0656353306e6f 11-Sep-2012 Adam Cohen <adamcohen@google.com> Making launcher use new widget binding APIs

Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
82422503fdc8912968efef09dc1fc0fa2d9537cf 18-Sep-2012 Michael Jurka <mikejurka@google.com> Fixing some warnings

Change-Id: I28ff3b62b831bd49e3592c1b86ba978208324c11
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8a4351063f02c0e8d64ee3ace651b227e9f8321f 31-Aug-2012 Winson Chung <winsonc@google.com> Fixing issue where we were not removing items from LauncherModel and only the add-queue. (Bug 7078244)

Change-Id: I5660b447521646f820fb2497f327e965d99ac207
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
307fe23f125cbbd5512ad8d4660025f2ab68f30b 17-Aug-2012 Adam Cohen <adamcohen@google.com> Adding the ability to scale the hotseat or items in the hotseat

--> A bunch of stuff breaks when scaling the hotseat. More specifically,
drag and drop animations between hotseat and workspace,
scaling on pick up, folder animations, determination of
item placement. This CL fixes these issues so that the
hotseat or hotseat items are ready to be scaled.
--> For now, using 90% scale factor for 7-inch+ UIs

Change-Id: Iac098409347e76139e4d726a071397b56ac684d2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
90abcc94258ba9d9c8b68ac9764b6ab1eba12985 25-Jul-2012 Ed Heyl <ed@google.com> resolved conflicts w/0ede734d0780a968c9c345f99a18f9f8b9fc02cd

Change-Id: I50900698a590e8d84a6cbcc560f95209d3a6d110
1462de39f01cec0ba785386532719cb0207dd827 25-Jul-2012 Adam Cohen <adamcohen@google.com> Ensuring that restoreInstanceState is being called promptly for synchronously bound page

Change-Id: I0e71c29f553ad360ec42a6a0b2529d16cbddd437
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d7d37b134b7a3b12858ff099069eba369a6b5373 19-Jul-2012 Adam Cohen <adamcohen@google.com> DO NOT MERGE Adding sycnhronous loading of current page to support seamless rotation. (Bug 6792288)

Change-Id: I341160e8a604cde63443e331f762cebc1ed5ec0c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b8b2a5aa45d82ce81301250707bc373e1da4aa14 13-Jul-2012 Winson Chung <winsonc@google.com> Initial changes to synchronously load workspace on rotation.

Change-Id: Ia7cf80177fd0aee88aa3f4a731f5d6dc904bea16
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bb00ff2666d52a0df763a446ad3e398c643d23dd 13-Jul-2012 Adam Cohen <adamcohen@google.com> Fix inconsistency when dropping to hotseat

Change-Id: I0c186f930713bf195b3966ba5cfeac78220370bd
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e52a750e4f63ca5fce642256844cc603d40e6f26 02-Jul-2012 Winson Chung <winsonc@google.com> Fixing issue where the scrolling indicator was stuck while panning pages in spring loaded mode. (Bug 6603301)

Change-Id: I329a20e932ab6c4450a60a24c8ab7c0e090fe64d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
487f7dd3059621527eb439d7d51d34e00293f9b1 29-Jun-2012 Adam Cohen <adamcohen@google.com> Trying to track down corrupt database / items disappearing

-> Adding logs for all database transactions
-> Adding sanity checks for items in folders, throwing exceptions
if they are violated
-> Reducing database upates when re-arranging items, only
update if values have changed
-> Removed some dead code from ItemInfo (isGesture?)

Change-Id: Ia5cd57d92082f633dbf4aa5d64612cbae2d82bb4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d51f33a6316c34fc69b8040946ed9a62519bb225 29-Jun-2012 Michael Jurka <mikejurka@google.com> Only enable hardware layers on visible workspace pages

Change-Id: Id82fc76d00a188556460d1a78388d46be56c9c4e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
42490a5aa093e5ff653b041538c9f3ddf2b3e65f 28-Jun-2012 Winson Chung <winsonc@google.com> Removing unnecessary check of shortcut infos (now that we key removals off package names already). (Bug 6755420)

Change-Id: I13f088503e58eb021a585493e1c55eeccdffea86
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8bd65f5c57b8bae2fb82256e89ac30ddc0769319 25-Jun-2012 Michael Jurka <mikejurka@google.com> Fix build

Change-Id: I34b052159a393842bad707921205ea2778c1cbfe
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b187a56b8c46e5d25210bbc7ee3f2afb0d8ac0bd 25-Jun-2012 Winson Chung <winsonc@google.com> am bcff7eda: am 9dc25f06: Merge "Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)" into jb-dev

* commit 'bcff7eda3731b7af254a1d5182766683ea1d46e3':
Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)
3df7dcf513e0e38ab621d38e318bdefb96f0aa81 25-Jun-2012 Winson Chung <winsonc@google.com> Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)

Change-Id: Idf4fae51c65e0e53520740dd0b2050eeac00b251
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b1daa48fc8245a2cdb843da0977b7147c7891f7e 25-Jun-2012 Michael Jurka <mikejurka@google.com> Remove unneeded imports

Change-Id: I96e125c5ddbde7df10847e9514b947c80292ea40
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8c3339bde96d11fd1d7f818cd39e7438e309ffd1 15-Jun-2012 Michael Jurka <mikejurka@google.com> Compile Launcher against only public apis (level 16)

Also, removing use of TableMaskFilter (last remaining private api)

Change-Id: I2df80605b240352fdf7ef2ebd26b98342149bda3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
acb5f99c64c24421cdaca1474f83871f9a2ba33c 21-Jun-2012 Winson Chung <winsonc@google.com> Merge "Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)"
b21f7cf20ef0d37a934df2622cc1596c13a4a723 21-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Use getCurrentSizeRange to determine cell dimensions"
9470783614c733830ad2402c7630c5b3fdfb2a58 21-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Remove use of private api ViewGroup.setChildrenLayersEnabled"
3a0469d1e40459529e2d4d57ebc493f930f7c01a 21-Jun-2012 Michael Jurka <mikejurka@google.com> Remove use of private api ViewGroup.setChildrenLayersEnabled

Change-Id: I877bd84c6846ae232e2877e97de95d9344c13e56
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cd81073eac537e9f85eeee14588d513ea8a56e17 19-Jun-2012 Winson Chung <winsonc@google.com> Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)

- Fixes issues where shortcuts created by wallpaper/widget-only apps are uninstalled.

Change-Id: I94c9d1d71fc34aa2fb7f0660534e616a82ac6f36
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8bc66c7fe4d8f7ac1715010806f49840194279a5 21-Jun-2012 Michael Jurka <mikejurka@google.com> Use getCurrentSizeRange to determine cell dimensions

Change-Id: I7b50ad85594585a3c18838776652c3d873dbd82d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9f5331c8d1958cd7443099b94b4c31510efec8bd 20-Jun-2012 Michael Jurka <mikejurka@google.com> Remove use of private Display apis

Change-Id: I560a730af20f3068e7904eb9c8bfb29fa5d2c22f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2ecf995e0d2d55eb71d03f7230ca87270872d1a3 18-Jun-2012 Michael Jurka <mikejurka@google.com> Remove use of private ValueAnimator api

Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cc1cfe4b0c521a2add64f851a32f39be2b0327a6 19-Jun-2012 Winson Chung <winsonc@google.com> Fixing issue where dropping items onto side pages might drop them two pages away. (Bug 6433177)

Change-Id: I7fa745c269e63d699671cdaf0b527f2675ce3081
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
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/Workspace.java
94309887fe7ebcbb7236da2b261546be9649f7de 09-Jun-2012 Adam Cohen <adamcohen@google.com> Improving overscroll paramaters for 7-inch devices

Change-Id: Iba805137fca121bab7675eac22236af9642c27bb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
478244409e15594ceaa7426a6a23cc805db0b1fc 07-Jun-2012 Winson Chung <winsonc@google.com> Merge "Synchronizing on the new-apps list before modifying it. (Bug 6621553)" into jb-dev
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/Workspace.java
3d50932a93dd367537db3548bde29d1380b371c0 06-Jun-2012 Adam Cohen <adamcohen@google.com> Fixing ConcurrentModificationException (issue 6619380)

Change-Id: I49d293a79a463d129e829f823d6b213f3d5ffcf4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7afa902b6cf1b63aa145ec95bc62757b4f680abd 30-May-2012 Adam Cohen <adamcohen@google.com> Fix issue where item gets added to folder when displacing folder (issue 6576460)

Change-Id: I6999d97a7aa35d2aa348ca350f89765abb674089
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4c69ebb10833b1f84d80e1ba83f3ffa7fdc4e7ab 29-May-2012 Michael Jurka <mikejurka@google.com> Merge "Don't scale shortcut icons during install animation" into jb-dev
a2fe78630a6b01e51e3d3240ad9852a8822b4220 29-May-2012 Michael Jurka <mikejurka@google.com> Don't scale shortcut icons during install animation

Bug: 6540432
Change-Id: I5760b1a66d3871702fea1cb51e5ba31d812a8158
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
68f681bc7a10fc014ae0864c6e2db465ce4c30df 29-May-2012 Adam Cohen <adamcohen@google.com> Adding debugging for stuck widget (issue 6557954)

Change-Id: I73217d6a5dd650278f93ae02672c92c823e08ded
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d024f9845a0974ab525baad085f316031cd5a742 24-May-2012 Adam Cohen <adamcohen@google.com> Cleaning up some reordering issues:

-> Reorder solution should never change unless target cell changes
-> Simplified code and improved the behaviour when items' jiggle
animations switch from one direction to another. These transitions
are now seamless and have no more strange delays.

Change-Id: I35d70f275d622501851328584bfcb46eec91ff3b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bdfc9700b1cad043c04c757f134db1bf3df00da 23-May-2012 Adam Cohen <adamcohen@google.com> Fix a couple small bugs (issue 6539339)

-> Adjusting the character of the 'shake' animation to keep
a single phase, and instead stagger the animations slightly
-> Fixing issue where widget is not given the size change callback
if the widget is resized on drop

Change-Id: I9cd9e6cd39009d9e5c70e745812b6ece71b845ee
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3aff81c759a2912bed45643f7e1fb503fcfe69b0 17-May-2012 Adam Cohen <adamcohen@google.com> Tweak folder creation threshold (issue 6443778)

Change-Id: I7bd4ec5da5181032d2e0891a0ac8fca35454efa4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
08055f66528330ff1a1d1d13c856647d86dd967d 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility scroll support to PagedView.

1. Added support for accessibility scroll action to
PagedView.

2. Exposed AppsCustomizePagedView and Workspace for
acessibility if otherwise specified.

bug:5932640

Change-Id: I812e7c285cbc4d925390b9fae48a18acc68432ce
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
83d3b12ba6f930ad54ab0cbaa8dffefb23af56c0 15-May-2012 Winson Chung <winsonc@google.com> Merge "Making the page spacing fixed in spring loaded mode. (Bug 6478409)" into jb-dev
920d7f433e5be7b928fe52312c2e65d278b13ee5 15-May-2012 Michael Jurka <mikejurka@google.com> Preventing drawing pages in Workspace if possible

Bug: 6427601

Change-Id: I259554557a5856aa17a532c656032c4d6d5826bd
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8aad610dc58d810ec848a579c548f50c613c8641 12-May-2012 Winson Chung <winsonc@google.com> Making the page spacing fixed in spring loaded mode. (Bug 6478409)

Change-Id: I3577a1beecacb82528f0fde9439a8366a709b29c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f1dcdf61132a6321d0c1c0eb670c6cf1493ab981 11-May-2012 Adam Cohen <adamcohen@google.com> Fixing widget overlapping another widget (issue 6475997)

Change-Id: Ic78afc0ef5a2eab2278feb080f6b81d4b2baaed2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9d5b7d81ae498da060deb387a14b6a8475415592 10-May-2012 Adam Cohen <adamcohen@google.com> Fix launcher crash when adding widget (issue 6433360)

Change-Id: I0deaef6f4ba9252b76aeb5f2afa8564479557f8c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a3d30adbfd4f013260f1f5ba3a56bc9bb4a11717 08-May-2012 Michael Jurka <mikejurka@google.com> Don't show the outline on the current page

- only on sw720dp+ devices

Change-Id: I7253bedbf6dd61c766fe7e9ad861d3a917d37fed
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cb5adfe1efb6fb903a743b0bd2c014e41858be31 08-May-2012 Michael Jurka <mikejurka@google.com> Merge "DO NOT MERGE Add content descriptions for workspace cells." into jb-dev
51944f1ba43f46ddb8fa9d89025ff7360fe483f0 08-May-2012 alanv <alanv@google.com> DO NOT MERGE Add content descriptions for workspace cells.

Bug: 6441414
Change-Id: Iba57fb25c4c7e57a04b45ca60923edd9158228aa
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
be365165ed00205265c1876c4829fa9ac630da2a 07-May-2012 Winson Chung <winsonc@google.com> Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)

Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
30774acbb8b8711e3eef48ac9baaec99788d16a0 07-May-2012 Michael Jurka <mikejurka@google.com> Merge "Unify tablet/phone workspace scrolling behavior" into jb-dev
869390b6abd6e005a5ce85a8ee3c11daeecce919 07-May-2012 Michael Jurka <mikejurka@google.com> Unify tablet/phone workspace scrolling behavior

Bug: 5954015
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
452b4db5ce5206f050733a39fe95acad11617814 07-May-2012 Winson Chung <winsonc@google.com> Fixing NPE in LauncherModel (Bug 6449627)

Change-Id: I6e0040465e6bf9f65ad7c05af1f7ef7cf948a355
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8e21bc54113bf361d959f2c5934035b15f949379 04-May-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where items that were not yet added were not removed from the db. (Bug 6428418)" into jb-dev
2efec4e29f80db4293664d3ed4a89d37454510e1 03-May-2012 Winson Chung <winsonc@google.com> Fixing issue where items that were not yet added were not removed from the db. (Bug 6428418)

Change-Id: I8f76af1ccaa2bc5053f3e1f6606202310855aaae
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
5e024a3c9cf31021106f892fca0f83af3be029aa 01-May-2012 Winson Chung <winsonc@google.com> Merge "Fixing regression where the proper rotation check was not being done. (Bug 6422040)" into jb-dev
4b919f813f4e5e0323a4c1747392551fce4a8758 01-May-2012 Winson Chung <winsonc@google.com> Fixing regression where the proper rotation check was not being done. (Bug 6422040)

Change-Id: Iadc9a886b84c4418750dc365298944f76c564587
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7d2d6b5f0972354df05249082d4179dcdc442723 30-Apr-2012 Adam Cohen <adamcohen@google.com> Merge "Making launcher update widgets with min/max extents" into jb-dev
a897f397e553826f327d853d5728d0e1d24513a6 28-Apr-2012 Adam Cohen <adamcohen@google.com> Making launcher update widgets with min/max extents

Change-Id: Iba9325eeb95a8a8256ef6f59f4010aff09767892
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
da954bb59932db33e50faf50ebbef77b8b458833 30-Apr-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev
11a4937fbff0dbc50fb022513dc3b6c643154445 28-Apr-2012 Winson Chung <winsonc@google.com> Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)

- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
873ad10401bede22aa72339996e70710a4807c32 28-Apr-2012 Winson Chung <winsonc@google.com> Merge "Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)" into jb-dev
360e63fd3e77247002b86da2a77bd8dfe8c8a807 27-Apr-2012 Winson Chung <winsonc@google.com> Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)

Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a706b090ce71146d08a0189b287bba461d943f22 27-Apr-2012 Winson Chung <winsonc@google.com> Merge "Preventing activity from rotating while the user is dragging an item. (Bug 6240922)" into jb-dev
641d71d6da6c77cc32e5d0f65ccae89caed1ac34 27-Apr-2012 Winson Chung <winsonc@google.com> Preventing activity from rotating while the user is dragging an item. (Bug 6240922)

Change-Id: Id487e8809c059cecb3310afe098edd0eaf085c90
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a35e35ae0ac2391b8928eb15bf91274aea96b115 27-Apr-2012 Michael Jurka <mikejurka@google.com> Solve blip the first time All Apps is launched
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f8304f05db24b504b7a3bc113929af29df7daf6e 26-Apr-2012 Michael Jurka <mikejurka@google.com> Fix drag outlines for full-sized icons

Bug: 6384822
Change-Id: I4e861d7b99acbc458a3c812f04b5601a2de9a567
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
45ee3084550409f04f07685e569c3e72d5854463 26-Apr-2012 Michael Jurka <mikejurka@google.com> Merge "Make All Apps transition smoother" into jb-dev
b99d1afba78b8c75796d8d1d610ab6981560e6a2 26-Apr-2012 Michael Jurka <mikejurka@google.com> Make All Apps transition smoother

Build workspace page layers before launching
All Apps transition
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8b805b17158886035b38261eb611d8641701ae43 18-Apr-2012 Michael Jurka <mikejurka@google.com> Remove use of private APIs

Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
84f2ce77a6aafa30ff1f8d27edece01c8a89d436 14-Apr-2012 Michael Jurka <mikejurka@google.com> Fix use of deprecated method
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3a9fcedbcd235372cd2ab64f825a0b5b3937f59e 13-Apr-2012 Michael Jurka <mikejurka@google.com> Fix warnings and remove dead code

Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c4a729ac9da6d1e7c4273262607773bf0f1f21d3 12-Apr-2012 Adam Cohen <adamcohen@google.com> Merge "Widget resizing can now displace items"
bebf042666cffe52039b875a549a582abd78a431 12-Apr-2012 Adam Cohen <adamcohen@google.com> Widget resizing can now displace items

Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
64c9ab318817d5f098fa0fed7d893f630189b657 12-Apr-2012 Michael Jurka <mikejurka@google.com> Removing dead code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c6cc61d45836e4081920883cc4d448ccb0bb8417 04-Apr-2012 Adam Cohen <adamcohen@google.com> Cleanup and refactoring in relation to drag and drop

-> folder creation, adding to folders, reordering, switching pages
-> ensuring parity of dragEnter and dragExit in cell layouts and workspace
(neither were consistently getting an even number of each)
-> actually enforced above with exceptions -- probably want to
take these out, but maybe we can leave them in as warnings
-> fixed bug with mapping points to hotseat
-> fixes other bugs with drag and drop

Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b06d95fc79389ce49dc97ecaae23e05d931a6ac2 02-Apr-2012 Michael Jurka <mikejurka@google.com> Fix bug where overscroll never fully snapped back

Bug: 6085652
Bug: 6065523

Change-Id: Iaac5705e00e08882beba0cad7ee0d339de31444a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e49eafc2294765672ed56c2b05818c532d571bb0 03-Apr-2012 Michael Jurka <mikejurka@google.com> Merge "Show side pages when exiting spring-loaded mode"
c0a5df9c650b22f8ea06a0298f00bbfab40e5844 03-Apr-2012 Adam Cohen <adamcohen@google.com> Fix NPE when dragging Problem Loading Widget (issue 5899606)

Change-Id: I63656a2bb47a4af041f161e1f15095c89ab006b0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4ff7d79ddcee0a95fe6e7458731decd694b91d03 02-Apr-2012 Michael Jurka <mikejurka@google.com> Show side pages when exiting spring-loaded mode

Bug: 6132598
Change-Id: I2bf9025b7ac66d020522448b003905cb37c87587
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
22aae37f039c2ad74153e1eeeaf9ca8619c12989 30-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Cancelling scroll indicator animation during All Apps transition"
d346171a34f3f6380d7b92629f8991e56829f928 30-Mar-2012 Adam Cohen <adamcohen@google.com> Fix issue where hotseat wasn't being correctly persisted (issue 6259158)

Change-Id: Ie19c0f8e79a91a1021a3576f48e1db7d0c3478e1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1cd2f1130b0cfbce7814c3e446f7f970aa32d7eb 29-Mar-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where you can't hover over the right edge to snap to next page in landscape phone UI (Bug. 6240612)"
2acce88b5fa316e7a314109f9957ad233a6c31a6 29-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing crash when dropping item in hotseat (issue 6246039)

Change-Id: I50ad5439127adbb29423116bf0471a970f62e1bf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
10bfc6e9294a4a336e505b57bac6fbac57bd8395 29-Mar-2012 Winson Chung <winsonc@google.com> Fixing issue where you can't hover over the right edge to snap to next page in landscape phone UI (Bug. 6240612)

Change-Id: I5fcde8c51eaf0a8944799d19f35d67ebe614297d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ea889a294be004f4b1c21e9b874f9e63abfb8bd6 28-Mar-2012 Adam Cohen <adamcohen@google.com> Fix non-persistence of launcher (broken by reordering changes)

Change-Id: I6fb9cb2257844e642df9b5599188b1cfce35df9b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4884647ab22bd3a038d4904997bbb0ac03a09c1c 28-Mar-2012 Winson Chung <winsonc@google.com> Fixing issue where scrolling indicator was showing on the tablet. (Bug 6164741)

Change-Id: Ie62deaa74920496f0152c596e87cc6e9809de47a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
19f3792523fe2d55ea791a9286398a6120920690 21-Mar-2012 Adam Cohen <adamcohen@google.com> Implementing spring-back version of reordering

-> If you hover above occupied cells, we try to find a new location
for the items. The items only remain in the temporary position
while the drag ivew is over their original position after which
they animate back.
-> Items in the temporary positions animate in such a way so indicate
that they are in a temporary state, and in such a way so as to hint
at where they will return to.

Change-Id: I7537c65228c505afbd2f1c22938cfd9d7719839a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
93eef082ec2da802ee4507fb2ca729e550f833f1 23-Mar-2012 Winson Chung <winsonc@google.com> Making the text reflect the container when you are unable to drop onto a space.

Change-Id: Ib3734b7f7767bdf0fb4c95dcc1298da02c04e9cd
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bdeb601f952efd3b14ff9402a204f775c88cc85 23-Mar-2012 Winson Chung <winsonc@google.com> Merge "Adding animation post-installing a shortcut."
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/Workspace.java
41f56a1bcc327b1898121433ad419f1dbda5f359 23-Mar-2012 Winson Chung <winsonc@google.com> Merge "Allow fling gesture while dragging from AllApps to dismiss drag."
72db6d7969fab079052e76168a72528d01c227b5 23-Mar-2012 Michael Jurka <mikejurka@google.com> Cancelling scroll indicator animation during All Apps transition

Was causing slowdown in the All Apps transition

Change-Id: I0f5934c0732e04519b426f008c8154b8a66517e9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a48487a814c07a9f1f45eb3ffe3d873b3dc31b3b 21-Mar-2012 Winson Chung <winsonc@google.com> Allow fling gesture while dragging from AllApps to dismiss drag.

Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6c8a5790820dbcb64568fdefc8464a8d971847f0 22-Mar-2012 Michael Jurka <mikejurka@google.com> Minor code cleanup

Change-Id: I92c0f9c9c96bace85a96a781bb4fdf2604c6f75b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
08c93d7eca03ec2cd1300ce6a085b59a4670a03b 21-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Eliminate custom alpha handling in CellLayout"
043f2af567178b82b0b41f12d379e7dd12da2936 02-Mar-2012 Winson Chung <winsonc@google.com> Adding fling-to-delete.

- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a52570f8f9ad65b85e33a2f2e87722f9edd6c6f4 20-Mar-2012 Michael Jurka <mikejurka@google.com> Eliminate custom alpha handling in CellLayout

Also rename CellLayoutChildren to ShortcutsAndWidgetsView

Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
482ed823afb4c7452e037ce8add7ea425fc83da2 02-Mar-2012 Adam Cohen <adamcohen@google.com> Initial implementation of CellLayout auto-reordering

Change-Id: Id5b5080e846907a7d9cd6535f6e7285e83a0ff71
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0e5a56d62d188170c8e869d55e875250d0167dff 12-Mar-2012 Winson Chung <winsonc@google.com> Merge "Fixing some issues/regressions related to scaled icons."
e384affda684a48c61d99ebfe8be40fb7d46d761 10-Mar-2012 Michael Jurka <mikejurka@google.com> Fix case where shortcut label wasn't updating

When installing an updated version of an app,
update the title (we were previously only doing
the icon).

Bug: 6069921
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
eecf02da58adef5486bf0c9ff7127ea891f457a4 03-Mar-2012 Winson Chung <winsonc@google.com> Fixing some issues/regressions related to scaled icons.

- Fixes issue with folder icons being clipped in landscape in sw720dp (Bug: 6118397)
- Fixes issue with divider being in wrong orientation in sw720dp
- Fixes issue with scaled icons not being drawn with filtering
- Fixes issue with side pages showing under the hotseat when in landscape in phone UI
- Animates the drag view on pick up and drop

Change-Id: Iad26427ec63fcbc9bdb3b29a4645689ba445d5c8
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
89f38eaf84414285303e258ac2a4de0c4340dc96 02-Mar-2012 Adam Cohen <adamcohen@google.com> Stripping out dead code for global drag and drop so that it doesn't have to be maintained

Change-Id: I133a0a73f761c52e533bd35d7aaef76726f73b97
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7f1435c303f71ad2a31f91040801e2d05dd36c29 02-Mar-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing animation bug when moving an icon to an adjacent screen"
826a661d5bae6a5e2e3bd8fa46a1cae9e68fe2ec 02-Mar-2012 Andrew Flynn <flynn@google.com> resolved conflicts for merge of a3e22d6a to master

Change-Id: I8770574acf86e280a9d15d4309686111260e09d9
0dca1ec41479a74f8da080224fa0c7eacab674d6 29-Feb-2012 Andrew Flynn <flynn@google.com> New small/large screen division for Launcher.

Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
85b467bf3f7a483512ca8485c9c18254d460b079 01-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing animation bug when moving an icon to an adjacent screen

Change-Id: I42eed5240bb23689285da8afdd37a1228e4cc486
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b8fffe76399653c423e2195990b2ebfb15139ac4 29-Feb-2012 Michael Jurka <mikejurka@google.com> Merge "Fix wallpaper offsets for live wallpapers on tablet"
9551537718c191a829fd285890833225c023203d 29-Feb-2012 Michael Jurka <mikejurka@google.com> Fix wallpaper offsets for live wallpapers on tablet

we were giving values that weren't an even fraction
(ie n/4 where n = the screen # we're on) and
therefore live wallpapers couldn't tell when we
were fully settled on one of the workspace screens

Bug# 6029132
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f0777b9d7a8f4befa22a36f227a052616152108f 28-Feb-2012 Adam Cohen <adamcohen@google.com> Fixing drag and drop framerate regression in workspace

-> Animating the alpha on workspace during drop was slowing things down.
Instead we modify the alpha on the individual CellLayoutChildren objects
which have hardware layers, so modulating their alpha is cheap.

Change-Id: Id31e47cd05d593d2fef0ab28e15a9d4e11ed1aa1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d41fbf5680750e34335bba6b38298186c144a4b7 17-Feb-2012 Adam Cohen <adamcohen@google.com> When adding or moving a resizable widget, the widget may resize

-> If a widget is resizable, and there is not enough room to add it
in its current (or default) size, but can be scaled down to fit
a certain area, it will be resized to fit the available space
-> The resizing is animated using a crossfade and scale between
the original dragView and the widget rendered in the final size

Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9b0b2fefb2de9aca457ab1c38ffd08d7667f4065 24-Feb-2012 Winson Chung <winsonc@google.com> Fixing issue where icons can't be clicked during launcher transition.

- Also tweaking the workspace fade in/out interpolators

Change-Id: I65d1aefbead13f662c84a2f1178c73615153fd5a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
61b0c69d3fe331d3de338322396d5de691d58613 24-Feb-2012 Winson Chung <winsonc@google.com> Tweaking pickup animation, vibration and removing glow from drag view.

Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
72d598400da7cef9c7fc4f99bb1fcd7ff0710011 22-Feb-2012 Winson Chung <winsonc@google.com> Animating the widget previews on drag from AppsCustomize.

Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
867ca62c0e4b811d46734ff940d59c7a787525c8 22-Feb-2012 Winson Chung <winsonc@google.com> Fading out workspace when dragging to higlight dragged object.

Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7044272f180d34ab29866f6c59ee75376e8a1df5 11-Feb-2012 Winson Chung <winsonc@google.com> Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)

- Also updating mTransitionProgress so control when drops succeed

Change-Id: I2f672c64f0a87249dcf7d254f963b8b2710c849f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bed61d22bdbfcdbe04f92675c7751b83c7a8947c 15-Feb-2012 Michael Jurka <mikejurka@google.com> Revert "Revert "Speed up All Apps -> Workspace transition""

- also, undo enabling hardware layers for
scroll indicator, which could have caused
slowness
- fix bug where scroll indicator was not seen
after the first visit to all apps
- eliminate a some needless hardware layer redraws
- making items under All Apps invisible when we're
in All Apps
- making workspace spaces invisible if their alpha is 0
to prevent more hardware layer rebuilding

This reverts commit 9753d13c7bda09c1203c611ac6717021037f39c3.

Change-Id: Ib908ae0b456b2d4b8a171991a95f20aea4749da1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a1ae3c0992c256671b8daf5101e8e2051e32686a 15-Feb-2012 Andrew Flynn <flynn@google.com> Merge "Fixing issue where smallest screen dim was not taking dpi into account." into ics-scoop
ef3dd6efe03c988be1fe980fbed75333017e6760 15-Feb-2012 Adam Cohen <adamcohen@google.com> Fixing bug where widget preview wasn't fully updated upon drop

-> The prebound widget is now added to the DragLayer to ensure
that it goes through all necessary measure/layout/attach etc.

Change-Id: I53ca32e88fcbc2211d2747c3b067816c0d518e30
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
15cf5093ce5436f8bf0da7c3875692eeab71796a 14-Feb-2012 Winson Chung <winsonc@google.com> Fixing issue where smallest screen dim was not taking dpi into account.

Change-Id: I1efacf693200f490c506050ce36403db224b5846
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2a5bc113b49b79c49281d5f8d8c1421d663d2ee4 15-Feb-2012 Michael Jurka <mikejurka@google.com> DO NOT MERGE

Fixing animation glitch

Bug #6015450

Change-Id: Iebbce7c07816b51b0fb98cd5b83ca2af2e5f76d4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
038085598ca6180688767f90a759a5eda30e2daa 15-Feb-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing annoying bug where widget would drop to side page"
82ac8a24883a3495a96189a6e5eb307f50177e0e 15-Feb-2012 Adam Cohen <adamcohen@google.com> Fixing annoying bug where widget would drop to side page

Change-Id: I7e8bf298e01666fe29abc322b45f2538569c5ed9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2210d2ad0c04c8b71b8241be6933781e8928edc5 14-Feb-2012 Winson Chung <winsonc@google.com> Merge "Animating the drag view scale up and down when dragging items."
a61dc4290d14f802909ed9abb8f8e14cf1793f9d 14-Feb-2012 Winson Chung <winsonc@google.com> Fixing issue where smallest screen dim was not taking dpi into account.

Change-Id: I1efacf693200f490c506050ce36403db224b5846
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
54d9fc2830fd770e58aa73af5238bda7512d3cfd 14-Feb-2012 Winson Chung <winsonc@google.com> Merge "Revert "Speed up All Apps -> Workspace transition""
9753d13c7bda09c1203c611ac6717021037f39c3 14-Feb-2012 Michael Jurka <mikejurka@google.com> Revert "Speed up All Apps -> Workspace transition"

Temp fix for 5976264

This reverts commit 9433fa7ebad74320e39bfac6161a68bc850fe161.

Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1b36dc3f2bb643e3b9600755f1a98522e4efc2ed 14-Feb-2012 Adam Cohen <adamcohen@google.com> Fixing bugs with new widget adding

-> widget ids were being reused in some cases
-> widgets could be added before springloaded mode was entered

Change-Id: Iaf3bffc49d4ec2de4b63db1b5cfb52b8544e9c2b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bd1bbb509f9569fa18d6b4d33242679fd98bc9b 14-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ed66b2bac7447febe2e405b4ce725cae4f6b5988 24-Jan-2012 Adam Cohen <adamcohen@google.com> Improving widget transitions:

-> When a widget has no configuration activity, we bind
and inflate it when the user picks it up. This allows
us to smoothly transition between it's preview and
some actual state of the widget when it is dropped.
-> When a widget has a configuration activity, we delay
the above process until the configuration activity
has been run at which time we transition between
the preview and the actual widget.

Change-Id: I5265cd98400d70e5e75c3dcd21e322ed0b352d7b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a1cdab039292f3d809528c0e2e38580b37864d8d 13-Feb-2012 Winson Chung <winsonc@google.com> Reverting: "Animating the drag view scale up and down when dragging items."

Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
42c29aedf2b518c4317fc534f3c87711b57bc9b5 07-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6af9af057f2e40c54a4ed447c4628eef7dc15683 03-Feb-2012 Adam Cohen <adamcohen@google.com> Fix issue where launcher didn't return to workspace on screen off (issue 5628744)

Change-Id: Ic058cf7a803d2fe7be98325138cd5bd52a96cd9c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b33e05fa50a0a386e96acf8dc9b5ccd1ba6834ae 30-Jan-2012 Winson Chung <winsonc@google.com> Fixing two regressions in which side pages were not drawn or oriented correctly.

Change-Id: Ib936d7701c8962fc04e6fed2e3d624291fe8fc46
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d7654c416c215dd6a9c8b733a16b0a35f1f22c13 24-Jan-2012 Winson Chung <winsonc@google.com> Merge "Showing page indicator while dragging (Bug: 5117192)"
1afedc379f8271b9bf86a8d887c3c020d5e59214 24-Jan-2012 Winson Chung <winsonc@google.com> Showing page indicator while dragging (Bug: 5117192)

Change-Id: I3c8180b2166f3961fbb9529c5de187b4b7b561cf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e4e506660ba93ae2c4f1cb0b41378cf148c85e2b 23-Jan-2012 Winson Chung <winsonc@google.com> Locking pressed state for AllApps icons.

- Setting workaround for transition state bug until b/5897600 is fixed.

Change-Id: Icb29a4cd7bfaf527a9db5b853e7fb24c63b58b30
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
28c1854896bfd39d850d4ad562361fcc1651516c 23-Jan-2012 Michael Jurka <mikejurka@google.com> Merge "Speed up All Apps -> Workspace transition"
3bc21c35fa167ac233e19df0c9a01b0a07173ed8 20-Jan-2012 Winson Chung <winsonc@google.com> Fixing issue where the outline is on the wrong side of the screen when dragging to final page.

- Also allowing pages to snap in springloaded mode without moving your finger.

Change-Id: I868f700bd740f2cd1e02023e1dee0f66b0799c58
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9433fa7ebad74320e39bfac6161a68bc850fe161 19-Jan-2012 Michael Jurka <mikejurka@google.com> Speed up All Apps -> Workspace transition

- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739

Change-Id: I52a088e551c1636a67725629640286b885070f32
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
aa15ffe60e28b923ebf3e3162ce427ca6feae803 19-Jan-2012 Winson Chung <winsonc@google.com> Allowing dragging to edge and holding to continue skipping pages.

Change-Id: I254f267e2ed04980925f71b7c96c2cac11f350ec
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7372c59277a23a31eeb1513a554b29d7bf05aedb 16-Jan-2012 Michael Jurka <mikejurka@google.com> Remove use of setFast* properties

Change-Id: Ibfae0eed65d384789929829d6a24379561934eb4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7407d2a16ed6cf22494122cf683bf13de6fa3695 13-Dec-2011 Michael Jurka <mikejurka@google.com> Using ViewPropertyAnimator for animations

Replacing some use of fastInvalidate/setFast*
methods with ViewPropertyAnimator animations

Change-Id: Id5a8934b38d9ae3a95b6dccb431f9787839d2927
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
80c69853d64b73e5d62ed33bea1b10680557ee3e 16-Dec-2011 Michael Jurka <mikejurka@google.com> simplifying code to prevent drawing off-screen

On certain graphics drivers, if you draw to a off-
screen buffer that's not used, it can lead to
poor performance. We were running into this in
launcher; when setChildrenLayersEnabled was called
on a CellLayout, that triggered a re-draw of that
CellLayout's hardware layer, even if that
CellLayout wasn't visible. This CL changes
PagedView so that pages that aren't going to be
rendered are set to View.INVISIBLE, preventing
re-drawing of their hardware layer.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
58e8b25c5958a6d633b8d12ef80cf84709297c2d 15-Dec-2011 Michael Jurka <mikejurka@google.com> Merge "Small optimizations for the All Apps transition"
afaa05014e0bf3ed1192f9ddec2af4283bc50248 14-Dec-2011 Michael Jurka <mikejurka@google.com> Small optimizations for the All Apps transition

- don't set properties in animations if they don't
change
- don't recalculate visible pages on every frame
- don't require scroll indicator to be an
ImageView

Change-Id: I099b29e677da2d0e401f677d47cdb8b5df51224e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6441de0ec2a71862798dd51180d0811b42edd514 14-Dec-2011 Adam Cohen <adamcohen@google.com> Fixing subtle animation jank when dropping icon on adjacent page

-> The old path of the icon wasn't correct from a motion standpoint

Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8a18afc4aa7217e293e0e96a23ac1cedaabc3738 14-Dec-2011 Adam Cohen <adamcohen@google.com> Fix issue where crosshairs wouldn't disappear (issue 5190654)

Change-Id: Id5fc7257021b20680fec1f2c215d95dac425d4d4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2a4b1a809c6bc0af9ae3ad974fe50e2a91569543 07-Dec-2011 Michael Jurka <mikejurka@google.com> Make All Apps<-->Workspace transition smoother

- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps

Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
265b9a66542148e0ff13971001cb9461065e1e0e 07-Dec-2011 Adam Cohen <adamcohen@google.com> Scaling PagedView fling constants by density (issue 5594666)

Change-Id: I3f37b820fb9864091a02a51b354f10f9a0fa2ac7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7e38964c43ecaca90b97d28e3190d71d19feeecc 29-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Clean up unused code and import declarations" into ics-mr1
e96e5cb768fcc6f1211c8c31fa2da4dcd4e465cc 28-Nov-2011 Winson Chung <winsonc@google.com> Fixing a few landscape issues.

- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
92f3d46cf35e78891f73226e81f8ca7e9a7f4d92 23-Nov-2011 Michael Jurka <mikejurka@google.com> Clean up unused code and import declarations

Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8171d8ce48765cbc9e6ed96ac3dc173a8969616d 24-Nov-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)" into ics-mr1
65f9e9d45b8ba9aa819be2c4fca1722db7784868 24-Nov-2011 Winson Chung <winsonc@google.com> Merge "Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)" into ics-mr1
ea49c1c8610ad7eb0367d073a410e989c8998160 23-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" into ics-mr1
1120e0355798391712f1d2e2b205f0bd3724770c 23-Nov-2011 Winson Chung <winsonc@google.com> Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)

- Also fixing regression where widget drag previews weren't slightly translucent

Change-Id: I5370819589a2fc839df8742cda5156aec986b47d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
96ef409ebdc798a82786e5dcecfd7d897be0ed30 22-Nov-2011 Winson Chung <winsonc@google.com> Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)

- Also allowing drop on all apps button to cancel a drag

Change-Id: I27252bd34c591882d8c5f80389d8fd6f4f6e4791
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
026df005fbe448090eebfebeab9a3ada24e4823c 22-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing bug where drag would sometimes get cancelled inadvertently" into ics-mr1
a21e9537ba256c5bc162c1aae14664360832406c 21-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Potential fix for out-of-date hardware layers" into ics-mr1
dfab7f0285eea71abd7fa64e893541fdf831c73b 18-Nov-2011 Michael Jurka <mikejurka@google.com> Potential fix for out-of-date hardware layers

Might also further help bug where IMG GPU slows
down when rendering into hardware layers that are
not rendered to framebuffer

Bugs # 5614712, 5616414, 5628998

Change-Id: I85ff11889aa28f6985dd68e7f1e57d0da2150aa5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
74c28d1a6cf13fdfa55ff9518d2b27be10d01f6e 18-Nov-2011 Adam Cohen <adamcohen@google.com> Fixing bug where drag would sometimes get cancelled inadvertently

Change-Id: I4e838836c5a943abe9ebe2437cb53f68e6aae3d0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
aa1e57286d5435fff0ad1de894cf9d3d730b5e59 18-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Small fix to deal with ugly widget dropping situations" into ics-mr1
bad24941cdc9fd6bfa17f90a72157466b7b00f68 18-Nov-2011 Adam Cohen <adamcohen@google.com> Small fix to deal with ugly widget dropping situations

-> Tried some more elaborate fixes in which aspect ratio of the
preview were not preserved. Given that nothing clearly always
better, going with a simple fix for now.

Change-Id: I3dccf95680da55cccfb6f00befe88cea4bbe0035
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b0736fac73b0df95f18234a0494aea3f3fc6c735 17-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Fix hiccup when dropping in springloaded mode on large ui" into ics-mr1
70ed13b370e390010ee57eed5983fb86da061ed9 17-Nov-2011 Adam Cohen <adamcohen@google.com> Fix hiccup when dropping in springloaded mode on large ui

Change-Id: I434c594e0d2c94b122cd3336f36c529e6c3d1066
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b737ee6ab2dc4938a1b2a574c336af0eab826712 16-Nov-2011 Michael Jurka <mikejurka@google.com> speeding up transition from other apps -> Launcher
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
038f9d8bfb53288e7cf5812f62ec3d5b25fec965 03-Nov-2011 Michael Jurka <mikejurka@google.com> Widget preview improvements

- Make widget preview bitmaps as small as they can be, saving ~0.7-2MB peak memory (5104303)
- When adding/dragging a widget, make the drag outline/drag view much more closely match the actual size (5566938)

Change-Id: I5b5b7b84fa551d56432a76223b1a9e4de620ff56
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ebea84d1c95f4c38ba8cee46cd586fd757b4fce2 10-Nov-2011 Adam Cohen <adamcohen@google.com> Unifying overscroll btw phone and tablet

-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e6dcf2651283d9237cabace60f208f9e45e6d7d9 11-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Reduce unnecessary layout passes" into ics-mr1
81efbad05e0ce69b06d7323749ef2e200b84b98e 03-Nov-2011 Michael Jurka <mikejurka@google.com> Reduce unnecessary layout passes

- Also delete unused code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
dde558b8b8bcf3fac6d2ceceafa1f7546f98a264 10-Nov-2011 Michael Jurka <mikejurka@google.com> resolved conflicts for merge of b9c76f32 to ics-mr1

Change-Id: I7579e312c48c9f9279e93283629036a9332aa34c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
21b411074e39fd10cbc8dd0220bb159da4af2c76 02-Nov-2011 Adam Cohen <adamcohen@google.com> Cleaning up overscroll effect in launcher workspace

-> Making sure workspace is drawn above the hotseat and qsb
-> Dimming the dock divider and page indicator during overscroll

Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
55f57c49cf333a6015befe38131ef8a78a091171 01-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Launcher performance optimizations: shaving about 3ms off Workspace.dispatchDraw()" into ics-mr1
132793e607313aa6f573d2241706fd12db6f1651 01-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Fix stuttering animation when you press home" into ics-mr1
cf489fe0c6ca71bee4991b9b853665cba4e80868 01-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Update tablet wallpaper size" into ics-mr1
bdf78559f223ac11e01e3311edd5a48a80383e1e 31-Oct-2011 Michael Jurka <mikejurka@google.com> Fix stuttering animation when you press home

Bug # 5533287

also removing some dead code/assets

Change-Id: I05e0a67d5b9003c76e1589a9dc54b7d17b755acf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
73894964c27f68a3a7ffb45bfba76520613fd3f0 31-Oct-2011 Adam Cohen <adamcohen@google.com> Launcher performance optimizations: shaving about 3ms off Workspace.dispatchDraw()

-> Caching values of getChildOffset() and getChildRelativeOffset()
-> Using fast invalidate pattern in workspace#screenscrolled
-> eliminated updateAdjacentPageAlpha, combined with screenScrolled
code where appropriate to take advantage of fast invalidate
-> removed a bit of dead code (just for cleanups sake)

Change-Id: Id91542ff846d9495a0370707d02d1f647dab22d4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
193080b4c6bfde502aa122b15315745650661af7 29-Oct-2011 Michael Jurka <mikejurka@google.com> Update tablet wallpaper size

- No wallpaper overscroll when horizontally swiping in Launcher
- No more vertical parallax
- Always setting the wallpaper offset to be centered vertically on phones
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8db7000140d3c35be92a4e07cf54ea6ec4ae3030 26-Oct-2011 Peter Ng <petergng@google.com> Asset updates

- Change how default widget previews look (5509429)
- Improve antialiasing in portal assets

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1b7c1d351585cc2ce1c45bce85c9a26a9394753e 25-Oct-2011 Winson Chung <winsonc@google.com> Cleaning up some code related to background alpha. (Bug: 5512761)

- Fixes problem where side pages animate in when going to/from all apps
- Fixes issue where current page outline shows on first drag after going to all apps

Change-Id: Id764ff30daf7f4e9ca6f57d3bcd939a8a20c9473
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b8c69f3c17a40adc2d85e8e996f754c383c293dc 20-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where holographic outlines were offset when dragging from/to folders/hotseat. (Bug: 5399792)

Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b64d36e6f8006b3ea5a6c2951af4cf8dea72d08e 18-Oct-2011 Adam Cohen <adamcohen@google.com> Fixing stutter in AllApps transition

-> Tightened up the interpolator and decreased the duration of the
AllApps-in animation. This removes many excess frames at the end
of the transition, and frees up perf for swiping AllApps:
(issue 5359751)
-> Changed when AllApps state gets reset -- now only after
leaving home, and then pressing home, or when the screen
turns off.

Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c1f5d26675e9777a55076d41404208e6160ca483 01-Oct-2011 Michael Jurka <mikejurka@google.com> Fix stutter when swiping workspace first time

Bug # 5366313

Change-Id: If4212d0cd626d0829e3e4487da52f455b0b89983
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
700eef7bc66687ba626e507d93dcb93f829a5fba 04-Oct-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)"
3e0839e5f830ab7e64223ebe186d97729eda3e22 04-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)

Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1e9cbfef04366a206d59922c14fe4356b7cca426 01-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where folder icon shows holographic outline.

Change-Id: Iabb26cdbd25d02170f79ba030f97323120a3aa7b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
36cc09b07b19198f4ea886583cef462ade27192c 30-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)

Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ac56cff1860b71d3f164aedd268703936e08fdc0 29-Sep-2011 Adam Cohen <adamcohen@google.com> Adding keyboard support to folders and fixing renaming rough edges

Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1670698ff3502548aa066e32c28ecf62c5592a34 27-Sep-2011 Michael Jurka <mikejurka@google.com> Making wallpaper width 2x the screen width

Fixes bug #5373026

Change-Id: I5de999aee3958a4b6c83a144af64c7bf1cf12e39
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a64718061a46e3982e35547e675244642bb82860 22-Sep-2011 Michael Jurka <mikejurka@google.com> Restore gingerbread-style wallpaper parallax

Change-Id: I687b725f13053726569543a82df77d4a80aa907e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
446e940fc8839173de12f1299b8c24f318d53a3f 16-Sep-2011 Adam Cohen <adamcohen@google.com> Locking orientation on phones (issue 4967793)

Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
286f2e1da9f8638b914e0ca1659f36369ee6b501 15-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Disable tap to switch pages on phones"
b72094fe1da249cc16af517d5ef598b3cbcbdf11 14-Sep-2011 Michael Jurka <mikejurka@google.com> Disable tap to switch pages on phones

Change-Id: I15b911c2785df5aa124814c6128523042104b4da
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cff6af81d721415785bddc2efd74e179d2def9da 13-Sep-2011 Adam Cohen <adamcohen@google.com> Tuning AllApps <--> Workspace transitions

-> Removed extraneous service transactions during scrolling

Change-Id: I60a201e7a94608d6fbafd2350f39a466d7a4c003
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
dea74b7d12b0fcd50bfdb4274f9867ba76d75238 14-Sep-2011 Winson Chung <winsonc@google.com> Updating assets.

Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7842d7fc78eebfb2b7cbad23adf11f7b6d923f79 13-Sep-2011 Adam Cohen <adamcohen@google.com> Fix blip in AllApps transition

Change-Id: I599867712796b5ec0e0523f3dbcf11b50e012d93
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b5ba097015c4794fa822f30b38a60a7070a00097 08-Sep-2011 Adam Cohen <adamcohen@google.com> Workspace overscroll effect

-> Made AllAppsCustomize scroll/over scroll more subtle

Change-Id: Icf1889b3adccce22d4a2d80c5b487518b0ab3157
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c9d95c5897fc5ebbf53903d4ab18ad13d196f643 29-Aug-2011 Michael Jurka <mikejurka@google.com> Cleaning up LauncherModel

- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug)
- centralizing logic to do database updates
- removing old logging code

Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5037a0b02a720ae14cbf673d7d5bb148f5a524c8 01-Sep-2011 Adam Cohen <adamcohen@google.com> Fix small issue with wallpaper jump

Change-Id: I1f9ad36b7c96528f70b82804f2505bc97c453a32
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
beff8c6a13d5b5ad69f5a85ee0150cecd28e6341 01-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing wallpaper scrolling to be consistent in springloaded

Change-Id: I0aabd541e07c32aaa47068047e5ecb67f89cabab
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
02f258733a79329d4b7300839ed7ff3763ad7d42 31-Aug-2011 Adam Cohen <adamcohen@google.com> Merge "Refactor and simplify home transitions"
7777d967a60ecfd34ad2d94141d598fca4021058 19-Aug-2011 Adam Cohen <adamcohen@google.com> Refactor and simplify home transitions

Change-Id: I499ba571c889b684a759ee84c2a626ef94977855
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2e9f4fb38e833b18fe403da17b00f830d6a5e86c 31-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing bug where workspace wouldn't accept drop

Change-Id: I23a4b70b42d2271afc12f9cb6ed429b6d320ebeb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
de3fbbc832eaccf08c34fbd233f77fc9d4f77d1a 31-Aug-2011 Winson Chung <winsonc@google.com> Merge "Tweaking grid spacing (5162387)"
2b8e44577096a737b97c6687fc8ad1f067ea1e89 27-Aug-2011 Winson Chung <winsonc@google.com> Tweaking grid spacing (5162387)

Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b60fd0eafbb4e6e61b429c403f024dc903bc483a 29-Aug-2011 Michael Jurka <mikejurka@google.com> Tagging where ItemInfos are created for debug purposes

Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
099f60d51f6310e1290687e83958e665b3324504 24-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing folder icon in landscape, issue 5135333

Change-Id: Idf46b12a947bdc0e56993b8827021855d5349bc1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fafa874d8bad3893c185fc1e41e1faf3ff450fe9 17-Aug-2011 Winson Chung <winsonc@google.com> Merge "Improving transition between Apps/Widgets panes (5145408)"
f314b0eab03bb354c14b6c89f694a6685bd246d9 16-Aug-2011 Winson Chung <winsonc@google.com> Improving transition between Apps/Widgets panes (5145408)

Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
558baaf0a0b1c6a9062a6771088098533a35222b 16-Aug-2011 Adam Cohen <adamcohen@google.com> Fix issue 5064004, can't add shortcut to portal from AllApps

Change-Id: I99cd2108af617cf5a80b417f81a86c363fac2377
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2d96b970b67665ca290cb3776385cc1e354e313d 12-Aug-2011 Michael Jurka <mikejurka@google.com> Merge "removing unnecessary/dead code"
08ee77090f1fef565142e9341914369b1aa342d1 12-Aug-2011 Michael Jurka <mikejurka@google.com> removing unnecessary/dead code

Change-Id: I46d5b5fbee97b6895fb4f1b61627fda6f8568256
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
981b8a3708f7c8de5ab8f896c4ea8110379c012a 11-Aug-2011 Winson Chung <winsonc@google.com> Merge "Fixing problems in spring loaded mode and adding shortcut to hotseat. (5144911, 5144663)"
c7da555dc5b252042dff0a6920efb1bfeb4a0c9a 11-Aug-2011 Winson Chung <winsonc@google.com> Fixing problems in spring loaded mode and adding shortcut to hotseat. (5144911, 5144663)

Change-Id: Ibea34ecb17601c90c7a8f2c96abedff6c00dc4d9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d771c96e5d156ffde5d35ee13ce053de60dc3163 10-Aug-2011 Michael Jurka <mikejurka@google.com> Fix regression: taps were not sent to wallpaper

Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
70fc438583779ef903541bf9ec546a8235a18785 09-Aug-2011 Winson Chung <winsonc@google.com> Adding opacity to drag views. (5064535)

Change-Id: I6eb96edf203a53e55a0d20dd97ff383d0b51da0e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
02765c94268d7dc3531c87a638a184a3b481ad40 05-Aug-2011 Winson Chung <winsonc@google.com> Merge "Grid spacing fixes"
ea359c6aee44c0fe3bb94f7002c3b49208b32b7f 04-Aug-2011 Winson Chung <winsonc@google.com> Grid spacing fixes

- Restoring old grid for widgets
- Disabling ability to add widgets to hotseat
- Updating holo colors
- Updating assets

Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bdb25a9894970da74248c9cdc606d0e1ba05c99 04-Aug-2011 Michael Jurka <mikejurka@google.com> Updating All Apps background

- Making background of All Apps black
- Drawing background within All Apps (perf gains)

Change-Id: I164274235bc347de04fab0702b7e7075e499e6c0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
aaf473c2bb6329b3b09ed2e19de6aae26077050c 03-Aug-2011 Adam Cohen <adamcohen@google.com> Revert "Revert "Clear the bitmap associated with canvases.""

This reverts commit 4e012846cd09caa85b018c36810e9a64adb87640.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4e012846cd09caa85b018c36810e9a64adb87640 03-Aug-2011 Adam Cohen <adamcohen@google.com> Revert "Clear the bitmap associated with canvases."

This reverts commit 9b9d48f28926371eab94c425b1d54150732fa08f.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e5885b587c708162246225c9168ea14bc99b7ae4 03-Aug-2011 Michael Jurka <mikejurka@google.com> Merge "Fix UI bugs when dragging items"
7cfc2825c3a1029f962d2fc387ae2eaa85b51798 03-Aug-2011 Michael Jurka <mikejurka@google.com> Fix UI bugs when dragging items

- On large devices, snap to next screen when you drag an item to the next screen (matches behavior on phones)
- Do not fade out outlines of Workspace pages while using spring loaded mode
- Keep all icons on all pages opaque in spring loaded mode
- Optimize call to clear a CellLayout

Change-Id: Ia15e0e9da499d7835a77218985de47a1f195e4ef
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b2cdfb5f86bcf3e97598f9dd88415980d5a51f84 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Merge "Clear the bitmap associated with canvases."
9b9d48f28926371eab94c425b1d54150732fa08f 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Clear the bitmap associated with canvases.

Change-Id: Ic100a51960f8c0e7d8b3a107b64d23c7d70e6da9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0a7c914be6929f63dab74d420348d21970143ee2 03-Aug-2011 Winson Chung <winsonc@google.com> Merge "Multitude of launcher behaviour changes."
6a3fd3f042c8bfa7d83e29c1eeadff21323ab089 02-Aug-2011 Winson Chung <winsonc@google.com> Multitude of launcher behaviour changes.

- Merging widgets and shortcuts in widgets pane
- Removing legacy long press menu items (make it go straight to wallpapers)
- Removing old option menu (just making it point to wallpapers)
- Dropping user to workspace after adding an item (animations to be tweaked) or back to AppsCustomize only on failure/cancel

Change-Id: Ia73670ce76f321dc45defb27bb5a828764240ab4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1c4cf4a11f3f7f24bbf65f958fdd22295d0bbd55 29-Jul-2011 Winson Chung <winsonc@google.com> Minor bug fixes

- Making the spring loaded side page hovers slightly faster
- Fixing issue where you can't drag over another item on another page to create a portal
- Ignoring side pages while hovering over hotseat
- Fixing issue where hotseat may be stuck in shrunken state (and removing the scale on the hotseat)

Change-Id: I87d50a1bdc451704285482c79caed0982a5a7f5a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ed51cc9a12c50d12e7d30ed209a49f1a40858043 02-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing animation when dropping to adjacent screen, issue 4990545

Change-Id: I575e9257a211ed72a6aefb119bccf1154d2a0c9f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8182e5bc3c2d1a0140df345599b89369d457bb4a 02-Aug-2011 Adam Cohen <adamcohen@google.com> Preventing StackView from clipping in software on Soju, issue 4225485

Change-Id: I97a5e38e18591a32310c1cb59ce958e6551e54e4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4afe9b31f51022538b30646fe83780e83bf22490 28-Jul-2011 Winson Chung <winsonc@google.com> Adding ability to add to hotseat from spring loaded mode (5064141).

- Fixing regression where folder items had no text in tablet ui and assets
- Fixing spring loaded frame sizing (5067335)
- Making the cells 80x80 for testing again on the phone ui (5085986)

Change-Id: I52a0f5eaf2dcf4adaf57c5a71da3903892c490a8
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
292bffbdc8bf1c9110c0ef9fcd4fedc5f002c9e4 28-Jul-2011 Michael Jurka <mikejurka@google.com> Merge "Fix bug where Launcher would appear all black"
99633da90012dc732cbc12a96b33e17abcecb464 28-Jul-2011 Michael Jurka <mikejurka@google.com> Fix bug where Launcher would appear all black

Bug # 5033201

Change-Id: If88406fe1ad1d56469765d1783aeb6d73f28b192
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a6427b15c18d5b8f3078f553d78f8432de9f46e9 27-Jul-2011 Winson Chung <winsonc@google.com> Fixing minor bugs (5085316, 5082963, 5042828)

- Adding separator between qsb and workspace content
- Adding a bit of spacing between drawables and text in all apps
- Making the drop target area smaller...

Change-Id: I1bebe7dff20fc30e4896de1dcf23d23b62a31a07
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b9e14974ae5c03bd996bc102ed23a24126449990 26-Jul-2011 Michael Jurka <mikejurka@google.com> Solving transient wallpaper flash when rotating All Apps

- also cleaning up some code

Change-Id: Ic9399e604aac3115d92186a70799bf80ecaf31c6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5b168fd48a318d0274083128eeabd073e2191500 26-Jul-2011 Michael Jurka <mikejurka@google.com> Merge "Fixing bug where workspaces were visible in All Apps"
c1a036b5ebacdeb564502bacc740fd85803a7638 26-Jul-2011 Michael Jurka <mikejurka@google.com> Fixing bug where workspaces were visible in All Apps

- fixed bug #5063358
- some code cleanup as well
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
56901eb57c1f9a94170c892be70bb0f653514ce8 25-Jul-2011 Adam Cohen <adamcohen@google.com> Turning off largeHeap on Crespo

Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1228b3bc8e523ad07bcac602d89890690c9f06ef 22-Jul-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where items dragged from the dock would fly down below."
40e882bf19a837ee62ec328c5748b75be7960d39 22-Jul-2011 Winson Chung <winsonc@google.com> Fixing issue where items dragged from the dock would fly down below.

Change-Id: I99cabcccc08d69ddc5295454bd57bdc76ec3e5fb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
de1af7661548692d370518528ff91c7422b9c8ae 22-Jul-2011 Winson Chung <winsonc@google.com> Fixing transition issues from AppsCustomize.

- Preventing weird space when hitting home while configuring
- Workaround for issue with all workspace items disappearing when going out of AllApps (depends on 5052094 for proper fix)
- Fixing isuse where any multi-finger tap on AppsCustomize would dismiss it

Change-Id: Ibfa8607a66e81703bd78736b72fd7f021e5971d9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fb268317fc659a56a574045f05fbedfdd551c592 22-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Smoothing out transitions when adding from AllAppsCustomize"
4b285c5a60028f7c9ce39cfb318a730d0ae95c27 21-Jul-2011 Adam Cohen <adamcohen@google.com> Smoothing out transitions when adding from AllAppsCustomize

-> Making sure the dragview animates to the proper final position
-> Preventing add if item is released too early in the transition

Change-Id: I77882c02a6ce569436a6c8b5c3f4ed0023d5807e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4d279d94ade1c0d455404312b3c9cfde0078c547 21-Jul-2011 Winson Chung <winsonc@google.com> Fixing various issues with the dock.

- Prevent crash due to no overlays in certain device configurations
- Fixing kb crash and adding content description for Apps button

Change-Id: Ie2a2bc29e7b9408a165f93d108fdd803193afc29
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ec9a0a4ca5458e65ba2498e4f7eab0ae6e91964a 21-Jul-2011 Winson Chung <winsonc@google.com> Fixing small bug where folder could not be created in dock.

- Ensuring default workspace items aren't overlapping.

Change-Id: I53803bdd61e1e956b9582b1332cde37663cb8578
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fc53cd22c9a78708c78c85946443f23ec8c59502 21-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing a couple bugs, allapps clicks and weird crash

-> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed)
-> issue 5038392

Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
00618753e9f0ad941c13efb0b6804e4a06ecb076 20-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing issue 4083181, making springloaded dragging accurate

Change-Id: Iaa69903220b2fe62e3b3009989094487e3125843
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
ec8a2eee50290e7d9c95936041b937b6e94bb152 20-Jul-2011 Winson Chung <winsonc@google.com> Merge "Fxing issues with the scroll bar"
32174c878c77b4e0f13449f4c26ff6b487bc7ca6 20-Jul-2011 Winson Chung <winsonc@google.com> Fxing issues with the scroll bar

- Removing track from AllApps
- Scrollbar should reach edge of track now
- Fixing flashing when going from AppsCustomize to workspace and switching tabs in AppsCustomize

Change-Id: Id69bd04dc503608566c3a33a1344904e3db383bf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fbba09bb1a67f44ba9537f0fc9988f696e899d42 19-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing bug 4998211, widgets with configuration not dropping in correct spot

-> cleaned up some dead code in the process

Change-Id: I05b20361b9f7ded0522bd4822532eaae9436ffea
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
95383fe41dacc45c2aa97e7f47bafebb5b7655d8 18-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing bug which locks orientation inadvertently

Change-Id: I50dfdf6a6d1d4214e88931b3f623bc41cab333c2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3384c7be3cf735f68a90d835627350fa48b94d48 18-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing bug where you can't switch pages in springloaded

-> Fix bug 5033543
-> Also, bug 4988105 appears to no longer be an issue

Change-Id: Iffdcafb6d8b471eb18521c160b5a8f438b5cef93
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ff35bf81a24812cb7dc33bbaddcfed1e44d418d2 17-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Improving adding widgets animations"
b7e1618c627c6471c565f4f599228648d9e70a10 16-Jul-2011 Adam Cohen <adamcohen@google.com> Improving adding widgets animations

Change-Id: I9730d3d531736bde58cdf1bf2da049392d4da83a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7494c5616630a11615f5ae8f05c02878eb866569 16-Jul-2011 Adam Cohen <adamcohen@google.com> Fix folder creation bug 5037239

Change-Id: I0e629b186c94ca3ccaa188de94846d2bbbca83a4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8c247c6f54f6fd92241855d6de8d1bf4f883163c 15-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing drag start position on workspace

Change-Id: If7b31e8d11bfc7cc6612155a72465ace3b928b97
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6cd835ce0b95aa9d593d0122eab7d7e4da781e23 14-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Pixel perfect drag animations in workspace and folders, including springloaded"
ac8c87687b8e063c981f28cb31bab2cc110f26cc 13-Jul-2011 Adam Cohen <adamcohen@google.com> Pixel perfect drag animations in workspace and folders, including springloaded

Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d74c984fcc61f86160476a2543faff715e3ee2fd 10-Jul-2011 Michael Jurka <mikejurka@google.com> Use hardware layers in more situations

* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2f52ee841616e4c0fe0c4a430db6b7612c29e5d0 11-Jul-2011 Michael Jurka <mikejurka@google.com> Merge "Solving rendering issues when unshrinking"
557d6ed50cc6560163440aa134870ef0bb11415b 09-Jul-2011 Winson Chung <winsonc@google.com> Fixing issues with spring loaded adding.

- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
280969cd77da6c0e712a45287ae436bfc42a5401 11-Jul-2011 Michael Jurka <mikejurka@google.com> Solving rendering issues when unshrinking
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a71cb1778dc0c7e76132d21296c58da777183e26 11-Jul-2011 Michael Jurka <mikejurka@google.com> Fix rendering issue when coming from spring loaded mode

Bug #5011693
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0c4ade1ef611ea91e3f1ff2fdca4ae6982ff7804 09-Jul-2011 Michael Jurka <mikejurka@google.com> Cleaning out unused lines of code

Change-Id: I558248c9e1ccf8098220b110709d2a0cba9247ea
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ff0e01b65dac8861d0a319fb643c67f8a573aa97 09-Jul-2011 Michael Jurka <mikejurka@google.com> Disable wallpaper panning when switching to All Apps
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8dfcba4af7a7ece09e8c7d96053e54f3a383e905 08-Jul-2011 Adam Cohen <adamcohen@google.com> Substantially improved performance of dragging and drop animations

-> Took DragView drawing out of the window and put it into the DragLayer
-> Added fade-in/out animations to transition between the final view
and the DragView, after the view animates
-> Enabled hardware layers on Folder items which improves the
performance Folder reordering

Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c07918d0053fc7d2a19d7b013565a5d2e7d4af51 02-Jul-2011 Winson Chung <winsonc@google.com> Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.

Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d044526d82e7938cf35b296978d9d5302f98b4af 05-Jul-2011 Adam Cohen <adamcohen@google.com> Adding transitions during folder creation

-> Seamless* transition from dropping item onto another
to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
to a folder
-> Cleaned up the code in FolderIcon in order to achieve
above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
95bb800de9b0142bea0110b074eddbcf0e475736 04-Jul-2011 Adam Cohen <adamcohen@google.com> Folders now close in various situations where we want them to:

-> When pressing home, from app or from home
-> When rotating (as per design request)
-> When scrolling to another page

Change-Id: I3b96b216f1ec5da07cd95d2541999866a1c1424e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
69ce2e5beaa1a57c7b8fa14a2d6ff0b3abeb93c0 04-Jul-2011 Adam Cohen <adamcohen@google.com> Cleaning up Folder accept animation drawing

-> Moved from Workspace to CellLayout, which fixes a bunch
of bugs with transforms (springloaded mode and page scrolling)

Change-Id: I92510be817f46bd29b8a10aac5512dc1ead87180
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c9c56f4f717e84ca9f740d4bd3de16260c47625b 03-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Added transitions when dropping items onto Folders, fixed bugs"
3e8f811f31a2275e778244427271f77f4116c08b 03-Jul-2011 Adam Cohen <adamcohen@google.com> Added transitions when dropping items onto Folders, fixed bugs

-> Changed the ordering of the FolderIcon preview to show first items first
-> Folder now closes immediately upon drop of an item from folder to workspace

Change-Id: I66361b604dc5ef81da2413b7dda53d0c4691377e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
967289b6d5fec77f5c381d11ffb2319f3bb5e737 01-Jul-2011 Winson Chung <winsonc@google.com> Adding new assets.

Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3ac74c55cf8baef29db80e8c67ab4ab033b04417 01-Jul-2011 Winson Chung <winsonc@google.com> Tweaking the scroll indicators with new assets and sizing.

- Showing the scroll indicators when changing between workspace/apps customize

Change-Id: I791c09b76deb00108c466f08ae3c29b19d77c4d8
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
04dc2bc6139ff414e49fc423d28edbd5801cdc03 01-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing small folder bugs"
0e4857c302da6adbd45231d7a8bae0289fa33250 01-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing small folder bugs

-> Issue 4972348
-> Center folder when it extends beyond the workspace

Change-Id: Id5551d17d595151bfd27122e1fd4ddfeab7dbf40
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
716b51e030f9c6ed34af2b947760e46a280c65a6 30-Jun-2011 Adam Cohen <adamcohen@google.com> Adding transitions after reorder within folder

Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6a0f57dfafced837a2a282d8feec28d5418be3b9 30-Jun-2011 Winson Chung <winsonc@google.com> Populating some more accessibility events.

Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8e776a62c5cc60737f5cdbbeacfec5f958112fa7 29-Jun-2011 Adam Cohen <adamcohen@google.com> Pushing folders up to DragLayer

-> Increasing max num of items in Folders to match the grid
size of the workspace.
-> Had to push folders up to prevent clipping

Change-Id: I7aae7920cff940b8e88e9bef82162c6ab5ff11e9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a65beeea13c18c443f15f8d51c4c6e153a6c4ef9 28-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing a couple folder bugs

-> Issue 4947774 - logic for determining workspace full
-> Issue 4967906 - hiding hint text on begin edit
-> Stripped out some no longer needed code from Workspace

Change-Id: I62b0e5c2dbf424af6b8b29af9b70270d68923eba
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
518eb5dbf5480ac95a511715906f3d5af457f9ba 25-Jun-2011 Adam Cohen <adamcohen@google.com> Merge "Keeping folders synced when applications are uninstalled"
df1e4e868a1970b756486dadd652651d40276d36 25-Jun-2011 Adam Cohen <adamcohen@google.com> Keeping folders synced when applications are uninstalled

-> fix bug 4905712

Change-Id: I4a250fd134e6d03bae30cfde6b33a82ed6f5fcef
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fd3385fe9e0f034b04f99d5d59a58d74fe040da4 16-Jun-2011 Winson Chung <winsonc@google.com> Using GridLayout in AppsCustomize widgets tab.

- Starting to implement new widgets design
- Hiding outlines in phone ui while dragging
- Making the tab bar show only when we have items as well

Change-Id: Ic027f9ba83fc0982f2f92a90412f050a8e248f9c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
74608b5dfc22811eb16a39056e9c2d1e6681306b 23-Jun-2011 Winson Chung <winsonc@google.com> Removing the old dot.dot.dot page indicators at the bottom.

Change-Id: Ia501329223c5e80634b1f9e3f13ceac378217491
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4b825dcd5f64a5ebb60271844fbc5257374422bc 19-Jun-2011 Winson Chung <winsonc@google.com> Tweaking launcher grid and spacing.

Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6a888d2419afb57eb7b073df51c6d9a84b0fd7d7 22-Jun-2011 Adam Cohen <adamcohen@google.com> Merge "New folder visualization, renaming, staggering reorder"
76fc085d28178a5d4fb3787ede956281a2cc3179 17-Jun-2011 Adam Cohen <adamcohen@google.com> New folder visualization, renaming, staggering reorder

Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
201bc828d5a0078f505e8e37152156a0cb43c10a 21-Jun-2011 Winson Chung <winsonc@google.com> Need to remove views and not just hide them after animations.

- Removing Manage Apps button from workspace and renaming it in AppsCustomize
- Fixing foolish string play in resources from initial change for search bar
- Using proper way to get full screen dims for wallpaper fix

Change-Id: I1319d225135436468f1feb3057cd9f28eda7c89c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
007c69867d821ea2b271398577a8b3440b3a7046 14-Jun-2011 Winson Chung <winsonc@google.com> Adding signposting to Phone UI in Workspace/AppsCustomize.

Change-Id: Id63f247745a5ec1a63bbaff84602e4c91354f789
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bfbfd26c627a18f8e1e3e6d0e53e78feab360203 14-Jun-2011 Adam Cohen <adamcohen@google.com> Initial implementation of folder reordering

Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
61fa4197c4316bb0f9b05fcefb676f86197a2273 13-Jun-2011 Winson Chung <winsonc@google.com> Fixing drop target area, and adding bg color indicators.

- Merging wallpaper fix and PagedViewIconCache key fix

Change-Id: I2a65bc4b642f020dfc4d2223a36d3ebcf41de5f5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f0ea4d3378be7b962c8e0bce2392df5e82491fb8 06-Jun-2011 Winson Chung <winsonc@google.com> Replacing AllApps/Customize in tablet UI with Apps/Customize.

Change-Id: I11a296b25472e4bf298a468865b0dff29f500aaa
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
eda7f59f24ccf222adee2f451700ad144477a280 10-Jun-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing up some folder-related drag and drop bugs"
76078c4ef35b6e95fb6d8129a32cf52a36625e28 10-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing up some folder-related drag and drop bugs

Change-Id: I712ffd0ccfc0154a5a9e74e3f585157a86986882
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b26f3d6a8c62e7c1a603b6c7979375d8dd4f20d4 02-Jun-2011 Winson Chung <winsonc@google.com> Modifying AppsCustomize behaviour to use springloaded mode.

Change-Id: I21d181ad3d245731ee8402915f8918b91bfc4553
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c0dcf597084d00e4c23a7fea5fd0738f6c095a6b 02-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing up some Folder bugs

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f61249b79948a4b37b38104cbe81c98086d1f30b 28-May-2011 Michael Jurka <mikejurka@google.com> Fix issue with missing row/column on workspace

Change-Id: I7b750f66ef1fd5c9b5501763fa1e371b104d03ea
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e934f87c6adc29c84ea96c608db4e4e5dd6b4046 02-Jun-2011 Winson Chung <winsonc@google.com> Merge "Adding drag target bar."
4c98d9235d164680186180974719f551cf935d08 01-Jun-2011 Winson Chung <winsonc@google.com> Adding drag target bar.

Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5cf73001ae38d7ba7e911327764f04b95ed84921 01-Jun-2011 Winson Chung <winsonc@google.com> Merge "Fixing translateable attribute in strings, and click-through in AppsCustomize."
19072da7441e07d5e90026d9e9e1b38f11245e44 31-May-2011 Adam Cohen <adamcohen@google.com> Adding visual feedback for folder creation`

Change-Id: I47de931a07e3614e25f54d1ba5752a54993d6153
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4179b4e048dd019daca053dc3a7eddf6c464b08b 01-Jun-2011 Winson Chung <winsonc@google.com> Fixing translateable attribute in strings, and click-through in AppsCustomize.

Change-Id: I8ceff05f5d38021c74731cddf71391b55049b2af
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cb3382b1bfe1a534b1b44f5c4def9b2db605ac90 24-May-2011 Adam Cohen <adamcohen@google.com> Refactor of Launcher drag and drop to use a DragObject

-> DragObject contains a bunch of parameters instead of pssing
them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
244d74cb353f1260c4d633e719bf84bb3b6e52bc 20-May-2011 Patrick Dubroy <dubroy@google.com> Dynamically determine # of rows/cols in All Apps.

Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f4b08913677e18a8412930972237b91d5a946d95 18-May-2011 Adam Cohen <adamcohen@google.com> Pushed folder inner ring drawing into workspace during animation

Change-Id: I571b71acbfdd28f921e35e989efd2dceefb54f11
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
073a46ff635d089cbcb15d939d1de42dd2b86c97 18-May-2011 Adam Cohen <adamcohen@google.com> Changed folder hover animations

-> Added outer ring to hover animation
-> Fixed location of items in folder during hover animation
-> Cleaned up the code

Change-Id: I57c5f3cadbd2f289a18f7420a57ced6053fb06db
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2801cafe62653131fdc9da402e5c44e5ffd0bf47 14-May-2011 Adam Cohen <adamcohen@google.com> Shrink-wrapped folders

Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f6440da9d02f3ee1553db4bd431a202eb1d1a9dd 05-Apr-2011 Michael Jurka <mikejurka@google.com> Determine # of rows/columns based on screen size

Change-Id: I8b1266bd7a66d4a73d4a09570357688333e03d13
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a2eb17095dcffa75c1e9681fdc318fe6e0564321 12-May-2011 Michael Jurka <mikejurka@google.com> Moving tablet interface to 'large' devices

(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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ba781611b3e2fb1c42daa7167c1079b90b100efa 09-May-2011 Adam Cohen <adamcohen@google.com> Fix crash when dragging item to next page (issue 4319506)

Change-Id: I6c2bc44ab9b320afa8ef581cb49623dee1ec4ef5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
63257c110a4ee54d5e8872c471cce254cf613c7a 06-May-2011 Winson Chung <winsonc@google.com> Minor changes to help address some hiccups when panning, changing tabs and rotating in AppsCustomize.

- Also removing references to old all-apps 2d/3d

Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b9b8ce94ff958792dd6ef81b0e50784fe8ad98a6 06-May-2011 Michael Jurka <mikejurka@google.com> Fix: restoring holo outlines in paged views on tablet

Change-Id: Ifb319731f76c8154e2dff5336641862b7427d836
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6c1d402a641d585aa27898788d5205f2d536935a 03-May-2011 Adam Cohen <adamcohen@google.com> Merge "Adding folder icon visualization"
a9cf38f533d1e86269868f1e6a806ccffd4a78fc 03-May-2011 Adam Cohen <adamcohen@google.com> Adding folder icon visualization

-> Added new temp assets

Change-Id: If1d7e8ce867b473920f40cd1cc02d189be62b8bf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fc79c8067e21e55fce3802a63e15ee4c6f11d595 02-May-2011 Winson Chung <winsonc@google.com> Fixing drag and drop issues with AppsCustomize pane.

- Fixing issue with no-more-space error not showing
- Returning to first page of AllApps when leaving and coming back

Change-Id: If3fb1ba1abae9d453bb71214e44170df91a52189
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
df2cc41acbfacd576f99483a4af1cda32ebd3d09 28-Apr-2011 Adam Cohen <adamcohen@google.com> Stripping LiveFolders from Launcher

Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
36c8e9fb88b94cf6c6b70fc9846d7bd23691d600 27-Apr-2011 Adam Cohen <adamcohen@google.com> Merge "Adding initial folder animation"
3ebc984361ba19c7506ffbcd0bcc08685d98b405 26-Apr-2011 Winson Chung <winsonc@google.com> Merge "Quick fix to enable orientation lock while dragging workspace items."
b46a2d130b3d04df830402d579060b63db559ae3 22-Apr-2011 Winson Chung <winsonc@google.com> Disabling certain effects (wallpaper transition, holographic icons in AllApps) if HW acceleration is not enabled.

Change-Id: I7926d5c3ba95c6d57999189677ff79f67b05434f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
50d2442a746ec50471c4a690a638b2a8dfcf745d 25-Apr-2011 Winson Chung <winsonc@google.com> Quick fix to enable orientation lock while dragging workspace items.

Change-Id: I63663e81d20646296892615405b88736ecae94b0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
785d2eb2b8d7072c8124300dd9168ff51a91cf38 15-Apr-2011 Winson Chung <winsonc@google.com> Initial changes to merged AllApps/Customize pane in the Phone UI.

Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7f4eabe3709a72b416569136e4a095431c493c8b 22-Apr-2011 Adam Cohen <adamcohen@google.com> Adding initial folder animation

-Changed CellLayout/CellLayoutChildren to use padding in the more
standard way

Change-Id: I728f1b699232422be76eb29b4cf710cd5723a0aa
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e0310965022e7a1adb7ad489505d404186608689 19-Apr-2011 Adam Cohen <adamcohen@google.com> Removing dragoutlines when dragging a shortcut above a shortcut

Change-Id: I235597a2e2565f93ebea81ae133ad8f1a5d9d4ce
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6639687cd67bab1aeef2a75e5c6bc458b20dc082 16-Apr-2011 Adam Cohen <adamcohen@google.com> Adding drag outlines for dragging out of folders

Change-Id: I264f66af5f03035bac17ff00eacc1a1da3d027a4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
10b1737910ea7890ca95bbbe5363fd5aa513b856 15-Apr-2011 Adam Cohen <adamcohen@google.com> Fixing folder creation for drops from other folders

-> also fixed a bug where item wasn't being properly removed
from source after creating a folder

Change-Id: Ie3932b1eec13929a07e6387d15754fd0604dd80a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8a71ca86b2cd106540d407c42e6579775e429a58 15-Apr-2011 Adam Cohen <adamcohen@google.com> Merge "Cleaning up drag and drop visulization and drop location determination"
e3e27a854f3eca363d3c5ce353d19de475272d87 15-Apr-2011 Adam Cohen <adamcohen@google.com> Cleaning up drag and drop visulization and drop location determination

-Visualization and drop location always match now
-Improved the location determination/visualization for widgets
in spring loaded mode
-Simplified and fixed some other discrepencies

Change-Id: I4b46f415a547e4df778c70a8b87f341a909d10c1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b1c8befb2fc25e1a3c08d07bcea300fd22ede4e3 15-Apr-2011 Adam Cohen <adamcohen@google.com> Merge "Enabling user folder creation by dropping shortcut onto shortcut"
df0353815c629fc678824b07a234b89a1ff94208 12-Apr-2011 Adam Cohen <adamcohen@google.com> Enabling user folder creation by dropping shortcut onto shortcut

Change-Id: Ib8de001f5003cd44f1524cb7763fc928fa24aaba
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
49f3c8e34bfa42de60bb38f64024747d6d944bda 14-Apr-2011 Winson Chung <winsonc@google.com> Merge "Fixing focus issues in Launcher (keyboard support)."
97d85d23b013347bead4e2f5fa430a79ce69431e 13-Apr-2011 Winson Chung <winsonc@google.com> Fixing focus issues in Launcher (keyboard support).

Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e5fb0f27bca7afb996258a7163c76ca7390d7bff 11-Apr-2011 Michael Jurka <mikejurka@google.com> Minor cleanup and refactoring
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
20f7111c73692e397d2aae746c9bdf9aec8711da 06-Apr-2011 Winson Chung <winsonc@google.com> Making mini workspaces disappear if drag from AllApps fails.

Change-Id: Ia02e441d48a041e336b64190d7813f6b35d6dd94
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c3bc26031cc5b36328bd7cdbcf04ff269dea11a5 30-Mar-2011 Adam Cohen <adamcohen@google.com> Turning off the 3D rotation for non-xlarge devices

Change-Id: I4fe13b362458d6bad3da5263cf95f27a3b5b08b9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d5e42733799817d11d739b0a882da8dda721126d 29-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing drop animation from AllApps on phone (bug 4174466)

Change-Id: I90d4c7e0cef6089d161c2ced7687e9edb3a3953a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8878a32f26b7e6c287d970950526cd0e6eabb21d 28-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing drag icon location on non-xlarge devices

Change-Id: I7897f67e145818866a51c6a50d4d3e59674b08b4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c2e26a028d1829bdddb1e47aac12951e12ef83e0 24-Mar-2011 Michael Jurka <mikejurka@google.com> Refactoring some animation code

Change-Id: If78b071c4fd5ac2c06d6d8ed0abaee7787273f28
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
26976d9b53161f80faf822d482ac771b8621cf31 22-Mar-2011 Adam Cohen <adamcohen@google.com> Fix resize frame bug: 4121297

Change-Id: I797c9af3ed0a0c99407c301e68d20485e108980c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
097eb0a7511d2a645a32cc9e65a322efa54c08dd 19-Mar-2011 Winson Chung <winsonc@google.com> Fixing issue where you can't drag from AllApps.

Change-Id: I61bd966b97d275ece1db238edaac8d66936d0a20
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6788269814a678af976dfc7d6135993e172ce586 12-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing widget resize visual / ux ugliness, Bug: 4082591

Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bf32dbbbff0b235eaa21f2a5af679b8950a280e9 10-Mar-2011 Michael Jurka <mikejurka@google.com> Merge "Fix bug: workspace screens not being rendered in spring-loaded mode" into honeycomb-mr1
a4b4016bcd90da673ba245f83621ef7128fa1cd6 09-Mar-2011 Michael Jurka <mikejurka@google.com> Fix bug: workspace screens not being rendered in spring-loaded mode

Bug # 4024334
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f70c78142457b0e9c691f2a20ed87407c7433f5b 08-Mar-2011 Michael Jurka <mikejurka@google.com> Fix reported wallpaper offset in portrait mode for live wallpapers

Bug # 3442622
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bbaa75c8c432c46c00ee2eb836e438b3774d6709 09-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3514114: Dropping on mini-screens doesn't place items correctly

Change-Id: I7176562f1a62ca9973a256e53151aac1ff708144
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
abded66084680bb31cc7ea403c88f44f79a3c884 04-Mar-2011 Michael Jurka <mikejurka@google.com> improving performance of first AllApps/Customize animation

Change-Id: I71e5cc634f7e1346617d101efd6945c00484cab3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
758a9239f045ff4eb85c421a2f67a720b5b3c621 04-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3511340: Exit widget resize mode when home or back clicked

Also add an optimization to drastically reduce the number of
posted events when a widget is currently being resized.

Change-Id: I8839d4bba564028a67fb0355d35b7dd52465b199
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
25356e75ebae5d6e0be43f38d2c73b5cb59d05f2 03-Mar-2011 Michael Jurka <mikejurka@google.com> Fixed issue where background wasn't rendered behind customization tray
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9c6fbed48783dacd9bc6b4ec5f2cc8e59ec7ee37 03-Mar-2011 Michael Jurka <mikejurka@google.com> Further improving performance of All Apps transition

Change-Id: Ie8a2af004acba4c13066dd636842a71793064688
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2763be3150d429d338b9848286e9365b4052c100 24-Feb-2011 Michael Jurka <mikejurka@google.com> Improving performance of All Apps transition

- increased perf ~8fps using hardware layers

Change-Id: Ic6a2c23e9182fdb1ee362cbd72f7813f4e9accf0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
707de2828c14a1451aa08b8c5c48046a89aef839 02-Mar-2011 Winson Chung <winsonc@google.com> Fixing issue where you can't drag to a full screen when in spring loaded mode (to get to next pages)

Change-Id: I8c1adbe209fff41779b7f5c6c585ed13dcc109b3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e708c5249b26978057acb9370cbfb8f6f747f5b8 02-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3457875: Mini workspace should zoom on tap, not touch down

Change-Id: I2e9bb6267048f2b2fb97070029f3a0ad2a28cc32
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3ad0c132de2ccc7aacc7daddb596b0e3c58a2eb0 01-Mar-2011 Patrick Dubroy <dubroy@google.com> Merge "Fix 3493373: back button displays blue homescreen borders"
94f78a5c44c08b258f59b2c78ff6694e5eaca827 01-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3493373: back button displays blue homescreen borders

When the back button has no other function, briefly turn on
the page borders to give the user some feedback on the button
press.

Change-Id: I31cd4391821b646dffe4e8146fbffd72d934a00f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a391a680ccc5da206c166e262eaf3e2854ffc944 01-Mar-2011 Adam Cohen <adamcohen@google.com> Merge "Small update to match API changes"
f7640c8bba304ba99c99afcd7393893eccc9a0d9 28-Feb-2011 Winson Chung <winsonc@google.com> Fixing strict mode issues.

Change-Id: Ia4fb1f76e608ba1944b79e520444e229802f275a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
27c09b05d3ed2a4ce9d53140216aba998727a569 28-Feb-2011 Adam Cohen <adamcohen@google.com> Small update to match API changes

Change-Id: I1d6f38b80ca7874b158444b368537b35d29e2414
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c85b444079be05ac563df6ae2236c4328436d5a1 28-Feb-2011 Adam Cohen <adamcohen@google.com> Merge "Implementing resizable widgets in launcher"
d4844c3e731b00547a31f23a00f8bd4a271e2b62 19-Feb-2011 Adam Cohen <adamcohen@google.com> Implementing resizable widgets in launcher

Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a0aa0121b91fde17e427ab2763ce312e64cf5d33 24-Feb-2011 Patrick Dubroy <dubroy@google.com> Fix issue with some home button presses being ignored.

We are ignoring home button presses after panning away from
the default screen, when the workspace is still moving slightly.

Also, make the home button a no-op when the user is in the
middle of panning the screen (i.e. finger is still down).

Change-Id: Ida6bad4faaf90b6802aac2cbf3444f76b7b38100
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3c38d561e6976ffc54eda61ed669870bbb8ec207 19-Feb-2011 Michael Jurka <mikejurka@google.com> Refactoring layout of launcher

- Only one layout of launcher for landspace/portrait now
- Programmatically vertically centering the shrunken workspace screens rather than using a custom value

Change-Id: Ib689b4031f122b9a1b2bc1ca711b91320619bebd
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c35afb2c9df8cc56c77bf21ce2eaa213f6f31251 23-Feb-2011 Winson Chung <winsonc@google.com> Restoring split touch events in workspace with workaround.

Change-Id: Icfe39e02f214b5a40169d07d785ff05948ac643a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5f445425606b2c27276a79e9e871cf7f67b1b719 18-Feb-2011 Patrick Dubroy <dubroy@google.com> Add missing animations when dragging from customize.

- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c4e772e4b3f21bde342e475ebc49b5b76b8f74e8 10-Feb-2011 Michael Jurka <mikejurka@google.com> Fix drag and drop behavior

- Place items close to where they are dropped when workspaces are small
- Properly fix positioning of items in spring-loaded mode
- Remove blank padding below icons when dragging
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
70b9530f3147663d38875260b48d931793b7d378 11-Feb-2011 Patrick Dubroy <dubroy@google.com> Fix 3444233: No edge glow when dragging to adjacent screen
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e0f5a61a1f105216b0067124bacac69194c0ef70 08-Feb-2011 Michael Jurka <mikejurka@google.com> Speeding up the first time All Apps and Configure is launched

Change-Id: Ic9503f62ee4458b7797add4ac9a2cb4b0a186a30
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
558ae35f52edb0f4621223596bcea65138730fd6 04-Feb-2011 Daniel Sandler <dsandler@google.com> Apply drag-and-drop location fix to widgets & shortcuts.

(Original fix in change I4c1085f8)

Bug: 3424556
Change-Id: I32b5e83852417a61f3186cfcc83914bf25161fe4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4c1085f8d94be2394dbce2866e94f60ac15ad109 04-Feb-2011 Michael Jurka <mikejurka@google.com> Fix spring-loaded mode

- Drop items in the right spot
- When in spring loaded mode from All Apps, keep the workspaces visible (as is the intended behavior in All Apps)
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3e5ad58a6885273a60f8eb77aa9aee965eecdb2c 04-Feb-2011 Michael Jurka <mikejurka@google.com> Fix issues when dragging items onto workspace screens

- In All Apps, mini workspace screens sometimes disappeared
- In All Apps, one mini workspace screens had "strong" blue outline when it shouldn't have
- In spring loaded mode, adjacent screens were not being properly rendered
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
228b706daf483dce3954759958ae76ef39aef34c 04-Feb-2011 Adam Cohen <adamcohen@google.com> Merge "Preventing scrolling of workspace when in customize" into honeycomb
ea57348cc8f4647f6bc35a42cd45662ddb828b92 04-Feb-2011 Michael Jurka <mikejurka@google.com> Tweaking feel of All Apps transition

Bug # 3418734

Change-Id: Iaec2a223bb3b8a6133bad8befe143e696b7acc4b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
69c42da4d30f1cbba5fe1ac8960b4e305e14b807 04-Feb-2011 Adam Cohen <adamcohen@google.com> Preventing scrolling of workspace when in customize

Change-Id: I2154742957a4499df8c3df31c0a3ab65b58b54c7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
742574b15b2b5298a2328443176f2890fb8ebe98 03-Feb-2011 Michael Jurka <mikejurka@google.com> optimizing transitions in Launcher

Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a7f801fc5b5715223e868ed599da69c5edf436ee 03-Feb-2011 Michael Jurka <mikejurka@google.com> Oops, forgot a cast. :(
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c50e2c35319b738f788b717027bfb361c225ccb9 03-Feb-2011 Michael Jurka <mikejurka@google.com> Oops, was disabling hardware layers at the wrong level
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ce7e05fbe8abd5f25ec47e0e05b5cc76ceb39d2e 02-Feb-2011 Michael Jurka <mikejurka@google.com> stop using hardware layers when workspace stops moving

helps workaround Bug 3417254

Change-Id: I874e5e52ab544fbb787e1021d6ee394e8f3a34d6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
98ed6bbec7ea8776c2a0b76429e47c2c7fc523e5 02-Feb-2011 Michael Jurka <mikejurka@google.com> Merge "Adding scroll disambiguation between Workspace and AppWidgets" into honeycomb
f8d2823d885ba682140aee1ae0504c1c5e67a24b 02-Feb-2011 Adam Cohen <adamcohen@google.com> Adding scroll disambiguation between Workspace and AppWidgets

Change-Id: Ia3ff92b74651f9ea250664ec4cbcc0506db522ec
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bdb5c5342adc550559fd723af461e53248f2fba8 02-Feb-2011 Michael Jurka <mikejurka@google.com> Turning on hardware layers for the workspace

- Obsoletes need for CachedViewGroup and CachedTextView on workspace as well

Bug #3413433
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c73c656812612676c74df40cd7f8d29760a58008 31-Jan-2011 Winson Chung <winsonc@google.com> Merge "Fixing scrolling of all apps when below apps" into honeycomb
7a25a9e39a13df706daeb0a4a82273f3c5151997 30-Jan-2011 Winson Chung <winsonc@google.com> Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)

Change-Id: I99de0149dea5b487ed75e2469478e2346cd5b5df
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
be9093426aec3a6d412811a12d2400e645613242 29-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing scrolling of all apps when below apps

Change-Id: Id6a4506ed18a02d31487ecff1d7309e7b3e25e9d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
09d6eb0f3fb1d81ea59881e6c65512d09d573cc1 29-Jan-2011 Michael Jurka <mikejurka@google.com> Fix bug # 3370739 - wallpaper overscroll doesn't work with non-static wallpapers
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6e3140865d3f0def2e55934d8b0b2c1503386e54 28-Jan-2011 Winson Chung <winsonc@google.com> Fixes for other places where we expect CellLayoutChildren instead of CellLayout. (3392097)

Change-Id: I9df13c413ce62a2760ce6a8ebafed1e948088de2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b9522209d385f0ae6bfcf2e5ce8592f5ea116ffe 28-Jan-2011 Michael Jurka <mikejurka@google.com> Merge "Tweaking parallax motion" into honeycomb
248b7cb7c80e414d90d537f8fc37429df09399f3 28-Jan-2011 Winson Chung <winsonc@google.com> Fixing issue with items not being removed from the homescreen. (3392097)

Change-Id: Ia3952a1001a83543f97625bdbe032a70e813a7c7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ca5b836e16d320f17057cd1a40a93c382e72501a 27-Jan-2011 Michael Jurka <mikejurka@google.com> Tweaking parallax motion

Change-Id: I6feaec75f2eabfca852511464f9f784ebbe969ad
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0bb8563b1381d92b0d7dbb5b0f814ad656c2f9bd 26-Jan-2011 Michael Jurka <mikejurka@google.com> Fix issue with spring loaded mode

Bug # 3373320
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f12c75cb48f87955600c56ccbe0aac84b0c11b28 26-Jan-2011 Michael Jurka <mikejurka@google.com> Improve feedback during spring loaded mode

- Uniformly scale the outlines of items on the screens to match the correct grid size as closely as possible
- Fix bug with drag + drop that was reporting dragged items' height wrong
- Remove unused code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8deb1e6a17900253708fad73016db05851b8d822 26-Jan-2011 Michael Jurka <mikejurka@google.com> fix render glitch for "digest" animation when items are added to a new screen
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8c920dd3683d752aa4c43e964831ce53f9b72887 20-Jan-2011 Michael Jurka <mikejurka@google.com> Refactoring CellLayout into three classes

- splitting the rendering of children from the CellLayout to enhance performance, gives ~4 fps boost while scrolling on pages full of icons, and no change on pages full of widgets
- this will allow us to add hardware layer support trivially, which will increase performance while scrolling ~6-10 fps
- separated logic for caching celllayouts to bitmaps into a separate class

Change-Id: Ib6abeb19126e1504997b43c2f44af2a2fb3cd39f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bccb42f88cbbaf8cf180a876e8c5d5e306ce62a 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Fix 3373059: Crash when drag cancelled in spring-loaded state
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e3887cc4ec3cebda2333298e56a35acb49ccdf13 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Ensure drag outline & crosshairs disappear on drag cancel

Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8d60f2c2046725bce89628ee87032326c2551e46 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Merge "Fix 3237665: Home screen should scroll on tap, not touch down" into honeycomb
d0ce1ec2e21ce3bb0ba3549a01d1d06b440a8e45 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Fix 3237665: Home screen should scroll on tap, not touch down

Change-Id: I61f65beaf982eec54b86668d6da94aa5c52e9355
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ab1983f46ce0ee0c94ea1170d21a67eb4e3c7967 19-Jan-2011 Michael Jurka <mikejurka@google.com> tweaking parallax effect

- centering workspace in All Apps and Customize mode
- tweaking spring constants
- solved problem where wallpaper offset was being continually set

Change-Id: Id3b12af0151490536e4330beea4a494700224fee
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0dfcf68b58bec1ac74f9b8700e3357f8e6d8b4a3 19-Jan-2011 Patrick Dubroy <dubroy@google.com> Prevent NPE when shrinking workspace

Change-Id: I61f1793d4db5f3006f2e1bceb0f0c578b35e4e71
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f4ffdc63d3d5b400174624f5bb8c41c7ed17265b 18-Jan-2011 Michael Jurka <mikejurka@google.com> Merge "removed some more unnecessary code" into honeycomb
70ac092d86ed31241bd9d7a7d053dc2e1336a2a3 18-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Tweaking home transitions" into honeycomb
4ad24ba3c726bb9021d887c4c2300d345151ab0d 18-Jan-2011 Michael Jurka <mikejurka@google.com> removed some more unnecessary code

- delete unnecessary call to get WallpaperManager
- remove two unused methods
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1d8ad0dd3b295b35e7fc9944eb298150b4fa4a99 18-Jan-2011 Patrick Dubroy <dubroy@google.com> Merge "Fix 3099036: Drag visualization appears in wrong spot" into honeycomb
4904f66da8bdb9494487ad7a0528c18b0f13b8db 18-Jan-2011 Adam Cohen <adamcohen@google.com> Tweaking home transitions

Change-Id: I72e292f40043ba6eca749191e2672847c8ec1de5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
62bbb3c573fe902940431e4b957c0c4918358d36 18-Jan-2011 Patrick Dubroy <dubroy@google.com> Fix 3099036: Drag visualization appears in wrong spot
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0d5aad7edbed3ed5c13904cc13ec8842ffe8837b 18-Jan-2011 Dianne Hackborn <hackbod@google.com> Update to follow API.

Change-Id: Ib0378736b7c7acf33e6e2de0327d686bacff9275
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0b5888e8283a5e0aeae16ac5ea344bac046522c9 17-Jan-2011 Winson Chung <winsonc@google.com> Merge "Preventing screen rotations when dragging." into honeycomb
400438b79fe412cb625c96297edeea9c6155349e 17-Jan-2011 Winson Chung <winsonc@google.com> Preventing screen rotations when dragging.

Change-Id: I6805c66f9aeec32bc7d597e99e1f62be0e2d0ab3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b7e0e88412871f6582420e3eeb1552598ba8a4c1 17-Jan-2011 Michael Jurka <mikejurka@google.com> Fixed bug where workspace was not visible
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
60b7c53ccc6384b65aaca77d97794e8f09e8cfc8 17-Jan-2011 Patrick Dubroy <dubroy@google.com> More changes to improve memory usage during rotation
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1619ccfce4d7117144db27e5e08ef3a3d4b339a7 15-Jan-2011 Patrick Dubroy <dubroy@google.com> Merge "Fix 3300849: Illegal state exception during dragging." into honeycomb
0c10bb4a56a8dd06e4ddd9830bd279fdaf4a8df7 15-Jan-2011 Patrick Dubroy <dubroy@google.com> Fix 3300849: Illegal state exception during dragging.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
93a6b4e8a219e76faceae460fc700e9af283cf16 15-Jan-2011 Michael Jurka <mikejurka@google.com> fixed vertical parallax
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c5b262ccf639fedac2aff5bb8238342f95396338 13-Jan-2011 Michael Jurka <mikejurka@google.com> tweaking parallax effect

- adding vertical parallax when switching to all apps/customize mode
- added effect to have parallax lag the rest of scrolling
- adjusted the amount of horizontal/vertical parallax in both portrait and landscape modes

Change-Id: I5ee778f78c1080337f642217bcf828b2392ddf70
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f16e571330f030e445c4f7f63f55d093337ffd87 13-Jan-2011 Adam Cohen <adamcohen@google.com> Making AllApps transition more cinematic

Change-Id: Ib9b98d90917ee69a9cc440cd9ed8df5a2f339dcf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
340c5f3a708efa280a120708594247952ca65182 22-Oct-2010 Michael Jurka <mikejurka@google.com> Restore wallpaper parallax

Gives us a 7-10fps drop
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ce93f7ebdb296846ba2f01b7eb3e69a3230f3025 11-Jan-2011 Winson Chung <winsonc@google.com> Fixing issue with background being drawn twice in customization tray.

Change-Id: I65995e3cf443d3a1b206ef156af57c7fda4287e0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ae222ab933a8d035394618e3782dd529cf328f08 10-Jan-2011 Winson Chung <winsonc@google.com> Fixing issue where current page border was showing on drag after adding widget.

Change-Id: Ifd112c7ea49962575e2f4e6403f30e23c75fb5c0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
df9de0b121973bb59f4b8a74ade3000ec201c503 10-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing bug with workspace drop animation

Change-Id: I4f7682e588730905170fd534a415688ebbf64eea
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b09cac5a738b679038cbeaec80041637100b65d9 06-Jan-2011 Michael Jurka <mikejurka@google.com> change default screen when you drag an item onto it

Change-Id: Iecfcb04c8a2c7b7c67e4127cf9fd86c3853b0b21
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bea15195346bab3c52b0156e92f2b71f0811b210 17-Nov-2010 Michael Jurka <mikejurka@google.com> caching mini screens to bitmaps

- gives ~10fps gain when side scrolling in all apps, customize mode, and the transition animations between workspace/all apps/customize
- requires framework to expose a flag isDirty() on View (will be submitted in separate commit)

Change-Id: Ief4cf3f2ffe545f237bc7111fb62af13e8695766
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
33945b21544bc98381df17726a3537c292d8c985 22-Dec-2010 Michael Jurka <mikejurka@google.com> Changed backgrounds of mini screens in customize mode

- default screen to add to is now a strong blue
- reworked other workspace screen code

Change-Id: I5b1bc016a04d5a1b3eb1ce93a3ae31ad973eb798
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b8e14479da7209ca811a753b3256fe4a0b49a873 21-Dec-2010 Michael Jurka <mikejurka@google.com> Don't show application info icon on workspace

Change-Id: I79e59211633609f4bd13e91a6c745ff28a309e2e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
047379aa61b4719ab38ce595f23732e8f3b1b8e1 20-Dec-2010 Patrick Dubroy <dubroy@google.com> Don't animate tapped item if the target screen is full
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6920c2ce340354286c152cefaf75445314194778 20-Dec-2010 Patrick Dubroy <dubroy@google.com> Make drop-on-adjacent-page anim happen at same time as snapToPage
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8edd75c8bb0729a10cb39f614183e3e9ae4288e8 18-Dec-2010 Michael Jurka <mikejurka@google.com> removing workaround for fixed animator bug

Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
38b4f7c5eab773ad36048b5ab8713750dcaaf748 15-Dec-2010 Michael Jurka <mikejurka@google.com> holo look for pressed/focused workspace icons

Change-Id: Ia964c868afd200be3828e4397659391f857599e6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
760e5375f003accf04f789e90a919ed476d4c335 15-Dec-2010 Winson Chung <winsonc@google.com> Fixing drawing order issue in bg gradient

- 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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a58f8bb1947af39d4d18d849b3e4d6bd0d3954d7 15-Dec-2010 Winson Chung <winsonc@google.com> Preventing bg protection from changing while adding items via spring loading mechanism.

Change-Id: I57702eae45346e41026d60e2ae551f3df287b29f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c2f7f4794867cd1b3e97fd0f379ad8ad15958a6c 15-Dec-2010 Michael Jurka <mikejurka@google.com> correcting misspellings and removing dead code

Change-Id: Ic71dfc31299b1fbc10d7694e710699aa952da311
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
88127038178b3bbf0eb91103a31e682cc0615074 13-Dec-2010 Winson Chung <winsonc@google.com> Various tweaks to launcher

- Removing hotdog for shadow bg protection
- Adding bg protection for customization tray
- Restoring holographic outlines for all apps
- Small bug fixes

Change-Id: I58d81bb490f78c76fcaf46122febc3c1aace854e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cd4bc491c40c8a01a62d6846577da124e5e00718 10-Dec-2010 Winson Chung <winsonc@google.com> Changing AllApps checked visualization, fixing drag offset issue in AllApps/Customize.

- fixing previous change which clobbered pressed/focused state padding

Change-Id: I229d803322554e51bc9c1f15d3687b01b0f6679f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
696a67969d657d38eff33996633f08da0e21841f 09-Dec-2010 Adam Cohen <adamcohen@google.com> Fixing stack overflow (issue #3270492)

Change-Id: I6a9c58d2c0843414fd844c8aa5bf0370da33108b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d3ef3065ab0941567c45e9aec98783138b623c68 24-Nov-2010 Michael Jurka <mikejurka@google.com> added spring loaded mode for adding items to workspace

Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
120980bd00f5eecec5717f49a3d7db96571025a9 08-Dec-2010 Adam Cohen <adamcohen@google.com> Adding animations to Customize drawer

-When you tap to add in customize drawer the widgets
/ app shortcuts now animate to the mini screens

Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
af91de06b99e2d5d41ce79fefa34ce2111e51917 24-Nov-2010 Michael Jurka <mikejurka@google.com> code cleanup, preparing for spring-loaded adding to screens

Change-Id: Ic52b8df2b4c4998272fbfe2b1b195c177cac9a23
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5bb50bdb13f5fc22f5febd9480e78222b26c6fe7 03-Dec-2010 Adam Cohen <adamcohen@google.com> Improving the look of holographic outlines

- The outlines are used in AllApps, Workspace and Customize

Change-Id: I1c3aba81df163c98a839498a3d421a8f03c51f06
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1d0867c8de6a889bccde9b7e768daef182a25e5c 03-Dec-2010 Jeff Brown <jeffbrown@google.com> Send live wallpaper taps.

Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
656d11c882296d732e6bdab30ec26f84b99eba19 30-Nov-2010 Winson Chung <winsonc@google.com> Adding background protection to icons and apps button.

Change-Id: I650f9135c0ce5bc2a6f7c5f878d470d6a85e9f7e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8d006d5e144ae33e509ea42e0b9760ef6c5bc884 30-Nov-2010 Winson Chung <winsonc@google.com> Adding additional customization tray bg to match designs.

Change-Id: I35caeddafb05311ea57b80988b46cecd501e4c3d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e0f66b546994a9bdee452851c17a148db02ec300 24-Nov-2010 Adam Cohen <adamcohen@google.com> Modifying feel of scrolling / overscroll

-Modified overscroll on Workspace
-Added overscroll effectiveness curve to PagedView
-Modified the feel of scrolling in Workspace, AllApps,
and Configure. Made it more sensitive to velocity.

Change-Id: I7f705e267a536c742fbb3b6556648bbf993bdd2f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3d79192da756fa9c46215d5c39f17cd8ac7fb43e 24-Nov-2010 Michael Jurka <mikejurka@google.com> Don't allow drags to fully occupied home screens

Change-Id: Ib9f6732f2d1d35fc4496c3d2257397ddf1f7f367
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9c6de3d7c3e7d40e1e443b6fd69e3077ab9e9673 24-Nov-2010 Michael Jurka <mikejurka@google.com> ignore drop position when dragging items to small screens

- adding plumbing for future support for spring-loaded adding of items
- also, additional minor code cleanup

Change-Id: Idb313d4cd125b4f0b315a845dc8fb853cb48885e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a669d79d0dcf034651ce305a8cd334272bec3374 23-Nov-2010 Patrick Dubroy <dubroy@google.com> Prevent flicker when starting a drag.

Also, animate item the view to its new position when dragging.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f135c6c364e92cddb84c1b4a94ed535214b712a6 19-Nov-2010 Winson Chung <winsonc@google.com> Tweaking background protection animation to match transition animations.

Change-Id: I9e0c93c5b43fe117a0fb7c1ab1c4167cc47125c4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
68d739365bf650fe7fecf99cd3bfe63a0d41bd12 15-Nov-2010 Adam Cohen <adamcohen@google.com> Adding overscroll to Workspace, AllApps and Customize

-Also modified the background alpha interpolation during scrolling

Change-Id: I68db8fbe80f720c507ab3208d8b3dcd8aa4f2081
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b4b7fa7c0383b6af58d73d3e024b91d586148cf8 18-Nov-2010 Winson Chung <winsonc@google.com> Proper fix for missing resource in other devices.

Change-Id: Ie164e42a4c5efce763160dae86b8fe3a9da51fd9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9171e6d8a2b7b5aa136617b9779a8bbadc5259f7 18-Nov-2010 Winson Chung <winsonc@google.com> Adding initial background protection to AllApps/Customize drawer.

Change-Id: Id5e2b2dd82c2ee82526ae5c5179345275af246c6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
54fa3b95557c283976e8c1aa8a157b460b0b4513 17-Nov-2010 Patrick Dubroy <dubroy@google.com> 3185132: Allow dropping on adjacent homescreen targets
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6b879f0a5885274a85333531e091283405d490cc 05-Nov-2010 Adam Lesinski <adamlesinski@google.com> Layout tweaks in Launcher

-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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
61033d3d86fcae1f654f3fbfc9979d131e265d76 16-Nov-2010 Adam Cohen <adamcohen@google.com> Polishing home transitions

-Modified interpolation / duration and some other characteristics
of the transitions between home and AllApps / Customize

Change-Id: I9154800d500b394e4f826f6c88c14fb6e0164828
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
eed565d5126cb40b2a7ecdf5f6e8ac7a7464007b 15-Nov-2010 Adam Cohen <adamcohen@google.com> Whitespace fix

Change-Id: Ia6b328defddc002ea0acb028d452bdd97ed3d4cc
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cbbaf9862aa160c5e397cb49b554de20981a35fe 12-Nov-2010 Adam Cohen <adamcohen@google.com> Tweaking transitions between AllApps / Customize and Home

Change-Id: Iaf1c235fd6122d871a6e038ab83b8deb5435b018
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a34abf8c781485b788fddacb352d586bffca886c 12-Nov-2010 Winson Chung <winsonc@google.com> Fixing issue where dropping on the system bar would not properly cancel the drag.

Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
bbc60d8e79416e37cbede55c159bf6aaa6c171d5 12-Nov-2010 Winson Chung <winsonc@google.com> Fixing various small bugs with launcher

- Items added from customization tray add from top left now
- Fixing issue where wallpaper tab was not showing
- Workaround for the extra pixel line showing in homescreen drag icons
- Speeding up animations for tab transitions and clicking

Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
580e27748137ff08599aa719d106b31215a28353 11-Nov-2010 Winson Chung <winsonc@google.com> Refactoring the drag event handling to provide more upfront validation of drag events.

Change-Id: I1d54e7f073e8ea00c61634b8f25b957b3ea3769c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ddb821981e0919bbd3b4c9a2b6aa1811d6c86bb6 11-Nov-2010 Adam Cohen <adamcohen@google.com> Making current screen background always transparent

Change-Id: I3cc61f85c36f80a71d60228f5f8570758b1b0e3b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ded9f8d8658d0b6601006c0a954cd3bf530e55c1 03-Nov-2010 Adam Cohen <adamcohen@google.com> Adding auto-advance to launcher

Change-Id: I96c88d35399057ccddc71dc93b974a39241a13da
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0207c522472d7252f146f4d39efa456ca5248c6b 04-Nov-2010 Patrick Dubroy <dubroy@google.com> Draw glow along screen edge when dragging in portrait.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
f24312876b097e25cec922edbb58334ed234dcd7 02-Nov-2010 Patrick Dubroy <dubroy@google.com> Fix bug with views disappearing after dragging.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c9a961952d1a057029874f8426b90181f6876034 01-Nov-2010 Michael Jurka <mikejurka@google.com> Using hdpi icons in Launcher

Known issue: Default activity icon is still showing up as small
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7da1025bd7f15b04cf55c79b73e94e5e1bc959d9 29-Oct-2010 Winson Chung <winsonc@google.com> Layout and spacing changes for AllApps/Customization drawer

- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8ae3a62e2e48dfb8f860c8b6e2c7e72b9595d7aa 01-Nov-2010 Patrick Dubroy <dubroy@google.com> Add snap-back animation when dropping an item on a full page.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9438336724b4f8b54c7cdc49c5f01dd9568926eb 30-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix NPE when dragging an item to a full home screen
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3c4c20fbe682cb4b3ef94f09afe0af09171583f3 29-Oct-2010 Michael Jurka <mikejurka@google.com> Fix: switching states during animations was broken

- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
cd68ff5b88de9b5136ff5a9ef698e4db2fc5db66 29-Oct-2010 Patrick Dubroy <dubroy@google.com> Move drop anim into the Workspace to prevent clipping issues
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a997ac26664befbd0d5b172e36ef9e8b2c63b435 28-Oct-2010 Michael Jurka <mikejurka@google.com> Setting correct active page when shrinking

Bug: 3130373

Change-Id: I5fa8772bd557b828aaac0d6433f1ff148b0d9f57
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
55cef262f97749300c2f6e764da0b00cbcb78879 28-Oct-2010 Winson Chung <winsonc@google.com> Adding initial support for dropping widgets with custom configuration data.

Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1b0aaac0b3abd777ed319341f95a8dfff23c79f4 28-Oct-2010 Adam Cohen <adamcohen@google.com> -> Made outline of current page fade out
-> Added new assets for homescreen outlines

Change-Id: Ic19b32a749fd4109bd5601c8b220759aab56603c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
2858f889a52ba8badfb76308d471ac0a5383f83d 25-Oct-2010 Winson Chung <winsonc@google.com> Leaving mini-workspaces in place after dropping from AllApps.

Change-Id: Iae4aba8b38e674ccda978b8280d015d4d8247147
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
883f55b1d261862b0de1b43af0b17d351761a9c6 22-Oct-2010 Michael Jurka <mikejurka@google.com> Correctly preserve state on orientation changes

Bug: 3049975
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ef0066b52d2754ca0553ec79613c650b5649afaa 21-Oct-2010 Winson Chung <winsonc@google.com> More spacing changes to Customization Drawer.

Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f3ca3ab6958b104cbf2c2fa04add97d372a94d1c 21-Oct-2010 Michael Jurka <mikejurka@google.com> Fix bug that allowed multiple items in one cell

Fixed issue where opening a folder allowed items to be placed on any cell, even if it was occupied.

Bug: 3094164

Change-Id: I392e7236f9cd7ea0b09f36e249d2a57c9934dc8e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
df4b83dd9d6380ab963c62d1f9d1312efc87cb0f 21-Oct-2010 Winson Chung <winsonc@google.com> More spacing changes for AllApps.

- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8e58e916061cbe2623697efac0924f2aa3753a92 14-Oct-2010 Patrick Dubroy <dubroy@google.com> Various cleanups in the drag viz code.

Most importantly:
- Don't allocate a new Paint object in CellLayout.onDraw
- Scale holographic outlines based on the screen density
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ce34a9768b01115def95f000a6a8f35870f10d3a 19-Oct-2010 Patrick Dubroy <dubroy@google.com> Animate items into place when dropping on home screen
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
18014791be2e3f41080f0bf621c618e3f096c5c7 14-Oct-2010 Michael Jurka <mikejurka@google.com> Added bounce animation when item added to screens

Change-Id: I87d9e8545e2de588d083b48991d932eb904f6e3a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1adf5391a3a3d215b226adf3702019c22a99e3b1 19-Oct-2010 Michael Jurka <mikejurka@google.com> Fixing a bug where you could scroll the mini screens

Change-Id: I3638618cb5f4ec2705955fda994fd6aff42fd70f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
08ae2ec4847a971ad1b19c163e3a0d6307a8ed72 15-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix bug drag viz & hover state

Change-Id: I6b40d4dd43a2ee0c127df938375870347faeb5f6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d718d6a7ba424b600052a147e5633a201a04ccb7 15-Oct-2010 Michael Jurka <mikejurka@google.com> fix setting/unsetting hover on thumbnailed screens

cleaned up dragenter / dragexit events so they're only received by CellLayouts if the workspace isn't small

ignoring enter/exit scrollarea events when workspace is small
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
472b281d5cb4f5660df981a6c912266b9f5703fe 14-Oct-2010 Chet Haase <chet@google.com> Updating code to use new non-generified animator APIs

Change-Id: Ie1928a22f774b226d90fa0918f61dba35d183dd6
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4be866d3a1665aa2098cb5d38d535b1ad1aab6d6 10-Oct-2010 Joe Onorato <joeo@google.com> fix 3029324: Implement new drag feedback

Add "shrinkwrap" icon outlines to visualize where the item will land
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b0b2e6f588367cf40a4270cca81af7d78f8e382e 13-Oct-2010 Winson Chung <winsonc@google.com> Tweaking spacing and layout of AllApps/Customize in portrait.

- Also added workaround for tab label not being initially selected
- Added fix for initial layout of PagedViews preventing side pages from having proper alpha
- Marking widget dims format string as not translatable

Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c86756c20196e5c907df01fe0fc9193ffb934082 11-Oct-2010 Michael Jurka <mikejurka@google.com> Fixed 3073371: Home screen locked after app launch

Change-Id: Iedac4b94d20cc3352aa247c58978a8f60df1a09f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3e7c7634531302271270c8cf418abc959d621cbc 03-Oct-2010 Michael Jurka <mikejurka@google.com> updated Workspace thumbnail behavior

- in All Apps mode, fade thumbnails completely
- while dragging, have thumbnails re-appear
- while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue)

Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4516c11039d77066281f69f9b5d30fdaf1bc05ae 08-Oct-2010 Michael Jurka <mikejurka@google.com> Fixed dragging over mini-screens

- during dragging, finding the mini-screen closest to the touch point

Change-Id: I4d967803b85de8af3208511c60c1f3bf5691718f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
21f12b52a54d2658ed14fcf7bb1ca17a198f62be 08-Oct-2010 Adam Cohen <adamcohen@google.com> -Changing page scroll click regions
-Cleaning up code for page rotations

Change-Id: I046784b108186b6627ce0df3aed57d70c303ef23
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c0e8fcae492730210b2b8b6d5bb3d65636bad245 07-Oct-2010 Michael Jurka <mikejurka@google.com> Fixing state transition bugs

- explicitly keeping track of state in Workspace
- cancelling animations before starting new ones
- adding additional state variable for workspace for in-progress transitions
- updating Scroller object if we jump to a certain location

Change-Id: I5ddf51bae543ec89b2a44ab651d7269eb4859a6d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
1262e369484ce7f2565655ed80e6299232c70bd7 07-Oct-2010 Patrick Dubroy <dubroy@google.com> wip 3029324: Implement new drag feedback

- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9c4949e12c909d5e01d24386147b1c528015b31b 05-Oct-2010 Adam Cohen <adamcohen@google.com> ->Added attribute to PagedView to specify spacing between
adjacent pages
->Fixing crash on phones
Change-Id: I8ea97ce6d569c59b6d51b544dc10b0310d294b43
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
16fed41e5e680c547b23e108788eb85f1b04d36d 02-Oct-2010 Michael Jurka <mikejurka@google.com> - getting rid of "dimmed" effect for icons and widgets
- re-enabling drawing cache for icons and widgets
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f34bab59fc0260f926aec44d044883dce1b4191f 30-Sep-2010 Adam Cohen <adamcohen@google.com> -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781

Conflicts:

src/com/android/launcher2/CellLayout.java
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fc9f07d42511231a26fa182c32e2efaa0f41d478 30-Sep-2010 Michael Jurka <mikejurka@google.com> Fix: on move, items are now dropping where the
visualization says they will drop

Change-Id: I5b1d3d713991468c1b17458356b2ff1a630aa9b9
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c6ee42e25f203e408826e7eab4ad8faf67ed2ff9 30-Sep-2010 Michael Jurka <mikejurka@google.com> Fix: dragging items to adjacent screens would
not properly show the available/unavailable cells

Change-Id: I47d1405315db01f87dfcce3536295d2a0d0dc444
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
60587efe1a60ed698db9e2cafcd48f2c3fc8aa40 30-Sep-2010 Michael Jurka <mikejurka@google.com> Slight tweak to the id generation code for items
on home screen
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
845ba3b17b83a2b11d79c6fb076cf96ab4a737df 29-Sep-2010 Michael Jurka <mikejurka@google.com> Fix: crash on portrait/landscape switch due to
duplicate View ids

Change-Id: I69d09823d4825dadd7f3e119f9248140256f91b3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0fb7db5a3771223bc86fdf0e01665e69c1309cc1 29-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing boot stall.
Revert "-Added 3D effect to home screen scrolling"

This reverts commit 9415d87eda0cf28b8df1eccde39b0ca1646be3b9.

Change-Id: Ib8d6602f5d82884eb1f6cc44c0cc71cc563a3a59
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
de7658b5e02ae10010e44fcf8d9c5814f54d9eb0 27-Sep-2010 Patrick Dubroy <dubroy@google.com> Show crosshairs when dragging items around the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9415d87eda0cf28b8df1eccde39b0ca1646be3b9 13-Sep-2010 Adam Cohen <adamcohen@google.com> -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7ded67cd64153cd41bb133a6aab11b3254b4a5d9 28-Sep-2010 Michael Jurka <mikejurka@google.com> fixed: adding app shortcuts caused overlapping
icons
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6a1435d78d5133b1f37274c4d358bf6d22e10229 28-Sep-2010 Michael Jurka <mikejurka@google.com> Fix issue where items could not be moved back
to their original positions

This also fixes crash 3038168

Change-Id: I4142a1fe32954e76e6ab02ea09f50d4bdefec67c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
28750fba6a2d141eb9a1e566718c17236030b815 25-Sep-2010 Michael Jurka <mikejurka@google.com> fixed minor code review issues from change I0280c3be
(it was submitted early accidentally)

Change-Id: I3753366b4d5e1dc228baf02eba27a2c0d8fa42cf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
f79d5265c6446246f98e25e6b1b94d3bdc92ae29 17-Sep-2010 Michael Jurka <mikejurka@google.com> removing dead code
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
98cf129f80ded0843328ee0b33caa2239236abb5 15-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am 73013bf9: Make LauncherModel.deleteItemFromDatabase write to disk async.

Merge commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13'

* commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13':
Make LauncherModel.deleteItemFromDatabase write to disk async.
73013bf94f49ffbacba2b8300f6a2dd4eeebbd13 14-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Make LauncherModel.deleteItemFromDatabase write to disk async.

Fixes a bunch of StrictMode violations and removes TODOs.

Change-Id: I886bd071d4a8336c228d29c517a8ffc5223c0623
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e54cec82a915c2bc8a7d719228c5d907f3fe14ec 14-Sep-2010 Adam Cohen <adamcohen@google.com> Re-adding the perspective shift on mini screens

Change-Id: If4acc0cbfc66305e9abe024529a69553df2f9ef2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5f1c509d5ad1954a7e38e77db4d5f27c7345fd39 03-Sep-2010 Michael Jurka <mikejurka@google.com> supporting swipable home screens on xlarge devices

- 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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a985e598f6071f4caca15ba3cb6b2cd3e38b217d 09-Sep-2010 Adam Cohen <adamcohen@google.com> Applying fake perspective transform to the home screen previews

Change-Id: I2092fd963804eceaf0117bcb6d118d83e0da3573
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2b9ff37edb3f5965559b3ff7d37e418b4a2917a1 08-Sep-2010 Patrick Dubroy <dubroy@google.com> When an app is chosen in All Apps, tapping a workspace screen adds it to that screen.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b1254a6bdb11024042fb6c27e179210c1bbd6e1c 07-Sep-2010 Chet Haase <chet@google.com> Animation classes renamed

Change-Id: I96ecb77357a914a746a5989c909246620b977b10
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0142d49e1378a7155bcca1fb59965d9e73016dbc 26-Aug-2010 Michael Jurka <mikejurka@google.com> Changed Workspace to inherit from PagedView

- 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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6b4adbc0558fcebbd44998bd00dcd334ddbee32d 01-Sep-2010 Joe Onorato <joeo@android.com> DO NOT MERGE - Allow the workspace to swipe while it's loading.

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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fdf5fd63c6e76fffd28df6d032ee6bac1417edf6 31-Aug-2010 Joe Onorato <joeo@android.com> DO NOT MERGE - Allow the workspace to swipe while it's loading.

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: Icf252beaee5b801b30216202ce6032c4d565cde3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
df7c3a7853abd4dec460247370fe0b17b50866ac 27-Aug-2010 Patrick Dubroy <dubroy@google.com> Fix problems with unanimated toolbar transitions.

Rather than creating all the Animators and attempting to execute the
transitions immediately, add a separate code path for all the
unanimated cases.

Change-Id: Id615180bd0d2ed5cc60d8df351c00e8d7b13c68d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7f0f4f3c35fe0b6a94504ec39ac127fa935282ef 23-Aug-2010 Michael Jurka <mikejurka@google.com> Workspace no longer scrolls during drag when shrunk

Change-Id: If71ba7638259f4015c5c088797f2b2719066cf2e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6b509c1fd62a39916bb957eac07917161f549206 24-Aug-2010 Patrick Dubroy <dubroy@google.com> Add a market button and add toolbar button animations.

Also clean up a lot of the animation code to be more centralized.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
86f7753bbd6d87ce85195b0715e5548edbfdb7d1 24-Aug-2010 Winson Chung <winsonc@google.com> Preventing reloading of pages on swipe and disabling offsets for xlarge static wallpapers.

Change-Id: I4ca72164775d09706e36c38e0fac0e84254221c7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a63c452f5bd491ba9b28c332ccedc6c6c7e2f3cc 19-Aug-2010 Michael Jurka <mikejurka@google.com> added support for dragging widgets and app icons to mini screens

- gave mini screens a rounded rect background
- mini screens change color when dragged over
- added a way to specify the active region of dragged items, to allow for clipping of whitespace at borders
- fixed: feedback while dragging was often one cell off
- fixed: bug when adding to almost-full screen
- removed unused classes

Change-Id: I2fbd2aaaee6831b288cca8dec75e7b446068e8d1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
01f0ed4126be412c8c4352026dad3b2a49832267 20-Aug-2010 Michael Jurka <mikejurka@google.com> pressing home twice shows small overview mode

Change-Id: If5a6c0942685cd52ef77562dd342f28e16ae571c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
96226223d9849842bb2a67af051acbae9e0677d5 20-Aug-2010 Michael Jurka <mikejurka@google.com> clicking on mini screens no longer sends click to widgets/icons

Change-Id: Iee905655151dfe1d00acd776752525d3fcc9b0e1
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c28de51eedb26848abf9245ddd19e021d30be318 13-Aug-2010 Michael Jurka <mikejurka@google.com> fixed crash in addVacantCell

No longer precalculating vacant cells

The previous way of finding empty cells for
widgets/icons etc. precalculated all the possible
empty spaces. Now that we have an 8x7 grid in
tablet, there are too many possible empty spaces.

Change-Id: Ib39113fdf755935bfad257843e1618c680ed9e72
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a67e867db9d639ed2afcc97e9d04a67fc46f2669 11-Aug-2010 Patrick Dubroy <dubroy@google.com> Fix workspace shrinking bug caused by change in animations

Change-Id: Ia34ae2a6cb863da28d319c46a95f61536cd31ade
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4cb3724a2c1e5f278e1531d643accc40fcd8e219 10-Aug-2010 Michael Jurka <mikejurka@google.com> workspace bug fixes

- fixed: pressing home sometimes left workspaces
in shrunken state
- fixed: position of delete zone (trash icon)
- fixed: workspace unshrink sometimes looked weird
when coming from all apps
- fixed: clicking power button and returning left
workspace in shrunken state

Change-Id: Ie974202926e6880ccda26ac9fe967fb587a9b7a3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3ec8bdd576e23f6aa783d5377abecac6fda07374 07-Aug-2010 Patrick Dubroy <dubroy@google.com> Refactor zooming animation, and apply it to customize drawer too.

Change-Id: I0bbd5a68adc82cea02dc583ac3d04e3de8c0346e
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
4bb4f735c80ba6baca6678f6508b3862da61313a 05-Aug-2010 Michael Jurka <mikejurka@google.com> small fixes to Launcher

- more robust unshrink animation
- catching a resource not found exception when
making widget preview
- added more missing copyright headers
- hiding customization drawer when long press on widget
- long-pressing on widget is temporarily always
springloaded to zoom in to workspace screen

Change-Id: I6c92877357e907d89840fecc4662f0700b96255b
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
976ebec9e31643d3513f9f0de2b433d9aa186ce9 05-Aug-2010 Patrick Dubroy <dubroy@google.com> Fix incorrect offset in drag feedback, and other minor stuff.

- moved some dimens to -xlarge
- enlarge AllApps so that it's not clipped
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ec1b932159cd6ea5dd5e3aee2554131d175e03d9 05-Aug-2010 Adam Cohen <adamcohen@google.com> Fixing longpress bug on widgets with a ListView

Change-Id: Idca7a8948ca21f1e7a1c332fd56303f903eb122d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7247f6315baf16eacb3286f21bd80321385c1def 05-Aug-2010 Patrick Dubroy <dubroy@google.com> Move all apps to the new animation framework, and some other all apps changes

Change-Id: Ib4c827966423d76e62db24036bbca0cd6ee46b95
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8335a24a6b7ae061e1f141dfa5ae20df64deb7cb 05-Aug-2010 Michael Jurka <mikejurka@google.com> updated Launcher2 based on recent changes to view properties

- fixes bugs on both N1 and stingray where workspace
was seemingly disappearing

Change-Id: Ica3c5aad7bbce58c35417a0022bfe0d1328c2322
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
2c3af5ffb21039a73107ef70723d2353146ab94a 03-Aug-2010 Michael Jurka <mikejurka@google.com> refreshed apps/configure button, added search button

- configure button now has a pressed state (as
do the other two)
- also added a cast to getX() from float->int
because of changes in the view property code

Change-Id: I57dc6e44838f4f4354f8977a3b542e93384b3d7d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
79212d81361d1ad8c941c48f8323eb526643ca68 31-Jul-2010 Michael Jurka <mikejurka@google.com> Fixing bugs related to starting in All Apps mode

- fixed bug where Workspace.shrinkToBottom() was
not always called in showAllApps
- added logic to defer call to
Workspace.shrinkToBottom() after first layout
call (necessary because shrinkToBottom relies
on getWidth() working properly)
- added ability to Workspace.shrinkToBottom()
without animation

Change-Id: I966141a60b6b014cf97e83b4d45725b41b16e55d
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
54dd75463d0eb47c2f468e19063bdc4141dfdf74 30-Jul-2010 Michael Jurka <mikejurka@google.com> Tapping on mini-screen in All Apps view now goes back to home screen

- had to disable touch event swallowing in workspace in X-Large mode to get this to work
- also changed default screen in XLarge mode to 2 (the middle one)
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b0f28bd9a52fa4e343c8299d1c3e225d8e01c1e9 30-Jul-2010 Michael Jurka <mikejurka@google.com> fixed bugs with layout in Launcher

- fix bug where calling unshrink on initialization was setting all the screens' x coordinate to 0
- fix bug where mScrollX was not synched to the proper value for the mCurrentScreen it was on
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
213d96354e7407dba5c9715eb10d04bebd82c395 28-Jul-2010 Michael Jurka <mikejurka@google.com> Improved support for workspace screen thumbnails

- Shrinking workspace view in All Apps
- Added vertical margin for workspace screen thumnbnails
- Fixed bugs in a few of the Launcher state transitions (e.g. customization to all apps)

Change-Id: I9ad1c8861585d78fdb2e3bc986a614526b3cfe5f
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
dee0589388ba0f6373912e18bf86243282fb3b9b 27-Jul-2010 Michael Jurka <mikejurka@google.com> Home screen now shrinks while customizing

- added a shrink/fade animation on home screen when going into customization mode
- made items in the customization drawer larger

Change-Id: Iddbaf14aa5b1504fe94966971a1ab95c00f24331
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8f86ddcb90063a56c25c9c782316574bc4e5dd93 16-Jul-2010 Patrick Dubroy <dubroy@google.com> Generate a default preview for widgets that don't have a previewImage.

Change-Id: I3a3c24543c925a50ab34fd3cbf7947544a5ac5c0
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
440c360bc395c43683fa9ca226e59f9e35f9e926 14-Jul-2010 Patrick Dubroy <dubroy@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6569f2c80e179c2f8ed73dae6b01d971ec20f005 12-Jul-2010 Patrick Dubroy <dubroy@google.com> When dragging items on the home screen, visualize where they will drop.

Draw a rectangle around the area where an item will land if it is dropped.
If the area is vacant, the rectangle is green; otherwise, it is red.

Change-Id: I859b52514566fa55f8c7a04493b8088d12baa476
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0e26059548e429e5d1c973bebe4c561bead2926f 01-Jul-2010 Michael Jurka <mikejurka@google.com> Improving home screen customization

- Created a drawer with tabs for widgets, folders, shortcuts, wallpapers
(wallpapers are currently not implemented)
- Tapping outside the drawer dismisses it
- Moved the all apps icon to the upper right of the screen
- Adding a toast that says "No more space on screen" when dragging a widget to a full screen
- Fixed bug where you could stack two equal-sized widgets on top of each other on the homescreen (exposed by the new ability to drag widgets onto the home screen)

Change-Id: I03b65ce54a85d24328c94e0c06e249571de449ee
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
af44209bfa60da3c7ab49b7f508f9effd316ee41 11-Jun-2010 Michael Jurka <mikejurka@google.com> First cut at new home screen customization for xlarge displays.

- Add new layout for xlarge, removing hotseat, next/prev page, etc.
- Add a "+" button in top right which switches to customization mode
- Add a widget chooser which slides up from bottom of screen
- Initial support for dragging widgets onto home screen

Change-Id: I14e2e013ccceff4066fcb7c4492b4f6bef6595e7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
291ad12232c98e383d44d76ffe09e97e204c61bc 24-May-2010 Daniel Sandler <dsandler@android.com> Ignore requests to add items to non-existant screens.

Should avoid crashes when using Launcher2 alongside
third-party launchers that add additional workspaces.

Bug: 2709532
Change-Id: I7775b43e582346ba686524e357a2b262e9fc4dcd
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e1cc6c3745c9ba721b6ab888d74c9d9e1d13ea6a 07-May-2010 Daniel Sandler <dsandler@android.com> Fix 2617318 - NPE in Launcher2.

Applies the fix in change Id91712fa to widgets.

Bug: 2617318
Change-Id: I1e1dac6238a26497eacc23b161df171ae40bb588
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fe8e279dbc31a5155d7ad09987d5cda8aad10206 04-May-2010 Adam Powell <adamp@google.com> Bug 2639807 - Add smarter smoothing to home screen touch scrolling.

Change-Id: I242e11f5aec218ae2b8f80ef3babcb2836c173db
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fefa0ce22af9560f1c0f8c84c760c75f34b7b12c 03-May-2010 Adam Powell <adamp@google.com> Fix bug 2646531 - regression in home screen bitmap caching

Looks like the code path for buildDrawingCache(false) has some bugs.
This reverts to the old code path and tries to manage the creation of
those caches a bit better.

Change-Id: Ic468e9db396c51f723454dc3832e0cd1c0c82004
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fea5d0250767ab938f623a404e6292a32dd2fdf5 29-Apr-2010 Adam Powell <adamp@google.com> Filter input events and smooth out touch scrolling. Bug 2639807

Change-Id: I71a18497862a30db5ff0f52f566fb86eae213ea3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d40613a693ea00bd767d60bfdbdcebe4cbf7bbdd 27-Apr-2010 Adam Powell <adamp@google.com> Address bug 2631580 - Tweak home screen scrolling behavior.

Duration of motion is now influenced by fling velocity. Constants have
been tuned and tweaked.

Fix a couple of drawing optimizations in Launcher2 Workspace.

Change-Id: Iaa674d10a28554884d9cc98134b2d1253b5e3e70
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2762dd856ef95b3c5cb1f554fb733e15b1eb2a9c 26-Apr-2010 Adam Powell <adamp@google.com> Fix bug 2629457 - Scale home screen settle animation based on distance.

This fixes the issue where using the long-press-on-dots feature to
jump to a specific home screen overshoots by a large distance. It also
speeds up the resulting animation such that jumping from screen 1 to 5
doesn't take as long.

Change-Id: If41086b17df875be5514776e3af24292587d05a7
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
495f2892288504f4ab87e62957b3f71144dd73c2 17-Apr-2010 Adam Powell <adamp@google.com> Change workspace scroller interpolator

Change-Id: I1d8f1ceb39dc21e58c833cf030a41d08913ef7e3
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f11079b11e98912ed56546eaa300efd06c6eb917 15-Apr-2010 Joe Onorato <joeo@android.com> Fix 2595902 - NPE in launcher2

This code never worked. If you delete a live folder for an app that's been uninstalled, it would
crash.

Change-Id: Id91712fada8912addbc4892bd5ae517536fc4f24
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a588b878b91ee817e3c78411ab0e08e2342acbd8 13-Apr-2010 Adam Powell <adamp@google.com> Revised workspace fling physics

Change-Id: Ia14ff132e49390bf3bc4ac6ebf1b3eded8d39caf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
327a9a3a309eeda5bdc18281066f2e19236455bc 02-Apr-2010 Adam Powell <adamp@google.com> Limit workspace flings to one screen at a time.

This prevents users from scrolling left slightly, flinging right,
and scrolling by two screens as a result (and vice versa).

Change-Id: I04c60438c022b24defcd8e4cbedf1c6b07c24423
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
64e6be78dc72e1a89fe8fb95c502586f9260df28 05-Mar-2010 Joe Onorato <joeo@android.com> Refactor the app updates so that it doesn't rely on the package name.

This will be needed for the upcoming change to update the icons with the
grayed out when the SD card goes away.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c36f2455aba21448a130b9a5e2a118a379745c37 10-Mar-2010 Adam Powell <adamp@google.com> Cancel long press within normal touch slop, before paging touch slop.

Change-Id: I1b4d02db306bc0a7c3f39e2174a7239239ce4422
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3499d4aac4333e9dc33fe4d09bb261574a633e91 10-Mar-2010 Adam Powell <adamp@google.com> Smoother scrolling/paging, multiple pointer support

Change-Id: I09eef7b0b4d85ab073307f2fb5eb2521aef82af4
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
edcce099c98a6c40d10109ac092ab50f9d2668f3 04-Mar-2010 Romain Guy <romainguy@android.com> Fix the build!
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e48e7c1a62e6a367803dca62c8fce9de57121b0f 19-Feb-2010 Joe Onorato <joeo@android.com> Don't crash when adding a shortcut.

Steps to reproduce: Menu > Add > Shortcut > Application > [any app]

E/AndroidRuntime( 1734): Caused by: java.lang.ClassCastException: com.android.launcher2.ShortcutInfo
E/AndroidRuntime( 1734): at com.android.launcher2.Workspace.onDropExternal(Workspace.java:963)
E/AndroidRuntime( 1734): at
com.android.launcher2.Workspace.addApplicationShortcut(Workspace.java:903)
E/AndroidRuntime( 1734): at
com.android.launcher2.Launcher.completeAddApplication(Launcher.java:669)
E/AndroidRuntime( 1734): at com.android.launcher2.Launcher.onActivityResult(Launcher.java:371)
E/AndroidRuntime( 1734): at android.app.Activity.dispatchActivityResult(Activity.java:3877)
E/AndroidRuntime( 1734): at android.app.ActivityThread.deliverResults(ActivityThread.java:3340)
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
956091ba7863bd72086275e61084864994dd6fa7 19-Feb-2010 Joe Onorato <joeo@android.com> fix 2453680 - acore NPE on startup: setWallpaperPosition
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
ed2390e7091511618bf5030d4996ccafadba3cc3 18-Feb-2010 Romain Guy <romainguy@android.com> Correctly recenter the wallpaper when going back to default screen.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
59d5245b0fb8014fc16d4791fb3a031cc29799aa 16-Feb-2010 Joe Onorato <joeo@android.com> Fix 2446779 Launcher2 crash - while adding short cut to home from all apps drawer
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.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/Workspace.java
483543f31cd2a8b66c9faaf7fcb25c84296730ec 28-Jan-2010 Romain Guy <romainguy@android.com> Update the position markers when going back to Home.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
06762ab54d64e84328d427403bb6074dfd0f630c 26-Jan-2010 Romain Guy <romainguy@android.com> Convert the tap and drop live wallpaper commands coordinates to screen space.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
629de3ef739883c0962423cc0c3a26299f162d3d 13-Jan-2010 Romain Guy <romainguy@android.com> Remove widgets when the corresponding apk is uninstalled.
Bug #2298872
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5c16f3ecd6b47bff3abbe40deb3d39c66a3b0012 13-Jan-2010 Romain Guy <romainguy@android.com> Remove LiveFolders when corresponding package is uninstalled.
Bug #2298872
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c45b16862918a0c6c253bba12032165b030565af 12-Jan-2010 Joe Onorato <joeo@android.com> Fix 2325492 - No icons in launcher after pressing home from within an app

It looks like the evil hack in 14f122bf847e50a3e7730ccbe57abc25d086a01b to make the workspace
not animate didn't completely work. The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7984c9496bcaeca23ee7fdecc4d4f1bb2467e0f2 09-Dec-2009 Bjorn Bringert <bringert@android.com> Get rid of the built-in search widget in Launcher2

Uses the widget from packages/apps/QuickSearchBox instead.

Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
546917a5ad2ed8fb2013982156044faa29d11fc9 09-Dec-2009 Joe Onorato <joeo@android.com> am a276fc59: Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.

Merge commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2' into eclair-mr2

* commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2':
Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
a276fc59f535a2fb05701e8f49bb7adf4cefb3b2 09-Dec-2009 Joe Onorato <joeo@android.com> Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.

turns off some logging and fixes latent bugs that this uncovered where we were
accessing renderscript while there was no context.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f8e6a80acd4e5558fdf7e0559f1043a2b183a8fa 08-Dec-2009 Romain Guy <romainguy@android.com> Let the user click the dots during a scroll on Home.

This allows faster scroll across Home. Also remove dead code.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
14f122bf847e50a3e7730ccbe57abc25d086a01b 19-Nov-2009 Joe Onorato <joeo@android.com> Fix bug 2271894 - Odd animation when press home button from app that wasn't in center home screen

Now:
- When you're on the workspace and you press home, it animates back to the middle
- When you're in all apps and you press home, all apps animates out and the workspace
doesn't animate to the middle (it just jumps there)
- When you're in an app and you press home, it doesn't animate to the middle
- When you're in an app and you press back, it still goes to the page you were on.

Don't look at the evil hack to make it move without animating.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
0d44e9482b95d8f163b28bf20131c4349185b589 17-Nov-2009 Joe Onorato <joeo@android.com> Fix bug 2261637 - Workspace previews home screens on long pressing
at the bottom of app drawer

This includes some contortions to get it not to perform the vibrate
haptic feedback then.

(By the way, it appears that we're vibrating on the add context menu
long press, so also do it when when we show the previews.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
464c055a7a4eff55145e477859d880a403a3087a 13-Nov-2009 Joe Onorato <joeo@android.com> Bug 2244530 - Disable the attempt at not flickering. It's interfering with the frame rate while rollo animates in.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
68ba5ca5d7f17df65f0cc8813603de2d3f215bf4 12-Nov-2009 Joe Onorato <joeo@android.com> Keep banging on the launcher locks up bug. This moves the
delayed zoom stuff into one place, so it should be out of
sync less.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e47f55c30b9c24f01f2be861247c92f17fbe4a61 12-Nov-2009 Romain Guy <romainguy@android.com> Improve desktop scrolling from the previews switcher.

Change-Id: Iee05120b4363c07294f665f45f561e9d9361ccaa
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a30ce8e6b25e41f392a41fd4d0d3e0a424a84dad 11-Nov-2009 Joe Onorato <joeo@android.com> Bug 2231692 - Turn off launcher2 logging.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3a8820bdbad90642cf5cda4b00a8c92ecb699159 11-Nov-2009 Joe Onorato <joeo@android.com> Fix bug 2250457 - Open folder on home screen changes changes the behaviour of the home button

Now, home always goes to the center worksapce screen and back from an
app goes to all apps if it was open.

Getting that animations smooth took a little bit of work.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
c07c79b10b663a02ef67da57bdda60a1ea299eb5 10-Nov-2009 Marco Nelissen <marcone@google.com> Update Launcher2 to the new wallpaper API
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8a73c51ee87b6d9b12daba188034889caf7a905b 10-Nov-2009 Romain Guy <romainguy@android.com> New position indicators and icons for Launcher2.

Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3a2b3f2be58843d26549fb0ec6c6533627c7cd19 06-Nov-2009 Mike Cleron <mcleron@google.com> If 3 screens are good 5 will be better
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
84f296c106cb1c7b6d3ae6c6d5508a17f1324e29 05-Nov-2009 Romain Guy <romainguy@android.com> Add android.home.drop even for the live wallpapers.

Change-Id: I44ad9fe573dc3d2e5d091fed01300d44b6be9473
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
080d9b614e609826dce2606f9e474af674ead933 02-Nov-2009 Joe Onorato <joeo@android.com> Adjust logging of launcher2 launch times, and make all apps loading wait a little longer,
even though usually it happens later anyway.

For bug 2226555.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
f8bbd34d7d4705b49db202be92b920196bc7ea38 24-Oct-2009 Mike Cleron <mcleron@google.com> Make home send tap commands to live wallpaper.

(This only applies to taps on empty spaces)
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
2bc6b7c2b8b651dde0a65c64c127f5b85c1290d2 01-Oct-2009 Joe Onorato <joeo@android.com> Fix the bug where you can grab the workspace while all apps is animating.

You can still grab it, but now once all apps is up, it returns to where it belongs.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
207e40ee66fddded52a028b8f68be3605da3df37 30-Sep-2009 Romain Guy <romainguy@android.com> Prevent crash when dropping an icon.

Change-Id: Ia7313db2437a094c11286edeeaae7b3121a873eb
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7bb1749c69384faf00b238f0684d3b2e23406451 25-Sep-2009 Joe Onorato <joeo@android.com> work around and fix bugs

- Make rollo always draw. This works around the bug somewhere that makes
it show gray when all apps shold be closed
- Simplify the SwipeController now that we're not zooming the workspace.
- Make the readback data sane by splitting it to a different allocation.
Now there is one allocation for each direction of data flow.
- Make AllAppsView.isVisible return the correct value.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
33ed7b2f5a2456dc44dfe6e8f35a415c1495a87c 24-Sep-2009 Joe Onorato <joeo@android.com> Fix some crashes in launcher2.

http://b/issue?id=2142064
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
678862186af4ea70d9b4012c9bc127e7fea5e607 15-Sep-2009 Joe Onorato <joeo@android.com> Get drag and drop working again.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a9c28f6f97a4b34d9527c786e3aa8f02d92d9e07 15-Sep-2009 Joe Onorato <joeo@android.com> New trash icon.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fb0ca67aea25f4282096d9247ddaebee6fbf7e00 14-Sep-2009 Joe Onorato <joeo@android.com> checkpoint 3d all apps entrance / exit animations
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
52d9cb32608e7c3d065b4fb8e97269e238f1683e 12-Sep-2009 Romain Guy <romainguy@android.com> Fix a drag and drop issue: if a drop happened too quickly it could go to the wrong screen.

Change-Id: I00c73e81e754766cdc47a6286e2b969fcf10aa7c
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
d40eec360f86d8f3d7f9229dbfdc1e54628bfa8a 08-Sep-2009 Joe Onorato <joeo@android.com> Forgot to repo upload --amend. Yay.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
85a02a8d13eced310aee4c2a795e9c9c5435038f 08-Sep-2009 Joe Onorato <joeo@android.com> Add the animation for when you enter the all apps view.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
6665c0f1fec6ec0962896622986340081df992e7 03-Sep-2009 Joe Onorato <joeo@android.com> Click on icons.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d 17-Aug-2009 Joe Onorato <joeo@android.com> Redo the launcher loading code and put the real app icons into rollo.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
7c312c15e33b6cffbda707429e88ade498fc9f5e 14-Aug-2009 Joe Onorato <joeo@android.com> Move the all apps view back into the window with the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
49cdb1b18c12a81cac9817c4800e43d5b507e0c4 14-Aug-2009 Dianne Hackborn <hackbod@google.com> A little wallpaper cleanup.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
3ccdf2f576c284947f6ffd06442a72e5f21a8b9b 12-Aug-2009 Romain Guy <romainguy@android.com> Add Grass live wallpaper to Launcher2. It's ALIVE!
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
798300c4c05b12228f2e4f31c49c3cb728a37889 11-Aug-2009 Romain Guy <romainguy@android.com> Centers the wallpaper by default
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
8f573952b8729b4319043ae0908997ecd2d68951 11-Aug-2009 Dianne Hackborn <hackbod@google.com> Update to scroll the wallpaper.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
b1b69f53a878ca45a2781bb0d713f3f97d594aa4 11-Aug-2009 Romain Guy <romainguy@android.com> Enable live wallpaper in Launcher2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
00acb123c5100f06b8e89e8ec8978ebafc6f6d26 04-Aug-2009 Joe Onorato <joeo@android.com> Move the drag thing into its own window that goes around on top of everything else.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
e77c08d15f23c403293dbb40c6a36967de822c89 01-Aug-2009 Joe Onorato <joeo@android.com> Fade the workspace when the all apps drawer opens and closes.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
5979117dc26fe8939e7af3116401b4ea93a0adb2 01-Aug-2009 Joe Onorato <joeo@android.com> Split the wallpaper into its own view (it will be its own surface some day).
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java