Commit Graph

4413 Commits

Author SHA1 Message Date
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
Michael Jurka 37990b4b4f Fix # 6925851: Workspace page spacing gets messed up
Change-Id: I694fa1e04049e35a415b1f1a85759e501fec6258
2012-09-25 15:14:30 -07:00
Michael Jurka fa7969fbd5 Fix NPE
Bug: 7024933
2012-09-21 16:39:14 -07:00
Michael Jurka e5574e0b73 Merge "Try to fix RTE when updating shortcuts" into jb-mr1-dev 2012-09-21 15:28:48 -07:00
Michael Jurka b2ae8acc0c Try to fix RTE when updating shortcuts
Bug: 6529398
Change-Id: Ib88eda5dc1eaf72aae161b25b080197b1049e824
2012-09-21 15:26:52 -07:00
Michael Jurka c4a9233a94 Merge "Remove "fade in" animation for search + voice search." into jb-mr1-dev 2012-09-21 10:51:32 -07:00
Narayan Kamath 95a556ac7a Remove "fade in" animation for search + voice search.
This applies when the app is launched by tapping the
search box or the voice search icon.

bug:7193408
Change-Id: I29f41faa20c3e7ad00032f749c99d9b69402c422
2012-09-21 18:28:48 +01:00
Winson Chung bdb1030e21 Removing functionality to click under AllApps to return to the workspace. (Bug 7012020)
Change-Id: I69a4d28866d550cb4a43c99875e3e94dda1b0de8
2012-09-20 18:01:41 -07:00
Adam Cohen 9e05a5ea95 Making launcher use new widget binding APIs
Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
2012-09-19 15:22:23 -07:00
Michael Jurka 671a3a227c Merge "Fixing some warnings" into jb-mr1-dev 2012-09-18 13:26:18 -07:00
Michael Jurka 82422503fd Fixing some warnings
Change-Id: I28ff3b62b831bd49e3592c1b86ba978208324c11
2012-09-17 18:10:30 -07:00
Winson Chung 1190487e15 Fixing issue where we were collating labels based on an old Locale. (Bug 7133873)
Change-Id: Ic1366f06020d1e405a6800386472a8832d683c5e
2012-09-17 16:59:21 -07:00
Dianne Hackborn 804503c75a Add user initialing receiver to select a unique wallpaper.
Change-Id: I14652d8108c2e19db821ab5526b6e630db8fe998
2012-09-16 00:00:27 -07:00
Winson Chung 4cc332ac43 Workaround for generating QSB icon press states. (Bug 7132477)
Change-Id: I7754bbb20572908cd428c12ba84a7b1160063bcb
2012-09-10 12:48:24 -07:00
Michael Jurka 061e9008b0 Merge "Adding more debug code for dup. ItemInfo bug" into jb-mr1-dev 2012-09-07 00:40:48 -07:00
Winson Chung 6323a55fe2 Merge "Fixing issue where we were not removing items from LauncherModel and only the add-queue. (Bug 7078244)" into jb-mr1-dev 2012-09-05 19:06:31 -07:00
Michael Jurka 7a397e0468 Merge "Debug code for bug b/6830207" into jb-mr1-dev 2012-09-05 03:24:47 -07:00
Michael Jurka 059798af09 Debug code for bug b/6830207
Change-Id: Ic951fd448a74ac84398f3e4371b2410e295f0293
2012-09-04 09:20:42 -07:00