--> 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
-> 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
-> 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
-> 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
- 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
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
-> 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
-> 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
- 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