Commit Graph

408 Commits

Author SHA1 Message Date
Selim Cinek
ddf1b399d8 Fixed a few accessibility issues with notifications and groups
Change-Id: I78fa62884eaa0efe825b5eb1e6cac7d88fc05a7f
Fixes: 28069681
2016-05-27 17:04:56 -07:00
Daniel Sandler
4c40888673 Merge "Tap, don't touch." into nyc-dev 2016-04-25 19:21:46 +00:00
Dan Sandler
f4b596860d Tap, don't touch.
Part of global change from touch —> tap for certain screen
gestures.

Change-Id: Ifffee1336793e8304dc03da5c3d36a1fe8ba133f
Fixes: 26750003
2016-04-23 11:14:17 -04:00
TreeHugger Robot
eefff3742d Merge "Fix content description for notification icons" into nyc-dev 2016-04-23 01:45:02 +00:00
Adrian Roos
eba0582af1 Fix content description for notification icons
Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes: 27552350
2016-04-22 17:09:30 -07:00
Jason Monk
3e4a99c382 Add strings for quick settings accessibility
Bug: 15696340
Change-Id: Ie775c90c9fed8078f4db4bde5752a2f2d7f94f25
2016-04-22 14:11:04 -04:00
Julia Reynolds
2feab1644b Announce when volume controls appear and disappear.
Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f
2016-04-21 15:00:45 -04:00
TreeHugger Robot
206748d10e Merge "A11y: Fix battery icon and clock descriptions" into nyc-dev 2016-04-21 00:25:16 +00:00
Adrian Roos
70dcf8392c A11y: Fix battery icon and clock descriptions
Now announces charging state on the battery icon
and AM/PM on the clock.

Change-Id: Ib8d249e60b555834e5e224287ea332178ce7c165
Fixes: 27552350
2016-04-20 15:51:59 -07:00
Jason Monk
427aa24be2 Daydream -> screen saver
Change-Id: I604530a721797e6d4b28df3782303a79fabcdac7
Fixes: 28268243
2016-04-20 13:44:05 -04:00
Winson
ce9630da86 Tweaking accessibility actions for dock divider.
- Adding tl_full/70%/50%/30%/rb_full

Bug: 27724715
Change-Id: Ie3125ec81e6463696cf56640c6b86f9cfcbda945
2016-04-19 14:46:24 -07:00
Winson
99ef458ff1 Adding hint text for drop targets.
Bug: 28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
2016-04-18 18:20:43 -07:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Jason Monk
2977ba2cd7 QS: Add content description to page indicator
Change-Id: I4e9bdfe803d681484eb4c8915c44e37be40d8aa2
Fixes: 27325720
2016-04-13 13:01:14 -04:00
Winson Chung
87c343cddc Merge "Updating visuals for incompatible apps." into nyc-dev 2016-04-12 01:51:06 +00:00
Winson
9b001396c2 Updating visuals for incompatible apps.
Bug: 26774190
Change-Id: I688d5dbab0305e794cad832ae92a8e5c9440737a
2016-04-11 18:48:49 -07:00
Jason Monk
bc4574352d Fix QS accessibility issues
- Add label to quick settings expand indicator
 - Add battery tile content description

Change-Id: I112c3ba23906a4afe8068acf916e710ec9d40917
Fixes: 28073200
2016-04-11 11:36:55 -04:00
Julia Reynolds
dfe0b4df7e Improve content descriptions for volume dialog icons.
Bug: 27971063
Change-Id: I9282083f68a5cd607fe0cb2893829675559acb6d
2016-04-08 17:16:09 -04:00
Jorim Jaggi
d53f09254e Dismiss docked stack when opening non-resizable activity
- Also move the toast to SysemUI as a cleanup.

Bug: 27341740
Bug: 28026841
Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65
2016-04-07 16:07:27 -07:00
Winson
b92dd63581 Adding content description for app-info button when talkback is enabled.
Bug: 27699389
Change-Id: Ia4a0e5f197fa5c51585c3cfb9c71aee858836047
2016-04-04 22:08:50 +00:00
Clara Bayarri
1d648a14a4 Keyboard Shortcuts Helper: Include all System shortcuts
Also add support for shortcuts with no base character or keycode,
as needed by "Search" being triggered with just Meta.

Bug: 27454997
Change-Id: I75bc9d22c30f9ebcdcbea3fb53f166d942dc7b90
2016-03-30 17:12:08 +01:00
Jason Monk
39c98e652f QS edit drag and drop accessibility
Bug: 27667843
Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
2016-03-28 09:57:39 -04:00
Jorim Jaggi
2adba07d75 Show a scrim activity if task is not resizable
Add a callback to TaskStackChangeListener which gets fired when the system
might need to inform the user that a specific app might not work in
multi-window.

Use that callback in SysUI to show a translucent activity which scrims the
activity behind to inform that it might not be resizable.

Debounce the information to once per multi-window session, to not make it
annoying.

Introduce launchTaskId to start an activity in an existing task, and protect
that with START_TASKS_FROM_RECENTS permission.

Bug: 27327287
Bug: 27431869
Change-Id: I89e8d653872ab01ba3c1e252b426e5481da0e6ca
2016-03-25 14:23:41 -07:00
Clara Bayarri
bfd996f5cd Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev 2016-03-24 11:49:05 +00:00
Clara Bayarri
4e850ffaa7 Keyboard Shortcuts: Add Keycodes for shortcut representation
This changes the current API given app feedback received. In order to use
keycodes as well as chars we also must implement a mapping of Keycodes to
Display labels as only keys with a single char representation are provided
by KeyCharacterMap.

Bug: 27409783
Change-Id: I3da653adc4b8cbc66a4d1aa24a5f9181f71e83c3
2016-03-24 11:47:23 +00:00
Winson
8f6ee48225 Completely removing dead code related to history view.
- This CL repurposes the history button above the stack to a more
  generic “stack action” button in preparation for a future change.

Bug: 27742174
Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432
2016-03-23 18:49:22 -07:00
Mady Mellor
d5d8866c67 Merge "Add content description for gear behind notifications" into nyc-dev 2016-03-23 00:07:17 +00:00
Selim Cinek
c897bd3e91 Introduced a number indicating more children in a group
Bug: 25376106
Change-Id: I97dc60c4fea599c668c9e74e11b7d693fd78589b
2016-03-22 11:00:59 -07:00
Jason Monk
b6408ca428 Merge "Change drag label while dragging QS tiles" into nyc-dev 2016-03-17 13:32:04 +00:00
Jason Monk
24dbd51bda Change drag label while dragging QS tiles
Bug: 27316050
Change-Id: I20b4f3c94f1362e9990cebefdfa900a23636a938
2016-03-16 14:56:42 -04:00
Winson
e0657680dc Removing paging tuner setting.
Bug: 26962865
Change-Id: I4f0290fa334b6153cc160cb5dbe6e333a002334c
2016-03-16 11:00:59 -07:00
Winson
196e861b2a Updating empty state graphic.
Change-Id: I7fb1f704dfbf0a300e00805d75c08b2fdabf7260
2016-03-16 11:00:49 -07:00
Mady Mellor
3fd273e611 Add content description for gear behind notifications
Bug: 27498876
Change-Id: I244286e3eaff04268b25e40f1031b5ff7d0b3aee
2016-03-16 09:53:13 -07:00
Winson
44dbe294fb Fixing issue where screenshot notification remains non-dismissible.
- Ensure that we start the screenshot as a foreground service to reduce
  likelihood that it is killed while taking a screenshot.
- If the screenshot process times out or gets killed for any reason, 
  ensure that we update the notification with an appropriate error 
  message.

Bug: 27389179
Change-Id: I5007bda95538044bc753e4ceffd2f59a069c857b
2016-03-11 10:39:41 -08:00
Felipe Leme
3e5e84152f Added Talkback announcements for Data Saver switch.
BUG: 27504554
Change-Id: I6a6b996fe03a565edc051cf24a8ec7de4e8e5644
2016-03-09 15:44:23 -08:00
Julia Reynolds
abf11299b7 Merge "Introduce IMPORTANCE_MIN." into nyc-dev 2016-02-26 16:11:00 +00:00
Jason Monk
611994e01f Add unavailable state to the flashlight icon
Bug: 26851684
Change-Id: I08c438aaef3e5f0731fbd1b5fef79c87c75d3022
2016-02-26 16:04:07 +00:00
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Julia Reynolds
3070d75bf3 Merge "Remove inline settings slider." into nyc-dev 2016-02-26 14:41:31 +00:00
Winson
931845fcb3 Dev preview changes for incompatible apps.
- Disable drop targets when picking up a task that can’t be docked, and
  show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
  to indicate that they don’t support multi window.  Update these 
  headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e
2016-02-25 14:16:23 -08:00
Julia Reynolds
4077945e1b Remove inline settings slider.
Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d
2016-02-25 15:39:35 -05:00
Jorim Jaggi
88afd020b6 Accessibility for split-screen divider
- Add label
- Add actions

Bug: 27274494
Bug: 26894949
Change-Id: I041c44f793f1ec86ec27951cc8e87868148b527d
2016-02-25 13:18:12 -05:00
Winson
e559171fe1 Fixing issue with persistent screenshot notification
- Ensure that we dismiss notifications when cancelled
- Removing unnecessary notification id and cancel extra
- Fixing the strings when capturing a screenshot fails

Bug: 27149651
Bug: 27177097
Change-Id: Ie2ea4318309fff4041acb04833216fdd5cf8838a
2016-02-24 16:30:38 -08:00
Jason Monk
72195a0111 Hide some tuner stuff that isn't ready.
Change-Id: I075098068f4c9f91705e1196b40ab2d36d658bab
2016-02-24 13:01:53 -05:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Jason Monk
8816dff9f2 SysUI Tuner: UI cleanup and grouping
Clean up strings and locations of various features.

Change-Id: Ie427a2d8c51afa6f2a68b4cde1d6b15cda897e1a
2016-02-18 14:19:49 -05:00
Jason Monk
5dbd4aad80 SysUI Tuner: Night mode v3
TwilightService:
 - Add support for locking on/off twilight globally
 - Change twilight state to have float amount rather than
   having clients calculate it using the sunrise/set values
 - State controlled through secure setting
 - Override mode which locks to a state for a couple hours then
   resets
 - Add broadcast for SysUI to listen to

Brightness/Power:
 - Updates to handle TwilightService changes
 - Added secure setting to control whether or not to use
   twilight when calculating brightness.

Tuner:
 - UI Overhall
 - NightModeController will set the values of the custom color matrix
   taking into account the current twilight service state and any
   custom calibration set by the user.
 - Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
2016-02-18 14:06:51 -05:00
Jason Monk
aa911b37ae Tuner volume dnd panel work
Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
2016-02-18 13:39:38 -05:00
Jorim Jaggi
185fa234a2 Fix some strings
Bug: 26411749
Bug: 27022727
Change-Id: I405ba61a46011365bfa2aebfdb0797738237e86b
2016-02-18 00:35:28 +00:00
Jason Monk
c18766d065 Merge "Battery graph in QS Detail" into nyc-dev 2016-02-16 21:26:25 +00:00