Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt61 sortedItems.forEach { commonModel -> in <lambda>() method
65 if (!allowReorder || !modelsPendingRemoval.contains(commonModel)) { in <lambda>()
66 when (commonModel) { in <lambda>()
67 is MediaCommonModel.MediaControl -> add(toViewModel(commonModel)) in <lambda>()
69 add(toViewModel(commonModel)) in <lambda>()
112 commonModel: MediaCommonModel.MediaControl in <lambda>()
114 val instanceId = commonModel.mediaLoadedModel.instanceId in <lambda>()
116 immediatelyUpdateUi = commonModel.mediaLoadedModel.immediatelyUpdateUi in <lambda>()
120 immediatelyUpdateUi = commonModel.mediaLoadedModel.immediatelyUpdateUi, in <lambda>()
122 onAdded = { onMediaControlAddedOrUpdated(it, commonModel) }, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt186 sortedMedia.filter { (_, commonModel) -> in <lambda>() method
187 commonModel !is MediaCommonModel.MediaControl || in <lambda>()
188 commonModel.mediaLoadedModel.instanceId != mediaDataLoadingModel.instanceId in <lambda>()
248 _currentMedia.value.filter { commonModel -> in <lambda>() method
249 commonModel !is MediaCommonModel.MediaControl || in <lambda>()
250 mediaDataLoadingModel.instanceId != commonModel.mediaLoadedModel.instanceId in <lambda>()
263 sortedMedia.filter { (_, commonModel) -> in <lambda>() method
264 commonModel !is MediaCommonModel.MediaRecommendations in <lambda>()
280 _currentMedia.value.filter { commonModel -> in <lambda>() method
281 commonModel !is MediaCommonModel.MediaRecommendations in <lambda>()