Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInteractionControllerNodeRequestsTest.java273 final long nodeId = AccessibilityNodeInfo.makeNodeId( in testFindRootAndTextNodes_withTwoClients_shouldPreventClient1Prefetch()
281 sendNodeRequestToController(nodeId, mMockClientCallback2, in testFindRootAndTextNodes_withTwoClients_shouldPreventClient1Prefetch()
347 final long nodeId = AccessibilityNodeInfo.makeNodeId( in testFindRootAndTextNode_withOneClient_shouldInterruptPrefetchAndSatisfyPendingMsg()
356 sendNodeRequestToController(nodeId, mMockClientCallback1, in testFindRootAndTextNode_withOneClient_shouldInterruptPrefetchAndSatisfyPendingMsg()
412 final long nodeId = AccessibilityNodeInfo.makeNodeId( in testFindRoot_withOneClient_shouldInterruptPrefetchAndSatisfyPendingMsg()
421 sendNodeRequestToController(nodeId, mMockClientCallback1, in testFindRoot_withOneClient_shouldInterruptPrefetchAndSatisfyPendingMsg()
470 final long nodeId = AccessibilityNodeInfo.makeNodeId( in testFindRootAndTextNode_withTwoClients_shouldInterruptPrefetchAndSatisfyPendingMsg()
478 sendNodeRequestToController(nodeId, mMockClientCallback2, in testFindRootAndTextNode_withTwoClients_shouldInterruptPrefetchAndSatisfyPendingMsg()
521 final long nodeId = AccessibilityNodeInfo.makeNodeId( in testFindNodeById_withTwoDifferentPrefetchFlags_shouldNotSatisfyPendingRequest()
529 sendNodeRequestToController(nodeId, mMockClientCallback2, in testFindNodeById_withTwoDifferentPrefetchFlags_shouldNotSatisfyPendingRequest()
[all …]
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java4010 final long nodeId = event.getSourceNodeId(); in onAccessibilityEvent() local
4011 if (notifyViewEntered(windowId, nodeId, mFocusedBounds)) { in onAccessibilityEvent()
4013 mFocusedNodeId = nodeId; in onAccessibilityEvent()
4049 private boolean notifyViewEntered(int windowId, long nodeId, Rect focusedBounds) { in notifyViewEntered() argument
4050 final int virtualId = AccessibilityNodeInfo.getVirtualDescendantId(nodeId); in notifyViewEntered()
4054 final View view = findViewByAccessibilityId(windowId, nodeId); in notifyViewEntered()
4075 private void notifyViewExited(int windowId, long nodeId) { in notifyViewExited() argument
4076 final int virtualId = AccessibilityNodeInfo.getVirtualDescendantId(nodeId); in notifyViewExited()
4080 final View view = findViewByAccessibilityId(windowId, nodeId); in notifyViewExited()
4087 private void notifyValueChanged(int windowId, long nodeId) { in notifyValueChanged() argument
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java672 private boolean isCachedNodeOrDescendantLocked(long nodeId, long ancestorId, in isCachedNodeOrDescendantLocked() argument
674 if (ancestorId == nodeId) { in isCachedNodeOrDescendantLocked()
677 AccessibilityNodeInfo node = nodes.get(nodeId); in isCachedNodeOrDescendantLocked()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java929 private void assertFocus(AccessibilityNodeInfo focus, int focusType, long nodeId, in assertFocus() argument
932 focusType, nodeId, windowId); in assertFocus()
1094 final int nodeId = 0xBEEF; in assertEventTypeClearsNode() local
1095 AccessibilityNodeInfo nodeInfo = getNodeWithA11yAndWindowId(nodeId, WINDOW_ID_1); in assertEventTypeClearsNode()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java1707 long nodeId, int eventType, int eventAction) { in updateActiveAndAccessibilityFocusedWindowLocked() argument
1755 mAccessibilityFocusNodeId = nodeId; in updateActiveAndAccessibilityFocusedWindowLocked()
1765 if (mAccessibilityFocusNodeId == nodeId) { in updateActiveAndAccessibilityFocusedWindowLocked()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java1223 List<AccessibilityNodeInfo> infos, long nodeId) { in nodeWithIdFromList() argument
1224 if (requestedNode != null && requestedNode.getSourceNodeId() == nodeId) { in nodeWithIdFromList()
1229 if (info.getSourceNodeId() == nodeId) { in nodeWithIdFromList()