Commit Graph

921 Commits

Author SHA1 Message Date
Beverly
fafea6ab91 DO NOT MERGE Backporting potential usb tapjacking precaution.
Bug: 62187985
Test: manual, backport
Change-Id: Ic7a81cf130fc70bc18f6990a662e921eb0d22635
2017-09-12 15:01:07 +00:00
Michael Wright
57a5cba606 Merge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev 2015-10-20 15:31:01 +00:00
Adrian Roos
3bab515b19 Reload content description of KeyButtonView
Reload the content description whenever the
configuration changes.

Bug: 24977838
Change-Id: I875f0d83976b7d007a9bb2e56b28ff8fb6365a38
2015-10-16 23:53:12 +00:00
Adrian Roos
f142cac734 Show charging speed in all locales
Bug: 24167496
Change-Id: I3e883eeca002e86d4df30c2b238e18bd63bbddea
2015-10-13 21:54:36 +00:00
Michael Wright
9209c9cd9a Add SystemUI component to watch for keyboard attachment.
Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
2015-10-12 15:21:37 +01:00
Selim Cinek
714a61cd58 Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev 2015-10-06 01:59:50 +00:00
Selim Cinek
01db67d9f7 Ambient display now comes up immediately when a notification comes in
Previously there was always a 1s delay which could even become a 5-8s
delay if the Alarm was not delivered in time.

Bug: 24355754
Change-Id: I1625c69719eee81403a1fcce1358d4d6c9fcf3e9
2015-09-29 11:59:29 -07:00
Adrian Roos
7e39e59f37 Show charging speed when time to full is available
Only shows if translation is available, follow-up
I3e883eeca002e86d4df30c2b238e18bd63bbddea to show in
all locales.

Bug: 24167496
Change-Id: I667cde69e5d5f8aec8ac9fd105bbfb7e118ced64
2015-09-25 15:22:32 -07:00
Jorim Jaggi
83eb6bb5d8 Improve motion for wake-and-unlocking while pulsing
- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
2015-08-18 17:57:10 -07:00
Daniel Sandler
64b05c0fd4 am 9f238a94: Merge "Introducing M Land." into mnc-dev
* commit '9f238a9455639fccb6f44abd03752e3bb3bbc91e':
  Introducing M Land.
2015-08-16 01:33:37 +00:00
Dan Sandler
8df3cfe6b8 Introducing M Land.
The "M" is for Multiplayer.

Bug: 21984798
Change-Id: Id752b8efe54ff0ac38854a129188027137d64dd5
2015-08-14 15:51:13 -04:00
Jorim Jaggi
50ff3afb01 Start pulse fading exactly when screen is turned on
Bug: 23163299
Change-Id: I0f6d5dbfa02e455292e06a4f8f69ab68e9da2b6b
2015-08-14 18:47:59 +00:00
Selim Cinek
0fccc729fd The heads up now correctly dissapears when clicking
Bug: 22729955
Change-Id: I977b36823bf936baab527f932b1e5576241f4d71
2015-07-30 23:05:42 +00:00
Jorim Jaggi
0d210f6395 Animation for touch, wake and unlock
- Add callback to inform SysUI when the screen has been unblocked
and turned on.
- Cleanup inconsistent messaging about device interactive/screen on
and off.
- Add callbacks to inform SysUI about screen states
- Implement a quick fade for the scrim after touch, wake, and unlock.
  First, start with a black scrim on top of everything, and then fade
  it out.
- Make sure we play the normal unlock animation when device is pulsing
- Override navigation bar animations for touch, wake and unlock: Fade
  in the same manner as the scrim.

Bug: 22571198
Bug: 21855614
Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
2015-07-28 23:02:54 +00:00
Jason Monk
431ad737a4 Move tuner enable point to QS
Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner.  On first
opening there will be a warning dialog.

Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings.  All tuner
settings are reset when disabled to match developer settings
behavior.

Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab
2015-07-22 14:40:53 -04:00
Jorim Jaggi
29cf9aea54 Adjust fingerprint icon placement to spec
Bug: 22502068
Change-Id: I12952cb1ea43f365d5a63ec2636a5d60a981b93f
2015-07-18 00:53:12 +00:00
Jorim Jaggi
eea8be5338 Adjust assist disclosure stroke width to spec
Bug: 21568059
Change-Id: Ib1ddb8890715b98d36ed5827f053970a9d4a7173
2015-07-15 21:09:47 +00:00
Jason Monk
f05ca67ce4 Move wifi accessibility strings to SettingsLib
Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
2015-07-14 13:32:33 -04:00
Jorim Jaggi
7e6571f13d Use long press of KeyButtonView to invoke assist
This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8
2015-06-25 22:39:21 +00:00
John Spurlock
22def3d4eb Volume Motion: Initial show and expand transition.
Also re-enable the content collapse layout transition animations,
supported by ensuring the dialog window is tall enough for long
enough to complete the transition, avoiding clipping.

Bug: 21335976
Change-Id: Ibc4cbb1e882c1e11c4406463752afa177fb1e6d7
2015-06-24 14:04:18 -04:00
John Spurlock
3953b5a1f9 Merge "Zen: Tweak total silence new user message for non-voice devices." into mnc-dev 2015-06-21 14:52:50 +00:00
John Spurlock
cbd7a31a44 Zen: Tweak total silence new user message for non-voice devices.
Bug: 21953388
Change-Id: I395af64b175b22fc58d80529cdbb12ebd9e00115
2015-06-21 10:46:28 -04:00
Selim Cinek
c99d9a9564 Fixed content description of the lock icon when fingerprint is on
Also surfacing Fingerprint Errors now with a message.

Bug: 21565811
Change-Id: I3bba66303c08313dbca1df5ef2f20b251f541bc1
2015-06-20 03:23:57 +00:00
Adrian Roos
4f43dc042b Assist disclosure
Add an animation that discloses delivery
of contextual data to the assist component.

Also fixes a bug where contextual data was
delivered to legacy assist activities even
though the user explicitly disabled context.

Bug: 21568059
Change-Id: I27dfaa36e2f677b0d73acfa4730f0f4ea3486919
2015-06-19 11:33:05 -07:00
Kenny Guy
63bf8acb2a Use closer to standard toast for work profile toast.
Revert back to using a standard system toast
for the toast shown when user unlocks to a
work activity.
Include the work status icon in the toast.

Bug: 21325183
Bug: 21896447
Change-Id: I691417a4ecac36983f391ee722f59e2b467affc1
2015-06-19 15:34:02 +01:00
Jason Monk
caceba8b9f Allow QS detail items to get bigger when text is large
Bug: 19795867
Change-Id: I0fd927c63a363dcfcbb6a99fa9c1dac5c7019d60
2015-06-16 16:15:49 -04:00
John Spurlock
c97010c088 QS icon sizes should be 24dp.
Not 28dp.

Bug: 21118976
Change-Id: I9cc326d1333d85b783b85e3238a2a506bf3b55c0
2015-06-15 15:45:38 -04:00
Andrew Flynn
0f27a3f0d7 SysUI: Status bar ImageViews
- Switch AlphaOptimizedImageView to have the boolean hasOverLappingRendering()
  return be a custom value. This allows us to have AnimatedImageView extend
  AlphaOptimizedImageView and support both types of ImageViews w/o having to
  create 2x subclasses.
- Add drawable ID tracking to AnimatedImageView so that we don't interrupt
  animations with an update of the exact same drawable.
- Switch mobile signal icon to use AnimatedImageView so that animations aren't
  interrupted.

Bug: 21504588
Change-Id: Ic2275f1bf607449c191ae0d08bc7756c7d694bc1
2015-06-12 09:56:56 -04:00
Adrian Roos
1b5eb97ae6 Accessibility improvements
- label the "no sims" icon
- label the "managed profile" icon

Bug: 21165217
Change-Id: I3e809d1a857eea12b613f09ae5265e785d372ec3
2015-06-12 01:37:47 +00:00
Kenny Guy
fd9a2dafdc Merge "New look and feel for managed profile toast" into mnc-dev 2015-06-11 11:06:56 +00:00
Jorim Jaggi
9ff1510aeb Fix vibration when expanding notifications
To make it more consistent with other vibration feedback in the
system.

Bug: 21549323
Change-Id: Ia4ef1cf17c28f6069635797af94991a639e1cef0
2015-06-10 23:17:32 +00:00
Fyodor Kupolov
50baf43eeb Merge "Changed guest_notification_text string" into mnc-dev 2015-06-10 22:34:53 +00:00
Fyodor Kupolov
7b4ce6af02 Changed guest_notification_text string
Bug: 21758946
Change-Id: Id435a660edc92a01384587fec9ef4efc6552c5fa
2015-06-10 15:33:40 -07:00
John Spurlock
5b1548b6b4 Merge "Zen a11y: Add a blurb re: screen readers to total silence." into mnc-dev 2015-06-10 21:33:56 +00:00
John Spurlock
bd1abe631c Zen a11y: Add a blurb re: screen readers to total silence.
Bug: 21640568
Change-Id: Ia1278844270d157f8bd9f0e853e4e7296e025aef
2015-06-10 17:18:38 -04:00
John Spurlock
ef70f8e426 Merge "Volume: Show row headers for cast streams." into mnc-dev 2015-06-10 17:24:13 +00:00
Kenny Guy
540f7d2fb9 New look and feel for managed profile toast
Change the toast shown when unlocking with
a work app in the foreground from normal toast
to rectangle with work icon in it.

Bug: 21325183
Change-Id: Id41d33eb83d7825d16298dc1da18d3b9ed7e3fc1
2015-06-10 18:10:34 +01:00
John Spurlock
0265657d7f Volume: Show row headers for cast streams.
Change-Id: Icbdc336ee7fd53494eab4b5c54c693504b816b29
2015-06-10 09:34:32 -04:00
Adrian Roos
5b7793cacf Merge "Expand scrim all the way to the right" into mnc-dev 2015-06-10 01:29:56 +00:00
Adrian Roos
2f2bd9a8f8 Expand scrim all the way to the right
Fixes a bug where the scrim would not cover
the area occupied by the nav bar which looks weird
when the nav bar is hidden.

Bug: 19582019
Change-Id: I7d96ca46a41ec764984be5fe42d225cb94f53497
2015-06-10 01:29:12 +00:00
Adrian Roos
ffc9097d10 Add content description to keyguard user avatar
Bug: 20535812
Change-Id: I32ff0878c2332681ebd848c9da6e2dc42363b9be
2015-06-09 18:09:49 -07:00
Jason Monk
08187a4b26 Add hotspot accessibility description
Bug: 20811452
Change-Id: I8de71b1734d37f6154bc59e59ce17adc0cd6f5f3
2015-06-09 15:59:25 -04:00
Jason Monk
33e737bbd1 Merge "QS: Accessibility announce entering/exiting detail" into mnc-dev 2015-06-09 18:41:14 +00:00
Jason Monk
17b70a503d QS: Accessibility announce entering/exiting detail
Bug: 19327327
Change-Id: I97c1daaa71361fca0b3b29614eb14a4a4199ae7a
2015-06-09 18:12:30 +00:00
Sudheer Shanka
5b1a21a385 Update some strings.
Bug: 20518822
Change-Id: I22ed55cf44575a484f727965e2f8f6095f7f2be0
2015-06-09 14:19:07 +01:00
Sudheer Shanka
3c300f0d77 Merge "Update AfW related strings." into mnc-dev 2015-06-09 11:26:55 +00:00
Sudheer Shanka
427422d822 Update AfW related strings.
Bug: 20518822
Change-Id: I83304a44457c3942b2def6fc4f2c9a369f61d232
2015-06-09 12:13:23 +01:00
Jason Monk
16ada3df30 Add demo mode to tuner
Allows turning on/off and setting to specific mode for screen shots.

Change-Id: Iee95aff17189dea7a77c493e9b396b9f21052ee8
2015-06-08 10:08:06 -04:00
Jason Monk
44fdcf2642 Merge "Update no wifi networks string" into mnc-dev 2015-06-05 14:22:16 +00:00
Jason Monk
e12485fdc5 Update no wifi networks string
Bug: 21530009
Change-Id: I910b2c062252c69f71e29744f6029c6e2557947d
2015-06-05 10:15:02 -04:00