Commit Graph

54 Commits

Author SHA1 Message Date
Michael Jurka
af9504dc00 Removing crosshairs
Bug: 6380576

Change-Id: I26f248fa375ae9ad24417bc55401a08bf4f479a5
2012-04-26 13:55:09 -07:00
Adam Cohen
cb3f98e983 Enable rotation for sw600dp devices
Change-Id: Id01c84eba30a80cb21b1527cdc137aba9cda09f2
2012-04-24 14:29:10 -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
Andrew Flynn
826a661d5b resolved conflicts for merge of a3e22d6a to master
Change-Id: I8770574acf86e280a9d15d4309686111260e09d9
2012-03-01 16:26:50 -08:00
Andrew Flynn
0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Michael Jurka
6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Winson Chung
61b0c69d3f Tweaking pickup animation, vibration and removing glow from drag view.
Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
2012-02-23 16:33:08 -08:00
Winson Chung
867ca62c0e Fading out workspace when dragging to higlight dragged object.
Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
2012-02-23 10:32:03 -08:00
Winson Chung
7bd1bbb509 Animating the drag view scale up and down when dragging items.
Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
2012-02-13 19:05:25 -08:00
Winson Chung
a1cdab0392 Reverting: "Animating the drag view scale up and down when dragging items."
Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
2012-02-13 13:03:52 -08:00
Winson Chung
42c29aedf2 Animating the drag view scale up and down when dragging items.
- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
2012-02-07 16:16:27 -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
b64d36e6f8 Fixing stutter in AllApps transition
-> Tightened up the interpolator and decreased the duration of the
   AllApps-in animation. This removes many excess frames at the end
   of the transition, and frees up perf for swiping AllApps:
   (issue 5359751)
-> Changed when AllApps state gets reset -- now only after
   leaving home, and then pressing home, or when the screen
   turns off.

Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
2011-10-17 21:53:41 -07:00
Adam Cohen
cff6af81d7 Tuning AllApps <--> Workspace transitions
-> Removed extraneous service transactions during scrolling

Change-Id: I60a201e7a94608d6fbafd2350f39a466d7a4c003
2011-09-14 14:04:49 -07:00
Adam Cohen
7777d967a6 Refactor and simplify home transitions
Change-Id: I499ba571c889b684a759ee84c2a626ef94977855
2011-08-31 14:20:01 -07:00
Winson Chung
2b8e445770 Tweaking grid spacing (5162387)
Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
2011-08-29 14:52:46 -07:00
Winson Chung
f8742be8ab Workaround for wallpaper crash. (5191436)
- Adding a little time to the tab transition

Change-Id: Ia7615d93f471845e568742df828cde43c1b917c4
2011-08-22 17:30:48 -07:00
Winson Chung
f314b0eab0 Improving transition between Apps/Widgets panes (5145408)
Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
2011-08-16 12:52:39 -07:00
Winson Chung
6a3fd3f042 Multitude of launcher behaviour changes.
- Merging widgets and shortcuts in widgets pane
- Removing legacy long press menu items (make it go straight to wallpapers)
- Removing old option menu (just making it point to wallpapers)
- Dropping user to workspace after adding an item (animations to be tweaked) or back to AppsCustomize only on failure/cancel

Change-Id: Ia73670ce76f321dc45defb27bb5a828764240ab4
2011-08-02 15:55:33 -07:00
Adam Cohen
56901eb57c Turning off largeHeap on Crespo
Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
2011-07-25 15:08:27 -07:00
Michael Jurka
2688c9a059 Removing unused resources 2011-07-20 16:35:06 -07:00
Winson Chung
a62e9fd95a Cleaning up some drop-target issues.
- Setting text color during drag over transitions
- Fixing regression in drop target padding
= Using old drop-down animation where possible

Change-Id: Ia1c5ec9e58fc734d28133349d9920d123ed71ae6
2011-07-12 16:04:46 -07:00
Winson Chung
aaa530adc9 Tweaking drop target transition to prevent flash.
Change-Id: I7a0204685f1d377117b4d8e39b1c0d32e7b37a76
2011-07-11 21:06:54 -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
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