/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalViewModelTest.kt | 187 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 …]
|
D | CommunalEditModeViewModelTest.kt | 157 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/ |
D | ContentListState.kt | 31 communalContent: List<CommunalContentModel>, in <lambda>() 34 return remember(communalContent) { in <lambda>() 36 communalContent, in <lambda>() 58 communalContent: List<CommunalContentModel>, 64 var list = communalContent.toMutableStateList()
|
D | CommunalHub.kt | 167 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/ |
D | GlanceableHubContainerControllerTest.kt | 94 @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/ |
D | BaseCommunalViewModel.kt | 98 abstract val communalContent: Flow<List<CommunalContentModel>> constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
|
D | CommunalEditModeViewModel.kt | 91 override val communalContent: Flow<List<CommunalContentModel>> = in <lambda>() constant
|
D | CommunalViewModel.kt | 147 override val communalContent: Flow<List<CommunalContentModel>> = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | GlanceableHubContainerController.kt | 84 private val communalContent: CommunalContent, constant in com.android.systemui.shade.GlanceableHubContainerController 217 content = communalContent, in communalAvailable()
|