3689 Commits

Author SHA1 Message Date
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
Geoff Mendal
3986360a75 Import translations. DO NOT MERGE
Change-Id: Ic4e540e08175014515a7556425c751de60955005
Auto-generated-cl: translation import
2015-07-29 10:57:52 -07: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
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
Jorim Jaggi
29cf9aea54 Adjust fingerprint icon placement to spec
Bug: 22502068
Change-Id: I12952cb1ea43f365d5a63ec2636a5d60a981b93f
2015-07-18 00:53:12 +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
84f8a09693 Merge "Make "dismiss all" button keyboard accessible." into mnc-dev 2015-07-16 00:29:35 +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
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
Geoff Mendal
57d8be8bc0 Import translations. DO NOT MERGE
Change-Id: Ic93e9b866c3f933bab929f480a6b8098e585ed9c
Auto-generated-cl: translation import
2015-07-15 06:42:54 -07:00
Jason Monk
f05ca67ce4 Move wifi accessibility strings to SettingsLib
Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
2015-07-14 13:32:33 -04:00
Geoff Mendal
d64ba82e89 Import translations. DO NOT MERGE
Change-Id: I69aef7f3e9d819732675c4103553a6afe4b062b3
Auto-generated-cl: translation import
2015-07-11 06:47:43 -07:00
Geoff Mendal
ec135f6ac5 Import translations. DO NOT MERGE
Change-Id: I5480292e44e527d094f57361680708eba4aef6d8
Auto-generated-cl: translation import
2015-07-08 06:54:50 -07:00
Geoff Mendal
b7b84d012b Import translations. DO NOT MERGE
Change-Id: I16a0ddf1bed80ef9b985cca96eec87e48d342982
Auto-generated-cl: translation import
2015-07-06 08:56:00 -05:00
Selim Cinek
f22e2e3998 Merge "Fixed accessibility order for quick settings" into mnc-dev 2015-07-01 22:03:34 +00:00
Geoff Mendal
e9eef64495 Import translations. DO NOT MERGE
Change-Id: I53dabfe326ba0f15b66ecac3829e6b8f55b33924
Auto-generated-cl: translation import
2015-07-01 08:50:39 -05: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
eb60c42df2 Merge "Volume: Mark inactive sliders as focusable." into mnc-dev 2015-06-30 14:22:23 +00: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
Geoff Mendal
3945defe60 Import translations. DO NOT MERGE
Change-Id: I0a27f1d72cdcad094a9651c223f14e3a928ea2c3
Auto-generated-cl: translation import
2015-06-29 08:52:39 -05: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
6b0f384f00 Merge "Volume Motion: Initial show and expand transition." into mnc-dev 2015-06-24 18:47:08 +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
Geoff Mendal
e042f952b3 Import translations. DO NOT MERGE
Change-Id: I23e3d5c71af8db285d657cf5dafbebc5c4bbad6b
Auto-generated-cl: translation import
2015-06-24 08:58:21 -05:00
Geoff Mendal
372a9a2a93 Import translations. DO NOT MERGE
Change-Id: I2ad73428a2295cfc3824de5837ab2f927fd5d626
Auto-generated-cl: translation import
2015-06-22 08:59:17 -05: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
c6d3e0e11d Tweak assist disclosure animation
Bug: 21568059
Change-Id: I81666bed4d4ae3eb1998cfdcc652921bafeae7f2
2015-06-19 16:48:04 -07: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
Geoff Mendal
641234c172 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-17 13:58:40 +00:00
Geoff Mendal
977fdc8e1c Import translations. DO NOT MERGE
Change-Id: If7f177f95be4ab365cf62a8dc080373a7ae0e27b
Auto-generated-cl: translation import
2015-06-17 08:58:03 -05: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
23a6262fe9 Merge "QS: Add disable animations for the DND tile." into mnc-dev 2015-06-15 21:03:55 +00:00
John Spurlock
036e7cbbfa QS: Add disable animations for the DND tile.
Elide the disabled -> enabled anim, since we launch
the detail panel instead.

Bug: 21118976
Change-Id: I392f848641190f114b7838515acb13f22c96e37d
2015-06-15 16:33:44 -04:00
John Spurlock
ab051ef805 Merge "QS icon sizes should be 24dp." into mnc-dev 2015-06-15 20:14:49 +00: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
Geoff Mendal
1649b7895b Import translations. DO NOT MERGE
Change-Id: I2b7fd1100aca78ce28f084bcf94637ba1975b21e
Auto-generated-cl: translation import
2015-06-15 08:51:34 -05: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