/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/navigation/ |
D | PhotopickerNavGraphTest.kt | 55 lateinit var navController: TestNavHostController variable in com.android.photopicker.core.navigation.PhotopickerNavGraphTest 86 navController = TestNavHostController(LocalContext.current) in testNavGraph() 87 navController.navigatorProvider.addNavigator(ComposeNavigator()) in testNavGraph() 88 navController.navigatorProvider.addNavigator(DialogNavigator()) in testNavGraph() 94 CompositionLocalProvider(LocalNavController provides navController) { in testNavGraph() 119 val route = navController.currentBackStackEntry?.destination?.route in testVerifyStartDestinationWithNoFeatures() 132 val route = navController.currentBackStackEntry?.destination?.route in testStartDestinationWithPriorities() 145 var route = navController.currentBackStackEntry?.destination?.route in testNavigationGraphIsNavigableToDialogs() 152 route = navController.currentBackStackEntry?.destination?.route in testNavigationGraphIsNavigableToDialogs() 158 route = navController.currentBackStackEntry?.destination?.route in testNavigationGraphIsNavigableToDialogs() [all …]
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | SettingsActivity.kt | 68 val navController = findNavController(R.id.nav_host_fragment) in maybeNavigateToAppPermissions() constant 71 navController.navigate( in maybeNavigateToAppPermissions() 80 val navController = findNavController(R.id.nav_host_fragment) in onBackPressed() constant 81 if (!navController.popBackStack()) { in onBackPressed() 87 val navController = Navigation.findNavController(this, R.id.nav_host_fragment) in onNavigateUp() constant 88 if (!navController.popBackStack()) { in onNavigateUp()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/ |
D | PhotopickerFeatureBaseTest.kt | 57 lateinit var navController: TestNavHostController variable in com.android.photopicker.features.PhotopickerFeatureBaseTest 69 navController = TestNavHostController(getTestableContext()) in createNavController() 70 navController.navigatorProvider.addNavigator(ComposeNavigator()) in createNavController() 71 navController.navigatorProvider.addNavigator(DialogNavigator()) in createNavController() 72 return navController in createNavController() 131 navController: TestNavHostController = createNavController(), in callPhotopickerMain() 137 LocalNavController provides navController, in callPhotopickerMain()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | MainActivity.kt | 30 val navController = findNavController(R.id.nav_host_fragment) in onBackPressed() constant 31 if (!navController.popBackStack()) { in onBackPressed() 37 val navController = findNavController(R.id.nav_host_fragment) in onNavigateUp() constant 38 if (!navController.popBackStack()) { in onNavigateUp()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | MainActivity.java | 47 NavController navController = in onCreate() local 49 appBarConfiguration = new AppBarConfiguration.Builder(navController.getGraph()).build(); in onCreate() 50 NavigationUI.setupActionBarWithNavController(this, navController, appBarConfiguration); in onCreate() 96 NavController navController = in onSupportNavigateUp() local 98 return NavigationUI.navigateUp(navController, appBarConfiguration) in onSupportNavigateUp()
|
/packages/apps/Settings/src/com/android/settings/remoteauth/ |
D | RemoteAuthActivity.kt | 48 val navController = navHostFragment.navController in initializeNavigation() constant 49 val navGraph = navController.navInflater.inflate(R.navigation.remote_auth_navigation) in initializeNavigation() 51 navController.graph = navGraph in initializeNavigation()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/ |
D | PreviewFeatureTest.kt | 333 navController.navigateToPreviewMedia(TEST_MEDIA_IMAGE) in testNavigateToPreviewImage() 337 .that(navController.currentBackStackEntry?.destination?.route) in testNavigateToPreviewImage() 341 navController.currentBackStackEntry in testNavigateToPreviewImage() 367 navController.navigateToPreviewMedia(TEST_MEDIA_VIDEO) in testNavigateToPreviewVideo() 371 .that(navController.currentBackStackEntry?.destination?.route) in testNavigateToPreviewVideo() 375 navController.currentBackStackEntry in testNavigateToPreviewVideo() 410 navController.navigateToPreviewMedia(TEST_MEDIA_IMAGE) in testPreviewMediaToggleSelection() 462 composeTestRule.runOnUiThread({ navController.navigateToPreviewSelection() }) in testNavigateToPreviewSelection() 465 .that(navController.currentBackStackEntry?.destination?.route) in testNavigateToPreviewSelection() 496 composeTestRule.runOnUiThread({ navController.navigateToPreviewSelection() }) in testPreviewSelectionActions() [all …]
|
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/ |
D | MainActivity.java | 42 NavController navController = navHostFragment.getNavController(); in onCreate() local 47 new AppBarConfiguration.Builder(navController.getGraph()) in onCreate() 51 NavigationUI.setupWithNavController(topAppBar, navController, appBarConfig); in onCreate() 54 NavigationUI.setupWithNavController(navView, navController); in onCreate()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/ |
D | MainActivity.kt | 71 val navController = findNavController(R.id.nav_host_fragment) in onBackPressed() constant 72 if (!navController.popBackStack()) { in onBackPressed() 78 val navController = findNavController(R.id.nav_host_fragment) in onNavigateUp() constant 79 if (!navController.popBackStack()) { in onNavigateUp()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/ |
D | AlbumGrid.kt | 66 val navController = LocalNavController.current in <lambda>() constant 88 navController.navigateToPhotoGrid() in <lambda>() 100 navController.navigateToAlbumMediaGrid(album = item.album) in <lambda>() 122 val navController = LocalNavController.current in AlbumGridNavButton() constant 125 onClick = navController::navigateToAlbumGrid, in AlbumGridNavButton()
|
D | AlbumMediaGrid.kt | 130 val navController = LocalNavController.current in AlbumMediaGridView() constant 141 IconButton(onClick = { navController.navigateToAlbumGrid() }) { in AlbumMediaGridView() 181 navController.navigateToPreviewMedia(item.media) in AlbumMediaGridView()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/test/highpriorityuifeature/ |
D | HighPriorityUiFeature.kt | 140 val navController = LocalNavController.current in dialog() constant 144 Button(onClick = { navController.navigate(START_ROUTE) }) { in dialog() 158 val navController = LocalNavController.current in start() constant 163 Button(onClick = { navController.navigate(DIALOG_ROUTE) }) { in start() 169 Button(onClick = { navController.navigate(SimpleUiFeature.SIMPLE_ROUTE) }) { in start()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/photogrid/ |
D | PhotoGrid.kt | 59 val navController = LocalNavController.current in <lambda>() constant 91 navController.navigateToAlbumGrid() in <lambda>() 113 navController.navigateToPreviewMedia(item.media) in <lambda>() 127 val navController = LocalNavController.current in PhotoGridNavButton() constant 130 onClick = navController::navigateToPhotoGrid, in PhotoGridNavButton()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/navigationbar/ |
D | NavigationBar.kt | 57 val navController = LocalNavController.current in NavigationBar() constant 58 val navBackStackEntry by navController.currentBackStackEntryAsState() in NavigationBar() 96 val navController = LocalNavController.current in NavigationBarButton() constant 97 val navBackStackEntry by navController.currentBackStackEntryAsState() in NavigationBarButton()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/ |
D | DataManagementActivity.kt | 103 val navController = findNavController(R.id.nav_host_fragment) in <lambda>() constant 104 if (!navController.popBackStack()) { in <lambda>() 110 val navController = findNavController(R.id.nav_host_fragment) in <lambda>() constant 111 if (!navController.popBackStack()) { in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/ |
D | PhotopickerApp.kt | 73 val navController = rememberNavController() in PhotopickerAppWithBottomSheet() constant 76 CompositionLocalProvider(LocalNavController provides navController) { in PhotopickerAppWithBottomSheet() 148 val navController = rememberNavController() in PhotopickerApp() constant 151 CompositionLocalProvider(LocalNavController provides navController) { PhotopickerMain() } in PhotopickerApp()
|
/packages/apps/Settings/src/com/android/settings/remoteauth/introduction/ |
D | RemoteAuthEnrollIntroduction.kt | 37 private val navController by lazy { findNavController(this) } in <lambda>() constant 68 navController.navigate(R.id.action_introduction_to_enrolling) in <lambda>() 72 navController.navigateUp() in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/navigation/ |
D | PhotopickerNavGraph.kt | 47 val navController = LocalNavController.current in <lambda>() constant 50 navController = navController, in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/remoteauth/enrolling/ |
D | RemoteAuthEnrollEnrolling.kt | 45 private val navController by lazy { findNavController(this) } in <lambda>() constant 100 navController.navigateUp() in onSecondaryFooterButtonClick() 119 navController.navigate(R.id.action_enrolling_to_finish) in updateUi()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/ |
D | MigrationActivity.kt | 252 val navController = findNavController(R.id.nav_host_fragment) in <lambda>() constant 253 if (!navController.popBackStack()) { in <lambda>() 259 val navController = findNavController(R.id.nav_host_fragment) in <lambda>() constant 260 if (!navController.popBackStack()) { in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/ |
D | WallpaperPreviewActivity.kt | 86 val navController = in <lambda>() constant 89 .navController in <lambda>() 90 val graph = navController.navInflater.inflate(R.navigation.wallpaper_preview_nav_graph) in <lambda>() 101 navController.setGraph(graph, startDestinationArgs) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnEditPageProvider.kt | 91 val navController = LocalNavController.current in <lambda>() constant 94 if (!isEnabled) navController.navigateBack() in <lambda>() 115 val navController = LocalNavController.current in ApnPage() constant 128 if (valid == null) navController.navigateBack() in ApnPage() 140 navController.navigateBack() in ApnPage()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppCreateButton.kt | 49 val navController = LocalNavController.current in createButton() constant 69 navController.navigate(getRoute(app.packageName, cloneBackend.cloneUserId), in createButton()
|
D | PackageInfoPresenter.kt | 109 val navController = LocalNavController.current in <lambda>() constant 112 navController.navigateBack() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | ReviewPermissionsViewModel.kt | 155 val navController: NavController = NavHostFragment.findNavController(fragment) in <lambda>() constant 156 navController.navigateSafe(R.id.app_to_all_perms, args) in <lambda>()
|