Commit Graph

31 Commits

Author SHA1 Message Date
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
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 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
Michael Jurka f2ff7d9f3e Allow overlays to disable hw acceleration 2011-06-14 14:38:49 -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 b26f3d6a8c Modifying AppsCustomize behaviour to use springloaded mode.
Change-Id: I21d181ad3d245731ee8402915f8918b91bfc4553
2011-06-08 16:42:03 -07:00
Michael Jurka 7446fee6cb remove unused/redundant params to turn on HW accel 2011-06-01 15:50:22 -07:00
Adam Powell 483de5cce2 Add config_workspaceShrinkPercent for phone launcher configs.
Change-Id: I1a25cba72d13b337df87fb414335d9b80e4a6051
2011-05-23 12:30:17 -07:00
Adam Cohen 2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -07:00
Adam Cohen 36c8e9fb88 Merge "Adding initial folder animation" 2011-04-26 16:45:45 -07:00
Winson Chung 785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Adam Cohen 7f4eabe370 Adding initial folder animation
-Changed CellLayout/CellLayoutChildren to use padding in the more
 standard way

Change-Id: I728f1b699232422be76eb29b4cf710cd5723a0aa
2011-04-21 17:14:26 -07:00
Adam Cohen 8878a32f26 Fixing drag icon location on non-xlarge devices
Change-Id: I7897f67e145818866a51c6a50d4d3e59674b08b4
2011-03-28 14:16:36 -07:00
Kenny Root f3b4f3fc79 Remove duplicate XML created by merge
Change-Id: I49c3a4130d547fc02ab59265ebee8630bfeb2848
2011-01-27 14:08:48 -08:00
Kenny Root 412714028a am d1633b20: Add in cache values for non-xlarge screens
* commit 'd1633b2059860d48f8050667417314a2af477bf5':
  Add in cache values for non-xlarge screens
2011-01-27 13:17:32 -08:00
Kenny Root d1633b2059 Add in cache values for non-xlarge screens
Change-Id: I2ddf4a2ad90c0aea8b576c279161767be17f9227
2011-01-27 11:40:21 -08:00
tedbo c3bab1d7d3 Fix missing resource issue when running on Passion device.
This fixes an issue where the Launcher app will crash with a resource
not found exception when running on a non-xlarge device. The missing
resource(s) are config_workspaceScreenBitmapCacheScale and
config_maxScaleForUsingWorkspaceScreenBitmapCache. These were
introduced in commit bea1519534. This
change moves those two resources into the common values.

Change-Id: Id642153fe514675f22ba37062544eefacf2d435e
2011-01-07 15:19:33 -08:00
Adam Lesinski 2a898a0ac5 Update Wallpaper picker and fix bug
-Fixed b/3271838
-On a phone, Fragment would not remember its
previous state and crash on rotation
Change-Id: Ida923fba0c7f4622b090e2838fd932328ad68c63
2010-12-13 14:51:15 -08:00
Patrick Dubroy ce34a9768b Animate items into place when dropping on home screen 2010-10-19 10:42:24 -07:00
Joe Onorato 4be866d3a1 fix 3029324: Implement new drag feedback
Add "shrinkwrap" icon outlines to visualize where the item will land
2010-10-13 12:01:04 -07:00
Patrick Dubroy 046e7eb472 Fix 3065611: NPE in Launcher attempting to drag app to home screen 2010-10-06 12:14:55 -07:00
Patrick Dubroy de7658b5e0 Show crosshairs when dragging items around the workspace. 2010-09-29 11:14:28 -07:00
Michael Jurka 163c9c0236 cleaning up hardware acceleration XML value a bit
(switch from integer -> bool)
2010-09-28 15:24:13 -07:00
Michael Jurka 821856b67e adding hardware acceleration flag to config.xml
(later, this will let us turn on HW acceleration
via a device-specific overlay)

Change-Id: I33c957911db7ac730770b71d6644568fbfa86adf
2010-09-27 18:30:11 -07:00
Daniel Sandler cbe7f20ad7 Move batch size to a resource.
This way we can figure out how many apps to send to the grid
at a time even if the grid hasn't been instantiated yet.

Bug: 2599979
Change-Id: I7960fe1adae6976555334422335f3a4b28d0675e
2010-04-19 14:47:18 -04:00
Daniel Sandler 2ff10b3b01 More Launcher performance improvements.
* Removed another redundant sort
* Correctly set the thread priority to BACKGROUND for the
  all apps loading step.
* Moved batch delay to a resource
* Reduced delay between loading batches of apps to 100ms
  (we really just want to sleep a tiny bit between batches
  to give the UI time to react)

Bug: 2562420
Bug: 2599979 (related)
Change-Id: I1ae72a68c1a47377a9eb62827fe7666bfc50caa5
2010-04-16 15:17:01 -04:00
Daniel Sandler 80c4f3e1b8 Slow down 2D All Apps fadeout.
Change-Id: Ifd8564bca26265540589a48ea281e8ce9fa1001e
2010-04-02 15:08:16 -04:00
Daniel Sandler af6db10ca5 Speed up 2D AllApps fade-in.
Change-Id: I466c97cb63687ec3dab5109a8e77445e78e8b3ee
2010-03-08 14:41:21 -05:00
Daniel Sandler 388f679aa4 Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.

TODO:
 - some mdpi assets are not in fact mdpi
 - related to above: static wallpapers not working yet
 - add dynamic selection of 2D/3D AA; currently you must
   choose one at build time by picking the appropriate class
   in all_apps.xml (see separate CL for sapphire overlay
   that does this)

Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
2010-03-03 14:38:45 -05:00