Commit Graph

124 Commits

Author SHA1 Message Date
Winson Chung 4b576be59e Adding back the widgets pane to the merged AllApps.
- Fixing issue with holographic drag outlines being drawn offset

Change-Id: Ie0e89d76ce6714b44f9cd2ddf99ad608b51bf005
2011-04-28 14:53:51 -07:00
Adam Cohen bb60e2e4d7 Tiny fix in CellLayout
Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf
2011-04-26 16:48:26 -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 e031096502 Removing dragoutlines when dragging a shortcut above a shortcut
Change-Id: I235597a2e2565f93ebea81ae133ad8f1a5d9d4ce
2011-04-18 17:07:58 -07:00
Adam Cohen 6639687cd6 Adding drag outlines for dragging out of folders
Change-Id: I264f66af5f03035bac17ff00eacc1a1da3d027a4
2011-04-18 14:27:04 -07:00
Michael Jurka 66d72178af Changing folders to use CellLayouts
Change-Id: Ic80bece18855a4f5d2476c224ef66f035ac7c97b
2011-04-15 13:32:42 -07:00
Adam Cohen 8a71ca86b2 Merge "Cleaning up drag and drop visulization and drop location determination" 2011-04-15 13:31:42 -07:00
Adam Cohen e3e27a854f Cleaning up drag and drop visulization and drop location determination
-Visualization and drop location always match now
-Improved the location determination/visualization for widgets
 in spring loaded mode
-Simplified and fixed some other discrepencies

Change-Id: I4b46f415a547e4df778c70a8b87f341a909d10c1
2011-04-15 13:29:26 -07:00
Adam Cohen b1c8befb2f Merge "Enabling user folder creation by dropping shortcut onto shortcut" 2011-04-15 12:06:01 -07:00
Adam Cohen df0353815c Enabling user folder creation by dropping shortcut onto shortcut
Change-Id: Ib8de001f5003cd44f1524cb7763fc928fa24aaba
2011-04-15 12:04:25 -07:00
Michael Jurka e5fb0f27bc Minor cleanup and refactoring 2011-04-12 16:26:40 -07:00
Adam Cohen 99e8b40b37 Fixing drag outline location on phone-sized UI (bug 4174465)
Change-Id: If1cf60f60fe2cf17704ff330fdbc076ae6e944f5
2011-03-25 19:25:11 -07:00
Adam Cohen 6921664f48 Merge "Fixing widget resize visual / ux ugliness, Bug: 4082591" 2011-03-14 13:30:59 -07:00
Adam Cohen 6788269814 Fixing widget resize visual / ux ugliness, Bug: 4082591
Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
2011-03-14 12:16:52 -07:00
Patrick Dubroy 96864c3c27 Fix 4081795: Blue glow gone wild
Change-Id: Ib5d4a63d0eb53f498e1fd4fcf733fda22be8f894
2011-03-14 10:39:11 -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