Lines Matching refs:node

50     /** Virtual node identifier value for invalid nodes. */
108 * @return The accessibility node provider for this helper.
266 * Constructs and returns an {@link AccessibilityEvent} for the host node.
315 * construct a node.
332 * @return An {@link AccessibilityNodeInfo} for the parent node.
335 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView);
336 onInitializeAccessibilityNodeInfo(mView, node);
349 node.addChild(mView, virtualViewIds.get(i));
352 return node;
359 * Allows the implementing class to specify most node properties, but
380 * a node.
389 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain();
392 node.setEnabled(true);
393 node.setClassName(DEFAULT_CLASS_NAME);
394 node.setBoundsInParent(INVALID_PARENT_BOUNDS);
396 // Allow the client to populate the node.
397 onPopulateNodeForVirtualView(virtualViewId, node);
400 if ((node.getText() == null) && (node.getContentDescription() == null)) {
405 node.getBoundsInParent(tempParentRect);
411 final int actions = node.getActions();
422 node.setPackageName(mView.getContext().getPackageName());
423 node.setSource(mView, virtualViewId);
424 node.setParent(mView);
428 node.setAccessibilityFocused(true);
429 node.addAction(AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS);
431 node.setAccessibilityFocused(false);
432 node.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS);
437 node.setVisibleToUser(true);
438 node.setBoundsInParent(tempParentRect);
447 node.setBoundsInScreen(tempScreenRect);
449 return node;
687 * <li>node source, identical to the event source set in
711 * which to populate the node
712 * @param node The node to populate
715 int virtualViewId, AccessibilityNodeInfo node);