Home
last modified time | relevance | path

Searched refs:WidgetContent (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/model/
DCommunalContentModel.kt47 sealed interface WidgetContent : CommunalContentModel { interface
55 ) : WidgetContent {
70 ) : WidgetContent {
83 ) : WidgetContent {
162 fun isWidgetContent() = this is WidgetContent
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DContentListState.kt75 val widget = list[indexToRemove] as CommunalContentModel.WidgetContent in onRemove()
103 if (item is CommunalContentModel.WidgetContent) { in onSaveList()
DCommunalHub.kt873 is CommunalContentModel.WidgetContent.Widget -> in CommunalContent()
874 WidgetContent( in CommunalContent()
885 is CommunalContentModel.WidgetContent.DisabledWidget -> in CommunalContent()
887 is CommunalContentModel.WidgetContent.PendingWidget -> in CommunalContent()
978 private fun WidgetContent( in WidgetContent() method
980 model: CommunalContentModel.WidgetContent.Widget, in WidgetContent()
1097 model: CommunalContentModel.WidgetContent.Widget, in WidgetConfigureButton()
1133 model: CommunalContentModel.WidgetContent.DisabledWidget, in DisabledWidgetPlaceholder()
1173 model: CommunalContentModel.WidgetContent.PendingWidget, in PendingWidgetPlaceholder()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalEditModeViewModelTest.kt162 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
164 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
222 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in deleteWidget()
224 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in deleteWidget()
232 if (item is CommunalContentModel.WidgetContent) item.appWidgetId else null in deleteWidget()
DCommunalViewModelTest.kt234 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
236 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
677 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
679 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
738 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
740 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt34 import com.android.systemui.communal.domain.model.CommunalContentModel.WidgetContent in <lambda>()
386 val widgetContent: Flow<List<WidgetContent>> = in <lambda>()
404 WidgetContent.Widget( in <lambda>()
411 WidgetContent.DisabledWidget( in <lambda>()
418 WidgetContent.PendingWidget( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt882 assertThat(model is CommunalContentModel.WidgetContent.Widget).isTrue() in <lambda>()
884 (model as CommunalContentModel.WidgetContent.Widget) in <lambda>()
934 .isInstanceOf(CommunalContentModel.WidgetContent.Widget::class.java) in <lambda>()
937 (widgetContent!![0] as CommunalContentModel.WidgetContent.Widget).inQuietMode in <lambda>()
941 (widgetContent!![1] as CommunalContentModel.WidgetContent.Widget).inQuietMode in <lambda>()
945 (widgetContent!![2] as CommunalContentModel.WidgetContent.Widget).inQuietMode in <lambda>()
987 .isInstanceOf(CommunalContentModel.WidgetContent.DisabledWidget::class.java) in <lambda>()
989 .isInstanceOf(CommunalContentModel.WidgetContent.Widget::class.java) in <lambda>()
991 .isInstanceOf(CommunalContentModel.WidgetContent.DisabledWidget::class.java) in <lambda>()
1033 .isInstanceOf(CommunalContentModel.WidgetContent.Widget::class.java) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalEditModeViewModel.kt134 widgets.filterIsInstance<CommunalContentModel.WidgetContent.Widget>().mapTo( in <lambda>()