Commit Graph

960 Commits

Author SHA1 Message Date
Michael Jurka d99cf8b76d Fix bug: rotating screen in All Apps mode would show blank workspace 2011-01-16 16:53:18 -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 d63497bb62 fix build, adding missing file :( 2011-01-14 17:56:16 -08:00
Winson Chung 381337be22 Merge "Fixing issue where icons sometimes do not show in AllApps." into honeycomb 2011-01-14 17:17:16 -08:00
Winson Chung 452821f54d Fixing issue where icons sometimes do not show in AllApps.
Change-Id: I7f999ae96f73ba2300dbebef74a04ecdbb60ff43
2011-01-14 16:40:08 -08:00
Michael Jurka ec14123190 Merge "renaming CacheableTextView -> CachedTextView" into honeycomb 2011-01-14 16:06:42 -08:00
Michael Jurka 8dcd99eaf7 Merge "fixed vertical parallax" into honeycomb 2011-01-14 16:06:37 -08:00
Michael Jurka 0a1f18fe0a Merge "Fix bug: text is sometimes garbled in All Apps" into honeycomb 2011-01-14 16:06:30 -08:00
Michael Jurka 93a6b4e8a2 fixed vertical parallax 2011-01-14 16:02:32 -08:00
Michael Jurka 002bd928bf renaming CacheableTextView -> CachedTextView 2011-01-14 15:50:07 -08:00
Michael Jurka 2a9e70655f Fix bug: text is sometimes garbled in All Apps 2011-01-14 15:48:04 -08:00
Patrick Dubroy 4a3ba7b7f2 Merge "Allow previous view hierarchy to be GC'ed more quickly on rotation" into honeycomb 2011-01-14 15:22:09 -08:00
Patrick Dubroy 2313eff05b Allow previous view hierarchy to be GC'ed more quickly on rotation
Change-Id: I76215a48e76234501b7ce253dedfa449502ab88f
2011-01-14 14:50:47 -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 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 c9c548eb10 Potential fix for garbled text in All Apps
- now redrawing the cache for CacheableTextView every time setText is called
2011-01-12 13:49:37 -08:00
Kenny Root f5675decc9 Use the default activity mipmap
So we can use different scales of the default activity icon, switch to
using the mipmap version of it.

Bug: 3325002
Change-Id: I3307bc8959829958e0da4ab2a9238c89ff9fdead
2011-01-12 10:15:46 -08:00
Michael Jurka 340c5f3a70 Restore wallpaper parallax
Gives us a 7-10fps drop
2011-01-11 20:02:55 -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 e464aeb13a Merge "fix bug with alpha level of items on workspace" into honeycomb 2011-01-11 10:54:41 -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
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
Winson Chung 304dcde0e3 Ensuring that we don't start dragging while another drag is in progress.
Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
2011-01-07 16:00:59 -08:00
Svetoslav Ganov 815ba2d2ea Added accessibility support for the home/all app togle in Launcher2
bug:3307225

1. Added code to fire accessibility events on transition to all apps
   and to home and to appropriately populate the generated
   accessibility event depending on the context in which it is fired.

Change-Id: Icd1ceb3b2556b6f416829d58b4ac7df42d61936c
2011-01-07 14:55:22 -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 e83b8acab1 Merge "Minor fixes to stop crashing on panning/dragging on phones." into honeycomb 2011-01-06 16:29:56 -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 137142e39b Fix clipping of blue glow around icons when they're clicked 2011-01-06 12:36:53 -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 7c2a0841f3 Merge "caching mini screens to bitmaps" 2011-01-05 18:28:32 -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
Winson Chung 0499834db3 Fixing issues with holographic outline cache in AllApps/Customize.
- Fixing issue where the outline cache was not properly used when changing orientations
- Making the outline cache static, and shared across both the AllApps/Customize (since they
  share an Apps view)
- Making sure that holographic outlines for items on only one page are not created, since
  the holographic outlines will never be shown in that case.
- No longer clearing outline cache as frequently

Change-Id: I291db3802260249d0470d2637d871958baa8ebff
2011-01-05 16:23:55 -08:00
Adam Cohen a6612cd45f Adjusting wallpaper picker to match spec
Change-Id: I004f15119648b9435bd73a400bd0193962e9569f
2011-01-05 14:27:29 -08:00
Winson Chung 621e6406fa Cancelling a drag should signal to the source that the drag is incomplete.
Change-Id: I6464c4ccf15b550dd319e18c2e998131e46ccc0f
2011-01-04 16:04:32 -08:00
Winson Chung c1ef5c33d9 Merge "Cancelling the current drag when customization filter type changes to prevent crashes." 2011-01-04 13:47:56 -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
Winson Chung 7d1fcbc409 Cancelling the current drag when customization filter type changes to prevent crashes.
Change-Id: Iaa3f2598325950769d38ad1d6e390ab06ea194d7
2011-01-04 10:22:56 -08:00
tedbo 2b0857a5d8 Fix NPE when running on Passion device.
This change fixes a NullPointerException that happens on the Passion
device when the Launcher is started.

Change-Id: If568cac8bf5a625da859b824245cca641cdc06de
2010-12-22 18:40:40 -08:00
Alex Sakhartchouk 9dfbe3a501 Merge "renderscript API cleanup" 2010-12-21 16:52:06 -08:00
Winson Chung 59e1f9a07e Adding fade when dragging items outside of the customization tray.
Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
2010-12-21 16:04:02 -08:00
Alex Sakhartchouk c3842427d8 renderscript API cleanup
Change-Id: I76b9ceccd73d7f1b83853763755e1ba28e009614
2010-12-21 14:57:05 -08:00
Michael Jurka 577d017732 adding "Remove" and "Delete" text to delete button
- also removed some unused assets

Change-Id: Iad42afd2f144de92d80fb89d892ab42b32811b69
2010-12-21 14:27:41 -08:00
Michael Jurka b8e14479da Don't show application info icon on workspace
Change-Id: I79e59211633609f4bd13e91a6c745ff28a309e2e
2010-12-20 16:53:26 -08:00