Example usage for Java android.view.accessibility AccessibilityNodeInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ACTION_FOCUS Action that gives input focus to the node. |
int | ACTION_CLICK Action that clicks on the node info. |
int | ACTION_LONG_CLICK Action that long clicks on the node. |
int | ACTION_ACCESSIBILITY_FOCUS Action that gives accessibility focus to the node. |
int | ACTION_CLEAR_ACCESSIBILITY_FOCUS Action that clears accessibility focus of the node. |
int | ACTION_NEXT_AT_MOVEMENT_GRANULARITY Action that requests to go to the next entity in this node's text at a given movement granularity. |
int | ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY Action that requests to go to the previous entity in this node's text at a given movement granularity. |
int | ACTION_NEXT_HTML_ELEMENT Action to move to the next HTML element of a given type. |
int | ACTION_PREVIOUS_HTML_ELEMENT Action to move to the previous HTML element of a given type. |
int | ACTION_SCROLL_FORWARD Action to scroll the node content forward. |
int | ACTION_SCROLL_BACKWARD Action to scroll the node content backward. |
int | ACTION_PASTE Action to paste the current clipboard content. |
int | ACTION_DISMISS Action to dismiss a dismissable node. |
int | ACTION_SET_TEXT Action that sets the text of the node. |
String | ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT Argument for which movement granularity to be used when traversing the node text. |
String | ACTION_ARGUMENT_HTML_ELEMENT_STRING Argument for which HTML element to get moving to the next/previous HTML element. |
String | ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN Argument for whether when moving at granularity to extend the selection or to move it otherwise. |
String | ACTION_ARGUMENT_SELECTION_START_INT Argument for specifying the selection start. |
String | ACTION_ARGUMENT_SELECTION_END_INT Argument for specifying the selection end. |
String | ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE Argument for specifying the text content to set. |
String | ACTION_ARGUMENT_ROW_INT Argument for specifying the collection row to make visible on screen. |
String | ACTION_ARGUMENT_PROGRESS_VALUE Argument for specifying the progress value to set. |
int | FOCUS_INPUT The input focus. |
int | FOCUS_ACCESSIBILITY The accessibility focus. |
int | MOVEMENT_GRANULARITY_CHARACTER Movement granularity bit for traversing the text of a node by character. |
int | MOVEMENT_GRANULARITY_WORD Movement granularity bit for traversing the text of a node by word. |
int | MOVEMENT_GRANULARITY_LINE Movement granularity bit for traversing the text of a node by line. |
int | MOVEMENT_GRANULARITY_PARAGRAPH Movement granularity bit for traversing the text of a node by paragraph. |
int | MOVEMENT_GRANULARITY_PAGE Movement granularity bit for traversing the text of a node by page. |
void | addAction(AccessibilityAction action) Adds an action that can be performed on the node. |
void | addAction(int action) Adds an action that can be performed on the node. |
boolean | equals(Object object) |
List | findAccessibilityNodeInfosByText(String text) Finds AccessibilityNodeInfo s by text. |
List | findAccessibilityNodeInfosByViewId(String viewId) Finds AccessibilityNodeInfo s by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name". |
AccessibilityNodeInfo | findFocus(int focus) Find the view that has the specified focus type. |
int | getActions() Gets the actions that can be performed on the node. |
void | getBoundsInParent(Rect outBounds) Gets the node bounds in parent coordinates. |
void | getBoundsInScreen(Rect outBounds) Gets the node bounds in screen coordinates. |
AccessibilityNodeInfo | getChild(int index) Get the child at given index. |
int | getChildCount() Gets the number of children. |
CharSequence | getClassName() Gets the class this node comes from. |
CharSequence | getContentDescription() Gets the content description of this node. |
AccessibilityNodeInfo | getLabeledBy() Gets the node info which serves as the label of the view represented by this info for accessibility purposes. |
int | getMovementGranularities() Gets the movement granularities for traversing the text of this node. |
CharSequence | getPackageName() Gets the package this node comes from. |
AccessibilityNodeInfo | getParent() Gets the parent. |
CharSequence | getText() Gets the text of this node. |
String | getViewIdResourceName() Gets the fully qualified resource name of the source view's id. |
AccessibilityWindowInfo | getWindow() Gets the window to which this node belongs. |
int | getWindowId() Gets the id of the window from which the info comes from. |
int | hashCode() |
boolean | isAccessibilityFocused() Gets whether this node is accessibility focused. |
boolean | isCheckable() Gets whether this node is checkable. |
boolean | isChecked() Gets whether this node is checked. |
boolean | isClickable() Gets whether this node is clickable. |
boolean | isEditable() Gets if the node is editable. |
boolean | isEnabled() Gets whether this node is enabled. |
boolean | isFocusable() Gets whether this node is focusable. |
boolean | isFocused() Gets whether this node is focused. |
boolean | isLongClickable() Gets whether this node is long clickable. |
boolean | isScrollable() Gets if the node is scrollable. |
boolean | isSelected() Gets whether this node is selected. |
boolean | isVisibleToUser() Gets whether this node is visible to the user. |
AccessibilityNodeInfo | obtain(View source) Returns a cached instance if such is available otherwise a new one and sets the source. |
AccessibilityNodeInfo | obtain(AccessibilityNodeInfo info) Returns a cached instance if such is available or a new one is create. |
AccessibilityNodeInfo | obtain() Returns a cached instance if such is available otherwise a new one. |
boolean | performAction(int action) Performs an action on the node. |
boolean | performAction(int action, Bundle arguments) Performs an action on the node. |
void | recycle() Return an instance back to be reused. |
void | setBoundsInScreen(Rect bounds) Sets the node bounds in screen coordinates. |
void | setClassName(CharSequence className) Sets the class this node comes from. |
void | setClickable(boolean clickable) Sets whether this node is clickable. |
void | setContentDescription(CharSequence contentDescription) Sets the content description of this node. |
void | setEnabled(boolean enabled) Sets whether this node is enabled. |
void | setMovementGranularities(int granularities) Sets the movement granularities for traversing the text of this node. |
void | setScrollable(boolean scrollable) Sets if the node is scrollable. |
void | setText(CharSequence text) Sets the text of this node. |