Searched refs:mNavigator (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | NavigatorTest.java | 72 private Navigator mNavigator; field in NavigatorTest 103 mNavigator = new Navigator(/* displayWidth= */ mDisplayBounds.right, in setUp() 108 mNavigator.setNodeCopier(MockNodeCopierProvider.get()); in setUp() 141 FindRotateTargetResult target = mNavigator.findRotateTarget(button1, direction, 1); in testFindRotateTarget() 148 target = mNavigator.findRotateTarget(button1, direction, 2); in testFindRotateTarget() 176 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround() 201 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAroundWithGenericFpv() 224 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2() 247 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2WithGenericFpv() 295 FindRotateTargetResult target = mNavigator.findRotateTarget(text1, direction, 1); in testFindRotateTargetDoesNotSkipOffscreenNode() [all …]
|
D | RotaryServiceTest.java | 99 Navigator mNavigator; field in RotaryServiceTest 128 mRotaryService.setNavigator(mNavigator); in setUp() 373 mNavigator.addClientApp(CLIENT_APP_PACKAGE_NAME); in testInitFocus_focusOnHostNode() 374 mNavigator.mSurfaceViewHelper.mHostApp = HOST_APP_PACKAGE_NAME; in testInitFocus_focusOnHostNode() 678 when(mNavigator.findFocusParkingViewInRoot(hunRoot)).thenReturn(mockHunFpv); in testNudgeTo_nudgeToHun() 679 when(mNavigator.findHunWindow(anyList())).thenReturn(hunWindow); in testNudgeTo_nudgeToHun() 941 when(mNavigator.findNudgeTargetFocusArea( in testNudgeTo_nudgeToNearestTarget() 1012 when(mNavigator.findNudgeTargetFocusArea( in testOnKeyEvents_nudgeUp_moveFocus() 1183 when(mNavigator.findNudgeTargetFocusArea( in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun() 1271 when(mNavigator.isHunWindow(hunButton1Node.getWindow())).thenReturn(true); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun() [all …]
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 253 private Navigator mNavigator; field in RotaryService 579 if (mNavigator == null) { 584 mNavigator.clearHostApp(packageName); 586 mNavigator.initHostApp(getPackageManager()); 614 mNavigator = new Navigator(displayWidth, displayHeight, hunLeft, hunRight, showHunOnBottom); in onCreate() 615 mNavigator.initHostApp(getPackageManager()); in onCreate() 1175 if (mNavigator.isClientNode(sourceNode)) { in handleViewFocusedEvent() 1276 AccessibilityNodeInfo target = mNavigator.findFocusableDescendantInDirection( in handleViewScrolledEvent() 1298 ? mNavigator.findFirstFocusableDescendant(sourceNode) in handleViewScrolledEvent() 1299 : mNavigator.findLastFocusableDescendant(sourceNode); in handleViewScrolledEvent() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 107 protected NavigationViewManager mNavigator; field in BaseActivity 208 mNavigator = getNavigationViewManager(breadcrumb, profileTabsContainer); in onCreate() 211 appBarLayout.addOnOffsetChangedListener(mNavigator); in onCreate() 246 mNavigator.update(); in onCreate() 327 mNavigator.setSearchBarClickListener(v -> { in onCreate() 329 mNavigator.update(); in onCreate() 332 mNavigator.setProfileTabsListener(userId -> { in onCreate() 428 mNavigator.update(); in onCreateOptionsMenu() 523 mNavigator.revealRootsDrawer(open); in setRootsDrawerOpen() 529 mNavigator.update(); in setRootsDrawerLocked() [all …]
|
D | ActionModeController.java | 49 private final NavigationViewManager mNavigator; field in ActionModeController 68 mNavigator = navigator; in ActionModeController() 140 mNavigator.setActionModeActivated(false); in onDestroyActionMode() 150 mNavigator.setActionModeActivated(true); in onCreateActionMode()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 142 mNavigator, in onCreate() 283 mNavigator.update(); in onPostCreate()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 133 mNavigator, in onCreate() 300 mNavigator.update(); in onPostCreate()
|