Lines Matching refs:node

57     /** Virtual node identifier value for invalid nodes. */
60 /** Virtual node identifier value for the host view's node. */
106 * @return The accessibility node provider for this helper.
267 * Constructs and returns an {@link AccessibilityEvent} for the host node.
318 * construct a node.
335 * @return An {@link AccessibilityNodeInfoCompat} for the parent node.
338 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(mView);
339 ViewCompat.onInitializeAccessibilityNodeInfo(mView, node);
341 // Allow the client to populate the host node.
342 onPopulateNodeForHost(node);
349 node.addChild(mView, childVirtualViewId);
352 return node;
359 * Allows the implementing class to specify most node properties, but
380 * a node.
384 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain();
387 node.setEnabled(true);
388 node.setClassName(DEFAULT_CLASS_NAME);
390 // Allow the client to populate the node.
391 onPopulateNodeForVirtualView(virtualViewId, node);
394 if ((node.getText() == null) && (node.getContentDescription() == null)) {
399 node.getBoundsInParent(mTempParentRect);
405 final int actions = node.getActions();
416 node.setPackageName(mView.getContext().getPackageName());
417 node.setSource(mView, virtualViewId);
418 node.setParent(mView);
422 node.setAccessibilityFocused(true);
423 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLEAR_ACCESSIBILITY_FOCUS);
425 node.setAccessibilityFocused(false);
426 node.addAction(AccessibilityNodeInfoCompat.ACTION_ACCESSIBILITY_FOCUS);
431 node.setVisibleToUser(true);
432 node.setBoundsInParent(mTempParentRect);
441 node.setBoundsInScreen(mTempScreenRect);
443 return node;
669 * <li>node source, identical to the event source set in
693 * which to populate the node
694 * @param node The node to populate
697 int virtualViewId, AccessibilityNodeInfoCompat node);
706 public void onPopulateNodeForHost(AccessibilityNodeInfoCompat node) {