Commit Graph

2380 Commits

Author SHA1 Message Date
Michael Jurka 3f4e070aa5 Fix crash when rotating all apps
Bug: 8134296
2013-02-05 11:25:29 +01:00
Michael Jurka 05713af127 Cache widget previews in a DB
- Smoother All Apps scroll performance

Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
2013-02-04 20:32:49 +01:00
Fabrice Di Meglio 892d023c54 Merge "Add first RTL support to Launcher" 2013-01-24 21:50:23 +00:00
Fabrice Di Meglio cc11f74258 Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware

Change-Id: I24b1f1977fb65246afd2005440567b5850939621
2013-01-23 18:23:06 -08:00
Michael Jurka 47639b9c1d Use less HW layers in All Apps
(saves memory)

Change-Id: Ib2beda7549662a787437c7aa043e7858357c051f
2013-01-17 10:38:15 +01:00
Winson Chung 7819abd2d1 Fixing issue where the cling is offset. (Bug 7633074)
- Also fixing issue where the workspace cling was showing on top of AllApps when you entered it for the first time.

Change-Id: I7d59ad153de192bc1d69537af1b4af632465138b
2012-11-29 14:30:30 -08:00
Winson Chung 1ef2123ccd Fixing NPE in updateCurrentPageScroll (Bug 7465970)
Change-Id: I71d2b01518f3f736f6787ff6a503271b9ea7b04b
2012-11-26 14:44:43 -08:00
Michael Jurka ce552e9196 Merge "Fix janky transition on All Apps tab switch" into jb-mr1.1-dev 2012-11-21 11:53:38 -08:00
Michael Jurka 7f9ddd8435 Fix janky transition on All Apps tab switch
Bug: 7139562
2012-11-19 16:15:24 -08:00
Adam Cohen 2ee5fe77db Merge "Refactoring push reordering (issue 7139335)" into jb-mr1.1-dev 2012-11-19 15:49:23 -08:00
Adam Cohen f3900c287c Refactoring push reordering (issue 7139335)
-> This new approach is actually correct in emulating cascaded  pushing of
   items left, right, up and down.
-> Takes care of a couple crashes and some instances where reordering
   was not doing the right thing.

Change-Id: I016120e62f5d6fa1a2a6289c3badcb6ec230b2a3
2012-11-19 15:42:32 -08:00
Michael Jurka 0a457bfbd9 Fix StrictMode violation
Switching how we set a property to tell launcher
to force rotation to be enabled, or to dump state.

Bug: 7538629

Change-Id: I8cb55f1a28ba59fe5d410562c66bc86eb9efabfe
2012-11-19 15:21:11 -08:00
Michael Jurka ffc2682a97 Fix NPE
Bug: 7441452
2012-11-16 18:21:22 -08:00
Craig Mautner 360310b74d Extend background to full screen.
Gradient and black backgrounds were stopping at the Status Bar.
When returning from a full screen app to the launcher the wallpaper
was completely visible when it should have been obscured by these
backgrounds. Making the app full screen while keeping the views
within the system insets fixes this.

Bug 7410717 fixed.

Change-Id: If3f7e4808961ee6c80fe2d0a328e6ca39fa5eb7a
2012-11-16 16:17:20 -08:00
Michael Jurka 3c42e118c4 Merge "Cleaning up unused code" into jb-mr1.1-dev 2012-11-16 13:10:49 -08:00
Michael Jurka 3c1681d5f7 Cleaning up unused code 2012-11-15 14:11:41 -08:00
Michael Jurka 9df38dff2d Updating wallpaper picker icon to higher res
Bug: 7400295
Change-Id: I2c7625ee1ce09ded57d884c229f155ebcf39be07
2012-11-13 15:55:50 -08:00
Chet Haase 36095e861b Merge "Stop animating All Apps during transition to Home" into jb-mr1-dev 2012-10-29 14:24:08 -07:00
Chet Haase bc2f082dac Stop animating All Apps during transition to Home
One of the sources of jank in launcher is during the All Apps -> Home
transition. specifically, if the user has started a fling operation (where
we are animating between pages in All Apps) and then hits the Home button,
we continue the fling animation while also doing the transition to Home
scale/fade animations. This causes a lot of work for launcher, particularly because
the fling animation is causing the All Apps layer to get recreated on every frame.

The fix is to simply pause the fling animation, then snap to its end state when the
animation to Home is complete. We also need to pause/snap the scroll indicator animation,
because it's fading animation causes the same layer-recreation jank that the fling
itself causes.

Issue #7387124 Home <-> All Apps transition animation is janky while flinging

Change-Id: Icbcaf2d5b3b2f6ce8fd7419419d258248aa1475b
2012-10-29 14:07:33 -07:00
Dave Burke e57e793bbd Merge "Cap launcher swipe animations to max duration" into jb-mr1-dev 2012-10-25 17:19:09 -07:00
Chet Haase 97687ef66b Cap launcher swipe animations to max duration
large screens take too long swiping between screens. Cap the duration to
some max value to make things snappier.

Change-Id: Iee967c1b00b4962a0490fd0e20d48d7d8363dd2f
2012-10-25 16:01:11 -07:00
Dave Burke 8634f8494a Merge "Delay ACTION_MAIN processing when not focused." into jb-mr1-dev 2012-10-25 13:10:56 -07:00
Jamie Gennis cb222e85d2 Delay ACTION_MAIN processing when not focused.
This change puts a 350 ms delay before processing the ACTION_MAIN intent when
the window is not focused.  This makes the Launcher animation take place after
the GPU-intensive portion of the window shade hide animation, resulting in
smoother animations.

Bug: 7401764
Change-Id: I574f2ba398fcf38b423413f802673bbd4d983cd2
2012-10-24 14:27:45 -07:00
Michael Jurka 9dc882be0f Merge "Get rid of explicit GC requests" into jb-mr1-dev 2012-10-22 17:08:16 -07:00
Svetoslav Ganov 303f621e57 Merge "Send correctly populated Accessibility event on Launcher state change." into jb-mr1-dev 2012-10-19 14:22:45 -07:00
Michael Jurka 964e2a63c2 Merge "Fix NPE" into jb-mr1-dev 2012-10-19 09:07:02 -07:00
Michael Jurka 023c71eb3b Fix NPE
Bug: 7356682
Change-Id: Ic6522da1ec6ac0d57f1565cef9c43949f2d7fd70
2012-10-19 17:32:24 +02:00
Michael Jurka 7eed60454d Get rid of explicit GC requests
Bug: 7370913
2012-10-19 17:22:00 +02:00
Michael Jurka d6dd7c8a21 Fix NPE
Bug: 7371837
2012-10-19 17:15:16 +02:00
Scott Main 4cd7f28105 remove old fashioned dream, no longer supported
Change-Id: I87370e8dc7f3159182dac9f650223ce010d6286b
2012-10-18 12:10:03 -07:00
alanv 1d4fde6864 Send correctly populated Accessibility event on Launcher state change.
Bug: 7362253
Change-Id: I72811292e8091a21866cb4599d37a71eb475b1d5
2012-10-17 13:15:47 -07:00
Romain Guy 0d06152d40 Merge "Remove unnecessary allocations during draw Bug #7327799" into jb-mr1-dev 2012-10-11 11:10:47 -07:00
Romain Guy eeacd56cc9 Remove unnecessary allocations during draw
Bug #7327799

Change-Id: Ic3a18fb9d850f2c692dcb187a206c61dfa8108a4
2012-10-10 18:47:33 -07:00
Michael Jurka b86d516bcc Update custom cling params
Bug: 7318080

Change-Id: I77d73d81a60efa3886f088e82c6ba3466f6ac331
2012-10-10 23:11:01 +02:00
Michael Jurka a113121fd3 Stop using mcc for custom workspace cling on sw600dp devices
Bug: 7203884
2012-10-09 14:46:26 +02:00
Michael Jurka 98d7bd72df Merge "Re-merge "Add support for custom manta cling"" into jb-mr1-dev 2012-10-08 13:29:25 -07:00
Michael Jurka 6c5679e5dd Merge "Fix bug 6886990: cling accessibility" into jb-mr1-dev 2012-10-08 13:28:38 -07:00
Michael Jurka 244ebcd7b4 Bug 7301303: more rows in all apps for sw720dp-port 2012-10-08 17:19:32 +02:00
Michael Jurka 45355c4596 Re-merge "Add support for custom manta cling"
Also, fix issue where mako was crashing because
Launcher was trying to load a custom cling for it.
It was doing this because a custom home layout was
specified by SetupWizard, but for now we only want
custom clings on large devices

Bug: 7302705
Bug: 6992663

This reverts commit 2ebcf509f0.

Change-Id: I46533309d5c62edfbd3a3b178c6965ffc73b6476
2012-10-08 15:53:53 +02:00
Michael Jurka 2214313177 Fix bug 6886990: cling accessibility
Clings should block interaction with elements
below when Talkback is enabled

Change-Id: Ifdcd109351fd3c2d6dc97ad75ea3ab6eea48b582
2012-10-08 15:41:51 +02:00
Michael Jurka 2ebcf509f0 Revert "Add support for custom manta cling"
This reverts commit 68255cbabe.
2012-10-08 02:38:56 +02:00
Adam Cohen 8b4d91455a Merge "Fix to ensure default widgets get size callbacks (issue 7287744)" into jb-mr1-dev 2012-10-07 12:38:56 -07:00
Adam Cohen aaa5c21ee2 Fix to ensure default widgets get size callbacks (issue 7287744)
Change-Id: I46b329db247a0b450493530ab619576c45418b01
2012-10-05 18:14:31 -07:00
Michael Jurka 68255cbabe Add support for custom manta cling
- Load a custom cling if custom workspace layout is specified
- Also persist any custom workspace layout

Bug: 6992663
2012-10-05 15:36:20 +02:00
Adam Cohen 28b3e10fde Removing db corruption exceptions, logging instead (issue 7112132)
Change-Id: I5fd169ba53a88797723997d25399b39b0468864a
2012-10-04 17:21:33 -07:00
Adam Cohen dd70d66852 Fix for widgets with config not getting size info (issue 7266053)
Change-Id: I0b55555ed38d4f2a70345d1b6316a075a9346111
2012-10-04 16:53:44 -07:00
Brian Muramatsu a2042d0ae9 Merge "Specify workspace resource in preload broadcast" into jb-mr1-dev 2012-10-03 14:47:32 -07:00
Brian Muramatsu 5524b4957f Specify workspace resource in preload broadcast
Bug 7203884

Allow specifying the workspace XML layout in the PRELOAD_WORKSPACE
broadcast.

Change-Id: Iec01c6fa2dde4635f624f040b0772ee11fcd88dc
2012-10-02 16:55:54 -07:00
Michael Jurka daec1e8b05 Fix issue where clicking home button caused search icon blip
Also, tweak size of icons in landscape mode

Bug: 7221345

Change-Id: Ib0d1445e165f291c09021f7dad08ad4d248e47ca
2012-10-02 12:14:06 +02:00
Michael Jurka b1dfe25ae1 Fix 7223056: Enable scroll indicator on tablets 2012-09-26 10:53:55 -07:00