Home
last modified time | relevance | path

Searched refs:getSourceNodeId (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java400 long id = nodeInfo.getSourceNodeId(); in addThenGetNode_returnsEquivalentNode()
420 long id = nodeInfo1.getSourceNodeId(); in overwriteThenGetNode_returnsNewNode()
444 long id = nodeInfo1.getSourceNodeId(); in nodesInDifferentWindowWithSameId_areKeptSeparate()
447 assertEquals(id, nodeInfo2.getSourceNodeId()); in nodesInDifferentWindowWithSameId_areKeptSeparate()
467 long id = nodeInfo.getSourceNodeId(); in addNodeThenClear_nodeIsRemoved()
488 nodeInfo.getSourceNodeId()); in windowsChangedWithWindowsChangeA11yFocusedEvent_dontClearCache()
513 long id = nodeInfo.getSourceNodeId(); in subTreeChangeEventFromUncachedNode_clearsNodeInCache()
546 long parentId = parentNodeInfo.getSourceNodeId(); in reparentNode_clearsOldParent()
569 long childId = childNodeInfo.getSourceNodeId(); in removeChildFromParent_clearsChild()
644 assertFocus(nodeInfo, FOCUS_ACCESSIBILITY, nodeInfo.getSourceNodeId(), in getFocus_focusedNodeAsInitialNode_returnsNodeWithA11yFocus()
[all …]
DAccessibilityEventTest.java69 assertEquals(sourceNodeId, copyEventViaParcel(event).getSourceNodeId()); in testSouceNodeId_getSetWorkAcrossParceling()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java224 mAccessibilityFocus = event.getSourceNodeId(); in onAccessibilityEvent()
231 if (mAccessibilityFocus == event.getSourceNodeId() in onAccessibilityEvent()
244 mInputFocus = event.getSourceNodeId(); in onAccessibilityEvent()
254 event.getSourceNodeId()); in onAccessibilityEvent()
260 final long sourceId = event.getSourceNodeId(); in onAccessibilityEvent()
271 clearSubTreeLocked(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
359 long accessibilityNodeId = info.getSourceNodeId(); in isNodeInCache()
492 final long sourceId = info.getSourceNodeId(); in add()
704 clearSubTreeLocked(info.getWindowId(), info.getSourceNodeId()); in clearSubTree()
DAccessibilityInteractionClient.java831 cachedInfo.getSourceNodeId())); in findFocus()
1340 if (root.getParentNodeId() == candidate.getSourceNodeId()) { in checkFindAccessibilityNodeInfoResultIntegrity()
1364 if (child.getSourceNodeId() == childId) { in checkFindAccessibilityNodeInfoResultIntegrity()
DAccessibilityRecord.java744 public long getSourceNodeId() { in getSourceNodeId() method in AccessibilityRecord
DAccessibilityNodeInfo.java3584 public long getSourceNodeId() { in getSourceNodeId() method in AccessibilityNodeInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java160 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_singleRootNodeThenReplacer_returnsNodeWithReplacedActions()
179 assertEquals(NON_ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_singleNonrootNodeThenReplacer_returnsNodeWithNoActions()
198 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_replacerThenSingleRootNode_returnsNodeWithReplacedActions()
266 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testConstructor_actionReplacerThrowsException_passesDataToService()
299 if (info.getSourceNodeId() == id) { in getNodeWithIdFromList()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java157 if (info.getSourceNodeId() == AccessibilityNodeInfo.ROOT_NODE_ID) { in setNodeWithReplacementActionsFromList()
259 if ((info.getSourceNodeId() == AccessibilityNodeInfo.ROOT_NODE_ID) in replaceActionsOnInfoLocked()
DAccessibilityManagerService.java941 mCurrentUserId, event.getWindowId(), event.getSourceNodeId(), in sendAccessibilityEvent()
/frameworks/base/core/java/android/text/style/
DAccessibilityClickableSpan.java121 mSourceNodeId = accessibilityNodeInfo.getSourceNodeId(); in copyConnectionDataFrom()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java652 .getVirtualDescendantId(focusNode.getSourceNodeId()); in findFocusUiThread()
840 focusNode.getSourceNodeId()); in clearAccessibilityFocusUiThread()
950 != AccessibilityNodeInfo.getAccessibilityViewId(info.getSourceNodeId())) { in associateLeashedParentIfNeeded()
1157 if (requestedNode != null && requestedNode.getSourceNodeId() == nodeId) { in nodeWithIdFromList()
1162 if (info.getSourceNodeId() == nodeId) { in nodeWithIdFromList()
1302 nodeMap.put(node.getSourceNodeId(), node); in enforceNodeTreeConsistent()
1547 if (childNodeId != current.getSourceNodeId()) { in prefetchSiblingsOfVirtualNode()
DViewRootImpl.java3958 focusedNode.getSourceNodeId()); in fireAccessibilityFocusEventIfHasFocusedNode()
5262 focusNode.getSourceNodeId()); in setAccessibilityFocus()
9770 event.getSourceNodeId()); in requestSendAccessibilityEvent()
9793 final long sourceNodeId = event.getSourceNodeId(); in getSourceForAccessibilityEvent()
9832 final long eventSourceNodeId = event.getSourceNodeId(); in handleWindowContentChangedEvent()
9856 final long focusedSourceNodeId = mAccessibilityFocusedVirtualView.getSourceNodeId(); in handleWindowContentChangedEvent()
DView.java10173 structure.setId(AccessibilityNodeInfo.getVirtualDescendantId(info.getSourceNodeId()), in populateVirtualStructure()
10209 AccessibilityNodeInfo.getVirtualDescendantId(info.getSourceNodeId()))); in populateVirtualStructure()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java3378 + AccessibilityNodeInfo.getVirtualDescendantId(event.getSourceNodeId()) in onAccessibilityEvent()
3385 && mFocusedNodeId == event.getSourceNodeId()) { in onAccessibilityEvent()
3396 final long nodeId = event.getSourceNodeId(); in onAccessibilityEvent()
3407 && mFocusedNodeId == event.getSourceNodeId()) { in onAccessibilityEvent()
3408 notifyValueChanged(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
3415 notifyViewClicked(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
/frameworks/base/core/java/android/widget/
DGridView.java1387 accessibilityFocusLayoutRestoreNode.getSourceNodeId()); in layoutChildren()
DListView.java1929 accessibilityFocusLayoutRestoreNode.getSourceNodeId()); in layoutChildren()
/frameworks/base/core/api/
Dtest-current.txt2994 method public long getSourceNodeId();