992ceefbcfa3e93bfa735a5c2b75166122b059d8 |
|
01-Nov-2012 |
alanv <alanv@google.com> |
Fix accessibility API injection. Also adds a heartbeat check so that if something does go wrong while adding the JavaScript APIs, we don't attempt to use the JavaScript-based screen reader. Bug: 7450237 Change-Id: Ifbce77cf93115f658386c520b8226941607b2afe
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
ac6e50a6712706c56a2e1112a594c3ddb69376d7 |
|
19-Oct-2012 |
alanv <alanv@google.com> |
Catch badly formed URLs in WebView accessibility injector. Bug: 7206684 Change-Id: I13e8f29043314430ea3fcfa8ab59040136d06e57
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
03e636f33dfdb2f9438f06997a52b43291a83e41 |
|
12-Oct-2012 |
alanv <alanv@google.com> |
Don't alter accessibility JS APIs unless a page is about to load. Previously we were adding and removing the APIs on window attach and detach, but a page's life cycle is not related to attach/detach. This patch also ensures that ChromeVox is not null before calling. Includes formatting fixes and extra comments in the waitForResultTimedLocked method to improve readability. Fixes parsing of integer resultId, which was being parsed using Long. Bug: 7328348 Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
3003bada607b64ecf3a405b48da3528c4331e7c6 |
|
12-Oct-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Check whether ChromeVox is ready before attempting to call it." into jb-mr1-dev
|
d8faf74662f738e25fdb42f75153112ea9c9f1ce |
|
12-Oct-2012 |
alanv <alanv@google.com> |
Check whether ChromeVox is ready before attempting to call it. Calls to performAction will immediately return false if ChromeVox is not loaded. Also adds additional debugging output. Bug: 7328657 Change-Id: I5bd7c69ccc9500cebaa4a8c1bf023794f4eebe2e
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
d1821cc06f58cc83f1d283b1ce38c947bd55d131 |
|
12-Oct-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch. Revert "Reducing WebView navigation timeout for accessibility." This reverts commit 2203cf3f725220e6dc930ee77dbcde4ff7d885b6 Change-Id: I5b2d999851af98acb953529ebfcda608ce27799d
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
2203cf3f725220e6dc930ee77dbcde4ff7d885b6 |
|
12-Oct-2012 |
clchen <clchen@google.com> |
Reducing WebView navigation timeout for accessibility. Reducing the amount of time that WebView will wait before treating a navigation attempt as failed. This is needed to recover from cases where the user is attempting to linearly navigate a WebView that is immediately switched out right as it starts to read. A good example of this problem is AdMob's WebViews which are continuously being swapped. Change-Id: Ib9b4a9b99a35d42920e34e0acbe8ab45e1d47871
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
df313699bad3fba5c7a34934d2ece2896a0dcbbe |
|
11-Oct-2012 |
alanv <alanv@google.com> |
Fix WebView accessibility scripts. Ensures A11y APIs are added to WebView before page loads. Prevents calls to TTS before init and after shutdown. Ensures calls to TTS are thread- safe. Activates and deactivates feedback from AndroidVox when view is attached and detached. Adds a flag for logging debug output, as well as a lot of debug output. Bug: 7326781 Change-Id: I5d4ab7f9fb1669f98ef05ae207e897565d3086c9
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
b743a23fc5bce9965c1539c3c8611614424a5aff |
|
11-Sep-2012 |
Selim Gurun <sgurun@google.com> |
Added annotations for injected accessibility objects Bug: 7073422 Provided @JavascriptInterface to methods that are accessible from js. Change-Id: If3bf8f5aa2b6ff38fe5358aad534ea31f6f546ae
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
c98b34608b23bf9208520b969d20518253881743 |
|
28-Aug-2012 |
alanv <alanv@google.com> |
Reload page when A11y is on and the JavaScript state changes. Bug: 6910403 Change-Id: I85af7d2019a02c1a6cc17b0c4930276b7fb69e33
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
524c878e7ee8aba1a4e1be0d2cc76ef42e8fcda1 |
|
16-Aug-2012 |
Michael Jurka <mikejurka@google.com> |
Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev" This reverts commit 6d00c724330702c6bfd2bba2b7b2501fa3ab62ff, reversing changes made to 41bfb75f7c76588239ed5d2d4e38aeb1762ff348.
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
92a5be96d8af6a47e31b8db9467123292ea73fb0 |
|
10-Aug-2012 |
alanv <alanv@google.com> |
Reload page when A11y is on and the JavaScript state changes. Bug: 6910403 Change-Id: I0965d76e76282736d053947eb96be0af32fd6001
/frameworks/base/core/java/android/webkit/AccessibilityInjector.java
|
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
|