Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt321 val currentPopup by collectLastValue(underTest.currentPopup) in <lambda>() constant
331 assertThat(currentPopup).isEqualTo(PopupType.CtaTile) in <lambda>()
335 assertThat(currentPopup).isNull() in <lambda>()
343 val currentPopup by collectLastValue(underTest.currentPopup) in <lambda>() constant
346 assertThat(currentPopup).isEqualTo(PopupType.CtaTile) in <lambda>()
350 assertThat(currentPopup).isNull() in <lambda>()
357 val currentPopup by collectLastValue(underTest.currentPopup) in <lambda>() constant
359 assertThat(currentPopup).isNull() in <lambda>()
361 assertThat(currentPopup).isEqualTo(PopupType.CustomizeWidgetButton) in <lambda>()
363 assertThat(currentPopup).isNull() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DBaseCommunalViewModel.kt110 open val currentPopup: Flow<PopupType?> = flowOf(null) constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
DCommunalViewModel.kt167 override val currentPopup: Flow<PopupType?> = _currentPopup.asStateFlow() in <lambda>() constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt169 val currentPopup by viewModel.currentPopup.collectAsStateWithLifecycle(initialValue = null) in <lambda>() constant
340 if (currentPopup == PopupType.CtaTile) { in <lambda>()
345 visible = currentPopup == PopupType.CustomizeWidgetButton, in <lambda>()