Commit Graph

89 Commits

Author SHA1 Message Date
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
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
Adam Cohen 234c4cd544 Fix text clipping in Launcher (bug 4980315)
Change-Id: I20c9b98b606d317ed32d49a3437f24a4cd312759
2011-07-17 22:00:50 -07:00
Adam Cohen 35e7e64d4b Bounding folders into their associated cell layout area, excluding dock
Change-Id: I220ccf1d8b08f9962c63efc92265e3c7acc137f9
2011-07-17 15:45:47 -07:00
Adam Cohen ac8c87687b Pixel perfect drag animations in workspace and folders, including springloaded
Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
2011-07-14 01:08:27 -07:00
Adam Cohen 4eac29a80b Fixing bug 5011917 - clearing refernce to old folders from FolderInfo
-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11 18:37:16 -07:00
Adam Cohen e9166b247a Little fix for folders
Change-Id: I2d4eb534640e25bc8c07d06e5d3354473751dd9f
2011-07-08 17:11:11 -07:00
Adam Cohen 8dfcba4af7 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
2011-07-07 16:59:45 -07:00
Adam Cohen 95bb800de9 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
2011-07-04 23:56:03 -07:00
Adam Cohen 3e8f811f31 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
2011-07-02 18:42:25 -07:00