Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt82 internal val paddedChannels = mutableListOf<NotificationChannel>() in <lambda>() constant
139 paddedChannels.clear() in <lambda>()
141 paddedChannels.addAll(channels.asSequence().take(4)) in <lambda>()
144 paddedChannels.addAll(getDisplayableChannels(channelGroupList.asSequence()) in <lambda>()
145 .filterNot { paddedChannels.contains(it) } in <lambda>()
147 .take(4 - paddedChannels.size)) in <lambda>()
152 if (paddedChannels.size == 1 && DEFAULT_CHANNEL_ID == paddedChannels[0].id) { in <lambda>()
153 paddedChannels.clear() in <lambda>()
201 paddedChannels.clear() in <lambda>()
305 channels = paddedChannels in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt96 assertEquals(2, controller.paddedChannels.size) in testPrepareDialogForApp_noExtraChannels()
107 0, controller.paddedChannels.size) in testPrepareDialogForApp_onlyDefaultChannel()
129 4, controller.paddedChannels.size) in testPrepareDialogForApp_retrievesUpTo4Channels()