Home
last modified time | relevance | path

Searched refs:NavType (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DParameterTest.kt21 import androidx.navigation.NavType
33 navArgument("string_param") { type = NavType.StringType }, in navRouteTest()
34 navArgument("int_param") { type = NavType.IntType }, in navRouteTest()
44 navArgument("string_param") { type = NavType.StringType }, in navLinkTest()
45 navArgument("int_param") { type = NavType.IntType }, in navLinkTest()
83 navArgument("string_param") { type = NavType.StringType }, in normalizeTest()
84 navArgument("int_param") { type = NavType.IntType }, in normalizeTest()
85 navArgument("rt_param") { type = NavType.StringType }, in normalizeTest()
122 navArgument("string_param") { type = NavType.StringType }, in getArgTest()
123 navArgument("int_param") { type = NavType.IntType }, in getArgTest()
[all …]
DUniqueIdTest.kt20 import androidx.navigation.NavType
35 navArgument("string_param") { type = NavType.StringType }, in testUniquePageId()
36 navArgument("int_param") { type = NavType.IntType }, in testUniquePageId()
45 navArgument("string_param") { type = NavType.StringType }, in testUniquePageId()
46 navArgument("int_param") { type = NavType.IntType }, in testUniquePageId()
47 navArgument("rt_param") { type = NavType.StringType }, in testUniquePageId()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DParameter.kt21 import androidx.navigation.NavType in <lambda>()
47 NavType.StringType -> { in List()
50 NavType.IntType -> { in List()
72 NavType.StringType -> { in normalize()
79 NavType.IntType -> { in normalize()
106 if (navArg.argument.type == NavType.StringType && navArg.name == name) return true in containsStringArg()
113 if (navArg.argument.type == NavType.IntType && navArg.name == name) return true in containsIntArg()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsPageTest.kt21 import androidx.navigation.NavType
71 navArgument("string_param") { type = NavType.StringType }, in testParamPage()
72 navArgument("int_param") { type = NavType.IntType }, in testParamPage()
94 navArgument("string_param") { type = NavType.StringType }, in testRtParamPage()
95 navArgument("int_param") { type = NavType.IntType }, in testRtParamPage()
96 navArgument("rt_param") { type = NavType.StringType }, in testRtParamPage()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt26 import androidx.navigation.NavType in <lambda>()
168 override val navType = SettingsPageProvider.NavType.Dialog
232 navArgument("string_param") { type = NavType.StringType }, in <lambda>()
233 navArgument("int_param") { type = NavType.IntType }, in <lambda>()
239 navArgument("string_param") { type = NavType.StringType }, in <lambda>()
240 navArgument("int_param") { type = NavType.IntType }, in <lambda>()
241 navArgument("rt_param") { type = NavType.StringType }, in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSettingsPageProvider.kt41 enum class NavType { in <lambda>() class
46 val navType: NavType in <lambda>()
47 get() = NavType.Page in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/
DArgumentPageModel.kt22 import androidx.navigation.NavType
49 navArgument(STRING_PARAM_NAME) { type = NavType.StringType }, in <lambda>()
50 navArgument(INT_PARAM_NAME) { type = NavType.IntType }, in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/itemList/
DItemOperatePage.kt26 import androidx.navigation.NavType in <lambda>()
49 navArgument(OPERATOR_PARAM_NAME) { type = NavType.StringType }, in <lambda>()
50 navArgument(ITEM_NAME_PARAM_NAME) { type = NavType.StringType }, in <lambda>()
DItemListPage.kt23 import androidx.navigation.NavType
44 navArgument(OPERATOR_PARAM_NAME) { type = NavType.StringType }, in <lambda>()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DTogglePermissionAppInfoPage.kt29 import androidx.navigation.NavType
81 navArgument(PERMISSION) { type = NavType.StringType }, in <lambda>()
82 navArgument(PACKAGE_NAME) { type = NavType.StringType }, in <lambda>()
83 navArgument(USER_ID) { type = NavType.IntType }, in <lambda>()
DTogglePermissionAppListPage.kt28 import androidx.navigation.NavType in <lambda>()
57 navArgument(PERMISSION) { type = NavType.StringType }, in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/
DBrowseActivity.kt46 import com.android.settingslib.spa.framework.common.SettingsPageProvider.NavType in <lambda>()
156 NavType.Page -> animatedComposable(route, spp.parameter) { content(it) } in NavGraphBuilder()
157 NavType.Dialog -> dialog(route, spp.parameter) { content(it) } in NavGraphBuilder()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/dialog/
DNavDialogProvider.kt26 override val navType = SettingsPageProvider.NavType.Dialog
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugActivity.kt28 import androidx.navigation.NavType in <lambda>()
94 navArgument(PARAM_NAME_PAGE_ID) { type = NavType.StringType }, in <lambda>()
100 navArgument(PARAM_NAME_ENTRY_ID) { type = NavType.StringType }, in <lambda>()