5810 Commits

Author SHA1 Message Date
Geoff Mendal
2b2dc01b99 Import translations. DO NOT MERGE
Change-Id: I1060b2e4a480058c4949575c31cc2806d0d921bb
Auto-generated-cl: translation import
2014-08-04 11:11:44 -07:00
Jorim Jaggi
611393560e Merge "Faster timings when a notification comes out from more card" into lmp-dev 2014-08-01 17:53:35 +00:00
Jorim Jaggi
ff9c9c473f Faster timings when a notification comes out from more card
Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
2014-08-04 14:01:03 +02:00
Jorim Jaggi
ae44128776 Animate public/private notification layouts
This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487
2014-08-03 18:55:33 +00:00
Jorim Jaggi
dbc3dce886 Handle go to full shade motion for redacted case
Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703
2014-08-03 18:52:28 +00:00
John Spurlock
19328fab0e QS: Fix detail clip reverse transition.
Give it a layer during the transition to workaround a recent
regression in the clip animation.

Also:
 - Dial down the transition alpha a bit
 - Do a delayed reverse transition on exit

Change-Id: I622d6eb863d6186293b0126dda8fca3a04a80a85
2014-08-03 11:47:35 -04:00
Christoph Studer
ce2e23ff69 NoMan: Fix speedbump when no low-prio notifs
Bug: 16705179
Change-Id: I32329710c27052c35b64ba91759200341ed0b127
2014-08-04 12:54:21 +02:00
John Spurlock
1bb480a3a4 Battery saver: new policy changes + SystemUI tweaks.
- Service policy changes: allow the user to turn off (snooze)
   saver mode below the auto-trigger level.  Plugging in the
   device always exits saver mode.
 - Default trigger level is now 0 (never) instead of 15.
 - SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
   since waiting for _CHANGED can take seconds.
 - Move shared feature description text into the framework so it
   can be shared.
 - Tweak dialog title + action strings.
 - Remove trigger-level from SystemUI, it no longer needs it.
 - Add the ability to turn off saver mode directly from the
   notification.
 - Migrate saver confirmation dialog to common system UI dialog
   helper, and add a few convenience methods.
 - Fix bug where the status bar area would be orange over the keyguard
   in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
2014-08-02 17:12:43 -04:00
John Spurlock
bc53cb41f4 Merge "QS: Fix detail flashing during transition." into lmp-dev 2014-08-01 18:14:18 +00:00
John Spurlock
8af525dd7d QS: Fix detail flashing during transition.
And modify the background a bit during the transition
to enhance the clip effect.

Change-Id: I2b4f4b18cb9c1b41efc2e6b38bc8f7d2a944511e
2014-08-02 10:56:05 -04:00
John Spurlock
494c590f94 QS: Update auto-rotation icon.
Bug:16739860
Change-Id: Id85beb935cbccbecf97a071f114b2eed3e5cc258
2014-08-02 09:24:26 -04:00
John Spurlock
d54da8a0c8 Doze: coordinate keyguard status bar visibility.
Play nice with recent NotificationPanelView changes that
also drive its visibility.

Bug: 15863249
Change-Id: I60021f415089d5508af7fe9ec792a2871a52910d
2014-08-03 23:32:46 -04:00
Wink Saville
6d13bc8e3b Turn off extra debugging
Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
2014-08-01 12:36:54 -07:00
Jason Monk
2daf62ce40 Don't show guest when user switcher is simple
Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
2014-08-01 18:37:01 +00:00
John Spurlock
2d28d6e1af Volume: Confirm unsafe media volume dialog on VOL_UP.
If the confirmation dialog is showing, consider a new
VOL_UP as a confirmation.

Bug:16540877
Change-Id: Ibdaa43ea423cc3b48d234bcaaa0c542178657b6c
2014-08-01 13:10:14 -04:00
John Spurlock
f7ae44258f QS: Back button closes detail (if showing)
Bug:16649931
Change-Id: I9748a0793e6a71d833f7c7f884c189e16cccb8f9
2014-08-01 12:45:18 -04:00
John Spurlock
c1d48a5b71 QS: New disabled icon states for wifi/cell tiles.
Bug:15988601
Change-Id: I82c1b0f80277a6529e8648708199c45c5226b81f
2014-08-01 12:12:32 -04:00
John Spurlock
41fef15495 QS: Fix datatype overlays.
- And simplify demo mode wiring.

Bug:15988601
Change-Id: I6827b87700cd88394b115e5e1609520b3afa8660
2014-08-01 11:26:44 -04:00
Winson Chung
19fc117c2f Unregistering receiver in onStart/Stop vs onCreate/Destroy. (Bug 16513124)
Change-Id: I11ccc3cea41311d74811dc19e6950da3bbddbfe2
2014-08-01 14:40:58 +00:00
John Spurlock
be0f59ea65 QS: Update traffic indicator icons.
- New vectors, remove obsolete pngs.
- New datatype overlays that better handle RTL.

Bug:15988601
Change-Id: I39499f1289a7f4f8381d00653389ffedf9c33552
2014-08-01 10:31:01 -04:00
Jorim Jaggi
8b73006a36 Clean up speedbump handling when going to SHADE_LOCKED
Bug: 16291973
Change-Id: Ibaa127709ff7a1a001402bd958016998e2bd23bf
2014-08-01 13:15:28 +00:00
Jorim Jaggi
6ff837a95b Animate clock when going to SHADE_LOCKED or SHADE
Bug: 16291973
Change-Id: Idf2fa7bd26800be4df38d99993533069120e7075
2014-08-01 13:14:58 +00:00
Jorim Jaggi
60d07c597c Implement timings for go-to-full-shade transition.
Change-Id: Ib7c0f65b7e2565a6c30b9962e9f81547537b408a
2014-08-01 13:12:30 +00:00
Christoph Studer
a0506e72f5 SysUI: Fix notification leak
Fix bug where we kept a reference to the old Notification when
we re-use notification entries on updates.

Bug: 16513124
Change-Id: I066ff7447952516e27e122df57d4e6e67ee1cea3
2014-08-01 13:02:05 +00:00
Chris Wren
f63185e7bd Optimize large preview from the screenshot notification.
Crop out a notification_panel_width by notification_max_height
section of the screenshot for the preview.

This will only save about 25% of the bytes on a phone-like device over
the existing square crop, but on a tablet-like device the savings will be
more significant: above 75%.

Bug: 16631778
Change-Id: I05d4d402e44f7700f17b8b97018f6c00c3b0196d
2014-08-01 09:56:51 +00:00
Chris Wren
396c07932d add event logs to track heads up status.
Bug: 16344259
Change-Id: Ib06c2473e6af7999b27723428a1182170129fdcd
2014-08-01 08:40:59 +00:00
Winson Chung
012ef36a6c Updating the stack layout to use a parameterized curve.
- Fixing issue with search box not being layered on top of the task stack view (Bug 16643875)
- Fixing issue with there being no animation when dismissing recents while the stack is scrolling.

Change-Id: I990f3c527de655d62fbf8a4539dcbaed3ed422c8
2014-08-01 04:32:08 +00:00
John Spurlock
b3eb89190c New wifi + radio icons.
- Replace old pngs with new vectors.
 - New problem indication, remove provisional color filters.
 - Remove spacing hacks in SignalClusterView.
 - Wire up QS tile icons to demo mode.

Bug:15988601
Change-Id: Ib785288eebfb09896a499d562eb56debbd89a456
2014-07-31 17:13:10 -04:00
Jorim Jaggi
9d8ca0f010 Fix a few StatusBarHeaderView regressions
Change-Id: Iae1af96f80caf4978c5a6ec6ef81b83543e9fe0e
2014-07-31 15:24:43 +00:00
Christoph Studer
70d26c2d9c Merge "SysUI: Respect "no notifs on lockscreen" setting" into lmp-dev 2014-07-25 23:00:08 +00:00
Christoph Studer
1529e019e1 SysUI: Respect "no notifs on lockscreen" setting
Setting the stack scroller to INVISIBLE didn't work. Now we just consider
all notifs as "not visible on lockscreen" instead.

Bug: 16650758
Change-Id: I4259c6ec2f663fc988377b8d5a259d6a0f827178
2014-07-31 16:42:16 +02:00
Jorim Jaggi
61d37f6d1c Implement nice QS expansion transition in Keyguard
Bug: 16010455
Bug: 15192264
Change-Id: I764652e73ea8e87ad12b9241e038bff843a0a221
2014-07-31 13:48:43 +00:00
Jorim Jaggi
4538027ded Factor out keyguard components of StatusBarHeaderView
Make the header on keyguard a separate view, and move all Keyguard
components from StatusBarHeader into KeyguardHeaderView.

Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
2014-07-31 15:02:59 +02:00
Christoph Studer
f660edb25a Merge "SysUI: Display group children when no summary is present" into lmp-dev 2014-07-25 23:01:28 +00:00
Christoph Studer
c8db24bc32 SysUI: Display group children when no summary is present
Also move common notification filtering into NotificationData
such that clients won't have to do it themselves anymore.

Probably also fixes a couple of multi-user issues.

Bug: 16302692
Bug: 16224431
Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
2014-07-30 21:43:17 +02:00
Geoff Mendal
f62af27846 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-30 16:17:51 +00:00
Geoff Mendal
aa31e475d2 Import translations. DO NOT MERGE
Change-Id: Iac3087ace0ea7c351d1606f37000bfa134249184
Auto-generated-cl: translation import
2014-07-30 12:36:23 -07:00
Chris Wren
65d630bad3 Merge "Add a log and statistics for notification expansion." into lmp-dev 2014-07-24 15:36:05 +00:00
Chris Wren
78403d7973 Add a log and statistics for notification expansion.
Bug: 16618854
Change-Id: I501f396fa495e1e55a27d7d0b65aac66495418c1
2014-07-30 14:47:13 +00:00
PauloftheWest
64fe15846c Fixed a bug where Bluetooth was turned on with the drop-down in quick settings.
Bug: 16547579

Change-Id: I3326aa1f4076d46dc0f8f87f14b44f097e684105
2014-07-30 15:08:10 +00:00
Jorim Jaggi
90e0df291f Implement nice header transition when opening QS
Bug: 15192264
Change-Id: Id7d67d6067882982e2ca195e257dfa1b73db2cf6
2014-07-30 15:05:00 +00:00
Adrian Roos
7861c663fd Add setManagingTrust and expose it on lockscreen
Adds a facility for trust agents to indicate if they
are ready to manage trust. Also adds an indication to
the lock icon on the lockscreen to show whether trust is
being managed.

Bug: 15518469
Bug: 16123013

Change-Id: Ie17f588aebeafe66c81dea4a69c733b0d2c72fd4
2014-07-30 12:33:33 +00:00
Christoph Studer
22f2ee567d SysUI: Reset background treatment when re-using Entries
Bug: 16220667
Change-Id: I8fd2770fa5ea554728eb8cd70ce4a6171e28ece5
2014-07-30 11:40:24 +00:00
Guang Zhu
2649f6b22a disable flashlight for monkey tests
Change-Id: I81f459d41a780712f4c02e7ac7c0b51312e404be
2014-07-30 00:52:58 -07:00
Jorim Jaggi
5ad92c5278 Optimize alpha handling for stack scroller
Use a layer when an alpha is set. Currently, this breaks shadows
when alpha != 1f, however, b/15860114 will fix this.

Change-Id: I094d5896a5433ba9a0ecc17549ef2944f6b7881e
2014-07-29 22:07:21 +00:00
Jorim Jaggi
c503896a4d Fix crash in ExpandHelper
Bug: 16645584
Change-Id: Ifbcd8c88cda0a390061c162aa43d8615d1311f19
2014-07-29 18:06:55 +00:00
Christoph Studer
4600f9b607 Strip RemoteViews from Notifications, re-create them in SysUI
Bug: 16329721
Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
2014-07-30 20:17:12 +02:00
Winson Chung
b1b191ad66 Merge "Updating lock-to-app look." into lmp-dev 2014-07-25 21:16:23 +00:00
Winson Chung
2915b9d148 Updating lock-to-app look.
- Adding seek bars for tweaking values when in debug mode

Change-Id: I92ae7b431ee170f5d8b31f34349d51a6b7f9ddef
2014-07-28 22:26:36 +00:00
Baligh Uddin
df84404d58 Import translations. DO NOT MERGE
Change-Id: I1fcd1e840d7fbcc47d41e1dc997b685b6c4b9205
Auto-generated-cl: translation import
2014-07-28 23:12:31 +00:00