Home
last modified time | relevance | path

Searched refs:mNavigator (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java63 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 …]
DRotaryServiceTest.java96 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/
DRotaryService.java244 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/
DBaseActivity.java103 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 …]
DActionModeController.java49 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/
DCarCalendarView.java58 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()
DEventCalendarItem.java56 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/
DFilesActivity.java135 mNavigator, in onCreate()
269 mNavigator.update(); in onPostCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java124 mNavigator, in onCreate()
280 mNavigator.update(); in onPostCreate()