Commit Graph

67 Commits

Author SHA1 Message Date
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
Adam Cohen
04dc2bc613 Merge "Fixing small folder bugs" 2011-06-30 17:28:09 -07:00
Adam Cohen
0e4857c302 Fixing small folder bugs
-> Issue 4972348
-> Center folder when it extends beyond the workspace

Change-Id: Id5551d17d595151bfd27122e1fd4ddfeab7dbf40
2011-06-30 17:22:07 -07:00
Adam Cohen
716b51e030 Adding transitions after reorder within folder
Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
2011-06-30 13:53:30 -07:00
Adam Cohen
e87b924efa Making folder items match those on workspace
-> Deleted some unused files

Change-Id: I2e657d7a82140e55ecc674ee759c0c7bcf11ebe1
2011-06-29 14:05:01 -07:00
Adam Cohen
8e776a62c5 Pushing folders up to DragLayer
-> Increasing max num of items in Folders to match the grid
   size of the workspace.
-> Had to push folders up to prevent clipping

Change-Id: I7aae7920cff940b8e88e9bef82162c6ab5ff11e9
2011-06-28 19:55:57 -07:00
Adam Cohen
c508b2d701 Dealing with upgrade from previous Folder implementation
-> We need to truncate the old folder if it had more items
   than are currently supported
-> We need to automatically place the items, since their folder
   location is not stored in the LauncherModel

Change-Id: I4a5955adf2fed4d9b96a1cbd145dd69bbffc1cc7
2011-06-28 14:41:44 -07:00
Adam Cohen
a65beeea13 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
2011-06-28 10:19:44 -07:00
Adam Cohen
df1e4e868a Keeping folders synced when applications are uninstalled
-> fix bug 4905712

Change-Id: I4a250fd134e6d03bae30cfde6b33a82ed6f5fcef
2011-06-24 15:58:01 -07:00
Adam Cohen
7a14d0bdde Tweaking input flags for Folder renaming
-> Supress suggestions and capitalize words

Change-Id: I890366a5fa9c93aa3f4a18f9ff330db333d56192
2011-06-24 11:36:35 -07:00
Adam Cohen
afb01ee742 Folder auto-destroys itself when there is only one item left.
Change-Id: I4ea41e0730e3dc474a518eba0a04c11167b5c1df
2011-06-23 18:52:18 -07:00
Adam Cohen
1d9af7d1e7 Fixing bug where touch breaks completely after item removed from folder
Change-Id: If60057e5775853d3ac8c092dffe915f8f5a8bce4
2011-06-22 15:29:56 -07:00
Adam Cohen
4ef610fc88 Adding select all on focus to folder renaming, changed spacing
Change-Id: I34821315b168a37b9b78977adde0e93ba9db7c2e
2011-06-21 22:37:36 -07:00
Adam Cohen
76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Adam Cohen
bfbfd26c62 Initial implementation of folder reordering
Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
2011-06-13 16:55:12 -07:00
Adam Cohen
76078c4ef3 Fixing up some folder-related drag and drop bugs
Change-Id: I712ffd0ccfc0154a5a9e74e3f585157a86986882
2011-06-09 15:10:43 -07:00
Adam Cohen
c0dcf59708 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
2011-06-08 15:21:29 -07:00
Adam Cohen
badf71e11f Implementing new visualization for folder icon
Change-Id: I6c0658d71109d05c93de7d299cf62bc9a2c99e20
2011-05-26 19:08:29 -07:00
Adam Cohen
cb3382b1bf Refactor of Launcher drag and drop to use a DragObject
-> DragObject contains a bunch of parameters instead of pssing
   them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
2011-05-24 16:17:13 -07:00
Adam Cohen
4dbe6d9934 Fix index out of bounds
Change-Id: Id288c01ab7e39fb16e7247030dbb76183436cb79
2011-05-18 17:14:15 -07:00
Adam Cohen
7c6932140d Fixing folder bugs:
-> Folders were not loading with ordering properly persisted
-> When an item was put in the trash directly from a folder
   it was trying to remove the item from the folder again, sometimes
   removing an extra item from the folder
-> Making sure the FolderIcon always shows the _last_ 4 items;
   this was not working when the launcher was being restarted
-> Fixed a tiny rotation bug in the FolderIcon

Change-Id: I27423f17fd2f2b396f844c055f1e7abb4f4d5d19
2011-05-18 15:26:57 -07:00
Adam Cohen
2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -07:00
Adam Cohen
0c872ba544 Fixing small folder bugs
-> Preventing duplicate item adds
-> Stopping touch events from falling through to workspace

Change-Id: I0326a1bf442b1705d3790a701649788413e7a633
2011-05-05 10:34:16 -07:00