diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2011-01-05 18:52:05 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2011-01-07 14:04:22 -0800 |
commit | c93fb656dc9393f194c623dc897c5352d9192544 (patch) | |
tree | 8b33c1e5dee6a433400058ebcb3554a9a77c721f /packages/SettingsProvider/res/values/defaults.xml | |
parent | 23ddfbe52c265e7feb4c6d3dd7da53ac38fcce5e (diff) | |
download | frameworks_base-c93fb656dc9393f194c623dc897c5352d9192544.zip frameworks_base-c93fb656dc9393f194c623dc897c5352d9192544.tar.gz frameworks_base-c93fb656dc9393f194c623dc897c5352d9192544.tar.bz2 |
bug:3325039 Making the cursor ring movement send accessibility events.
1. Added a mechanism to select the cursor ring content if accessibility is
enabled - This is achieved by sending an event to the WebCore thread
(if accessibility is enabled) to select the content of the cursor when
the latter moves. Added code in WebViewCore to select the given node
and notify the UI thread for the selection markup which is delivered
of the accessibility injector which manages sending accessibility
events. This is relevant for adding accessibility to WebView if
JavaScript is not enabled. (If JS is enabled we inject a screenreader
written in JS).
2. Fixed the event delegation to the accessibility injector since it
should be able to consume key events of interest and perform some
action which leads to sending appropriate accessibility event.
In the previous implementation it was possible that the injector
consumes the event but the latter was bubbled up.
3. Added function to scroll the selection into view while moving it
around based on user commands.
Note: This is a part of two project commmit.
Change-Id: Ibb81d0468726efbe3bf6e3add1b19c69e3206638
Diffstat (limited to 'packages/SettingsProvider/res/values/defaults.xml')
-rw-r--r-- | packages/SettingsProvider/res/values/defaults.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml index 8a6e82d..066b8e7 100644 --- a/packages/SettingsProvider/res/values/defaults.xml +++ b/packages/SettingsProvider/res/values/defaults.xml @@ -85,10 +85,10 @@ 0x13=0x01000100; <!-- DPAD/Trackball DOWN maps to traverse next on current axis and send an event. --> 0x14=0x01010100; - <!-- DPAD/Trackball LEFT maps to action in non-android default navigation axis. --> - 0x15=0x04000000; - <!-- DPAD/Trackball RIGHT maps to no action in non-android default navigation axis. --> - 0x16=0x04000000; + <!-- DPAD/Trackball LEFT maps to action in the android default navigation axis. --> + 0x15=0x04000100; + <!-- DPAD/Trackball RIGHT maps to no action in the android default navigation axis. --> + 0x16=0x04010100; <!-- Left Alt+DPAD/Trackball UP transitions from an axis to another and sends an event. --> <!-- Axis transitions: 2 -> 7; 1 -> 2; 0 -> 1; 3 -> 0; 4 -> 0; 5 -> 0; 6 -> 0; --> 0x120013=0x03020701:0x03010201:0x03000101:0x03030001:0x03040001:0x03050001:0x03060001; |