History log of /packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
610ded21c79ae3da4c105c2d1921a30732468a69 28-Jul-2014 Svet Ganov <svetoslavganov@google.com> Update launcher to work with cross-profile widgets.

bug:14991269

Change-Id: Ie65dfdb0f5799bff294f68bf907fd6a17d9b4e8e
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
2374abfda3e53f84e005df8923170308e4df8c03 16-Apr-2013 Adam Cohen <adamcohen@google.com> Making folders work in RTL (issue 8569879)

Change-Id: I3c726b96a2181c07be38cd84cf220e29e9b36f78
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
388e8c5dbe724898ce12e7e999daa684faf0c4b8 07-Mar-2013 Romain Guy <romainguy@google.com> Prevent CellLayouts from making calls to saveLayerAlpha()

Change-Id: I6fe1d9b39a765f4a960f7940c7afc94c784efa16
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
f3900c287cd92f61863cbecab87d5513e48b7b09 17-Nov-2012 Adam Cohen <adamcohen@google.com> Refactoring push reordering (issue 7139335)

-> This new approach is actually correct in emulating cascaded pushing of
items left, right, up and down.
-> Takes care of a couple crashes and some instances where reordering
was not doing the right thing.

Change-Id: I016120e62f5d6fa1a2a6289c3badcb6ec230b2a3
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
215b416c1f7cf0234b777155b823637a0902739f 30-Aug-2012 Adam Cohen <adamcohen@google.com> Fix an error that is not being expressed

Change-Id: I8c3488906b5b95aaf20b996f488ff01bad76300c
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
e0489500d2a2cf410cb3cb687cbc59e966d7084e 28-Aug-2012 Adam Cohen <adamcohen@google.com> Fixing a couple small issues with reordering (issue 7064138), (issue 7064337)

Change-Id: Iaaeb37f630a71f8fd54a6064602ddd10d4d4ab91
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
1dc3b9abd5ab0a39bab7694669d6784b89d362ef 24-Aug-2012 Adam Cohen <adamcohen@google.com> Merge "Adding the ability to scale the hotseat or items in the hotseat" into jb-mr1-dev
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/CellLayout.java
ddfe982177ecc03469d3b7f43d639b8e2967eebe 16-Aug-2012 Michael Jurka <mikejurka@google.com> Remove unused import

Change-Id: I2eaf2b33e3b61fed86a468fbd221fd12191a396f
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
a56dc1077e09faca984a59b861c5dc6364ae2f21 13-Jul-2012 Adam Cohen <adamcohen@google.com> Fix issue with push in reordering (bug: 6259603)

Change-Id: I7ca0abe7f0ef7559ef60f902fb18718fba5a7532
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
92750b1d7852e47ebfcb21601789540edcbfae51 09-Jul-2012 Adam Cohen <adamcohen@google.com> Merge "Trying to track down corrupt database / items disappearing"
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/CellLayout.java
ca99383daef92fed673de22126875cb485be494f 30-Jun-2012 Michael Jurka <mikejurka@google.com> Disable hardware layers for drag views

Also, avoiding allocating paint object every time we swipe
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
b1daa48fc8245a2cdb843da0977b7147c7891f7e 25-Jun-2012 Michael Jurka <mikejurka@google.com> Remove unneeded imports

Change-Id: I96e125c5ddbde7df10847e9514b947c80292ea40
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
629758ff081a354e43aa409159211210ee4ee85a 15-Jun-2012 Michael Jurka <mikejurka@google.com> Remove unnecessary use of some private APIs

Change-Id: Idaba6833ddf4a8615845ca2f643c458bdeb9c403
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
4abc5bdfdfc7021d8519c0b7e1bffe0728ff1d9d 30-May-2012 Adam Cohen <adamcohen@google.com> Improve reordering by always using the "push mechanic" if possible (issue 6275309)

Change-Id: I51450c1b1f6b439c87194a6084d82fb9989154a7
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
e7587d2f23f3ab9e133b40cd7fed4b030609f252 25-May-2012 Adam Cohen <adamcohen@google.com> Fix issue where reorder animations could leave views in translated state

Change-Id: I75f590c4ba43fec0550bbd003022d5c8309881a3
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
fe41ac641bdef7ea96dcbac59b4f3abdbdff6cfe 23-May-2012 Adam Cohen <adamcohen@google.com> Fix issue with re-order animation not hinting the correct direction

Change-Id: I5fdf55615fde974c2cc8ae1276031f413713cb10
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
faf22e15f18479ee84ef15869694cd581df38dc5 11-May-2012 Brandon Keely <lbk@google.com> Ensure that rearranged widgets return to translationY=0

Change-Id: Ic29220624f8103eddfcbcc81d56f355f99322ca0
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
f32d71aa5042dbbb33b10303eb5a4fb7a78cabbc 09-May-2012 Brandon Keely <lbk@google.com> Merge "Adjusting animations for home screen widget reordering." into jb-dev
50e6e565bcf1f51023c2a14d31b17c8a550aac84 09-May-2012 Brandon Keely <lbk@google.com> Adjusting animations for home screen widget reordering.

Change-Id: Ic019b0db8456159d9577acb9a03e24f0d669869b
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
df4c0e25e579500a54023f92aff0dd0f2e2abc2a 08-May-2012 Michael Jurka <mikejurka@google.com> Merge "Don't show the outline on the current page" into jb-dev
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/CellLayout.java
de38e42fe89fd7490221427908cd97c51da21b44 08-May-2012 Andrew Flynn <flynn@google.com> 7" launcher changes.

- Shrink icons in workspace (keeping hotseat size the same)
- Increase width of QSB in landscape
- Move QSB voice button to bottom in landscape

Change-Id: I2c0bad4229484f516005592f2c14da1a4939acca
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
8a0bff5e35f63321178bbf777ec24d42544866b3 06-May-2012 Romain Guy <romainguy@google.com> Remove unnecessary allocations

This change removes a couple of allocations per frame when the user
is trying to scroll past the end of the workspace. The allocated
object, PorterDuffXfermode, is pretty expensive and creating a new
one on every frame could potentially defeat GL rendering optimizations.

Change-Id: Iebaf579d29ad8f14112c5af8cb5dce8d7f4dfbaf
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
850d2e718560cb12ae73292e9d39f21a93d3c2c1 27-Apr-2012 Andrew Flynn <flynn@google.com> Support split status bar in launcher

Change-Id: I2f6687f52e8326f80e84251e39bf6cd6dc9b2f2b
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
e3e03bcd313ba8060f2832b6a16dea6fd6d532ea 02-May-2012 Winson Chung <winsonc@google.com> Fixing issue where widgets larger than the workspace were now bounded when dropped. (Bug 6424463);

Change-Id: I8dcabd084d79697933f873d44bb390f608780c3b
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
dd13e3d0f9925b7bb80c37e21d039aab4fa7e7a1 01-May-2012 Michael Jurka <mikejurka@google.com> Use public API to get padding
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.java
f4bd5792d505a83ef35b30e4fa4e786ac0df58a3 27-Apr-2012 Adam Cohen <adamcohen@google.com> Refactoring dimens for cell size / gap

-> fixing some dimens from previous commit

Change-Id: Ibab49bfb0dc403a67ab88c4ecadc49eb533eae29
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
af9504dc00a1e8060567854c2428f8a00d949693 26-Apr-2012 Michael Jurka <mikejurka@google.com> Removing crosshairs

Bug: 6380576

Change-Id: I26f248fa375ae9ad24417bc55401a08bf4f479a5
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
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/CellLayout.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/CellLayout.java
ec114055837998906efdf741f91ab168f6c0a6f4 30-Mar-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing launcher ANR (issue 6238175)"
5b53f29f809a0dad4a1e0717ba610ce737ee0f43 29-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing launcher ANR (issue 6238175)

Change-Id: I6518ea9e6ce8b50a5f2a3b24e909e18c5b1bde51
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.java
b209e634a29a0cb5514fafb4e5882ea49ba1cfa7 28-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing small bug where final item position might not match preview

Change-Id: I216bbf2b454f92cf02b2807f684054e4dce6a05d
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
7fbec10b36818f100b631f3d73fe1ad5360975aa 27-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing EmptyStackException (issue 6117943)

Change-Id: If5816c654dc1e4d5de1e72804e4cf1e845336a96
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
6b8a02d63a5d9cab8209381993e37db6a6afb753 22-Mar-2012 Adam Cohen <adamcohen@google.com> Fixing animation bug for reordering

Change-Id: Ibb8f53a9beb2ddcacab93507fe7469639e0e0587
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
8baab35b000d2dec9b33ea6a67988b6f0185b27e 21-Mar-2012 Adam Cohen <adamcohen@google.com> Code cleanup + a bit of documentation for reordering

-> in preparation for more substantial changes

Change-Id: I68657af1efc17be66ab973e0815991d3f1697a1f
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
47a876d443ddc65c8d9a0c95da58d892dbb1faea 19-Mar-2012 Adam Cohen <adamcohen@google.com> Tweaking reordering algorithm -- added "pushing" notion

-> Fixed bug when no available space was found

Change-Id: I90898773d259aa84c89d645a1375f2013a520223
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
633f1aad55aea7afbefd8409ccfd1f693b27870b 08-Mar-2012 Andrew Flynn <flynn@google.com> am 989dc514: am bc239a15: Scale icons down for sw600dp-land mode.

* commit '989dc51400f4511e8411b0f1e6c525c024fbb949':
Scale icons down for sw600dp-land mode.
bc239a15464f543a41b960b946aa77258454efaf 06-Mar-2012 Andrew Flynn <flynn@google.com> Scale icons down for sw600dp-land mode.

Cached icons are statically all the same size, so we need to do
it on the fly.

Change-Id: Iae294ff4668f987db8fe5127bae724bf08363542
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.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/CellLayout.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/CellLayout.java
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/CellLayout.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/CellLayout.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/CellLayout.java
81efbad05e0ce69b06d7323749ef2e200b84b98e 03-Nov-2011 Michael Jurka <mikejurka@google.com> Reduce unnecessary layout passes

- Also delete unused code
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.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/CellLayout.java
e6235dd225404239b55c459245543f3302326112 05-Oct-2011 Michael Jurka <mikejurka@google.com> Removing click delay from hotseat

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

Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
7ef918374acd7e1564fa1462053b8ac0bfd4ed67 25-Aug-2011 Adam Cohen <adamcohen@google.com> Using a single hardware layer for each workspace screen

-> Used to use a layer for each icon / widget on phone UI

Change-Id: Iebf2dc89284630343883d1e60a29d724f5423eb7
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
ae915cecd36af4973061a1cb0b58c5be1be699a0 25-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing issue with holographic outlines btw dock and workspace (issue 5135852)

Change-Id: I8602fe8d7c15ed3c12a0f790b773f45565a1d312
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
c1997fd6debbc69b53be71b7d871657fd5843c7a 16-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing drag and drop crashes:

-> Issue 5058353
-> Issue 3470970

Change-Id: Id790595898e86052c33e6b2f0a122e1df009c9ca
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
b8d0e1c3b329a3be07adb261b7b4031e87b6d70c 12-Aug-2011 Michael Jurka <mikejurka@google.com> Reducing HW layer usage on non-large devices

- On phones, we set HW layers on the workspace items themselves, which doesn't cost any performance
- On tablets this approach costs 5-6 FPS in the worst case when swiping pages so we stay with the old approach of enabling HW layers on the entire workspace page

Change-Id: I3626ea14844c3e4444cf79232dbde396840b1804
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
54c725cc294cd43ed0650179bfae64a622547660 03-Aug-2011 Winson Chung <winsonc@google.com> Bug fixes

- Fixing issue where drop target is not as tall as it should be (5116098)
- Fixing issue where number of cells was being computed incorrectly (5112002)
- Disabling side page fading in AppsCustomize on the phone UI
- Should be using action bar bg states instead of tab bg states (5086625)

Change-Id: I0ec927f87cede48dcf4b66cbaa1d62a09f3492b8
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.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/CellLayout.java
c51934bfdfed6a5011c6d6c5b7b70f2d75613d41 27-Jul-2011 Adam Cohen <adamcohen@google.com> Updating portals visuals:

-> added leave behind asset to dock, issue 5052467
-> new assets
-> modified text

Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
faea1f816ead0033e52b730ab4dd598d2c186168 22-Jul-2011 Adam Cohen <adamcohen@google.com> Removing vestigial logic, fixing issue 4412373

Change-Id: Ifd8420caf9f3d9ae49c19964233f86d0ed497455
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
234c4cd54406e363a2ebc213f6ae5be284414988 18-Jul-2011 Adam Cohen <adamcohen@google.com> Fix text clipping in Launcher (bug 4980315)

Change-Id: I20c9b98b606d317ed32d49a3437f24a4cd312759
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
967289b6d5fec77f5c381d11ffb2319f3bb5e737 01-Jul-2011 Winson Chung <winsonc@google.com> Adding new assets.

Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
88b62cfb3b1ef944cdfb40d7905baf42614b04e0 04-Jun-2011 Michael Jurka <mikejurka@google.com> Merge "Fix issue with missing row/column on workspace"
4a78ec342d2ae2cec110bfe685459985fe4a1175 03-Jun-2011 Michael Jurka <mikejurka@google.com> am b82cc0cc: am 1fd2c158: am 32271c3d: Tweak calculation for number of columns and rows

* commit 'b82cc0cc9b61eef0670dc7fddc53813455ca2f4d':
Tweak calculation for number of columns and rows
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/CellLayout.java
32271c3d20939d4fa02d4c84e1d95cefd5c183fd 02-Jun-2011 Michael Jurka <mikejurka@google.com> Tweak calculation for number of columns and rows

Change-Id: I267e369167597b01768a7a9344b2f468d5a046e4
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
7593662b2ea083c7092b25e1d984cca1caf56ac7 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/CellLayout.java
0be025d64c1f84138fe430a58875886e66aae767 24-May-2011 Winson Chung <winsonc@google.com> Fixing long-press issue due to child hit-rect offset.

- Removing some unused code

Change-Id: I875e3b27372c4c507e4bbc2d36b16eba077e2121
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
38d1b0b3520243505a4a1469b5730e0b9c7e24ce 05-Apr-2011 Michael Jurka <mikejurka@google.com> Determine # of rows/columns based on screen size DO NOT MERGE

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

Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
4b576be59e58072cc03b5a8d36afb6a322513575 28-Apr-2011 Winson Chung <winsonc@google.com> Adding back the widgets pane to the merged AllApps.

- Fixing issue with holographic drag outlines being drawn offset

Change-Id: Ie0e89d76ce6714b44f9cd2ddf99ad608b51bf005
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
bb60e2e4d74e8bdceee79da29e6e053845b40d16 27-Apr-2011 Adam Cohen <adamcohen@google.com> Tiny fix in CellLayout

Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
66d72178af91d455700875635473be942bc90e54 13-Apr-2011 Michael Jurka <mikejurka@google.com> Changing folders to use CellLayouts

Change-Id: Ic80bece18855a4f5d2476c224ef66f035ac7c97b
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
e5fb0f27bca7afb996258a7163c76ca7390d7bff 11-Apr-2011 Michael Jurka <mikejurka@google.com> Minor cleanup and refactoring
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
99e8b40b374d49baabf0c4f4e4278ac25828899b 26-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing drag outline location on phone-sized UI (bug 4174465)

Change-Id: If1cf60f60fe2cf17704ff330fdbc076ae6e944f5
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
3499d8c89d6b5989579880bf80df31df46483304 11-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 4081795: Blue glow gone wild. DO NOT MERGE

Change-Id: I9038ed322811987e69045602f438cdf2bbd946e9
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
6921664f4817df39640120dd661d3f982cdd4d85 14-Mar-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing widget resize visual / ux ugliness, Bug: 4082591"
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/CellLayout.java
96864c3c27d03b98d5a25b74b7647be064071144 11-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 4081795: Blue glow gone wild

Change-Id: Ib5d4a63d0eb53f498e1fd4fcf733fda22be8f894
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
1b607ed454ed22c2fd855cb3e428376520fb2388 04-Mar-2011 Adam Cohen <adamcohen@google.com> Cleaning up widget resizing code

Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
d4844c3e731b00547a31f23a00f8bd4a271e2b62 19-Feb-2011 Adam Cohen <adamcohen@google.com> Implementing resizable widgets in launcher

Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
6c58d9e385dae56d68b62bc504af689f5af6b1c9 31-Jan-2011 Winson Chung <winsonc@google.com> Merge "Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)" 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/CellLayout.java
cf6125c2d30ce02d8ab6cbe8e37a20f6a831e216 29-Jan-2011 Michael Jurka <mikejurka@google.com> Improving performance of state transitions

- Caching CellLayouts to bitmaps when they're small again
- Enabling hardware layers on customize tray/all apps during transition

Change-Id: Ia4f5f7b608a9d013ed48b990551fd1b9de503b32
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
e702ca01411d561425d89e90c1601e3bc73eac85 26-Jan-2011 Michael Jurka <mikejurka@google.com> Merge "fix render glitch for "digest" animation when items are added to a new screen" into honeycomb
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/CellLayout.java
3af863ba31e293e577c05537c9b8f7dc850a5e56 25-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing bug where wrong homescreen outline is being shown in customize

Change-Id: I9da04057e5afd90d3ad3e485f5299dff870cc26a
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
b17e140a07039604a33209ad2555a5586565cd37 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Merge "Ensure drag outline & crosshairs disappear on drag cancel" into honeycomb
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/CellLayout.java
bbe1e4ecd26199d264384293f7838a9f3061bfbc 20-Jan-2011 Michael Jurka <mikejurka@google.com> removing unused code
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
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/CellLayout.java
4a7d4afe87a9146b3cefef8e00581090301b698d 18-Jan-2011 Michael Jurka <mikejurka@google.com> Removing dead code

Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
2a9e70655f5885549acfdb6e770d2516bc8c87e3 15-Jan-2011 Michael Jurka <mikejurka@google.com> Fix bug: text is sometimes garbled in All Apps
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
0ea4000b632759839c205f65d258036db1cc1bdb 14-Jan-2011 Michael Jurka <mikejurka@google.com> Fix bug: new items were invisible when added in spring-loaded mode

Change-Id: Ic28f8c83de0f7097d642a2f162e0ee2a91649807
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
ecb48385312bc8307cb712b45087abd711fed678 11-Jan-2011 Michael Jurka <mikejurka@google.com> Fix bug: moving items leaves workspace screens' caches in bad state

Change-Id: I88f9ded02b489bc189080afe75dc6f13af2cfcfd
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
24232cc39912a1b4c53d5e4df69c29bff2ead49a 11-Jan-2011 Michael Jurka <mikejurka@google.com> fix bug with alpha level of items on workspace

- fixed bug where side pages on workspace were visible on orientation changes
- fixed bug where dragging an item to a new page would cause it to be invisible initially
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
99b6a5b5f7808291e26f98ee8064bd9f288c3feb 08-Jan-2011 Michael Jurka <mikejurka@google.com> Fixed bug: newly added apps didn't show up immediately

Now, whenever apps change visibility or are removed, we invalidate the bitmap cache for CellLayout

Change-Id: I883ea6cc07b1b09775bb7d262417acb34fbec3de
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
c42d5e330a8bfb83be37cb5dec479e7a9b631f60 08-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing issue 3272864

-requestLayout() was being called within onLayout in
CellLayout. This resulted in some funky behaviour and the
bug above.

Change-Id: I76b8fa3c1dc7f08c462d13e2e9dde0d7a74386c0
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
026f555b34800577b4bdb789305553ddde563f59 07-Jan-2011 Michael Jurka <mikejurka@google.com> Fix bug where stack view was getting clipped

We were also updating CellLayouts' drawing cache even when not needed, this is now fixed (and was actually the cause of the bug)
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
7cef289a32f8da507a26d46132eb8d875bee1c24 07-Jan-2011 Joe Onorato <joeo@google.com> Call through to super.removeallViews*().

Fixes the duplicate view bug by actually removing the views.

Bug: 3165740
Change-Id: I18f26e4cf498e6d53825959a61d585fac2c89faa
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
26cbf3a0016a19c20f953ccd07242bdf875da0fa 07-Jan-2011 Winson Chung <winsonc@google.com> Minor fixes to stop crashing on panning/dragging on phones.

Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
a34d0b3d7ba11f49de18a5f3fd6ca32fcb83e22d 17-Dec-2010 Winson Chung <winsonc@google.com> Re-enabling clipping of children in cell layout (not necessary now that hotdog is out).

Change-Id: Ia10b3d8b12848785ed6731323b00f9d33c71e3d2
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
d56d8b82c42a901e5fa3d1dcc7ca4df34a5f2842 10-Dec-2010 Michael Jurka <mikejurka@google.com> updating assets
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
1d0867c8de6a889bccde9b7e768daef182a25e5c 03-Dec-2010 Jeff Brown <jeffbrown@google.com> Send live wallpaper taps.

Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
3cf4c03125be60d56bff7eb82a1775ac46b919ed 26-Oct-2010 Romain Guy <romainguy@google.com> Don't build bitmaps when running in GL.

Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
a944215d364c178c9b0b8f5bdcce16e1f10c552d 25-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix disappearing icons due to div-by-0 in animation.
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
ece7f5b3b55cab646941123e03589241a61678e2 22-Oct-2010 Winson Chung <winsonc@google.com> Altering homescreen spacing to match design.

Change-Id: I8b859992fe843d0cf688cb84bcbaab6dbeccb6fb
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
fe6bd87881e47b9ff38f58bd083042ae0f6a39d7 14-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix some incorrect animation code that might be causing visual glitches.
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
49250ad530385fcdd6072ca54697f670ec503b59 09-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix bug with dragging crosshairs sometimes being too bright

Change-Id: Ieb20ab96e73c5f297ffd69d29472024c11978a13
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
9987a5c45e7d01a780d73b269bdce8d8a5309219 09-Oct-2010 Michael Jurka <mikejurka@google.com> Fixed 3066306 Widget measurement wrong in customize tray
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
00397b1d9233409d9d6b233b077ae12d09768ce8 07-Oct-2010 Chet Haase <chet@google.com> Use new TimeInterpolator interface for interpolation

Change-Id: I53e8fcbabfdb4cb69bec309aeceeddc63e1715ed
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
046e7eb472acac800128ab026f3bc6348b0f933f 06-Oct-2010 Patrick Dubroy <dubroy@google.com> Fix 3065611: NPE in Launcher attempting to drag app to home screen
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
150fbab7de7df45ce0e2d08fb0f0be87ff091c2f 30-Sep-2010 Winson Chung <winsonc@google.com> 3029324 wip: Drop target crossfades as it moves from position to position
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
3db18d27930ae4cde74926bfc75e73f4d1dcccef 29-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing build

Change-Id: I181cfce3b507ffa7e81babeb2723881b6f06423a
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
4347705a09dc0de776073a2500cb3d695aee1b79 09-Sep-2010 Michael Jurka <mikejurka@google.com> making mini screen backgrounds dark, and
temporarily disabling dimmed items on mini screens
to work better with new dark wallpaper
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
6d5c6ecb5f19966b8ff79fdf48d96bd00dc1dd91 14-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix bug with estimate drop cell offset

Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.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/CellLayout.java
7b220c71e39a21ed89fe16d4b6c80557b12d7db2 04-May-2010 Adam Powell <adamp@google.com> am fefa0ce2: Fix bug 2646531 - regression in home screen bitmap caching
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/CellLayout.java
11c8f9cb93abdbfd01f6e8915900ab06627b2834 30-Apr-2010 Adam Powell <adamp@google.com> am 1896a6ec: Merge "Filter input events and smooth out touch scrolling. Bug 2639807" into froyo
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/CellLayout.java
1c01b6a138ee1926c552f45242887c4980f0b036 14-Apr-2010 Romain Guy <romainguy@android.com> Prevent view ids collisions in the workspace.
Bug #2498787

Change-Id: I8f007eb2759d00f52e05e776a70510ba3a213ae9
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
edcce099c98a6c40d10109ac092ab50f9d2668f3 04-Mar-2010 Romain Guy <romainguy@android.com> Fix the build!
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.java
8f19cdd62f6e2be05e3890916eabd11317ae1bc2 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
a6abce8464b57ce91e8f083951ad263370fc2da8 10-Nov-2009 Romain Guy <romainguy@android.com> Improve previews display and allow to jump directly to any screen.

Change-Id: I87e7a6a53f286ab7a04657e1598a947f9302e2a1
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
1a304a1198f2f48be8c6a763b3ce511bd28af811 10-Nov-2009 Romain Guy <romainguy@android.com> Better preview visuals.

Smaller thumbnail (removed unnecessary padding), more opaque background.
Uses a white background because the dark background interferes with the
new dark widgets.

Change-Id: I7654741d845609200569fce34b6cde891d2b5d29
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.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/CellLayout.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/CellLayout.java
fcb9e7144e58614f5ae0e9b272fb7ce040848c67 03-Oct-2009 Romain Guy <romainguy@android.com> Prevent Home from crashing because of wrongly generated ids.

Change-Id: I51afba418291e8c909d1b2b0396e7c0c55b23631
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
79e56263dbcbe85dc434df372bc6e6730aa13477 21-Sep-2009 Joe Onorato <joeo@android.com> Fix the way Home computes the cell span of widgets.

This was causing problem on some WVGA devices.

Change-Id: Ic02c0c70fabad7e9c4a7425d6a98cceb7803538f
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
d94533d04a5f8f5485f106d10af60169857ea899 17-Aug-2009 Romain Guy <romainguy@android.com> Fix possible NPE in Launcher.
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java