Searched refs:WidgetContent (Results 1 – 8 of 8) sorted by relevance
47 sealed interface WidgetContent : CommunalContentModel { interface55 ) : WidgetContent {70 ) : WidgetContent {83 ) : WidgetContent {162 fun isWidgetContent() = this is WidgetContent
75 val widget = list[indexToRemove] as CommunalContentModel.WidgetContent in onRemove()103 if (item is CommunalContentModel.WidgetContent) { in onSaveList()
873 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() method980 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()
162 .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()
234 .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>()
34 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>()
882 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>()
134 widgets.filterIsInstance<CommunalContentModel.WidgetContent.Widget>().mapTo( in <lambda>()