Searched refs:CommunalWidgetContentModel (Results 1 – 10 of 10) sorted by relevance
6 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel16 private val _communalWidgets = MutableStateFlow<List<CommunalWidgetContentModel>>(emptyList())17 override val communalWidgets: Flow<List<CommunalWidgetContentModel>> = _communalWidgets21 fun setCommunalWidgets(inventory: List<CommunalWidgetContentModel>) { in setCommunalWidgets()55 listOf(CommunalWidgetContentModel.Available(id, providerInfo, priority)) in onConfigured()
24 sealed interface CommunalWidgetContentModel { interface33 ) : CommunalWidgetContentModel42 ) : CommunalWidgetContentModel
29 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel in <lambda>()54 val communalWidgets: Flow<List<CommunalWidgetContentModel>> in <lambda>()125 override val communalWidgets: Flow<List<CommunalWidgetContentModel>> =293 private fun mapToContentModel(entry: CommunalWidgetEntry): CommunalWidgetContentModel { in mapToContentModel()294 return CommunalWidgetContentModel.Available( in mapToContentModel()309 ): CommunalWidgetContentModel? { in mapToContentModel()311 return CommunalWidgetContentModel.Available( in mapToContentModel()324 CommunalWidgetContentModel.Pending( in mapToContentModel()
30 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel176 mock<CommunalWidgetContentModel.Available> { in removeAppWidgetReportedByHost()180 mock<CommunalWidgetContentModel.Available> { in removeAppWidgetReportedByHost()184 mock<CommunalWidgetContentModel.Available> { in removeAppWidgetReportedByHost()265 ): CommunalWidgetContentModel.Available = in createWidgetForUser()266 mock<CommunalWidgetContentModel.Available> { in createWidgetForUser()279 ): CommunalWidgetContentModel.Pending = in createPendingWidgetForUser()280 CommunalWidgetContentModel.Pending( in createPendingWidgetForUser()
21 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel in <lambda>()86 private fun validateWidgetsAndDeleteOrphaned(widgets: List<CommunalWidgetContentModel>) { in <lambda>()92 is CommunalWidgetContentModel.Available -> in <lambda>()94 is CommunalWidgetContentModel.Pending -> widget.user.identifier in <lambda>()
40 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel in <lambda>()380 val communalWidgets: Flow<List<CommunalWidgetContentModel>> = in <lambda>()401 is CommunalWidgetContentModel.Available -> { in <lambda>()417 is CommunalWidgetContentModel.Pending -> { in <lambda>()430 list: List<CommunalWidgetContentModel>, in <lambda>()432 ): List<CommunalWidgetContentModel> = in <lambda>()441 is CommunalWidgetContentModel.Available -> in <lambda>()443 is CommunalWidgetContentModel.Pending -> model.user.identifier in <lambda>()526 list: List<CommunalWidgetContentModel>, in <lambda>()527 ): List<CommunalWidgetContentModel> { in <lambda>()[all …]
38 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel139 CommunalWidgetContentModel.Available( in communalWidgets_queryWidgetsFromDb()175 CommunalWidgetContentModel.Available( in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped()180 CommunalWidgetContentModel.Available( in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped()210 CommunalWidgetContentModel.Available( in communalWidgets_updatedWhenProvidersUpdate()215 CommunalWidgetContentModel.Available( in communalWidgets_updatedWhenProvidersUpdate()232 CommunalWidgetContentModel.Available( in communalWidgets_updatedWhenProvidersUpdate()238 CommunalWidgetContentModel.Available( in communalWidgets_updatedWhenProvidersUpdate()565 CommunalWidgetContentModel.Available( in pendingWidgets()570 CommunalWidgetContentModel.Pending( in pendingWidgets()[all …]
47 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel134 CommunalWidgetContentModel.Available( in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()139 CommunalWidgetContentModel.Available( in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()204 CommunalWidgetContentModel.Available( in deleteWidget()209 CommunalWidgetContentModel.Available( in deleteWidget()
44 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel in <lambda>()203 CommunalWidgetContentModel.Available( in <lambda>()208 CommunalWidgetContentModel.Available( in <lambda>()301 CommunalWidgetContentModel.Available( in <lambda>()646 CommunalWidgetContentModel.Available( in <lambda>()651 CommunalWidgetContentModel.Available( in <lambda>()709 CommunalWidgetContentModel.Available( in <lambda>()714 CommunalWidgetContentModel.Available( in <lambda>()
54 import com.android.systemui.communal.shared.model.CommunalWidgetContentModel in <lambda>()1202 ): CommunalWidgetContentModel.Available = in <lambda>()1203 mock<CommunalWidgetContentModel.Available> { in <lambda>()1219 ): CommunalWidgetContentModel.Pending { in <lambda>()1220 return CommunalWidgetContentModel.Pending( in <lambda>()1232 ): CommunalWidgetContentModel = in <lambda>()1233 mock<CommunalWidgetContentModel.Available> { in <lambda>()