Commit Graph

563 Commits

Author SHA1 Message Date
Michael Jurka 8df4f319fe Merge "NPE fix" 2011-02-10 14:08:57 -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
Michael Jurka 838a4ca645 Caching View lookups at startup time 2011-02-08 16:30:33 -08:00
Michael Jurka bbbad6bcc2 NPE fix
bug # 3429886
2011-02-07 13:04:09 -08:00
Michael Jurka de4149cf71 Merge "Tweaking feel of All Apps transition" into honeycomb 2011-02-03 20:23:50 -08:00
Michael Jurka ea57348cc8 Tweaking feel of All Apps transition
Bug # 3418734

Change-Id: Iaec2a223bb3b8a6133bad8befe143e696b7acc4b
2011-02-03 20:08:48 -08:00
Michael Jurka 11148e5165 Fixed issue where all apps animation wasn't happening
-Fixes issue caused by performance tweak https://android-git.corp.google.com/g/#change,94997
2011-02-03 18:20:25 -08:00
Adam Cohen f5d77c9e3f Fixing leak in Launcher when shortcuts were installed from market
-> Issue 3418165

Change-Id: Ieee4c7ed436d0722a6352c30adfa5cbd02dd163a
2011-02-03 12:59:33 -08:00
Michael Jurka 742574b15b optimizing transitions in Launcher
Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
2011-02-03 01:43:19 -08:00
Winson Chung 5fb63473cb Disabling auto-advance when we are not on the workspace. (3413510)
Change-Id: I3793d4221b4ec91ed1fbf35a9e5ff0237e7e8542
2011-02-02 17:32:36 -08:00
Michael Jurka bfadaad352 Only use hardware layers for transitions to all apps/customize in portrait 2011-01-31 21:43:03 -08:00
Michael Jurka 8bb771ecb8 Merge "Using hardware layers for animations to all apps/customize" into honeycomb 2011-01-31 19:03:21 -08:00
Michael Jurka 3eeaea8bef Using hardware layers for animations to all apps/customize
- improves performance of All Apps transition in portrait
2011-01-31 18:25:59 -08:00
Winson Chung 32bb5e54b4 Workaround for the issue where a layout is not being triggered when rotating the screen while customizing. (3329988)
Change-Id: I3348bd2a381608592bef774da3851ec61cd69b29
2011-01-31 14:53:20 -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
Adam Cohen 860f4c5a82 Final tweaks for home animations
Change-Id: I9a160a71fe22286077fe8601fb30a1a9bbe84da3
2011-01-27 20:16:13 -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 e90cd23338 reduce number of animations on state changes 2011-01-26 16:13:55 -08:00
Michael Jurka a5fa4b492f Merge "Updating layout of search buttons" into honeycomb 2011-01-25 22:56:42 -08:00
Michael Jurka 789744f896 Updating layout of search buttons
Change-Id: Id18c9ba18cc5a4645a192393926054e3ffaad3d0
2011-01-25 18:46:18 -08:00
Patrick Dubroy 8b1fe774c2 Fix 3385181: Widget doesn't stay where I put it
Change-Id: I8ea7bb50fea6c6b113e4ba69221623e6c6cd80cc
2011-01-25 05:33:22 -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
Adam Cohen 2ddf13e175 Updating call to match framework.
Change-Id: I31cb1e66b1091898433461e07315abc05cf6bf2e
2011-01-19 21:26:33 -08:00
Patrick Dubroy 3c85ea5e98 Merge "Fix 3369762: long press should take you into customization mode" into honeycomb 2011-01-19 14:59:29 -08:00
Patrick Dubroy 8fedddc586 Fix 3369762: long press should take you into customization mode 2011-01-19 14:54:38 -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
Michael Jurka 4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -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
Patrick Dubroy bb1d1319f2 Merge "More changes to improve memory usage during rotation" into honeycomb 2011-01-16 17:33:44 -08:00
Patrick Dubroy 60b7c53ccc More changes to improve memory usage during rotation 2011-01-16 17:19:32 -08:00
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 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 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 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
Winson Chung 26cbf3a001 Minor fixes to stop crashing on panning/dragging on phones.
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
2011-01-06 16:29:06 -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
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
Winson Chung a12a2502e6 Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
2010-12-20 14:49:18 -08:00
Michael Jurka 8edd75c8bb removing workaround for fixed animator bug
Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
2010-12-17 20:44:15 -08:00
Michael Jurka 800242b5b7 updating assets for configure/all apps
- fixed the dead zone between configure/all apps
2010-12-17 19:31:18 -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
Michael Jurka e7bf83b0a3 fix potential leak of Activities
- cache ConstantStates instead of Drawables

Change-Id: Iea1cf23c845b9128ea1c12dffc32265f8d7db933
2010-12-14 18:37:56 -08:00