Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DRotaryServiceTest.java247 FocusParkingView fpv = activity.findViewById(R.id.focusParkingView); in testInitFocus_focusOnDefaultFocusView() local
248 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() local
292 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() local
336 fpv.setShouldRestoreFocus(false); in testInitFocus_focusOnFirstFocusableView()
[all …]
DNavigatorTest.java1424 AccessibilityNodeInfo fpv = createNode("focusParkingView"); in testFindFocusParkingView() local
1426 assertThat(result).isEqualTo(fpv); in testFindFocusParkingView()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1438 AccessibilityNodeInfo fpv = mNavigator.findFocusParkingViewInRoot(root); in restoreDefaultFocusInRoot() local
1441 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() local
1682 if (fpv != null) { in nudgeTo()
1683 if (fpv.performAction(ACTION_DISMISS_POPUP_WINDOW)) { in nudgeTo()
[all …]
DNavigator.java374 AccessibilityNodeInfo fpv = findFocusParkingViewInRoot(root); in findFocusParkingView() local
376 return fpv; in findFocusParkingView()