Lines Matching refs:root

546      * Sets the source to be a virtual descendant of the given <code>root</code>.
547 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
561 * @param root The root of the virtual subtree.
564 public void setSource(View root, int virtualDescendantId) {
566 mWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED;
568 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
728 * Adds a virtual child which is a descendant of the given <code>root</code>.
729 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
738 * @param root The root of the virtual subtree.
741 public void addChild(View root, int virtualDescendantId) {
745 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
865 * this info is the root of the traversed tree.
963 * Sets the parent to be a virtual descendant of the given <code>root</code>.
964 * If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root
978 * @param root The root of the virtual subtree.
981 public void setParent(View root, int virtualDescendantId) {
984 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
1694 * is {@link View#NO_ID} the root is set as the labeled.
1707 * @param root The root whose virtual descendant serves as a label.
1710 public void setLabelFor(View root, int virtualDescendantId) {
1712 final int rootAccessibilityViewId = (root != null)
1713 ? root.getAccessibilityViewId() : UNDEFINED;
1751 * is {@link View#NO_ID} the root is set as the label.
1764 * @param root The root whose virtual descendant labels this node's source.
1767 public void setLabeledBy(View root, int virtualDescendantId) {
1769 final int rootAccessibilityViewId = (root != null)
1770 ? root.getAccessibilityViewId() : UNDEFINED;
2062 * @param root The root of the virtual subtree.
2068 public static AccessibilityNodeInfo obtain(View root, int virtualDescendantId) {
2070 info.setSource(root, virtualDescendantId);