Home
last modified time | relevance | path

Searched refs:ongoingContent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt487 val ongoingContent = mutableListOf<CommunalContentModel.Ongoing>() in <lambda>() constant
490 ongoingContent.addAll( in <lambda>()
502 ongoingContent.add( in <lambda>()
510 ongoingContent.sortByDescending { it.createdTimestampMillis } in <lambda>()
513 ongoingContent.forEachIndexed { index, model -> in <lambda>()
514 model.size = dynamicContentSize(ongoingContent.size, index) in <lambda>()
517 ongoingContent in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt459 val ongoingContent by collectLastValue(underTest.getOngoingContent(true)) in <lambda>() constant
460 assertThat(ongoingContent?.size).isEqualTo(4) in <lambda>()
461 assertThat(ongoingContent?.get(0)?.key) in <lambda>()
463 assertThat(ongoingContent?.get(0)?.size).isEqualTo(CommunalContentSize.FULL) in <lambda>()
464 assertThat(ongoingContent?.get(1)?.key) in <lambda>()
466 assertThat(ongoingContent?.get(1)?.size).isEqualTo(CommunalContentSize.THIRD) in <lambda>()
467 assertThat(ongoingContent?.get(2)?.key).isEqualTo(CommunalContentModel.KEY.umo()) in <lambda>()
468 assertThat(ongoingContent?.get(2)?.size).isEqualTo(CommunalContentSize.THIRD) in <lambda>()
469 assertThat(ongoingContent?.get(3)?.key) in <lambda>()
471 assertThat(ongoingContent?.get(3)?.size).isEqualTo(CommunalContentSize.THIRD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalViewModel.kt112 val ongoingContent = in <lambda>() constant
115 ongoingContent, in <lambda>()