Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java129 mAccessibilityFocus = event.getSourceNodeId(); in onAccessibilityEvent()
134 if (mAccessibilityFocus == event.getSourceNodeId()) { in onAccessibilityEvent()
144 mInputFocus = event.getSourceNodeId(); in onAccessibilityEvent()
152 refreshCachedNodeLocked(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
158 final long sourceId = event.getSourceNodeId(); in onAccessibilityEvent()
169 clearSubTreeLocked(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
294 final long sourceId = info.getSourceNodeId(); in add()
DAccessibilityInteractionClient.java870 if (root.getParentNodeId() == candidate.getSourceNodeId()) { in checkFindAccessibilityNodeInfoResultIntegrity()
894 if (child.getSourceNodeId() == childId) { in checkFindAccessibilityNodeInfoResultIntegrity()
DAccessibilityRecord.java703 public long getSourceNodeId() { in getSourceNodeId() method in AccessibilityRecord
DAccessibilityNodeInfo.java3120 public long getSourceNodeId() { in getSourceNodeId() method in AccessibilityNodeInfo
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java205 long id = nodeInfo.getSourceNodeId(); in addThenGetNode_returnsEquivalentNode()
225 long id = nodeInfo1.getSourceNodeId(); in overwriteThenGetNode_returnsNewNode()
249 long id = nodeInfo1.getSourceNodeId(); in nodesInDifferentWindowWithSameId_areKeptSeparate()
252 assertEquals(id, nodeInfo2.getSourceNodeId()); in nodesInDifferentWindowWithSameId_areKeptSeparate()
272 long id = nodeInfo.getSourceNodeId(); in addNodeThenClear_nodeIsRemoved()
302 long id = nodeInfo.getSourceNodeId(); in subTreeChangeEventFromUncachedNode_clearsNodeInCache()
335 long parentId = parentNodeInfo.getSourceNodeId(); in reparentNode_clearsOldParent()
358 long childId = childNodeInfo.getSourceNodeId(); in removeChildFromParent_clearsChild()
658 long id = nodeInfo.getSourceNodeId(); in assertEventTypeClearsNode()
693 long parentId = parentNodeInfo.getSourceNodeId(); in assertEventClearsParentAndChild()
[all …]
DAccessibilityEventTest.java68 assertEquals(sourceNodeId, copyEventViaParcel(event).getSourceNodeId()); in testSouceNodeId_getSetWorkAcrossParceling()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java159 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_singleRootNodeThenReplacer_returnsNodeWithReplacedActions()
178 assertEquals(NON_ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_singleNonrootNodeThenReplacer_returnsNodeWithNoActions()
197 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testCallbacks_replacerThenSingleRootNode_returnsNodeWithReplacedActions()
265 assertEquals(AccessibilityNodeInfo.ROOT_NODE_ID, infoSentToService.getSourceNodeId()); in testConstructor_actionReplacerThrowsException_passesDataToService()
298 if (info.getSourceNodeId() == id) { in getNodeWithIdFromList()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java207 if ((info.getSourceNodeId() == AccessibilityNodeInfo.ROOT_NODE_ID) in replaceActionsOnInfoLocked()
213 if (nodeWithReplacementActions.getSourceNodeId() in replaceActionsOnInfoLocked()
DAccessibilityManagerService.java598 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/autofill/
DAutofillManager.java2693 + AccessibilityNodeInfo.getVirtualDescendantId(event.getSourceNodeId()) in onAccessibilityEvent()
2700 && mFocusedNodeId == event.getSourceNodeId()) { in onAccessibilityEvent()
2711 final long nodeId = event.getSourceNodeId(); in onAccessibilityEvent()
2722 && mFocusedNodeId == event.getSourceNodeId()) { in onAccessibilityEvent()
2723 notifyValueChanged(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
2730 notifyViewClicked(event.getWindowId(), event.getSourceNodeId()); in onAccessibilityEvent()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java736 focusNode.getSourceNodeId()); in clearAccessibilityFocusUiThread()
1091 nodeMap.put(node.getSourceNodeId(), node); in enforceNodeTreeConsistent()
1321 if (childNodeId != current.getSourceNodeId()) { in prefetchSiblingsOfVirtualNode()
DViewRootImpl.java2999 focusedNode.getSourceNodeId()); in fireAccessibilityFocusEventIfHasFocusedNode()
4192 focusNode.getSourceNodeId()); in setAccessibilityFocus()
8174 event.getSourceNodeId()); in requestSendAccessibilityEvent()
8197 final long sourceNodeId = event.getSourceNodeId(); in getSourceForAccessibilityEvent()
8236 final long eventSourceNodeId = event.getSourceNodeId(); in handleWindowContentChangedEvent()
8260 final long focusedSourceNodeId = mAccessibilityFocusedVirtualView.getSourceNodeId(); in handleWindowContentChangedEvent()
DView.java9637 structure.setId(AccessibilityNodeInfo.getVirtualDescendantId(info.getSourceNodeId()),
9673 AccessibilityNodeInfo.getVirtualDescendantId(info.getSourceNodeId())));
/frameworks/base/core/java/android/widget/
DGridView.java1386 accessibilityFocusLayoutRestoreNode.getSourceNodeId()); in layoutChildren()
DListView.java1929 accessibilityFocusLayoutRestoreNode.getSourceNodeId()); in layoutChildren()