Home
last modified time | relevance | path

Searched refs:currentNode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DTreeTraverser.java60 AccessibilityNodeInfo currentNode = copyNode(node); in findNodeOrAncestor() local
61 while (currentNode != null in findNodeOrAncestor()
62 && (stopPredicate == null || !stopPredicate.test(currentNode))) { in findNodeOrAncestor()
63 if (targetPredicate.test(currentNode)) { in findNodeOrAncestor()
64 return currentNode; in findNodeOrAncestor()
66 AccessibilityNodeInfo parentNode = currentNode.getParent(); in findNodeOrAncestor()
67 currentNode.recycle(); in findNodeOrAncestor()
68 currentNode = parentNode; in findNodeOrAncestor()
70 Utils.recycleNode(currentNode); in findNodeOrAncestor()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivityController.java419 MediaItemMetadata currentNode = getCurrentMediaItem(); in showCurrentNode() local
420 if (currentNode == null) { in showCurrentNode()
424 BrowseViewController controller = show ? getControllerForItem(currentNode) : in showCurrentNode()
425 mBrowseViewControllersByNode.get(currentNode); in showCurrentNode()
434 MediaItemMetadata currentNode = getCurrentMediaItem(); in restoreFocusInCurrentNode() local
435 if (currentNode == null) { in restoreFocusInCurrentNode()
438 BrowseViewController controller = getControllerForItem(currentNode); in restoreFocusInCurrentNode()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java186 BrowseNode currentNode = null; in addChildren() local
188 currentNode = new BrowseNode((AvrcpItem) child); in addChildren()
190 currentNode = new BrowseNode((AvrcpPlayer) child); in addChildren()
192 addChild(currentNode); in addChildren()