Minor documentation fixes for the APIs to expose virtual view tree.
Change-Id: I94b74196483fb55ca67e0a50eebab0412c88831c
This commit is contained in:
@@ -33,7 +33,7 @@ interface IAccessibilityServiceConnection {
|
||||
* Finds an {@link AccessibilityNodeInfo} by accessibility id.
|
||||
*
|
||||
* @param accessibilityWindowId A unique window id.
|
||||
* @param accessibilityNodeId A unique node id (accessibility and virtual descendant id).
|
||||
* @param accessibilityNodeId A unique view id or virtual descendant id.
|
||||
* @param interactionId The id of the interaction for matching with the callback result.
|
||||
* @param callback Callback which to receive the result.
|
||||
* @param threadId The id of the calling thread.
|
||||
@@ -51,7 +51,7 @@ interface IAccessibilityServiceConnection {
|
||||
*
|
||||
* @param text The searched text.
|
||||
* @param accessibilityWindowId A unique window id.
|
||||
* @param accessibilityNodeId A unique node id (accessibility and virtual descendant id) from
|
||||
* @param accessibilityNodeId A unique view id or virtual descendant id from
|
||||
* where to start the search. Use {@link android.view.View#NO_ID} to start from the root.
|
||||
* @param interactionId The id of the interaction for matching with the callback result.
|
||||
* @param callback Callback which to receive the result.
|
||||
@@ -96,7 +96,7 @@ interface IAccessibilityServiceConnection {
|
||||
* Performs an accessibility action on an {@link AccessibilityNodeInfo}.
|
||||
*
|
||||
* @param accessibilityWindowId The id of the window.
|
||||
* @param accessibilityNodeId A unique node id (accessibility and virtual descendant id).
|
||||
* @param accessibilityNodeId A unique view id or virtual descendant id.
|
||||
* @param action The action to perform.
|
||||
* @param interactionId The id of the interaction for matching with the callback result.
|
||||
* @param callback Callback which to receive the result.
|
||||
|
||||
@@ -200,12 +200,12 @@ public class AccessibilityNodeInfo implements Parcelable {
|
||||
|
||||
/**
|
||||
* Sets the source to be a virtual descendant of the given <code>root</code>.
|
||||
* If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root
|
||||
* If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
|
||||
* is set as the source.
|
||||
* <p>
|
||||
* 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
|
||||
* content to report themselves as a tree of virtual views, thus conveying their
|
||||
* logical structure.
|
||||
* </p>
|
||||
* <p>
|
||||
@@ -285,7 +285,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
||||
|
||||
/**
|
||||
* Adds a virtual child which is a descendant of the given <code>root</code>.
|
||||
* If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root
|
||||
* If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
|
||||
* is added as a child.
|
||||
* <p>
|
||||
* A virtual descendant is an imaginary View that is reported as a part of the view
|
||||
|
||||
Reference in New Issue
Block a user