Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71b4e71c authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Minor documentation fixes for the APIs to expose virtual view tree.

Change-Id: I94b74196483fb55ca67e0a50eebab0412c88831c
parent f512e46a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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.
+3 −3
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ 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
@@ -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