Searched refs:focusedNode (Results 1 – 4 of 4) sorted by relevance
461 AccessibilityNodeInfo focusedNode; in findFocusWithRetry() local463 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()
1401 AccessibilityNodeInfo focusedNode = mNavigator.findFocusedNodeInRoot(root); in handleWindowAddedEvent() local1402 if (focusedNode != null) { in handleWindowAddedEvent()1403 setFocusedNode(focusedNode); in handleWindowAddedEvent()1404 focusedNode.recycle(); in handleWindowAddedEvent()2392 AccessibilityNodeInfo focusedNode = mNavigator.findFocusedNodeInRoot(root); in initFocus() local2394 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 …]
308 AccessibilityNodeInfo focusedNode = findFocusedNodeInRootInternal(root); in findFocusedNodeInRoot() local309 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() local326 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() local363 return focusedNode; in findFocusedNodeInRootInternal()
52 void saveFocusedNode(int windowId, @NonNull AccessibilityNodeInfo focusedNode) { in saveFocusedNode() argument58 mFocusedNodes.put(windowId, copyNode(focusedNode)); in saveFocusedNode()