Searched refs:PersonModel (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/ |
D | PeopleHub.kt | 42 data class PeopleHubModel(val people: Collection<PersonModel>) 45 data class PersonModel( dataClass
|
D | PeopleHubNotificationListener.kt | 56 fun extractPerson(sbn: StatusBarNotification): PersonModel? in <lambda>() 81 PersonModel(key, sbn.user.identifier, name, avatar, clickRunnable) in extractPerson() 216 private fun NotificationEntry.extractPerson(): PersonModel? { in extractPersonKey() 234 return PersonModel(key, sbn.user.identifier, name, drawable, clickRunnable) in extractPersonKey() 271 private val activePeople = mutableMapOf<PersonKey, PersonModel>() 274 private val inactivePeople = ArrayDeque<PersonModel>(MAX_STORED_INACTIVE_PEOPLE) 291 fun addActivePerson(person: PersonModel): Boolean { in addActivePerson()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/ |
D | PeopleHubViewControllerTest.kt | 151 ): PersonModel = in createInstance() 152 PersonModel(id, userId, name, mock(Drawable::class.java), clickRunnable) in createInstance()
|