Commit Graph

305 Commits

Author SHA1 Message Date
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
Patrick Dubroy 0c10bb4a56 Fix 3300849: Illegal state exception during dragging. 2011-01-14 18:20:08 -08:00
Michael Jurka 93a6b4e8a2 fixed vertical parallax 2011-01-14 16:02:32 -08:00
Michael Jurka c5b262ccf6 tweaking parallax effect
- adding vertical parallax when switching to all apps/customize mode
- added effect to have parallax lag the rest of scrolling
- adjusted the amount of horizontal/vertical parallax in both portrait and landscape modes

Change-Id: I5ee778f78c1080337f642217bcf828b2392ddf70
2011-01-13 22:30:59 -08:00
Adam Cohen f16e571330 Making AllApps transition more cinematic
Change-Id: Ib9b98d90917ee69a9cc440cd9ed8df5a2f339dcf
2011-01-13 13:40:46 -08:00
Michael Jurka 340c5f3a70 Restore wallpaper parallax
Gives us a 7-10fps drop
2011-01-11 20:02:55 -08:00
Winson Chung ce93f7ebdb Fixing issue with background being drawn twice in customization tray.
Change-Id: I65995e3cf443d3a1b206ef156af57c7fda4287e0
2011-01-11 10:06:33 -08:00
Winson Chung ae222ab933 Fixing issue where current page border was showing on drag after adding widget.
Change-Id: Ifd112c7ea49962575e2f4e6403f30e23c75fb5c0
2011-01-10 11:46:17 -08:00
Adam Cohen df9de0b121 Fixing bug with workspace drop animation
Change-Id: I4f7682e588730905170fd534a415688ebbf64eea
2011-01-10 11:05:14 -08:00
Michael Jurka b09cac5a73 change default screen when you drag an item onto it
Change-Id: Iecfcb04c8a2c7b7c67e4127cf9fd86c3853b0b21
2011-01-05 20:24:40 -08:00
Michael Jurka bea1519534 caching mini screens to bitmaps
- gives ~10fps gain when side scrolling in all apps, customize mode, and the transition animations between workspace/all apps/customize
- requires framework to expose a flag isDirty() on View (will be submitted in separate commit)

Change-Id: Ief4cf3f2ffe545f237bc7111fb62af13e8695766
2011-01-05 16:52:49 -08:00
Michael Jurka 33945b2154 Changed backgrounds of mini screens in customize mode
- default screen to add to is now a strong blue
- reworked other workspace screen code

Change-Id: I5b1bc016a04d5a1b3eb1ce93a3ae31ad973eb798
2011-01-04 13:13:45 -08:00
Michael Jurka b8e14479da Don't show application info icon on workspace
Change-Id: I79e59211633609f4bd13e91a6c745ff28a309e2e
2010-12-20 16:53:26 -08:00
Patrick Dubroy 047379aa61 Don't animate tapped item if the target screen is full 2010-12-20 11:24:54 -08:00
Patrick Dubroy 6920c2ce34 Make drop-on-adjacent-page anim happen at same time as snapToPage 2010-12-19 20:24:40 -08:00
Michael Jurka 8edd75c8bb removing workaround for fixed animator bug
Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
2010-12-17 20:44:15 -08:00
Michael Jurka 38b4f7c5ea holo look for pressed/focused workspace icons
Change-Id: Ia964c868afd200be3828e4397659391f857599e6
2010-12-15 21:18:17 -08:00
Winson Chung 760e5375f0 Fixing drawing order issue in bg gradient
- Synchronizing icon button animations + some initial code refactoring for icon buttons
- Fixing crash in non-xlarge devices
- Adding fix to prevent customization bg protection from being drawn in all apps

Change-Id: If231a1bf4b32f59fb1de85ff67143ee08d2c93a1
2010-12-15 16:11:18 -08:00
Winson Chung a58f8bb194 Preventing bg protection from changing while adding items via spring loading mechanism.
Change-Id: I57702eae45346e41026d60e2ae551f3df287b29f
2010-12-14 18:27:20 -08:00
Michael Jurka c2f7f47948 correcting misspellings and removing dead code
Change-Id: Ic71dfc31299b1fbc10d7694e710699aa952da311
2010-12-14 15:51:59 -08:00
Winson Chung 8812703817 Various tweaks to launcher
- Removing hotdog for shadow bg protection
- Adding bg protection for customization tray
- Restoring holographic outlines for all apps
- Small bug fixes

Change-Id: I58d81bb490f78c76fcaf46122febc3c1aace854e
2010-12-14 15:32:02 -08:00
Winson Chung cd4bc491c4 Changing AllApps checked visualization, fixing drag offset issue in AllApps/Customize.
- fixing previous change which clobbered pressed/focused state padding

Change-Id: I229d803322554e51bc9c1f15d3687b01b0f6679f
2010-12-09 19:02:07 -08:00
Adam Cohen 696a67969d Fixing stack overflow (issue #3270492)
Change-Id: I6a9c58d2c0843414fd844c8aa5bf0370da33108b
2010-12-09 11:47:59 -08:00
Michael Jurka d3ef3065ab added spring loaded mode for adding items to workspace
Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
2010-12-09 02:12:19 -08:00
Adam Cohen 120980bd00 Adding animations to Customize drawer
-When you tap to add in customize drawer the widgets
 / app shortcuts now animate to the mini screens

Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
2010-12-08 22:49:08 -08:00
Michael Jurka af91de06b9 code cleanup, preparing for spring-loaded adding to screens
Change-Id: Ic52b8df2b4c4998272fbfe2b1b195c177cac9a23
2010-12-08 14:52:41 -08:00
Adam Cohen 5bb50bdb13 Improving the look of holographic outlines
- The outlines are used in AllApps, Workspace and Customize

Change-Id: I1c3aba81df163c98a839498a3d421a8f03c51f06
2010-12-03 15:46:56 -08:00
Jeff Brown 1d0867c8de Send live wallpaper taps.
Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
2010-12-02 18:27:39 -08:00
Winson Chung 656d11c882 Adding background protection to icons and apps button.
Change-Id: I650f9135c0ce5bc2a6f7c5f878d470d6a85e9f7e
2010-12-01 21:55:26 -08:00
Winson Chung 8d006d5e14 Adding additional customization tray bg to match designs.
Change-Id: I35caeddafb05311ea57b80988b46cecd501e4c3d
2010-11-29 15:55:59 -08:00
Adam Cohen e0f66b5469 Modifying feel of scrolling / overscroll
-Modified overscroll on Workspace
-Added overscroll effectiveness curve to PagedView
-Modified the feel of scrolling in Workspace, AllApps,
 and Configure. Made it more sensitive to velocity.

Change-Id: I7f705e267a536c742fbb3b6556648bbf993bdd2f
2010-11-24 15:47:13 -08:00
Michael Jurka 3d79192da7 Don't allow drags to fully occupied home screens
Change-Id: Ib9f6732f2d1d35fc4496c3d2257397ddf1f7f367
2010-11-24 14:51:58 -08:00
Michael Jurka 9c6de3d7c3 ignore drop position when dragging items to small screens
- adding plumbing for future support for spring-loaded adding of items
- also, additional minor code cleanup

Change-Id: Idb313d4cd125b4f0b315a845dc8fb853cb48885e
2010-11-24 14:48:32 -08:00
Patrick Dubroy a669d79d0d Prevent flicker when starting a drag.
Also, animate item the view to its new position when dragging.
2010-11-24 10:00:55 -08:00
Winson Chung f135c6c364 Tweaking background protection animation to match transition animations.
Change-Id: I9e0c93c5b43fe117a0fb7c1ab1c4167cc47125c4
2010-11-18 16:39:33 -08:00
Adam Cohen 68d739365b Adding overscroll to Workspace, AllApps and Customize
-Also modified the background alpha interpolation during scrolling

Change-Id: I68db8fbe80f720c507ab3208d8b3dcd8aa4f2081
2010-11-18 16:32:19 -08:00
Winson Chung b4b7fa7c03 Proper fix for missing resource in other devices.
Change-Id: Ie164e42a4c5efce763160dae86b8fe3a9da51fd9
2010-11-18 14:39:11 -08:00
Winson Chung 9171e6d8a2 Adding initial background protection to AllApps/Customize drawer.
Change-Id: Id5e2b2dd82c2ee82526ae5c5179345275af246c6
2010-11-17 17:39:58 -08:00
Patrick Dubroy 54fa3b9555 3185132: Allow dropping on adjacent homescreen targets 2010-11-17 13:41:37 -08:00
Adam Lesinski 6b879f0a58 Layout tweaks in Launcher
-Removed All apps and Configure toolbar buttons
from Customization Drawer, removed Configure
button from All apps and added Market icon
to All apps
-Changed spacing of CellLayouts when scrolling
-Modified gap spacing in workspace layout
-Made workspace invisible in All apps but touching
the place where the workspace was takes you back
to workspace

Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
2010-11-17 10:57:43 -08:00
Adam Cohen 61033d3d86 Polishing home transitions
-Modified interpolation / duration and some other characteristics
 of the transitions between home and AllApps / Customize

Change-Id: I9154800d500b394e4f826f6c88c14fb6e0164828
2010-11-16 17:21:41 -08:00
Adam Cohen eed565d512 Whitespace fix
Change-Id: Ia6b328defddc002ea0acb028d452bdd97ed3d4cc
2010-11-15 11:30:05 -08:00
Adam Cohen cbbaf9862a Tweaking transitions between AllApps / Customize and Home
Change-Id: Iaf1c235fd6122d871a6e038ab83b8deb5435b018
2010-11-15 11:18:33 -08:00
Winson Chung a34abf8c78 Fixing issue where dropping on the system bar would not properly cancel the drag.
Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
2010-11-12 14:59:59 -08:00
Winson Chung bbc60d8e79 Fixing various small bugs with launcher
- Items added from customization tray add from top left now
- Fixing issue where wallpaper tab was not showing
- Workaround for the extra pixel line showing in homescreen drag icons
- Speeding up animations for tab transitions and clicking

Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
2010-11-11 17:20:48 -08:00