9741 Commits

Author SHA1 Message Date
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
d2fafdda57 Merge "Optimize large preview from the screenshot notification." into lmp-dev 2014-07-31 19:45:19 +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
Narayan Kamath
11bfc2261f Don't assume languages are 2 letter codes.
Also, note that this method never worked. Locale
settings were stored with underscores (like Locale.toString)
but matched against AssetManager.getLocales() which
returned language-tag like output.

bug: 10090157

(cherry picked from commit fd138cd81a689ff46e6ae90e46adcdc53f3c5442)

Change-Id: Ifc81ac902c297387dba8c40aba0656e18af57c86
2014-08-01 13:32:12 +01: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
Jeff Sharkey
a847d79310 Light icons for DocumentsUI.
In some cases we want to show light variants.  Also tweak drawer
sizes and grid padding.

Bug: 15836082
Change-Id: Ic6459ff0533a7d346c03db5d7deb3d6da42e7649
2014-07-30 00:35:57 +00:00
Jeff Sharkey
8a850b4c0e Latest DocumentsUI material asset drop.
Bug: 15836082
Change-Id: Ifdd8a42a963071f1c958d56b3f835228f257cf9a
2014-07-29 23:53:37 +00:00
Jeff Sharkey
f52773fd62 More DocumentsUI material iteration.
Move to using Toolbar for all actions.  Drawer contains its own
Toolbar with separate title, and hamburger is always visible.  Change
drawer items to match spec.  Switching to Toolbar allows us to remove
nasty dialog-on-tablet hacks, yay!  This also means we can finally
get real IME resizing support.

Move to using elevation for all shadows; this removes more nasty
hacks around drawing directory shadows.

Bug: 15836082
Change-Id: Iba70b898f385a7debd8aabfc98ff39d20bca860d
2014-07-29 23:19:45 +00: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
4579fd2d0c Merge "Strip RemoteViews from Notifications, re-create them in SysUI" into lmp-dev 2014-07-24 15:35:58 +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
Geoff Mendal
92725af936 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-30 16:17:51 +00:00
Geoff Mendal
6a85959838 Import translations. DO NOT MERGE
Change-Id: I548370fd62b7a26852d16ddbd22ef67ea6369080
Auto-generated-cl: translation import
2014-07-30 12:20:32 -07:00
Geoff Mendal
bead503b15 Import translations. DO NOT MERGE
Change-Id: Iec046e9a3d34bef3d8055f3eb00e243baf69c8fa
Auto-generated-cl: translation import
2014-07-30 10:40:00 -07:00
Jim Miller
604e7558ef Add new DevicePolicyManager API to allow fine-grained TrustAgent management
This adds a new feature that allows a device admin to specify a
whitelist of features that are allowed for the given admin.

Change-Id: I83f853318efbcf72308532d0a997374f73fa9c10
2014-07-28 21:32:01 -07: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
95c58ed763 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-24 15:37:54 +00:00
Baligh Uddin
c9c3a9c9db Import translations. DO NOT MERGE
Change-Id: I0495a69db49b3475537a3546bcb4d246b4dd018b
Auto-generated-cl: translation import
2014-07-28 23:12:12 +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