OSDN Git Service

Add a11y, hover support to rotate suggestion button
authorMike Digman <digman@google.com>
Tue, 23 Jan 2018 00:05:51 +0000 (16:05 -0800)
committerMike Digman <digman@google.com>
Tue, 23 Jan 2018 00:05:51 +0000 (16:05 -0800)
commit90402957beb698799f65aa6756633554d121bc11
tree04089c9065ad79e7f01504e11a1c2c2c1df4012b
parentb7f09acde2f85a0e7e198d81a0e98ea6033c1109
Add a11y, hover support to rotate suggestion button

Tweaks timeouts from volume dialog for a11y and hover. Repurposes
volume dialog code to detect when a11y feedback services are active.
New content description needs to be localized. Also includes some
related cleanup.

Test: a11y manual by toggling service, hover manual with usb mouse

Change-Id: Ife12c74910c1658e06e75a4baf393a56568e985b
packages/SystemUI/res/layout/rotate_suggestion.xml
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java