Home
last modified time | relevance | path

Searched refs:communalContent (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt187 val communalContent by collectLastValue(underTest.communalContent) in <lambda>() constant
189 assertThat(communalContent!!).isNotEmpty() in <lambda>()
190 communalContent!!.forEach { model -> in <lambda>()
226 val communalContent by collectLastValue(underTest.communalContent) in <lambda>() constant
229 assertThat(communalContent?.size).isEqualTo(5) in <lambda>()
230 assertThat(communalContent?.get(0)) in <lambda>()
232 assertThat(communalContent?.get(1)).isInstanceOf(CommunalContentModel.Umo::class.java) in <lambda>()
233 assertThat(communalContent?.get(2)) in <lambda>()
235 assertThat(communalContent?.get(3)) in <lambda>()
237 assertThat(communalContent?.get(4)) in <lambda>()
[all …]
DCommunalEditModeViewModelTest.kt157 val communalContent by collectLastValue(underTest.communalContent) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode() constant
160 assertThat(communalContent?.size).isEqualTo(2) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
161 assertThat(communalContent?.get(0)) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
163 assertThat(communalContent?.get(1)) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
217 val communalContent by collectLastValue(underTest.communalContent) in deleteWidget() constant
220 assertThat(communalContent?.size).isEqualTo(2) in deleteWidget()
221 assertThat(communalContent?.get(0)) in deleteWidget()
223 assertThat(communalContent?.get(1)) in deleteWidget()
229 assertThat(communalContent?.size).isEqualTo(1) in deleteWidget()
230 val item = communalContent?.get(0) in deleteWidget()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DContentListState.kt31 communalContent: List<CommunalContentModel>, in <lambda>()
34 return remember(communalContent) { in <lambda>()
36 communalContent, in <lambda>()
58 communalContent: List<CommunalContentModel>,
64 var list = communalContent.toMutableStateList()
DCommunalHub.kt167 val communalContent by in <lambda>() constant
168 viewModel.communalContent.collectAsStateWithLifecycle(initialValue = emptyList()) in <lambda>()
174 val contentListState = rememberContentListState(widgetConfigurator, communalContent, viewModel) in <lambda>()
190 ScrollOnUpdatedLiveContentEffect(communalContent, gridState) in <lambda>()
213 communalContent, in <lambda>()
232 communalContent[index].isWidgetContent() || in <lambda>()
233 communalContent[index] is in <lambda>()
239 index?.let { keyAtIndexIfEditable(communalContent, index) } in <lambda>()
282 communalContent = communalContent, in <lambda>()
408 communalContent: List<CommunalContentModel>, in ScrollOnUpdatedLiveContentEffect()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DGlanceableHubContainerControllerTest.kt94 @Mock private lateinit var communalContent: CommunalContent variable in com.android.systemui.shade.GlanceableHubContainerControllerTest
131 communalContent, in setUp()
174 communalContent, in initView_calledTwice_throwsException()
326 communalContent, in lifecycle_initializedAfterConstruction()
346 communalContent, in lifecycle_createdAfterViewCreated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DBaseCommunalViewModel.kt98 abstract val communalContent: Flow<List<CommunalContentModel>> constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
DCommunalEditModeViewModel.kt91 override val communalContent: Flow<List<CommunalContentModel>> = in <lambda>() constant
DCommunalViewModel.kt147 override val communalContent: Flow<List<CommunalContentModel>> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DGlanceableHubContainerController.kt84 private val communalContent: CommunalContent, constant in com.android.systemui.shade.GlanceableHubContainerController
217 content = communalContent, in communalAvailable()