Lines Matching full:accessibility
67 <li><a href="#A11y">Accessibility</a></li>
742 <h3 id="A11y">Accessibility</h3>
744 <p>Android 4.0 improves accessibility for sight-impaired users with new explore-by-touch mode
746 develop advanced accessibility services.</p>
763 <h4>Accessibility for views</h4>
765 <p>To enhance the information available to accessibility services such as screen readers, you can
766 implement new callback methods for accessibility events in your custom {@link
771 4.0. As with previous version of Android, when the user enables accessibility services on the device
775 initialize an {@link android.view.accessibility.AccessibilityEvent} and send it to {@link
776 android.view.accessibility.AccessibilityManager}. The new behavior involves some additional callback
785 attach additional accessibility information to the {@link
786 android.view.accessibility.AccessibilityEvent}, but should also call the super implementation to
797 text content to the {@link android.view.accessibility.AccessibilityEvent} if the {@link
800 {@link android.view.accessibility.AccessibilityEvent}, call {@link
801 android.view.accessibility.AccessibilityRecord#getText()}.{@link java.util.List#add add()}.</p>
805 parent view. Each parent view then has the chance to augment the accessibility information by
806 adding an {@link android.view.accessibility.AccessibilityRecord}, until it
808 android.view.accessibility.AccessibilityManager} with {@link
809 android.view.accessibility.AccessibilityManager#sendAccessibilityEvent
818 When you do, each accessibility method in the view defers the call to the corresponding method in
827 the new the accessibility APIs, you can do so with the latest version of the <em>v4 support
829 using a set of utility classes that provide the new accessibility APIs in a backward-compatible
835 <h4>Accessibility services</h4>
837 <p>If you're developing an accessibility service, the information about various accessibility events
838 has been significantly expanded to enable more advanced accessibility feedback for users. In
840 allowing accessibility services to traverse view hierarchies to get additional view information and
843 <p>If you're developing an accessibility service (such as a screen reader), you can access
846 <li>Upon receiving an {@link android.view.accessibility.AccessibilityEvent} from an application,
847 call the {@link android.view.accessibility.AccessibilityEvent#getRecord(int)
849 android.view.accessibility.AccessibilityRecord} (there may be several records attached to the
852 <li>From either {@link android.view.accessibility.AccessibilityEvent} or an individual {@link
853 android.view.accessibility.AccessibilityRecord}, you can call {@link
854 android.view.accessibility.AccessibilityRecord#getSource() getSource()} to retrieve a {@link
855 android.view.accessibility.AccessibilityNodeInfo} object.
856 <p>An {@link android.view.accessibility.AccessibilityNodeInfo} represents a single node
857 of the window content in a format that allows you to query accessibility information about that
858 node. The {@link android.view.accessibility.AccessibilityNodeInfo} object returned from {@link
859 android.view.accessibility.AccessibilityEvent} describes the event source, whereas the source from
860 an {@link android.view.accessibility.AccessibilityRecord} describes the predecessor of the event
863 <li>With the {@link android.view.accessibility.AccessibilityNodeInfo}, you can query information
865 android.view.accessibility.AccessibilityNodeInfo#getParent getParent()} or {@link
866 android.view.accessibility.AccessibilityNodeInfo#getChild getChild()} to traverse the view
870 <p>In order for your application to publish itself to the system as an accessibility service, it
873 accessibility service, see {@link
879 <h4>Other accessibility APIs</h4>
881 <p>If you're interested in the device's accessibility state, the {@link
882 android.view.accessibility.AccessibilityManager} has some new APIs such as:</p>
884 <li>{@link android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener}
885 is an interface that allows you to receive a callback whenever accessibility is enabled or
887 <li>{@link android.view.accessibility.AccessibilityManager#getEnabledAccessibilityServiceList
888 getEnabledAccessibilityServiceList()} provides information about which accessibility services
890 <li>{@link android.view.accessibility.AccessibilityManager#isTouchExplorationEnabled()} tells