Methods Summary |
---|
public AccessibilityNodeInfoCompat | createAccessibilityNodeInfo(int virtualViewId)Returns an {@link AccessibilityNodeInfoCompat} representing a virtual view,
i.e. a descendant of the host View, with the given virtualViewId
or the host View itself if virtualViewId equals to {@link View#NO_ID}.
A virtual descendant is an imaginary View that is reported as a part of the view
hierarchy for accessibility purposes. This enables custom views that draw complex
content to report them selves as a tree of virtual views, thus conveying their
logical structure.
The implementer is responsible for obtaining an accessibility node info from the
pool of reusable instances and setting the desired properties of the node info
before returning it.
return null;
|
public java.util.List | findAccessibilityNodeInfosByText(java.lang.String text, int virtualViewId)Finds {@link AccessibilityNodeInfoCompat}s by text. The match is case insensitive
containment. The search is relative to the virtual view, i.e. a descendant of the
host View, with the given virtualViewId or the host View itself
virtualViewId equals to {@link View#NO_ID}.
return null;
|
public AccessibilityNodeInfoCompat | findFocus(int focus)Find the virtual view, i.e. a descendant of the host View, that has the
specified focus type.
return null;
|
public java.lang.Object | getProvider()
return mProvider;
|
public boolean | performAction(int virtualViewId, int action, android.os.Bundle arguments)Performs an accessibility action on a virtual view, i.e. a descendant of the
host View, with the given virtualViewId or the host View itself
if virtualViewId equals to {@link View#NO_ID}.
return false;
|