2179 Commits

Author SHA1 Message Date
Romain Guy
06116b08da am a989b334: Merge "Don\'t create a giant layer for all notifications Bug #6642475" into jb-dev
* commit 'a989b334fd097114ce1016ce1668597a213a441c':
  Don't create a giant layer for all notifications Bug #6642475
2012-06-14 14:46:35 -07:00
Michael Jurka
a676cdab11 Merge "Tweak recents launch app animation" into jb-dev 2012-06-14 14:33:55 -07:00
Romain Guy
a989b334fd Merge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev 2012-06-14 14:32:07 -07:00
Romain Guy
54ab347fdd Don't create a giant layer for all notifications
Bug #6642475

When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.

This change only enables layers on notifications that will be visible
once the notification area is fully expanded.

Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3
2012-06-14 14:25:08 -07:00
Daniel Sandler
590d515d91 Show even fewer notifications in Setup.
Restricting to pkg="android" didn't filter out things like
open wifi networks, etc. So now we have a whitelist:
notifications must be sent the "android" pseudo-package,
*and* they must have one of these "kind" tags:

  - android.system.imeswitcher (IME switcher, needed by SUW)
  - android.system.update (OTAs)

Note that OTAs currently use a fullScreenIntent, so they
bypass this logic anyway, but for consistency's sake we now
allow OTA icons in the status bar explicitly.

Bug: 6645469
Change-Id: Ib2e2f22d7a0817a1acaf8137ed4f3c7d3ddf8af5
2012-06-14 16:10:13 -04:00
Michael Jurka
b9a38c57fc Tweak recents launch app animation
- Sometimes the black background would flash; changing
animation durations to make this much less likely
- Fixing issue in Recents where we sometimes forgot
to disable drawing caches on views after enabling them
2012-06-14 11:57:50 -07:00
Michael Jurka
cf6e14558f am 71fc205d: Merge "Change snap behavior for lock screen" into jb-dev
* commit '71fc205d11490872927e279c4a0cfa3176b15f20':
  Change snap behavior for lock screen
2012-06-14 11:41:55 -07:00
Michael Jurka
71fc205d11 Merge "Change snap behavior for lock screen" into jb-dev 2012-06-14 11:39:21 -07:00
Jeff Brown
fc959a3895 am 9e197141: Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev
* commit '9e197141f8249e36d3f19aeda332ae40dac7da05':
  Add new ASSIST key and map it to the global assist intent.
2012-06-14 11:33:31 -07:00
Jeff Brown
9e197141f8 Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev 2012-06-14 11:28:52 -07:00
Michael Jurka
53f109bf49 Change snap behavior for lock screen
Use angle and distance from center, rather than
distance from target.

Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c
2012-06-14 10:56:33 -07:00
John Spurlock
ba51978e9e am 8385adc9: Merge "NavBar: Slippery on the unsecured lock screen." into jb-dev
* commit '8385adc9600c63bc2d55d6d745eec4d018e0ed0f':
  NavBar: Slippery on the unsecured lock screen.
2012-06-14 08:56:02 -07:00
John Spurlock
8385adc960 Merge "NavBar: Slippery on the unsecured lock screen." into jb-dev 2012-06-14 08:53:12 -07:00
Daniel Sandler
544a0fc170 am a1d40e47: Merge "Remove an unnecessary animation." into jb-dev
* commit 'a1d40e47f6aa976da584136ea6f6ba76e7046d11':
  Remove an unnecessary animation.
2012-06-14 07:18:53 -07:00
Daniel Sandler
a1d40e47f6 Merge "Remove an unnecessary animation." into jb-dev 2012-06-14 07:15:29 -07:00
John Spurlock
d5ef54658b NavBar: Slippery on the unsecured lock screen.
The NavBar is always non-slippery, except when:
 - the notification shade is showing
 - the 3 buttons (back,home,recents) are disabled

Also fix unrelated bug that ignored the "show panel delay"
before the first config change.

Bug: 6614842
Change-Id: Ib40adaef122b563809398fdebbd8a88d8f0c7ffd
2012-06-14 10:01:48 -04:00
Chris Wren
6c3641ae5a am c07dc743: Merge "enable touch feedback on notification title." into jb-dev
* commit 'c07dc74374d05cc35f73a933c980a0ef974a7b58':
  enable touch feedback on notification title.
2012-06-14 05:49:39 -07:00
Chris Wren
87009a123e am a54c01ec: Merge "Invert the sense of the two-figner direction on tablets." into jb-dev
* commit 'a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041':
  Invert the sense of the two-figner direction on tablets.
2012-06-14 05:49:35 -07:00
Chris Wren
c07dc74374 Merge "enable touch feedback on notification title." into jb-dev 2012-06-14 05:47:08 -07:00
Chris Wren
a54c01eccb Merge "Invert the sense of the two-figner direction on tablets." into jb-dev 2012-06-14 05:46:49 -07:00
Jeff Brown
de7a8ead24 Add new ASSIST key and map it to the global assist intent.
Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.

Bug: 6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c
2012-06-14 04:16:26 -07:00
Chris Wren
ebdc5b81d6 enable touch feedback on notification title.
Bug: 6646294
Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca
2012-06-13 12:10:55 -07:00
Daniel Sandler
66d92f8109 Remove an unnecessary animation.
When the notification panel is full-width (small devices
like phones) we can just leave the icons showing all the
time, which saves a little CPU during the
performance-critical shade expand operation.

On sw600dp devices we continue to use DISABLE_SYSTEM_INFO to
smoothly hide the status bar when the notification panel
appears (and show it when the panel is dismissed).

Bug: 6555172
Change-Id: I59a1226549dd1e51c375c3972b47079c1ee856b0
2012-06-13 13:40:15 -04:00
Chris Wren
febadce5a8 am 4d12ec42: remove obsolete notificaiton pane visibility code.
* commit '4d12ec42bbd52c1127808d3b8d38bf0a1cdbb0ae':
  remove obsolete notificaiton pane visibility code.
2012-06-13 10:21:41 -07:00
Chris Wren
4d12ec42bb remove obsolete notificaiton pane visibility code.
Bug: 6647263
Change-Id: I634f17c608effe215b9ec4241355fd7cc8860d8e
2012-06-13 12:20:05 -04:00
Jim Miller
5f1907316e am 955a0169: Fix 6613962: Update keyguard to use new GlowPadView UX design.
* commit '955a016922ea49f154d190b054a202559b41a4d3':
  Fix 6613962: Update keyguard to use new GlowPadView UX design.
2012-06-12 19:41:44 -07:00
Jim Miller
955a016922 Fix 6613962: Update keyguard to use new GlowPadView UX design.
Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
2012-06-12 19:16:08 -07:00
Chris Wren
9b2cd15f0f Invert the sense of the two-figner direction on tablets.
Bug: 6506376
Change-Id: Ife336c6695608f14554e18e32ea35f118d7f12e2
2012-06-12 16:41:54 -04:00
John Spurlock
980d7b45ff am 36eeb6a5: Merge "StatusBar: Respond properly to global expand message" into jb-dev
* commit '36eeb6a5be895bfba0405d34062d0db5b118a329':
  StatusBar: Respond properly to global expand message
2012-06-12 13:31:30 -07:00
John Spurlock
36eeb6a5be Merge "StatusBar: Respond properly to global expand message" into jb-dev 2012-06-12 13:29:09 -07:00
Daniel Sandler
2aaa68e839 am 56b135b9: Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev
* commit '56b135b91051664ae9027f50e9f20b7fcf6565ba':
  Put PLMN and SPN on one line in the notification panel.
2012-06-12 12:45:40 -07:00
Daniel Sandler
2e6f14dbd8 am 2c1a4c05: Merge "Suppress header flash when collapsing notifications panel." into jb-dev
* commit '2c1a4c05b83e0461169bb846765ae415b4e79fcf':
  Suppress header flash when collapsing notifications panel.
2012-06-12 12:45:36 -07:00
Michael Jurka
823e202845 am 64dbcd64: Merge "Tweak recents out animation a bit more" into jb-dev
* commit '64dbcd64be34f83e51229891da865ca047b4f5f4':
  Tweak recents out animation a bit more
2012-06-12 12:43:17 -07:00
Mathias Agopian
0b986a7b3d am 0d8eba64: Merge "Enable HW accelerated window shade for all devices" into jb-dev
* commit '0d8eba64b2ee2921915e0f6793ddd2d8f44e2428':
  Enable HW accelerated window shade for all devices
2012-06-12 12:42:41 -07:00
Daniel Sandler
56b135b910 Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev 2012-06-12 11:04:14 -07:00
Daniel Sandler
2c1a4c05b8 Merge "Suppress header flash when collapsing notifications panel." into jb-dev 2012-06-12 11:04:08 -07:00
John Spurlock
8506149f61 StatusBar: Respond properly to global expand message
Fix timing issue in PhoneStatusBar#animateExpand(). Also, notification panel
drag handle (when expanded) reflects movement immediately.

To test animateExpand():
  $ adb shell service call statusbar 1

Bug: 6629916
Change-Id: I22bb09fc4c9d97c93ba8d7aed8921b60f5ebd610
2012-06-12 13:27:14 -04:00
Michael Jurka
64dbcd64be Merge "Tweak recents out animation a bit more" into jb-dev 2012-06-11 16:17:35 -07:00
Michael Jurka
c016aaaa42 Tweak recents out animation a bit more
Bug: 6490204

-Fading to black in the recents layer
-Tweaking duration and interpolators
-Removing some unnecessary debug exceptions (Bug: 6642072)

Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
2012-06-11 15:23:20 -07:00
Mathias Agopian
0d8eba64b2 Merge "Enable HW accelerated window shade for all devices" into jb-dev 2012-06-11 14:43:57 -07:00
Daniel Sandler
18ac7826ae Put PLMN and SPN on one line in the notification panel.
We now match the keyguard's presentation: either plmn, or
spn, or "plmn|spn" (concatenated with a pipe).

Bug: 6639047
Change-Id: Ia6ae9085fbf2fe9fa4465a6f7825cb997db5e6c5
2012-06-11 16:15:14 -04:00
Daniel Sandler
e5011a3ad4 Suppress header flash when collapsing notifications panel.
LayoutTransition is poking through and it shouldn't be.

This change also fixes a few related animation glitches
around the carrier label and fling velocity.

Bug: 6628429
Change-Id: I6655c9f9a8c95c7abd9c6d7099957cb229b86d5a
2012-06-11 16:07:52 -04:00
Chris Wren
87efc0ac2e am 7cd46429: Merge "apply Jellybean styling to tablet system bar and panel" into jb-dev
* commit '7cd464292bc1012a46479898b0ee69c5e38dfe35':
  apply Jellybean styling to tablet system bar and panel
2012-06-08 11:29:12 -07:00
Chris Wren
7cd464292b Merge "apply Jellybean styling to tablet system bar and panel" into jb-dev 2012-06-08 11:26:22 -07:00
Gilles Debunne
a8b5f65f90 am 4d94ecb2: Merge "Added a tvdpi specific background 9 patch" into jb-dev
* commit '4d94ecb223866b695db64065ed62b6773aa47d07':
  Added a tvdpi specific background 9 patch
2012-06-08 09:15:08 -07:00
Gilles Debunne
4d94ecb223 Merge "Added a tvdpi specific background 9 patch" into jb-dev 2012-06-08 09:12:34 -07:00
Chris Wren
1e8f65d989 apply Jellybean styling to tablet system bar and panel
Bug: 6546070
Change-Id: I933883857747931388026e0beefcf092a00d531a
2012-06-08 07:57:45 -07:00
Chris Wren
af56345cf8 am 059537e7: Merge "Back from the dead: Carrier name, background dimming." into jb-dev
* commit '059537e7924a5547849b537bf0e50d2f814b80a5':
  Back from the dead: Carrier name, background dimming.
2012-06-07 09:49:56 -07:00
Chris Wren
77b924e5f9 am 8a718889: Merge "Fix notification icon fading." into jb-dev
* commit '8a71888975aba851edc8916b189f4c73daa1926b':
  Fix notification icon fading.
2012-06-07 09:49:53 -07:00
Chris Wren
059537e792 Merge "Back from the dead: Carrier name, background dimming." into jb-dev 2012-06-07 09:44:54 -07:00