b12a57df24ce007d912604df2033de19f7951795 |
|
08-Mar-2016 |
Phil Weaver <pweaver@google.com> |
Make a11y text navigation by page symmetric. Traversals forward and then backward in text didn't land in consistent places. This fix makes them land in exactly the same place as long as a page is an integral number of lines long. Also updating documentation about AccessibilityEvent reported indices when traversing. Bug: 27505504 Bug: 27480027 Change-Id: I2c11b6ae61f79d66e5ec101048584b3442be0b42
/frameworks/base/core/java/android/widget/AccessibilityIterators.java
|
39f2aee640eea62b43fa79f28dec3a962e5cb065 |
|
29-May-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Updating the behaviour of accessibility text iterators. 1. Iterators were skipping content on reversing direction. 2. The cursor was positioned at the beginning of the next text segment when moving forward and at end of the previous text segment when moving backwards. This is incorrect and now the cursor is positioned at the end of the segment when moving forward and at the beginning when moving backward. 3. The cursor position was not properly set when reaching the end/start of the text. 4. The iterators were reporting strictly the next/previous segment even if the cursor is within such a segment. Thus, when traversing some content may be skipped. Now moving forward moves the selection to the next segment end and the start position is either the old index if it was within a segment or the start of the segment. Same in reverse. bug:6575099 Change-Id: Ib48a649cec53910339baf831a75e26440be6e576
/frameworks/base/core/java/android/widget/AccessibilityIterators.java
|
6d17a936f73976971135aa1e6248662533343292 |
|
28-Apr-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Text traversal at various granularities. 1. Implementing text content navigation at various granularities. For views that have content description but no text the content description is the traversed at character and word granularities. For views that inherit from TextView the supported granularities are character, word, line, and page. bug:5932640 Conflicts: core/java/android/view/View.java Conflicts: core/java/android/view/View.java Change-Id: I66d1e16ce9ac5d6b49f036b17c087b2a7075e4c0
/frameworks/base/core/java/android/widget/AccessibilityIterators.java
|