Home
last modified time | relevance | path

Searched refs:focusedNode (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DUtils.java461 AccessibilityNodeInfo focusedNode; in findFocusWithRetry() local
463 focusedNode = root.findFocus(FOCUS_INPUT); in findFocusWithRetry()
464 L.v("findFocus():" + focusedNode); in findFocusWithRetry()
465 focusedNode = Utils.refreshNode(focusedNode); in findFocusWithRetry()
466 if (focusedNode != null && focusedNode.isFocused()) { in findFocusWithRetry()
467 return focusedNode; in findFocusWithRetry()
469 Utils.recycleNode(focusedNode); in findFocusWithRetry()
DRotaryService.java1401 AccessibilityNodeInfo focusedNode = mNavigator.findFocusedNodeInRoot(root); in handleWindowAddedEvent() local
1402 if (focusedNode != null) { in handleWindowAddedEvent()
1403 setFocusedNode(focusedNode); in handleWindowAddedEvent()
1404 focusedNode.recycle(); in handleWindowAddedEvent()
2392 AccessibilityNodeInfo focusedNode = mNavigator.findFocusedNodeInRoot(root); in initFocus() local
2394 if (focusedNode == null) { in initFocus()
2402 focusedNode.recycle(); in initFocus()
2410 L.v("Setting mFocusedNode to the focused node: " + focusedNode); in initFocus()
2411 setFocusedNode(focusedNode); in initFocus()
2412 focusedNode.recycle(); in initFocus()
[all …]
DNavigator.java308 AccessibilityNodeInfo focusedNode = findFocusedNodeInRootInternal(root); in findFocusedNodeInRoot() local
309 if (focusedNode != null && Utils.isFocusParkingView(focusedNode)) { in findFocusedNodeInRoot()
310 focusedNode.recycle(); in findFocusedNodeInRoot()
313 return focusedNode; in findFocusedNodeInRoot()
325 AccessibilityNodeInfo focusedNode = Utils.findFocusWithRetry(root); in findFocusedNodeInRootInternal() local
326 if (focusedNode != null && Utils.isSurfaceView(focusedNode)) { in findFocusedNodeInRootInternal()
334 surfaceView = focusedNode; in findFocusedNodeInRootInternal()
337 return focusedNode; in findFocusedNodeInRootInternal()
361 AccessibilityNodeInfo focusedNode = embeddedRoot.findFocus(FOCUS_INPUT); in findFocusedNodeInRootInternal() local
363 return focusedNode; in findFocusedNodeInRootInternal()
DWindowCache.java52 void saveFocusedNode(int windowId, @NonNull AccessibilityNodeInfo focusedNode) { in saveFocusedNode() argument
58 mFocusedNodes.put(windowId, copyNode(focusedNode)); in saveFocusedNode()