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.java355 AccessibilityNodeInfo nodeInfo, nodeCopy = null, nodeFromCache = null; in addThenGetNode_returnsEquivalentNode() local
357 nodeInfo = getNodeWithA11yAndWindowId(SINGLE_VIEW_ID, WINDOW_ID_1); in addThenGetNode_returnsEquivalentNode()
358 long id = nodeInfo.getSourceNodeId(); in addThenGetNode_returnsEquivalentNode()
359 nodeCopy = AccessibilityNodeInfo.obtain(nodeInfo); in addThenGetNode_returnsEquivalentNode()
360 mAccessibilityCache.add(nodeInfo); in addThenGetNode_returnsEquivalentNode()
361 nodeInfo.recycle(); in addThenGetNode_returnsEquivalentNode()
424 AccessibilityNodeInfo nodeInfo = getNodeWithA11yAndWindowId(SINGLE_VIEW_ID, WINDOW_ID_1); in addNodeThenClear_nodeIsRemoved() local
425 long id = nodeInfo.getSourceNodeId(); in addNodeThenClear_nodeIsRemoved()
426 mAccessibilityCache.add(nodeInfo); in addNodeThenClear_nodeIsRemoved()
427 nodeInfo.recycle(); in addNodeThenClear_nodeIsRemoved()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java397 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_showWindowModeButton_expectedValues() local
399 mSpyImageView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_showWindowModeButton_expectedValues()
402 nodeInfo.getContentDescription()); in initializeA11yNode_showWindowModeButton_expectedValues()
404 nodeInfo.getStateDescription()); 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()
421 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
DWindowMagnificationControllerTest.java314 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_enabled_expectedValues() local
316 mirrorView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_enabled_expectedValues()
318 assertNotNull(nodeInfo.getContentDescription()); in initializeA11yNode_enabled_expectedValues()
319 assertThat(nodeInfo.getStateDescription().toString(), containsString("250")); in initializeA11yNode_enabled_expectedValues()
320 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/statusbar/phone/
DNotificationPanelViewTest.java528 AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in testA11y_initializeNode() local
529 mAccessibiltyDelegate.onInitializeAccessibilityNodeInfo(mView, nodeInfo); in testA11y_initializeNode()
531 List<AccessibilityNodeInfo.AccessibilityAction> actionList = nodeInfo.getActionList(); in testA11y_initializeNode()
/frameworks/base/core/java/android/widget/
DEditor.java7706 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeAccessibilityNodeInfo() argument
7708 nodeInfo.addAction(mAccessibilityActions.valueAt(i)); in onInitializeAccessibilityNodeInfo()