Commit Graph

110 Commits

Author SHA1 Message Date
Adam Cohen 6788269814 Fixing widget resize visual / ux ugliness, Bug: 4082591
Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
2011-03-14 12:16:52 -07:00
Michael Jurka abded66084 improving performance of first AllApps/Customize animation
Change-Id: I71e5cc634f7e1346617d101efd6945c00484cab3
2011-03-07 15:20:51 -08:00
Adam Cohen 1b607ed454 Cleaning up widget resizing code
Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
2011-03-03 18:30:20 -08:00
Adam Cohen d4844c3e73 Implementing resizable widgets in launcher
Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
2011-02-25 13:56:06 -08:00
Michael Jurka 742574b15b optimizing transitions in Launcher
Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
2011-02-03 01:43:19 -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 6c58d9e385 Merge "Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)" into honeycomb 2011-01-30 15:15:10 -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
Michael Jurka cf6125c2d3 Improving performance of state transitions
- Caching CellLayouts to bitmaps when they're small again
- Enabling hardware layers on customize tray/all apps during transition

Change-Id: Ia4f5f7b608a9d013ed48b990551fd1b9de503b32
2011-01-29 18:26: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 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 e702ca0141 Merge "fix render glitch for "digest" animation when items are added to a new screen" into honeycomb 2011-01-25 18:38:55 -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
Adam Cohen 3af863ba31 Fixing bug where wrong homescreen outline is being shown in customize
Change-Id: I9da04057e5afd90d3ad3e485f5299dff870cc26a
2011-01-25 13:16:37 -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 b17e140a07 Merge "Ensure drag outline & crosshairs disappear on drag cancel" into honeycomb 2011-01-20 13:30:29 -08:00
Patrick Dubroy e3887cc4ec Ensure drag outline & crosshairs disappear on drag cancel
Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
2011-01-20 12:31:29 -08:00
Michael Jurka bbe1e4ecd2 removing unused code 2011-01-19 21:20: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
Michael Jurka 4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -08:00
Michael Jurka 2a9e70655f Fix bug: text is sometimes garbled in All Apps 2011-01-14 15:48:04 -08:00
Michael Jurka 0ea4000b63 Fix bug: new items were invisible when added in spring-loaded mode
Change-Id: Ic28f8c83de0f7097d642a2f162e0ee2a91649807
2011-01-14 14:48:22 -08:00
Michael Jurka ecb4838531 Fix bug: moving items leaves workspace screens' caches in bad state
Change-Id: I88f9ded02b489bc189080afe75dc6f13af2cfcfd
2011-01-11 13:10:24 -08:00
Michael Jurka 24232cc399 fix bug with alpha level of items on workspace
- fixed bug where side pages on workspace were visible on orientation changes
- fixed bug where dragging an item to a new page would cause it to be invisible initially
2011-01-10 21:41:55 -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 99b6a5b5f7 Fixed bug: newly added apps didn't show up immediately
Now, whenever apps change visibility or are removed, we invalidate the bitmap cache for CellLayout

Change-Id: I883ea6cc07b1b09775bb7d262417acb34fbec3de
2011-01-07 21:06:30 -08:00
Adam Cohen c42d5e330a Fixing issue 3272864
-requestLayout() was being called within onLayout in
 CellLayout. This resulted in some funky behaviour and the
 bug above.

Change-Id: I76b8fa3c1dc7f08c462d13e2e9dde0d7a74386c0
2011-01-07 19:28:05 -08:00
Michael Jurka 026f555b34 Fix bug where stack view was getting clipped
We were also updating CellLayouts' drawing cache even when not needed, this is now fixed (and was actually the cause of the bug)
2011-01-07 12:59:10 -08:00
Joe Onorato 7cef289a32 Call through to super.removeallViews*().
Fixes the duplicate view bug by actually removing the views.

Bug: 3165740
Change-Id: I18f26e4cf498e6d53825959a61d585fac2c89faa
2011-01-07 11:09:15 -08:00
Winson Chung 26cbf3a001 Minor fixes to stop crashing on panning/dragging on phones.
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
2011-01-06 16:29:06 -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
Patrick Dubroy 047379aa61 Don't animate tapped item if the target screen is full 2010-12-20 11:24:54 -08:00
Michael Jurka 8edd75c8bb removing workaround for fixed animator bug
Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
2010-12-17 20:44:15 -08:00
Winson Chung a34d0b3d7b Re-enabling clipping of children in cell layout (not necessary now that hotdog is out).
Change-Id: Ia10b3d8b12848785ed6731323b00f9d33c71e3d2
2010-12-16 18:26:55 -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
Michael Jurka d56d8b82c4 updating assets 2010-12-09 15:13:51 -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
Jeff Brown 1d0867c8de Send live wallpaper taps.
Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
2010-12-02 18:27:39 -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 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
Adam Cohen ddb821981e Making current screen background always transparent
Change-Id: I3cc61f85c36f80a71d60228f5f8570758b1b0e3b
2010-11-11 13:39:35 -08:00
Patrick Dubroy 0207c52247 Draw glow along screen edge when dragging in portrait. 2010-11-03 22:12:53 -07:00
Michael Jurka 3c4c20fbe6 Fix: switching states during animations was broken
- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
2010-10-29 14:52:03 -07:00
Patrick Dubroy cd68ff5b88 Move drop anim into the Workspace to prevent clipping issues 2010-10-29 13:52:42 -07:00
Adam Cohen 1b0aaac0b3 -> Made outline of current page fade out
-> Added new assets for homescreen outlines

Change-Id: Ic19b32a749fd4109bd5601c8b220759aab56603c
2010-10-28 11:45:12 -07:00
Winson Chung a9abd0e0bd Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00
Romain Guy 3cf4c03125 Don't build bitmaps when running in GL.
Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
2010-10-26 14:29:35 -07:00
Patrick Dubroy a944215d36 Fix disappearing icons due to div-by-0 in animation. 2010-10-25 12:11:23 -07:00