Home
last modified time | relevance | path

Searched refs:userSwitcher (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt127 fun userSwitcher() = runTest { in <lambda>() method in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModelTest
158 val currentUserSwitcher = collectLastValue(underTest.userSwitcher) in <lambda>()
170 val userSwitcher = currentUserSwitcher() in <lambda>() constant
171 assertThat(userSwitcher).isNotNull() in <lambda>()
172 assertThat(userSwitcher!!.icon) in <lambda>()
174 assertThat(userSwitcher.backgroundColor).isEqualTo(R.attr.shadeInactive) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt63 val userSwitcher: Flow<FooterActionsButtonViewModel?>, in <lambda>() constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel
239 val userSwitcher = in FooterActionsViewModel() constant
275 userSwitcher = userSwitcher, in FooterActionsViewModel()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt142 var userSwitcher by remember { mutableStateOf<FooterActionsButtonViewModel?>(null) } in FooterActions() variable
150 viewModel.userSwitcher, in FooterActions()
161 launch { viewModel.userSwitcher.collect { userSwitcher = it } } in FooterActions()
223 userSwitcher?.let { IconButton(it, Modifier.sysuiResTag("multi_user_switch")) } in FooterActions()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerControllerTest.kt923 val userSwitcher = mock(View::class.java) in <lambda>() constant
925 .thenReturn(userSwitcher) in <lambda>()
928 verify(userSwitcher).setAlpha(0f) in <lambda>()