Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewController.kt62 fun createWithAssociatedClickView(view: View): PeopleHubViewModel in setVisible()
133 override fun createWithAssociatedClickView(view: View): PeopleHubViewModel { in createWithAssociatedClickView()
134 return PeopleHubViewModel(emptySequence(), false) in createWithAssociatedClickView()
143 override fun createWithAssociatedClickView(view: View): PeopleHubViewModel { in createWithAssociatedClickView()
150 return PeopleHubViewModel(personViewModels, model.people.isNotEmpty()) in createWithAssociatedClickView()
DPeopleHub.kt28 data class PeopleHubViewModel(val people: Sequence<PersonViewModel>, val isVisible: Boolean) dataClass
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewControllerTest.kt50 val fakeViewModel = PeopleHubViewModel(sequenceOf(fakePerson1), true) in testBindViewModelToViewBoundary()
79 val fakeViewModel = PeopleHubViewModel(fakePeople, true) in testBindViewModelToViewBoundary_moreDataThanCanBeDisplayed_displaysMostRecent()