Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/util/
DMediaDiffUtilTest.kt60 val mediaRecs = createMediaRecommendations(KEY_MEDIA_SMARTSPACE, true) in <lambda>() constant
62 val newList = listOf(mediaRecs) in <lambda>()
68 { commonViewModel, _ -> assertThat(commonViewModel).isEqualTo(mediaRecs) }, in <lambda>()
98 val mediaRecs = createMediaRecommendations(KEY_MEDIA_SMARTSPACE, true) in <lambda>() constant
99 val oldList = listOf(mediaRecs) in <lambda>()
100 val newList = listOf(mediaRecs.copy(key = KEY_MEDIA_SMARTSPACE_2)) in <lambda>()
107 { commonViewModel -> assertThat(commonViewModel).isNotEqualTo(mediaRecs) }, in <lambda>()
139 val mediaRecs = createMediaRecommendations(KEY_MEDIA_SMARTSPACE, true) in <lambda>() constant
140 val oldList = listOf(mediaRecs, mediaControl1, mediaControl2) in <lambda>()
141 val newList = listOf(mediaControl1, mediaControl2, mediaRecs) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaRecommendationsInteractor.kt120 val mediaRecs = ArrayList<MediaRecModel>() in toRecommendationsModel() constant
122 with(it) { mediaRecs.add(MediaRecModel(intent, title, subtitle, icon, extras)) } in toRecommendationsModel()
133 mediaRecs = mediaRecs, in toRecommendationsModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt95 private var mediaRecs: MediaCommonViewModel.MediaRecommendations? = null in <lambda>() variable in com.android.systemui.media.controls.ui.viewmodel.MediaCarouselViewModel
146 return mediaRecs?.copy( in <lambda>()
171 .also { mediaRecs = it } in <lambda>()
210 mediaRecs = null in <lambda>()
DMediaRecommendationsViewModel.kt151 val mediaRecs = in <lambda>() constant
152 model.mediaRecs.map { mediaRecModel -> in <lambda>()
211 mediaRecs = mediaRecs, in <lambda>()
DMediaRecsCardViewModel.kt29 val mediaRecs: List<MediaRecViewModel>, constant in com.android.systemui.media.controls.ui.viewmodel.MediaRecsCardViewModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaRecommendationsModel.kt34 val mediaRecs: List<MediaRecModel>, constant in com.android.systemui.media.controls.shared.model.MediaRecommendationsModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt100 bindRecommendationsList(viewHolder, viewModel.mediaRecs, falsingManager) in <lambda>()
159 mediaRecs: List<MediaRecViewModel>, in <lambda>()
162 mediaRecs.forEachIndexed { index, mediaRecViewModel -> in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaRecommendationsInteractorTest.kt92 mediaRecs = in addRecommendation_smartspaceMediaDataUpdate()
132 assertThat(recommendations?.mediaRecs?.isEmpty()).isTrue() in addInvalidRecommendation()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModelTest.kt80 assertThat(recsCardViewModel?.mediaRecs?.size) in loadRecommendations_recsCardViewModelIsLoaded()