Searched refs:fpv (Results 1 – 4 of 4) sorted by relevance
247 FocusParkingView fpv = activity.findViewById(R.id.focusParkingView); in testInitFocus_focusOnDefaultFocusView() local248 fpv.setShouldRestoreFocus(false); in testInitFocus_focusOnDefaultFocusView()249 fpv.post(() -> fpv.requestFocus()); in testInitFocus_focusOnDefaultFocusView()251 assertThat(fpv.isFocused()).isTrue(); in testInitFocus_focusOnDefaultFocusView()291 FocusParkingView fpv = activity.findViewById(R.id.focusParkingView); in testInitFocus_focusOnLastTouchedView() local292 fpv.setShouldRestoreFocus(false); in testInitFocus_focusOnLastTouchedView()293 fpv.post(fpv::requestFocus); in testInitFocus_focusOnLastTouchedView()295 assertThat(fpv.isFocused()).isTrue(); in testInitFocus_focusOnLastTouchedView()334 FocusParkingView fpv = activity.findViewById(R.id.focusParkingView); in testInitFocus_focusOnFirstFocusableView() local336 fpv.setShouldRestoreFocus(false); in testInitFocus_focusOnFirstFocusableView()[all …]
1424 AccessibilityNodeInfo fpv = createNode("focusParkingView"); in testFindFocusParkingView() local1426 assertThat(result).isEqualTo(fpv); in testFindFocusParkingView()
1438 AccessibilityNodeInfo fpv = mNavigator.findFocusParkingViewInRoot(root); in restoreDefaultFocusInRoot() local1441 fpv = Utils.refreshNode(fpv); in restoreDefaultFocusInRoot()1443 if (fpv == null) { in restoreDefaultFocusInRoot()1445 } else if (Utils.isCarUiFocusParkingView(fpv)) { in restoreDefaultFocusInRoot()1446 if (!fpv.performAction(ACTION_RESTORE_DEFAULT_FOCUS)) { in restoreDefaultFocusInRoot()1450 fpv.recycle(); in restoreDefaultFocusInRoot()1459 Utils.recycleNode(fpv); in restoreDefaultFocusInRoot()1681 AccessibilityNodeInfo fpv = mNavigator.findFocusParkingView(mFocusedNode); in nudgeTo() local1682 if (fpv != null) { in nudgeTo()1683 if (fpv.performAction(ACTION_DISMISS_POPUP_WINDOW)) { in nudgeTo()[all …]
374 AccessibilityNodeInfo fpv = findFocusParkingViewInRoot(root); in findFocusParkingView() local376 return fpv; in findFocusParkingView()