668 Commits

Author SHA1 Message Date
Dan Sandler
8df3cfe6b8 Introducing M Land.
The "M" is for Multiplayer.

Bug: 21984798
Change-Id: Id752b8efe54ff0ac38854a129188027137d64dd5
2015-08-14 15:51:13 -04:00
Jason Monk
beb3185f01 Merge "Fix touch target for settings icon" into mnc-dev 2015-07-30 00:32:17 +00:00
Dan Sandler
25ffc7ad95 Accessibility: Read the time correctly in quick settings.
The problem is that, for 12-hour locales, we cut the "a"
part of the time format out to show it in a separate
TextView so it can be animated independently of the actual
time. Unfortunately, while TTS is smart enough to pronounce
"1:15 AM" as /wʌn fɪftin eɪ ɛm/, "AM" on its own looks like
the English word "am" and is pronounced /æm/.

To fix this, a TextClock must be able to accept separate
formats for its content description than its presentation.
With this capability we can place the complete 12-hour time
format (including am/pm) in one of the views and suppress
the other one, so that the utterance creates an identical
experience to visual inspection: "1:15 AM" for all users.

Bug: 21718000
Change-Id: Ic9920d71ae4d4ad41ba86d7bd96f9a19b07e2108
2015-07-29 22:19:52 +00:00
Jason Monk
bd6f1c87a5 Fix touch target for settings icon
Bug: 22808656
Change-Id: I92b77b30bfeadc80d060dab67a51d5fcd96268af
2015-07-29 16:07:39 -04:00
Adrian Roos
f217064404 Merge "Fix cut off charging indication in certain scripts" into mnc-dev 2015-07-23 00:50:55 +00:00
Adrian Roos
0b923a2968 Fix cut off charging indication in certain scripts
Bug: 22620003
Change-Id: Ib9d8eb4bb0442db86c35374435086e04e71742d7
2015-07-22 12:17:54 -07: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
1f98c62f9a Fix unnecessary layer creation for appear animation
Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed
2015-07-20 23:39:46 +00:00
Julia Reynolds
6819b9a85c Remove focusablilty of the status bar.
This allows TTS readers to announce individual items in
the status bar separately.

Bug: 20536376
Change-Id: I88d9e2b72182814bf8906951b97871ddc697c5e0
2015-07-17 11:57:42 -04:00
Jun Mukai
8703e50d13 Merge "Allow selecting quick setting items by keyboard." into mnc-dev 2015-07-16 00:37:18 +00:00
Oren Blasberg
dbb850bfea Make "dismiss all" button keyboard accessible.
This allows users to hit Tab while in the notification pane and access
the Dismiss All icon, with a physical keyboard.

Bug: 22411158
Change-Id: I544bd3ccafcae210770317193099b26972d6a52b
(cherry picked from commit 10cb3105c79dd7de1f2cc9297b1d3b77598de8e3)
2015-07-15 19:16:27 +00:00
Jun Mukai
410ed3a4af Allow selecting quick setting items by keyboard.
Bug: 22460275
Change-Id: Ib27456d12c9284edfdc27d010782840765728853
(cherry picked from commit 0f939fecdf9cc385a6e9472deb1cb38431995b59)
2015-07-15 17:02:53 +00:00
Selim Cinek
f22e2e3998 Merge "Fixed accessibility order for quick settings" into mnc-dev 2015-07-01 22:03:34 +00:00
Selim Cinek
4949c75f1e Fixed accessibility order for quick settings
Bug: 20535538
Change-Id: I4e464c54158eb575208f6361af295ae702b19b21
2015-06-30 19:38:26 -07:00
John Spurlock
c0892c6bd6 Volume: Mark inactive sliders as focusable.
Enabled but inactive sliders ought to be focusable, just not
focused.

Bug: 22096089
Change-Id: I95cdfc1b1258ca0e4562761031f4ee59bd35e7e3
2015-06-30 10:17:37 -04: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
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
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
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
Dan Sandler
31ae9936a6 Merge "A11y: Annotate the QS brightness slider properly." into mnc-dev 2015-06-11 14:55:02 +00:00
Dan Sandler
187fe17bba A11y: Annotate the QS brightness slider properly.
Instead of just clobbering SeekBar's awesome feedback with
"Display brightness" right on the slider, we move that
string up to the parent and set it as the slider's label.

The new utterance will be: "<standard seekbar feedback> for
<label>", which in this case comes out as:

"Seek control, fifteen percent, for display brightness."

Bug: 20343730
Change-Id: I1223b3b07b6bf67ee3df22094ec5976b5188d968
2015-06-11 10:49:28 -04:00
Kenny Guy
fd9a2dafdc Merge "New look and feel for managed profile toast" into mnc-dev 2015-06-11 11:06:56 +00:00
Adrian Roos
76430b4222 Merge changes from topic 'sup-a11y' into mnc-dev
* changes:
  Make keyguard indication an a11y live view
  Hide keyguard status view from a11y when QS expanded
  Hide keyguard bottom area from a11y when alpha is zero
  Remove unusable a11y focusable area from pattern unlock
  Hide StatusBarWindowView from a11y when bouncer is up
2015-06-10 21:52:38 +00:00
Adrian Roos
aa619a62f6 Make keyguard indication an a11y live view
Bug: 21635944
Change-Id: I17eac538a23da579215bbfe7d1ff6cacd3b3a2c6
2015-06-10 14:07:31 -07:00
Dan Sandler
37d1d6d0a3 Merge "Announce navbar buttons when lights-out." into mnc-dev 2015-06-10 18:20:56 +00:00
Dan Sandler
e36280e325 Announce navbar buttons when lights-out.
Bug: 18821091
Change-Id: I03f749642aa1d080317f4cc57340e2ec931e9d56
2015-06-10 14:06:26 -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
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
John Spurlock
d896323eab QS: Handle font-size changes immediately in ZenModePanel.
And make sure the condition row is tall enough to accomodate
huge text.

Bug: 20346315
Change-Id: I9346f80edd7f0069d6363fe5377b36b0bf5aca62
2015-06-08 16:26:12 -04:00
Jorim Jaggi
752896648e Merge "Speed up recents -> app" into mnc-dev 2015-06-04 22:30:27 +00:00
Vadim Tryshev
c1a6c658ae Processing non-long clicks on application icon.
This CL alone doens't fix the whole bug, see the bug
for the AI list.

In normal mode, clicking at application icon on a task view
is ignored to avoid accidental clicks. To open app properties,
we need a long click.

In accessibility mode, we want to make it easier to open app
properties, and accidental clicks are less likely. Hence, allowing
"simple" clicks.

Bug: 20945599
Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2
2015-06-04 13:26:53 -07:00
Jorim Jaggi
88f3db9e21 Speed up recents -> app
Because we created a bunch of layers, this delayed calling start
activity in the window manager. Disable these layers, as they are
not really needed.

Change-Id: I59343a92726665f72215a0699c52ead76e78a4b3
2015-06-04 11:22:37 -07:00
John Spurlock
b9f2b4ec11 Merge "Volume: Ripple tweaking on zen mode condition rows." into mnc-dev 2015-06-03 16:01:00 +00:00
John Spurlock
9ec8f0607e Volume: Ripple tweaking on zen mode condition rows.
Bug: 21335622
Change-Id: Ifcd7e5a3c14625e0442dcdb23b9b27a01545953c
2015-06-03 11:56:08 -04:00
John Spurlock
023544f762 Volume footer uglification.
- Move "End now" button to its own line, below the condition lines.
 - Add the feature name "Do Not Disturb" to the condition summary
   for the indef condition.
 - Fix found RTL issues with the footer.

Bug: 21171893
Change-Id: Ia12fe57d46a5547beec82cf76e175982bfa3fd6c
2015-06-02 17:56:28 -04:00
John Spurlock
8be53eaaf7 Zen: Add warning text if total silence will eat the next alarm.
Bug: 21359239
Change-Id: I8a69738e6488f40f24eed622529c913b6c3865a0
2015-05-29 12:18:34 -04:00
Adrian Roos
47cfee9d03 Fix initial keyguard user switcher state
Bug: 18411080
Change-Id: I506968ee6101069361d83f7ef386802f5856a68e
2015-05-26 01:10:37 +00:00
John Spurlock
814ee6ab8b DND: Fix locale and rtl issues in QS detail panel.
Bug: 21206470
Change-Id: Id84a36bf60b56ebacdf4098d0229e8fcd66aec56
2015-05-18 11:16:38 -04:00
Jorim Jaggi
979936920e Fix brightness mirror positioning.
Bug: 20884993
Change-Id: Iba75c2dd7aca9b7ac446cb6a278085af4e150b95
2015-05-14 23:13:28 +00:00
Jason Monk
7853e137ed Merge "Add QS Tuner" into mnc-dev 2015-05-14 01:02:13 +00:00
Jason Monk
11a77446c5 Add QS Tuner
Change-Id: I908d0161b7209b8e99299f5cb3eb58f3d7b52752
2015-05-13 20:59:23 -04:00
John Spurlock
f748c4d6c2 Volume: Update divider color to match qs tile divider color.
Bug: 21120949
Change-Id: I35ad4f1badbb109e49d5d5b452e3e11b641d7e14
2015-05-13 16:35:25 -04:00
John Spurlock
4ec8b60295 Zen: Distinct icon for DND = total silence.
Bug: 21032320
Change-Id: I0c7b8564c38b420081ee60ee244058b8039febf7
2015-05-11 17:49:36 -04:00
John Spurlock
77bb25af3d Volume: Separate tint colors for active vs inactive sliders.
Bug: 20889746
Change-Id: I98f6a0eab8f2db41ea7e1ba8e141752ef774de9e
2015-05-11 12:12:07 -04:00
John Spurlock
e71442521a Volume: Use teal color for "End now".
Bug: 20888718
Change-Id: I7f485dd5faa42ec7c2631c7bdeb3c03ddb46c530
2015-05-11 11:55:40 -04:00
John Spurlock
fbc1fdf88a Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
2015-05-08 18:19:44 -04:00