Searched refs:PersonViewModel (Results 1 – 5 of 5) sorted by relevance
58 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()
29 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>()
36 import com.android.systemui.statusbar.notification.people.PersonViewModel in <lambda>()83 override val personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
28 data class PeopleHubViewModel(val people: Sequence<PersonViewModel>, val isVisible: Boolean)31 data class PersonViewModel( dataClass
49 val personViewAdapters: Sequence<DataListener<PersonViewModel?>>148 PersonViewModel(personModel.name, personModel.avatar, onClick) in createWithAssociatedClickView()