Home
last modified time | relevance | path

Searched refs:navController (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/
DNavControllerWrapperTest.kt57 val navController = LocalNavController.current in navigate_canNavigateBack() constant
59 navController.navigate(ROUTE_B) in navigate_canNavigateBack()
61 navController.navigateBack() in navigate_canNavigateBack()
73 val navController = LocalNavController.current in navigate_canNavigateAndPopUpCurrent() constant
75 navController.navigate(ROUTE_B) in navigate_canNavigateAndPopUpCurrent()
77 navController.navigate(ROUTE_C, popUpCurrent = true) in navigate_canNavigateAndPopUpCurrent()
79 navController.navigateBack() in navigate_canNavigateAndPopUpCurrent()
90 val navController = rememberNavController() in TestNavHost() constant
91 CompositionLocalProvider(navController.localNavController()) { in TestNavHost()
92 NavHost(navController, ROUTE_A) { in TestNavHost()
DOnBackEffectTest.kt47 val navController = LocalNavController.current in onBackEffect() constant
49 navController.navigate(ROUTE_B) in onBackEffect()
51 navController.navigateBack() in onBackEffect()
62 val navController = rememberNavController() in TestNavHost() constant
63 CompositionLocalProvider(navController.localNavController()) { in TestNavHost()
64 NavHost(navController, ROUTE_A) { in TestNavHost()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/
DWearApp.kt57 val navController = rememberSwipeDismissableNavController() in WearApp() constant
66 navController = navController, in WearApp()
118 if (navController.currentDestination?.route != Screen.Loading.route) { in WearApp()
119 navController.navigateToLoading() in WearApp()
125 navController = navController, in WearApp()
147 navController: NavController, in handleGetNavigation()
159 navController.navigateToSignInWithProviderScreen() in handleGetNavigation()
162 navController.navigateToSinglePasskeyScreen() in handleGetNavigation()
165 navController.navigateToSinglePasswordScreen() in handleGetNavigation()
171 navController.navigateToMultipleCredentialsFoldScreen() in handleGetNavigation()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DNavControllerWrapper.kt43 navController = this, in localNavController()
60 val navController = LocalNavController.current in navigator() constant
61 return { navController.navigate(route, popUpCurrent) } in navigator()
65 val navController: NavHostController, constant in com.android.settingslib.spa.framework.compose.NavControllerWrapperImpl
72 navController.navigate(route) { in navigate()
74 navController.currentDestination?.let { currentDestination -> in navigate()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DPageLogger.kt34 val navController = LocalNavController.current in PageLogger() constant
36 onStart = { logPageEvent(LogEvent.PAGE_ENTER, navController) }, in PageLogger()
37 onStop = { logPageEvent(LogEvent.PAGE_LEAVE, navController) }, in PageLogger()
41 private fun SettingsPage.logPageEvent(event: LogEvent, navController: NavControllerWrapper) { in SettingsPage()
48 LOG_DATA_SESSION_NAME to navController.sessionSourceName, in SettingsPage()
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/
DMainActivity.kt67 var navController: NavHostController = rememberNavController() in BufferDemosApp() variable
69 val backStackEntry by navController.currentBackStackEntryAsState() in BufferDemosApp()
79 canNavigateBack = navController.previousBackStackEntry != null, in BufferDemosApp()
80 navigateUp = { navController.navigateUp() }) in BufferDemosApp()
83 navController = navController, in BufferDemosApp()
88 onButtonClicked = { navController.navigate(it) }, in BufferDemosApp()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/
DBrowseActivity.kt110 val navController = rememberNavController() in BrowseContent() constant
111 CompositionLocalProvider(navController.localNavController()) { in BrowseContent()
136 navController = navController, in NavControllerWrapperImpl()
178 navController.navigate(initialDestination) { in NavControllerWrapperImpl()
179 popUpTo(navController.graph.findStartDestination().id) { in NavControllerWrapperImpl()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DActions.kt33 val navController = LocalNavController.current in NavigateBack() constant
36 navController.navigateBack() in NavigateBack()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/navscaffold/
DWearNavScaffold.kt75 navController: NavHostController, in <lambda>()
86 val currentBackStackEntry: NavBackStackEntry? by navController.currentBackStackEntryAsState()
123 navController = navController, in <lambda>()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DMailAdapter.java83 ViewHolder(@NonNull View itemView, NavController navController) { in ViewHolder() argument
85 mNavController = navController; in ViewHolder()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugActivity.kt84 val navController = rememberNavController() in <lambda>() constant
85 CompositionLocalProvider(navController.localNavController()) { in <lambda>()
86 NavHost(navController, ROUTE_ROOT) { in <lambda>()