History log of /frameworks/base/core/java/android/webkit/AccessibilityInjector.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2657a59f54e316ca11d7d9adf648e7001960f469 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
8bab6de6e2c3af2d6fac0ebd06bcdb71a5d65b03 15-Jun-2012 alanv <alanv@google.com> Add support for NEXT_HTML_ELEMENT to WebViewClassic.

Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
d8058ca556bc999a10b3da2008b1cc97856f75cc 14-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityInjector should return false on a failed action.

1. AccessibilityInjector was returning true even if the underlying
JavaScript was not loaded/failed. This may lead to TalkBack getting
stuck in a web view. To avoid this TalkBack requires gran1ularity
change when getting into web view. This is neither advertised nor
shown in the tutorial and which is worse it is inconsistent with
the traversal of the app.

Now if the action fails, false is returned and also the timeout for
handling the action request is increased to 5s. Upon the completion
of this timeout TalkBack may decide to show a wait dialog or just
skip the web content. We are treating this as an ANR.

bug:6663344

Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
6a62b77dfb95364e863b44662c13d6deec47f7d2 17-May-2012 alanv <alanv@google.com> Add actions to non-JavaScript accessibility handler.

Bug: 5932640
Change-Id: I302cfc6410d716ac46e1adb922de3079c4e4b4f3
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
448902d757bb5d5f0284a06b0193549f1e1f369f 17-May-2012 alanv <alanv@google.com> Add movement actions to JS accessibility.

Bug: 5932640
Change-Id: I80e210adbef266b1ec9bc1cad7eeacb70529bdba
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
525823a7548d73c9ec9ba3ae84663ab286b20205 17-May-2012 alanv <alanv@google.com> Refactor WebView accessibility code into a separate class.

Bug: 5932640
Change-Id: I52ab57f51c5904cbcf56307f17f406b2a30d6b91
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a 28-Feb-2012 Jonathan Dixon <joth@google.com> Refactor WebView to be a thin proxy class

Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.

Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master

Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911

Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
9504f5753db3309b67e74ccecb400a18d23ca2d1 14-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Final polish of WebView accessibility support for no JavaScript case.

1. Added tests for the new code added by change:I5a796aef

2. WebCore thread now calls the UI thread to set the cursor to
the current position enabling the user to interact with
the content that is being selected on the page.

3. Removed the code that changes the selection on movement of the
cursor ring. We are dropping the "default web view behavior"
as granularity of reading the document since with this change
a user can freely access inputs/buttons/links.

Change-Id: I7a3f6677eff0bc95e8127973d07cec78e3465c7b
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
b01c3d2bf2d81d30b6b0b1f8012a2bcbbad5acd2 11-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.

bug:3341772

1. Now a key in the binding is represented as a long with 32 MSB for modifiers and 32 LSB for keyCode.

bug: 3340732

1. Added check in the WebView key handling code to diable the accessibility injector/injected script in
case accessibility is been disabled after loading the content.

Change-Id: Ic3746dff16ec77ba682a5b139cec0e6afd8fc839
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
c93fb656dc9393f194c623dc897c5352d9192544 06-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> 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
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
12bed78d23c28930b9340a734f633c1b860a169f 03-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing bugs 3315632 3235958, performing a clean up of the WebView accessibility feature. Updated event hadndling to deliver all key events to javaScript if a screen reader is injected since the latter is responsible for the full set of navigation and exploration actions.

Change-Id: Id1639828559161e0850dee04baa0a7afb2576ea8
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
585f13f8dec4cbf55b3bc04d95425d647f0577b2 10-Aug-2010 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for WebViews

Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
da35551845b1ab47dbbae2194f1628442b6115d7 13-May-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility content provider responsible for user script injection. Adding support for injecting accessibility in WebViews with disabled JavaScript.

Change-Id: I1576238a0f855bb54e25d19404b8404d7d0f6037
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java