Commit Graph

97 Commits

Author SHA1 Message Date
Adam Cohen 307fe23f12 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
2012-08-20 21:49:43 -07:00
Adam Cohen c5e63f3dc7 Fix occupied issue when switching from folder icon to its final item
Change-Id: I445156ed8f99f0489776043440faa45399fb3888
2012-07-12 16:17:41 -07:00
Adam Cohen 487f7dd305 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
2012-07-09 14:49:19 -07:00
Michael Jurka 2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Michael Jurka d23865708c am 2561ee84: am d74389d9: Merge "Add null pointer checks to fix NPEs" into jb-dev
* commit '2561ee8453dc41a9d65f7890ea227416d7e8948c':
  Add null pointer checks to fix NPEs
2012-06-18 14:43:06 -07:00
Michael Jurka 5649c28703 Add null pointer checks to fix NPEs
Bug: 6611233
Bug: 6685401

Change-Id: I804dfe0a7ad36b43168f7384ef88459d765fff6b
2012-06-18 10:40:03 -07:00
Michael Jurka e783cde98d Merge "Adding animation when destroying folder due to single item remaining" 2012-06-14 11:41:04 -07:00
Michael Jurka 9bc8eba333 Clean up warnings and some private API usage
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-06-12 10:52:57 -07:00
Adam Cohen fb91f303f5 Adding animation when destroying folder due to single item remaining
Change-Id: I079af9a50d7d6f63092b725ecd941ab1e298032d
2012-06-11 18:44:17 -07:00
Adam Cohen 268c4751b5 Fix two pieces of folder jank
-> Folder icon gets clipped when animating from dock
   as well as a couple other cases (issue 5849615)
-> Blip when creating folder (issue 6623095)

Change-Id: I638c9a7876de2f87eb8e96a9eb192fa4a127fb4a
2012-06-07 11:53:34 -07:00
Michael Jurka 0121c3ea3d Making folders open/close smoothly
Change-Id: Iff5d71aa60a2e391d2d94b420953bbfd25691555
2012-05-31 08:42:01 -07:00
Adam Cohen 691a5797f9 Fix folder order regression (issue 6482634)
Change-Id: I8246450ec857d0653c65d9daaf7a8b771de6c974
2012-05-11 14:27:30 -07:00
Winson Chung 2c4cf411f6 Do not defer removing the drag view if we don't animate the item back into the folder. (Bug 6249514)
Change-Id: I40c47d9320158ec5ba4b4663316ecee488a61876
2012-05-08 14:03:59 -07:00
Adam Cohen d1710fbb40 Merge "Fixing folder order persistence (issue 6176721)" into jb-dev 2012-05-08 13:12:26 -07:00
Adam Cohen 3bf84d3250 Fixing folder order persistence (issue 6176721)
Change-Id: I5b3e4b7baa4222a883bcb061429113962ea69883
2012-05-08 13:11:01 -07:00
Winson Chung 36a62fe917 Further preventing drags while loading is in progress. (Bug 6276881)
Change-Id: I3fc9ad4cd3d71a8eba4e3bcc0a1b6346c59fbee5
2012-05-06 19:06:30 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Winson Chung c7450e3ebd Updating launcher transitions.
Change-Id: I32b35189fe05a1c0db0ac1d7f508b1560088f635
2012-04-24 13:27:00 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Winson Chung a48487a814 Allow fling gesture while dragging from AllApps to dismiss drag.
Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
2012-03-22 13:00:16 -07:00
Michael Jurka 08c93d7eca Merge "Eliminate custom alpha handling in CellLayout" 2012-03-21 05:14:55 -07:00
Winson Chung 043f2af567 Adding fling-to-delete.
- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
2012-03-20 15:18:05 -07:00
Michael Jurka a52570f8f9 Eliminate custom alpha handling in CellLayout
Also rename CellLayoutChildren to ShortcutsAndWidgetsView

Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
2012-03-20 11:13:05 -07:00
Adam Cohen 482ed823af Initial implementation of CellLayout auto-reordering
Change-Id: Id5b5080e846907a7d9cd6535f6e7285e83a0ff71
2012-03-15 13:48:12 -07:00
Michael Jurka 4d59649ad1 Removing dead code
Change-Id: I712144b0beb81387efd4c4b59087594e9832d116
2012-01-16 06:43:49 -08:00
Adam Cohen 6441de0ec2 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
2011-12-14 14:38:06 -08:00
Adam Cohen 7cc1bc4b65 Fix issue where folder can open offscreen (issue 5291408)
Change-Id: I359dc2188c50ab1c4e42c448ecce04530ba45734
2011-12-13 21:28:43 -08:00
Adam Cohen 662b598c86 Stripping out code path that we have no intention of using
Change-Id: I89cc6b1760a9fd8c051857699724435eef6c8b14
2011-12-13 17:45:21 -08:00
Adam Cohen b970a8a266 Fix issue 5639994: disabled multi-touch on folders
Change-Id: I95bb0089e7522db88dea56281a375f9c98ece460
2011-11-18 17:04:16 -08:00
Adam Cohen 78dc83e875 Modifying portals in landscape on the phone UI
Change-Id: I4190b0e4958dfd0d59d943d9b4c4d6fd2e9303c0
2011-11-15 17:10:20 -08:00
Adam Cohen 3371da0159 Initial changes to make folders accessible
Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
2011-10-26 14:08:19 -07:00
Adam Cohen 4045eb736e Fixing folder order persistence, issue 5422712
Change-Id: I72d99274b581a803f01042e1de979c59faa4684b
2011-10-06 13:02:03 -07:00
Adam Cohen ea0818d475 Small fix in Folder text editing
Change-Id: I65c6862cbbc125b197bb6afa4951b267373832e9
2011-09-30 20:06:58 -07:00
Adam Cohen ac56cff186 Adding keyboard support to folders and fixing renaming rough edges
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Adam Cohen 2792a33ecc Addressing slow rotation due to folders (issue 5297213)
Change-Id: I41e9594d547695bd6b37254396874fe1a9e7cf68
2011-09-26 21:09:47 -07:00
Winson Chung 7a74ac9cd6 Tweaking clings in response to usability testing. (5057945, 5056643)
- Updating assets
- Removing folder cling text
- Fading in folder cling after folder animation
- Highlighting different icon in allapps cling

Change-Id: I6e4fadf10b81a91296304f008644ee1d154ec5f8
2011-09-20 17:51:10 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Adam Cohen de258f1eb0 No longer using hardware layers for folders, issue 5051178
Change-Id: I875b91c6d7cce028f33dceb5ac17bc43ce045039
2011-08-24 20:09:14 -07:00
Adam Cohen 0057bbcfa4 Minor code cleanup, addresses issues raised in issue 5097504
Change-Id: Ib409e96986b43d0c919256b6a2584ef515c93dae
2011-08-12 18:31:46 -07:00
Adam Cohen 1df26a368a Fixing issue where folder names aren't being persisted
Change-Id: I94b40c49f2d737ae1ac03b3fa58ade8079256a8f
2011-08-12 16:15:23 -07:00
Adam Cohen 4554ee16f1 Small code cleanup in folders, prevent crash issue 5082899
Change-Id: Iccd4a1367f895dac7925ceae7cd7934b95e81474
2011-08-03 16:18:15 -07:00
Adam Cohen eb5362e932 Fix 5033850 (again), slight variant this time
Change-Id: I9b9fe1bb114a66c99a4819607a482d1b776a6269
2011-08-02 14:47:04 -07:00
Adam Cohen 05e0f40e50 Fixing issue 5043360, double haptic feedback
-> Minor code cleanup in Folder.java

Change-Id: I62267078bfdab9f37fdef28448a63760db1fc1fb
2011-08-01 12:12:49 -07:00
Adam Cohen 67bd9ccf85 Completing fix for issue 5052078, folder items no longer lost
Change-Id: I9d9cc4658122816e2a60de2e12da65f3fe42bc5c
2011-07-29 15:17:32 -07:00
Adam Cohen ac68b8151f Merge "Some launcher bugs:" 2011-07-28 09:54:34 -07:00
Adam Cohen 228da5a24e Some launcher bugs:
-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
   out of a folder to a full screen (issue 5052078)

Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
2011-07-27 23:27:22 -07:00
Adam Cohen e601a43345 Clearing selection when done editing folder name
Change-Id: I3709d1be4ef4cf6bb6d4c52a41d2eccb1c9aa21f
2011-07-26 23:00:57 -07:00
Adam Cohen f4bb1cdecd Cleaning up folder layout, still pending final assets / cell size
-> see bug 5044356

Change-Id: I80a3cd90145de2a774565aae04809d8c1d04ccd5
2011-07-22 14:37:20 -07:00
Adam Cohen fc53cd22c9 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
2011-07-20 17:59:04 -07:00
Winson Chung 3d503fbd94 Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00