Home
last modified time | relevance | path

Searched refs:nodeInfo (Results 1 – 7 of 7) 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.java476 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_showWindowModeButton_expectedValues() local
478 mSpyImageView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_showWindowModeButton_expectedValues()
481 nodeInfo.getContentDescription()); in initializeA11yNode_showWindowModeButton_expectedValues()
483 nodeInfo.getStateDescription().toString()); in initializeA11yNode_showWindowModeButton_expectedValues()
484 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
488 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
492 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
496 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
500 assertThat(nodeInfo.getActionList(), in initializeA11yNode_showWindowModeButton_expectedValues()
DWindowMagnificationControllerWindowlessMagnifierTest.java728 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_enabled_expectedValues() local
730 mirrorView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_enabled_expectedValues()
732 assertNotNull(nodeInfo.getContentDescription()); in initializeA11yNode_enabled_expectedValues()
733 assertThat(nodeInfo.getStateDescription().toString(), containsString("250")); in initializeA11yNode_enabled_expectedValues()
734 assertThat(nodeInfo.getActionList(), in initializeA11yNode_enabled_expectedValues()
DWindowMagnificationControllerTest.java711 final AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in initializeA11yNode_enabled_expectedValues() local
713 mirrorView.onInitializeAccessibilityNodeInfo(nodeInfo); in initializeA11yNode_enabled_expectedValues()
715 assertNotNull(nodeInfo.getContentDescription()); in initializeA11yNode_enabled_expectedValues()
716 assertThat(nodeInfo.getStateDescription().toString(), containsString("250")); in initializeA11yNode_enabled_expectedValues()
717 assertThat(nodeInfo.getActionList(), in initializeA11yNode_enabled_expectedValues()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1682 NodeInfo nodeInfo; in generateRoleMap() local
1683 nodeInfo.name = codecName; in generateRoleMap()
1686 nodeInfo.attributeList.reserve(typeAttributeMap.size()); in generateRoleMap()
1688 nodeInfo.attributeList.push_back( in generateRoleMap()
1693 nodeInfo.attributeList.push_back(Attribute{quirk, "present"}); in generateRoleMap()
1697 nodeInfo.attributeList.push_back(Attribute{"rank", rank}); in generateRoleMap()
1700 order, std::move(nodeInfo))); in generateRoleMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java465 AccessibilityNodeInfo nodeInfo = new AccessibilityNodeInfo(); in testA11y_initializeNode() local
466 mAccessibilityDelegate.onInitializeAccessibilityNodeInfo(mView, nodeInfo); in testA11y_initializeNode()
468 List<AccessibilityNodeInfo.AccessibilityAction> actionList = nodeInfo.getActionList(); in testA11y_initializeNode()
/frameworks/base/core/java/android/widget/
DEditor.java8028 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeAccessibilityNodeInfo() argument
8030 nodeInfo.addAction(mAccessibilityActions.valueAt(i)); in onInitializeAccessibilityNodeInfo()
8123 void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeAccessibilityNodeInfo() argument
8125 nodeInfo.addAction(mActions.valueAt(i).first); in onInitializeAccessibilityNodeInfo()
8326 void onInitializeSmartActionsAccessibilityNodeInfo(AccessibilityNodeInfo nodeInfo) { in onInitializeSmartActionsAccessibilityNodeInfo() argument
8327 mA11ySmartActions.onInitializeAccessibilityNodeInfo(nodeInfo); in onInitializeSmartActionsAccessibilityNodeInfo()