Commit Graph

349 Commits

Author SHA1 Message Date
Michael Jurka d74c984fcc Use hardware layers in more situations
* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
2011-07-13 17:41:05 -07:00
Michael Jurka 2f52ee8416 Merge "Solving rendering issues when unshrinking" 2011-07-11 13:10:02 -07:00
Winson Chung 557d6ed50c Fixing issues with spring loaded adding.
- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
2011-07-11 11:38:24 -07:00
Michael Jurka 280969cd77 Solving rendering issues when unshrinking 2011-07-11 11:26:10 -07:00
Michael Jurka a71cb1778d Fix rendering issue when coming from spring loaded mode
Bug #5011693
2011-07-10 15:04:55 -07:00
Michael Jurka 0c4ade1ef6 Cleaning out unused lines of code
Change-Id: I558248c9e1ccf8098220b110709d2a0cba9247ea
2011-07-08 18:03:21 -07:00
Michael Jurka ff0e01b65d Disable wallpaper panning when switching to All Apps 2011-07-08 17:08:51 -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
Winson Chung c07918d005 Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.
Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
2011-07-06 20:48:45 -07:00
Adam Cohen d044526d82 Adding transitions during folder creation
-> Seamless* transition from dropping item onto another
   to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
   to a folder
-> Cleaned up the code in FolderIcon in order to achieve
   above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
2011-07-06 11:35:56 -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 69ce2e5bea 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
2011-07-03 19:28:04 -07:00
Adam Cohen c9c56f4f71 Merge "Added transitions when dropping items onto Folders, fixed bugs" 2011-07-02 19:16:31 -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
Winson Chung 967289b6d5 Adding new assets.
Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
2011-07-01 12:33:32 -07:00
Winson Chung 3ac74c55cf Tweaking the scroll indicators with new assets and sizing.
- Showing the scroll indicators when changing between workspace/apps customize

Change-Id: I791c09b76deb00108c466f08ae3c29b19d77c4d8
2011-06-30 17:43:39 -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
Winson Chung 6a0f57dfaf Populating some more accessibility events.
Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
2011-06-29 20:11:07 -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 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 518eb5dbf5 Merge "Keeping folders synced when applications are uninstalled" 2011-06-24 18:13:02 -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
Winson Chung fd3385fe9e Using GridLayout in AppsCustomize widgets tab.
- Starting to implement new widgets design
- Hiding outlines in phone ui while dragging
- Making the tab bar show only when we have items as well

Change-Id: Ic027f9ba83fc0982f2f92a90412f050a8e248f9c
2011-06-24 10:49:03 -07:00
Winson Chung 74608b5dfc Removing the old dot.dot.dot page indicators at the bottom.
Change-Id: Ia501329223c5e80634b1f9e3f13ceac378217491
2011-06-23 13:23:38 -07:00
Winson Chung 4b825dcd5f Tweaking launcher grid and spacing.
Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
2011-06-22 17:26:02 -07:00
Adam Cohen 6a888d2419 Merge "New folder visualization, renaming, staggering reorder" 2011-06-21 21:07:33 -07:00
Adam Cohen 76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Winson Chung 201bc828d5 Need to remove views and not just hide them after animations.
- Removing Manage Apps button from workspace and renaming it in AppsCustomize
- Fixing foolish string play in resources from initial change for search bar
- Using proper way to get full screen dims for wallpaper fix

Change-Id: I1319d225135436468f1feb3057cd9f28eda7c89c
2011-06-20 17:14:37 -07:00
Winson Chung 007c69867d Adding signposting to Phone UI in Workspace/AppsCustomize.
Change-Id: Id63f247745a5ec1a63bbaff84602e4c91354f789
2011-06-14 16:02:56 -07:00
Adam Cohen bfbfd26c62 Initial implementation of folder reordering
Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
2011-06-13 16:55:12 -07:00
Winson Chung 61fa4197c4 Fixing drop target area, and adding bg color indicators.
- Merging wallpaper fix and PagedViewIconCache key fix

Change-Id: I2a65bc4b642f020dfc4d2223a36d3ebcf41de5f5
2011-06-13 11:51:18 -07:00
Winson Chung f0ea4d3378 Replacing AllApps/Customize in tablet UI with Apps/Customize.
Change-Id: I11a296b25472e4bf298a468865b0dff29f500aaa
2011-06-13 11:49:32 -07:00
Adam Cohen eda7f59f24 Merge "Fixing up some folder-related drag and drop bugs" 2011-06-10 13:37: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
Winson Chung b26f3d6a8c Modifying AppsCustomize behaviour to use springloaded mode.
Change-Id: I21d181ad3d245731ee8402915f8918b91bfc4553
2011-06-08 16:42:03 -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
Michael Jurka f61249b799 Fix issue with missing row/column on workspace
Change-Id: I7b750f66ef1fd5c9b5501763fa1e371b104d03ea
2011-06-03 14:27:52 -07:00
Winson Chung e934f87c6a Merge "Adding drag target bar." 2011-06-01 17:28:46 -07:00
Winson Chung 4c98d9235d Adding drag target bar.
Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
2011-06-01 17:28:23 -07:00
Winson Chung 5cf73001ae Merge "Fixing translateable attribute in strings, and click-through in AppsCustomize." 2011-06-01 12:35:55 -07:00
Adam Cohen 19072da744 Adding visual feedback for folder creation`
Change-Id: I47de931a07e3614e25f54d1ba5752a54993d6153
2011-05-31 20:50:00 -07:00
Winson Chung 4179b4e048 Fixing translateable attribute in strings, and click-through in AppsCustomize.
Change-Id: I8ceff05f5d38021c74731cddf71391b55049b2af
2011-05-31 20:03:32 -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
Patrick Dubroy 244d74cb35 Dynamically determine # of rows/cols in All Apps.
Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
2011-05-20 14:03:14 -07:00
Adam Cohen f4b0891367 Pushed folder inner ring drawing into workspace during animation
Change-Id: I571b71acbfdd28f921e35e989efd2dceefb54f11
2011-05-18 12:20:57 -07:00
Adam Cohen 073a46ff63 Changed folder hover animations
-> Added outer ring to hover animation
-> Fixed location of items in folder during hover animation
-> Cleaned up the code

Change-Id: I57c5f3cadbd2f289a18f7420a57ced6053fb06db
2011-05-17 17:52:29 -07:00
Adam Cohen 2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -07:00
Michael Jurka f6440da9d0 Determine # of rows/columns based on screen size
Change-Id: I8b1266bd7a66d4a73d4a09570357688333e03d13
2011-05-13 17:55:08 -07:00