Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt274 private val inactivePeople = ArrayDeque<PersonModel>(MAX_STORED_INACTIVE_PEOPLE) constant
278 if (inactivePeople.size >= MAX_STORED_INACTIVE_PEOPLE) { in migrateActivePerson()
279 inactivePeople.removeLast() in migrateActivePerson()
281 inactivePeople.addFirst(data) in migrateActivePerson()
293 return inactivePeople.removeIf { it.key == person.key } in addActivePerson()
296 fun getPeopleHubModel(): PeopleHubModel = PeopleHubModel(inactivePeople) in getPeopleHubModel()