diff --git a/core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl b/core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl index 52d98012a9a72..e53b31395bb1d 100644 --- a/core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl +++ b/core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl @@ -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. diff --git a/core/java/android/view/accessibility/AccessibilityNodeInfo.java b/core/java/android/view/accessibility/AccessibilityNodeInfo.java index e7926666b0137..b2853371fa00e 100644 --- a/core/java/android/view/accessibility/AccessibilityNodeInfo.java +++ b/core/java/android/view/accessibility/AccessibilityNodeInfo.java @@ -200,12 +200,12 @@ public class AccessibilityNodeInfo implements Parcelable { /** * Sets the source to be a virtual descendant of the given root. - * If virtualDescendantId equals to {@link View#NO_ID} the root + * If virtualDescendantId is {@link View#NO_ID} the root * is set as the source. *

* 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. *

*

@@ -285,7 +285,7 @@ public class AccessibilityNodeInfo implements Parcelable { /** * Adds a virtual child which is a descendant of the given root. - * If virtualDescendantId equals to {@link View#NO_ID} the root + * If virtualDescendantId is {@link View#NO_ID} the root * is added as a child. *

* A virtual descendant is an imaginary View that is reported as a part of the view