/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | NavigatorTest.java | 63 private Navigator mNavigator; field in NavigatorTest 80 mNavigator = new Navigator(/* displayWidth= */ mDisplayBounds.right, in setUp() 84 mNavigator.setNodeCopier(MockNodeCopierProvider.get()); in setUp() 117 FindRotateTargetResult target = mNavigator.findRotateTarget(button1, direction, 1); in testFindRotateTarget() 124 target = mNavigator.findRotateTarget(button1, direction, 2); in testFindRotateTarget() 152 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround() 177 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAroundWithGenericFpv() 200 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2() 223 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2WithGenericFpv() 271 FindRotateTargetResult target = mNavigator.findRotateTarget(text1, direction, 1); in testFindRotateTargetDoesNotSkipOffscreenNode() [all …]
|
D | RotaryServiceTest.java | 96 Navigator mNavigator; field in RotaryServiceTest 110 mRotaryService.setNavigator(mNavigator); in setUp() 351 mNavigator.addClientApp(CLIENT_APP_PACKAGE_NAME); in testInitFocus_focusOnHostNode() 352 mNavigator.mSurfaceViewHelper.mHostApp = HOST_APP_PACKAGE_NAME; in testInitFocus_focusOnHostNode() 654 when(mNavigator.findFocusParkingViewInRoot(hunRoot)).thenReturn(mockHunFpv); in testNudgeTo_nudgeToHun() 655 when(mNavigator.findHunWindow(anyList())).thenReturn(hunWindow); in testNudgeTo_nudgeToHun() 917 when(mNavigator.findNudgeTargetFocusArea( in testNudgeTo_nudgeToNearestTarget() 988 when(mNavigator.findNudgeTargetFocusArea( in testOnKeyEvents_nudgeUp_moveFocus() 1157 when(mNavigator.findNudgeTargetFocusArea( in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun() 1247 when(mNavigator.isHunWindow(null)).thenReturn(true); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun() [all …]
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 244 private Navigator mNavigator; field in RotaryService 515 if (mInRotaryMode && mNavigator.isMainApplicationWindow(window)) { 577 if (mNavigator == null) { 582 mNavigator.clearHostApp(packageName); 584 mNavigator.initHostApp(getPackageManager()); 614 mNavigator = new Navigator(displayWidth, displayHeight, hunLeft, hunRight, showHunOnBottom, in onCreate() 616 mNavigator.initHostApp(getPackageManager()); in onCreate() 1088 if (mNavigator.isClientNode(sourceNode)) { in handleViewFocusedEvent() 1180 AccessibilityNodeInfo target = mNavigator.findFocusableDescendantInDirection( in handleViewScrolledEvent() 1202 ? mNavigator.findFirstFocusableDescendant(sourceNode) in handleViewScrolledEvent() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 103 protected NavigationViewManager mNavigator; field in BaseActivity 168 mNavigator = new NavigationViewManager(this, mDrawer, mState, this, breadcrumb, in onCreate() 172 appBarLayout.addOnOffsetChangedListener(mNavigator); in onCreate() 207 mNavigator.update(); in onCreate() 280 mNavigator.setSearchBarClickListener(v -> { in onCreate() 282 mNavigator.update(); in onCreate() 285 mNavigator.setProfileTabsListener(userId -> { in onCreate() 359 mNavigator.update(); in onCreateOptionsMenu() 452 mNavigator.revealRootsDrawer(open); in setRootsDrawerOpen() 458 mNavigator.update(); in setRootsDrawerLocked() [all …]
|
D | ActionModeController.java | 49 private final NavigationViewManager mNavigator; field in ActionModeController 68 mNavigator = navigator; in ActionModeController() 139 mNavigator.setActionModeActivated(false); in onDestroyActionMode() 149 mNavigator.setActionModeActivated(true); in onCreateActionMode()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
D | CarCalendarView.java | 58 private final Navigator mNavigator; field in CarCalendarView 77 mNavigator = navigator; in CarCalendarView() 159 event, mFormatter, mNavigator, mDialer, mCarCalendarActivity)); in updateRecyclerViewItems() 163 event, mFormatter, mNavigator, mDialer, mCarCalendarActivity)); in updateRecyclerViewItems()
|
D | EventCalendarItem.java | 56 private final Navigator mNavigator; field in EventCalendarItem 68 mNavigator = navigator; in EventCalendarItem() 88 (view) -> mNavigator.navigate(mEvent.getLocation())); in bind()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 135 mNavigator, in onCreate() 269 mNavigator.update(); in onPostCreate()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 124 mNavigator, in onCreate() 280 mNavigator.update(); in onPostCreate()
|