Home
last modified time | relevance | path

Searched refs:nodeInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java397 AccessibilityNodeInfo nodeInfo, nodeCopy = null, nodeFromCache = null; in addThenGetNode_returnsEquivalentNode() local
399 nodeInfo = getNodeWithA11yAndWindowId(SINGLE_VIEW_ID, WINDOW_ID_1); in addThenGetNode_returnsEquivalentNode()
400 long id = nodeInfo.getSourceNodeId(); in addThenGetNode_returnsEquivalentNode()
401 nodeCopy = AccessibilityNodeInfo.obtain(nodeInfo); in addThenGetNode_returnsEquivalentNode()
402 mAccessibilityCache.add(nodeInfo); in addThenGetNode_returnsEquivalentNode()
403 nodeInfo.recycle(); in addThenGetNode_returnsEquivalentNode()
466 AccessibilityNodeInfo nodeInfo = getNodeWithA11yAndWindowId(SINGLE_VIEW_ID, WINDOW_ID_1); in addNodeThenClear_nodeIsRemoved() local
467 long id = nodeInfo.getSourceNodeId(); in addNodeThenClear_nodeIsRemoved()
468 mAccessibilityCache.add(nodeInfo); in addNodeThenClear_nodeIsRemoved()
469 nodeInfo.recycle(); in addNodeThenClear_nodeIsRemoved()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java393 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_showWindowModeButton_expectedValues() local
395 mSpyImageView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_showWindowModeButton_expectedValues()
398 nodeInfo.getContentDescription()); in initializeA11yNode_showWindowModeButton_expectedValues()
400 nodeInfo.getStateDescription()); in initializeA11yNode_showWindowModeButton_expectedValues()
401 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
405 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
409 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
413 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
417 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
DWindowMagnificationControllerTest.java568 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_enabled_expectedValues() local
570 mirrorView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_enabled_expectedValues()
572 assertNotNull(nodeInfo.getContentDescription()); in initializeA11yNode_enabled_expectedValues()
573 assertThat(nodeInfo.getStateDescription().toString(), containsString("250")); in initializeA11yNode_enabled_expectedValues()
574 assertThat(nodeInfo.getActionList(), in initializeA11yNode_enabled_expectedValues()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1615 NodeInfo nodeInfo; in generateRoleMap() local
1616 nodeInfo.name = codecName; in generateRoleMap()
1619 nodeInfo.attributeList.reserve(typeAttributeMap.size()); in generateRoleMap()
1621 nodeInfo.attributeList.push_back( in generateRoleMap()
1626 nodeInfo.attributeList.push_back(Attribute{quirk, "present"}); in generateRoleMap()
1630 nodeInfo.attributeList.push_back(Attribute{"rank", rank}); in generateRoleMap()
1633 order, std::move(nodeInfo))); in generateRoleMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java322 AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in testA11y_initializeNode() local
323 mAccessibilityDelegate.onInitializeAccessibilityNodeInfo(mView, nodeInfo); in testA11y_initializeNode()
325 List<AccessibilityNodeInfo.AccessibilityAction> actionList = nodeInfo.getActionList(); in testA11y_initializeNode()
/frameworks/base/core/java/android/widget/
DEditor.java7804 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeAccessibilityNodeInfo() argument
7806 nodeInfo.addAction(mAccessibilityActions.valueAt(i)); in onInitializeAccessibilityNodeInfo()
7899 void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeAccessibilityNodeInfo() argument
7901 nodeInfo.addAction(mActions.valueAt(i).first); in onInitializeAccessibilityNodeInfo()
7919 void onInitializeSmartActionsAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeSmartActionsAccessibilityNodeInfo() argument
7920 mA11ySmartActions.onInitializeAccessibilityNodeInfo(nodeInfo); in onInitializeSmartActionsAccessibilityNodeInfo()