Home
last modified time | relevance | path

Searched refs:PersonViewModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewControllerTest.kt58 val fakePersonViewAdapter1 = FakeDataListener<PersonViewModel?>() in testBindViewModelToViewBoundary()
59 val fakePersonViewAdapter2 = FakeDataListener<PersonViewModel?>() in testBindViewModelToViewBoundary()
68 assertThat(fakePersonViewAdapter2.lastSeen).isEqualTo(Maybe.Just<PersonViewModel?>(null)) in testBindViewModelToViewBoundary()
87 val fakePersonViewAdapter1 = FakeDataListener<PersonViewModel?>() in testBindViewModelToViewBoundary_moreDataThanCanBeDisplayed_displaysMostRecent()
88 val fakePersonViewAdapter2 = FakeDataListener<PersonViewModel?>() in testBindViewModelToViewBoundary_moreDataThanCanBeDisplayed_displaysMostRecent()
154 private fun fakePersonViewModel(name: CharSequence): PersonViewModel = in createInstance()
155 PersonViewModel(name, mock(Drawable::class.java), mock({}.javaClass)) in createInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DPeopleHubView.kt29 import com.android.systemui.statusbar.notification.people.PersonViewModel in <lambda>()
38 lateinit var personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
97 DataListener<PersonViewModel?> { in <lambda>()
99 override fun onDataChanged(data: PersonViewModel?) { in <lambda>()
DNotificationSectionsManager.kt36 import com.android.systemui.statusbar.notification.people.PersonViewModel in <lambda>()
83 override val personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHub.kt28 data class PeopleHubViewModel(val people: Sequence<PersonViewModel>, val isVisible: Boolean)
31 data class PersonViewModel( dataClass
DPeopleHubViewController.kt49 val personViewAdapters: Sequence<DataListener<PersonViewModel?>>
148 PersonViewModel(personModel.name, personModel.avatar, onClick) in createWithAssociatedClickView()