Commit Graph

249 Commits

Author SHA1 Message Date
Patrick Dubroy a0aa0121b9 Fix issue with some home button presses being ignored.
We are ignoring home button presses after panning away from
the default screen, when the workspace is still moving slightly.

Also, make the home button a no-op when the user is in the
middle of panning the screen (i.e. finger is still down).

Change-Id: Ida6bad4faaf90b6802aac2cbf3444f76b7b38100
2011-02-24 11:43:59 -08:00
Michael Jurka 3c38d561e6 Refactoring layout of launcher
- Only one layout of launcher for landspace/portrait now
- Programmatically vertically centering the shrunken workspace screens rather than using a custom value

Change-Id: Ib689b4031f122b9a1b2bc1ca711b91320619bebd
2011-02-23 19:48:35 -08:00
Winson Chung c35afb2c9d Restoring split touch events in workspace with workaround.
Change-Id: Icfe39e02f214b5a40169d07d785ff05948ac643a
2011-02-23 13:04:29 -08:00
Patrick Dubroy 5f44542560 Add missing animations when dragging from customize.
- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
2011-02-18 20:03:59 -08:00
Michael Jurka c4e772e4b3 Fix drag and drop behavior
- Place items close to where they are dropped when workspaces are small
- Properly fix positioning of items in spring-loaded mode
- Remove blank padding below icons when dragging
2011-02-16 10:50:35 -08:00
Patrick Dubroy 70b9530f31 Fix 3444233: No edge glow when dragging to adjacent screen 2011-02-11 09:32:59 -08:00
Michael Jurka e0f5a61a1f Speeding up the first time All Apps and Configure is launched
Change-Id: Ic9503f62ee4458b7797add4ac9a2cb4b0a186a30
2011-02-09 13:47:34 -08:00
Daniel Sandler 558ae35f52 Apply drag-and-drop location fix to widgets & shortcuts.
(Original fix in change I4c1085f8)

Bug: 3424556
Change-Id: I32b5e83852417a61f3186cfcc83914bf25161fe4
2011-02-04 11:24:14 -05:00
Michael Jurka 4c1085f8d9 Fix spring-loaded mode
- Drop items in the right spot
- When in spring loaded mode from All Apps, keep the workspaces visible (as is the intended behavior in All Apps)
2011-02-04 03:13:41 -08:00
Michael Jurka 3e5ad58a68 Fix issues when dragging items onto workspace screens
- In All Apps, mini workspace screens sometimes disappeared
- In All Apps, one mini workspace screens had "strong" blue outline when it shouldn't have
- In spring loaded mode, adjacent screens were not being properly rendered
2011-02-03 22:46:34 -08:00
Adam Cohen 228b706daf Merge "Preventing scrolling of workspace when in customize" into honeycomb 2011-02-03 22:02:41 -08:00
Michael Jurka ea57348cc8 Tweaking feel of All Apps transition
Bug # 3418734

Change-Id: Iaec2a223bb3b8a6133bad8befe143e696b7acc4b
2011-02-03 20:08:48 -08:00
Adam Cohen 69c42da4d3 Preventing scrolling of workspace when in customize
Change-Id: I2154742957a4499df8c3df31c0a3ab65b58b54c7
2011-02-03 16:42:47 -08:00
Michael Jurka 742574b15b optimizing transitions in Launcher
Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
2011-02-03 01:43:19 -08:00
Michael Jurka a7f801fc5b Oops, forgot a cast. :( 2011-02-02 20:54:07 -08:00
Michael Jurka c50e2c3531 Oops, was disabling hardware layers at the wrong level 2011-02-02 20:10:29 -08:00
Michael Jurka ce7e05fbe8 stop using hardware layers when workspace stops moving
helps workaround Bug 3417254

Change-Id: I874e5e52ab544fbb787e1021d6ee394e8f3a34d6
2011-02-02 13:58:36 -08:00
Michael Jurka 98ed6bbec7 Merge "Adding scroll disambiguation between Workspace and AppWidgets" into honeycomb 2011-02-01 22:10:45 -08:00
Adam Cohen f8d2823d88 Adding scroll disambiguation between Workspace and AppWidgets
Change-Id: Ia3ff92b74651f9ea250664ec4cbcc0506db522ec
2011-02-01 21:47:33 -08:00
Michael Jurka bdb5c5342a Turning on hardware layers for the workspace
- Obsoletes need for CachedViewGroup and CachedTextView on workspace as well

Bug #3413433
2011-02-01 15:35:32 -08:00
Winson Chung c73c656812 Merge "Fixing scrolling of all apps when below apps" into honeycomb 2011-01-30 17:40:21 -08:00
Winson Chung 7a25a9e39a Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)
Change-Id: I99de0149dea5b487ed75e2469478e2346cd5b5df
2011-01-30 13:34:42 -08:00
Adam Cohen be9093426a Fixing scrolling of all apps when below apps
Change-Id: Id6a4506ed18a02d31487ecff1d7309e7b3e25e9d
2011-01-28 18:09:40 -08:00
Michael Jurka 09d6eb0f3f Fix bug # 3370739 - wallpaper overscroll doesn't work with non-static wallpapers 2011-01-28 16:05:09 -08:00
Winson Chung 6e3140865d Fixes for other places where we expect CellLayoutChildren instead of CellLayout. (3392097)
Change-Id: I9df13c413ce62a2760ce6a8ebafed1e948088de2
2011-01-27 17:35:43 -08:00
Michael Jurka b9522209d3 Merge "Tweaking parallax motion" into honeycomb 2011-01-27 16:34:38 -08:00
Winson Chung 248b7cb7c8 Fixing issue with items not being removed from the homescreen. (3392097)
Change-Id: Ia3952a1001a83543f97625bdbe032a70e813a7c7
2011-01-27 16:08:00 -08:00
Michael Jurka ca5b836e16 Tweaking parallax motion
Change-Id: I6feaec75f2eabfca852511464f9f784ebbe969ad
2011-01-27 15:37:39 -08:00
Michael Jurka 0bb8563b13 Fix issue with spring loaded mode
Bug # 3373320
2011-01-26 00:03:19 -08:00
Michael Jurka f12c75cb48 Improve feedback during spring loaded mode
- Uniformly scale the outlines of items on the screens to match the correct grid size as closely as possible
- Fix bug with drag + drop that was reporting dragged items' height wrong
- Remove unused code
2011-01-25 22:42:27 -08:00
Michael Jurka 8deb1e6a17 fix render glitch for "digest" animation when items are added to a new screen 2011-01-25 17:17:57 -08:00
Michael Jurka 8c920dd368 Refactoring CellLayout into three classes
- splitting the rendering of children from the CellLayout to enhance performance, gives ~4 fps boost while scrolling on pages full of icons, and no change on pages full of widgets
- this will allow us to add hardware layer support trivially, which will increase performance while scrolling ~6-10 fps
- separated logic for caching celllayouts to bitmaps into a separate class

Change-Id: Ib6abeb19126e1504997b43c2f44af2a2fb3cd39f
2011-01-24 16:55:30 -08:00
Patrick Dubroy 7bccb42f88 Fix 3373059: Crash when drag cancelled in spring-loaded state 2011-01-20 14:51:08 -08:00
Patrick Dubroy e3887cc4ec Ensure drag outline & crosshairs disappear on drag cancel
Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
2011-01-20 12:31:29 -08:00
Patrick Dubroy 8d60f2c204 Merge "Fix 3237665: Home screen should scroll on tap, not touch down" into honeycomb 2011-01-19 20:58:09 -08:00
Patrick Dubroy d0ce1ec2e2 Fix 3237665: Home screen should scroll on tap, not touch down
Change-Id: I61f65beaf982eec54b86668d6da94aa5c52e9355
2011-01-19 20:52:20 -08:00
Michael Jurka ab1983f46c tweaking parallax effect
- centering workspace in All Apps and Customize mode
- tweaking spring constants
- solved problem where wallpaper offset was being continually set

Change-Id: Id3b12af0151490536e4330beea4a494700224fee
2011-01-18 21:14:13 -08:00
Patrick Dubroy 0dfcf68b58 Prevent NPE when shrinking workspace
Change-Id: I61f1793d4db5f3006f2e1bceb0f0c578b35e4e71
2011-01-18 17:09:51 -08:00
Michael Jurka f4ffdc63d3 Merge "removed some more unnecessary code" into honeycomb 2011-01-17 17:07:00 -08:00
Adam Cohen 70ac092d86 Merge "Tweaking home transitions" into honeycomb 2011-01-17 16:59:08 -08:00
Michael Jurka 4ad24ba3c7 removed some more unnecessary code
- delete unnecessary call to get WallpaperManager
- remove two unused methods
2011-01-17 16:58:16 -08:00
Patrick Dubroy 1d8ad0dd3b Merge "Fix 3099036: Drag visualization appears in wrong spot" into honeycomb 2011-01-17 16:57:49 -08:00
Adam Cohen 4904f66da8 Tweaking home transitions
Change-Id: I72e292f40043ba6eca749191e2672847c8ec1de5
2011-01-17 16:51:38 -08:00
Patrick Dubroy 62bbb3c573 Fix 3099036: Drag visualization appears in wrong spot 2011-01-17 16:44:24 -08:00
Dianne Hackborn 0d5aad7edb Update to follow API.
Change-Id: Ib0378736b7c7acf33e6e2de0327d686bacff9275
2011-01-17 15:28:58 -08:00
Winson Chung 0b5888e828 Merge "Preventing screen rotations when dragging." into honeycomb 2011-01-17 14:01:04 -08:00
Winson Chung 400438b79f Preventing screen rotations when dragging.
Change-Id: I6805c66f9aeec32bc7d597e99e1f62be0e2d0ab3
2011-01-17 13:34:52 -08:00
Michael Jurka b7e0e88412 Fixed bug where workspace was not visible 2011-01-16 18:44:19 -08:00
Patrick Dubroy 60b7c53ccc More changes to improve memory usage during rotation 2011-01-16 17:19:32 -08:00
Patrick Dubroy 1619ccfce4 Merge "Fix 3300849: Illegal state exception during dragging." into honeycomb 2011-01-14 19:02:44 -08:00