Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalViewModel.kt166 private val _currentPopup: MutableStateFlow<PopupType?> = MutableStateFlow(null) in <lambda>()
167 override val currentPopup: Flow<PopupType?> = _currentPopup.asStateFlow() in <lambda>()
228 setCurrentPopupType(PopupType.CtaTile) in <lambda>()
233 setCurrentPopupType(PopupType.CustomizeWidgetButton) in <lambda>()
274 private fun setCurrentPopupType(popupType: PopupType?) { in <lambda>()
321 sealed class PopupType { class
322 object CtaTile : PopupType()
324 object CustomizeWidgetButton : PopupType()
DBaseCommunalViewModel.kt110 open val currentPopup: Flow<PopupType?> = flowOf(null)
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt47 import com.android.systemui.communal.ui.viewmodel.PopupType in <lambda>()
331 assertThat(currentPopup).isEqualTo(PopupType.CtaTile) in <lambda>()
346 assertThat(currentPopup).isEqualTo(PopupType.CtaTile) in <lambda>()
361 assertThat(currentPopup).isEqualTo(PopupType.CustomizeWidgetButton) in <lambda>()
373 assertThat(currentPopup).isEqualTo(PopupType.CustomizeWidgetButton) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt149 import com.android.systemui.communal.ui.viewmodel.PopupType in <lambda>()
340 if (currentPopup == PopupType.CtaTile) { in <lambda>()
345 visible = currentPopup == PopupType.CustomizeWidgetButton, in <lambda>()