919 Commits

Author SHA1 Message Date
Jorim Jaggi
e1d440be81 am 7580672f: am ce58fa95: am fed9b281: am 353fe1c6: am 0d210f63: Animation for touch, wake and unlock
* commit '7580672fa8455dccc78806dcd878a5e191a62a45':
  Animation for touch, wake and unlock
2015-07-29 00:49:19 +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
Xiaohui Chen
7ce4ed1601 Merge "Make logout notification string shorter" 2015-07-28 16:33:02 +00:00
Vadim Tryshev
c5f860cea0 Storing and using user id for pinned shelf apps.
We need this to differentiate between starting apps for the primary and
managed users.

This in particular solves the issue when apps were executed as Owner
while we are in Guest account (see the bug).

Valid user ids for a shelf app are either primary or a managed (work)
user for the profile.
Launcher allows mixing apps for for primary and the managed users on
its home screen. Apps for the managed user are marked with a suitcase
badge.

Launcher includes a user id in the drag and drop info that it sends to
SystemUI, as “profile” extra added to the intent.

Shelf now stores this user id and uses it to start apps.

Bug: 22609426
Change-Id: Id4c6c1ac8617a83f4484f78db578955699d1a888
2015-07-28 07:34:32 -07:00
Xiaohui Chen
d876ad7ba2 Make logout notification string shorter
Bug: 22733436
Change-Id: I0eb144864075bb33a472b856574ddf947cf57a80
2015-07-27 16:45:55 -07:00
Xiaohui Chen
860397f652 sys user split: add user logout
Adding a user logout option as a pending notification. Similar to the
guest user remove notification.  This allows the end user to return
to system user "login" screen.

Bug: 19913735
Change-Id: I72c49c12e9c8acef92be2353008468acb3d7a795
2015-07-24 14:13:36 -07:00
Jason Monk
180dff0bae am bb8b0368: am dea13a96: am c063146f: am 72548325: am 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev
* commit 'bb8b0368c5b4ddf5cbf3cb5c0c9bbe9027bc617b':
  Add metrics to tuner
  Move tuner enable point to QS
2015-07-24 05:10:01 +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
cb94ee56a0 am c1025270: am 9b12e6e8: am 17a838e5: am 9029ae2b: am 29cf9aea: Adjust fingerprint icon placement to spec
* commit 'c10252707ec194d605ed6437041b64d7d27dc7b0':
  Adjust fingerprint icon placement to spec
2015-07-18 02:02:18 +00: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
11840e8b91 am dd441eaa: am aa90ab55: am deb9aa8c: am 7be40aaa: am eea8be53: Adjust assist disclosure stroke width to spec
* commit 'dd441eaacabd26e1b6438ee666a273f0c2b07c1f':
  Adjust assist disclosure stroke width to spec
2015-07-15 23:31:02 +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
Xiaohui Chen
05d58afddb sys user split: fix usb debugging notice
BUG:19913735
Change-Id: Iefdf8a12f1622650bb0d61e7ffb73040e4b8d498
2015-07-14 21:43:42 +00:00
Jason Monk
eb98f2d15d am 5e362660: am 4345912d: am b9b50eff: am a7542155: am 2061049d: Merge "Move wifi accessibility strings to SettingsLib" into mnc-dev
* commit '5e362660e6e499672b500f3360dd851a65206200':
  Move wifi accessibility strings to SettingsLib
2015-07-14 21:20:08 +00:00
Jason Monk
f05ca67ce4 Move wifi accessibility strings to SettingsLib
Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
2015-07-14 13:32:33 -04:00
James Cook
ed5b3e2cad Move shelf config setting into SystemUI
It doesn't need to be visible to the rest of the framework.

Also add a system setting so adb can override the default before for demos:
adb shell settings put system demo_app_shelf 0  # Zero forces it off.
adb shell settings put system demo_app_shelf 1  # Non-zero forces it on.

Bug: 22332617
Change-Id: I75b228a24b307447a7e6df11ba0d024b88759beb
2015-07-10 13:39:39 -07: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
Selim Cinek
dfa2f73602 Removed the arrow from the hint animation
Bug: 21513932
Change-Id: I741343c91a4c92d7f53cb673f60a57e733156521
2015-06-04 16:23:53 +00:00
Selim Cinek
6ef21fa1c2 Merge "Increased the touch target size for the keyboard affordances" into mnc-dev 2015-06-04 13:48:34 +00:00