Lines Matching refs:root

409      * Sets the source to be a virtual descendant of the given <code>root</code>.
410 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
424 * @param root The root of the virtual subtree.
427 public void setSource(View root, int virtualDescendantId) {
429 mWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED;
431 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
549 * Adds a virtual child which is a descendant of the given <code>root</code>.
550 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
559 * @param root The root of the virtual subtree.
562 public void addChild(View root, int virtualDescendantId) {
566 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
686 * this info is the root of the traversed tree.
753 * Sets the parent to be a virtual descendant of the given <code>root</code>.
754 * If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root
768 * @param root The root of the virtual subtree.
771 public void setParent(View root, int virtualDescendantId) {
774 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
1250 * is {@link View#NO_ID} the root is set as the labeled.
1263 * @param root The root whose virtual descendant serves as a label.
1266 public void setLabelFor(View root, int virtualDescendantId) {
1268 final int rootAccessibilityViewId = (root != null)
1269 ? root.getAccessibilityViewId() : UNDEFINED;
1307 * is {@link View#NO_ID} the root is set as the label.
1320 * @param root The root whose virtual descendant labels this node's source.
1323 public void setLabeledBy(View root, int virtualDescendantId) {
1325 final int rootAccessibilityViewId = (root != null)
1326 ? root.getAccessibilityViewId() : UNDEFINED;
1502 * @param root The root of the virtual subtree.
1508 public static AccessibilityNodeInfo obtain(View root, int virtualDescendantId) {
1510 info.setSource(root, virtualDescendantId);