Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt128 private lateinit var mediaViewController: MediaViewController in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaViewControllerTest
134 mediaViewController = in <lambda>()
163 mediaViewController.attach(player, MediaViewController.TYPE.PLAYER) in <lambda>()
166 mediaViewController.expandedLayout.getConstraint(id).layout.mHeight = 10 in <lambda>()
173 mediaViewController.expandedLayout.getConstraint(id).layout.mHeight == in <lambda>()
185 mediaViewController.attach(recommendation, MediaViewController.TYPE.RECOMMENDATION) in <lambda>()
187 mediaViewController.expandedLayout in <lambda>()
195 mediaViewController.expandedLayout in <lambda>()
205 mediaViewController.attach(player, MediaViewController.TYPE.PLAYER) in <lambda>()
219 assertTrue(mediaViewController.obtainViewState(mediaHostStateHolder)!!.height == 100) in <lambda>()
[all …]
DMediaControlPanelTest.kt157 @Mock private lateinit var mediaViewController: MediaViewController in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest
242 whenever(mediaViewController.expandedLayout).thenReturn(expandedSet) in <lambda>()
243 whenever(mediaViewController.collapsedLayout).thenReturn(collapsedSet) in <lambda>()
263 mediaViewController, in <lambda>()
1271 verify(mediaViewController, never()).openGuts() in <lambda>()
1272 verify(mediaViewController, never()).closeGuts() in <lambda>()
1279 whenever(mediaViewController.isGutsVisible).thenReturn(false) in <lambda>()
1285 verify(mediaViewController).openGuts() in <lambda>()
1292 whenever(mediaViewController.isGutsVisible).thenReturn(true) in <lambda>()
1298 verify(mediaViewController, never()).openGuts() in <lambda>()
[all …]
DMediaCarouselControllerTest.kt128 @Mock lateinit var mediaViewController: MediaViewController variable in com.android.systemui.media.controls.ui.controller.MediaCarouselControllerTest
193 whenever(panel.mediaViewController).thenReturn(mediaViewController) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt51 mediaViewController: MediaViewController, in <lambda>()
54 mediaViewController.recsConfigurationChangeListener = this::updateRecommendationsVisibility in <lambda>()
62 bindRecsCard(viewHolder, it, mediaViewController, falsingManager) in <lambda>()
74 mediaViewController: MediaViewController, in <lambda>()
81 viewModel.contentDescription.invoke(mediaViewController.isGutsVisible) in <lambda>()
91 if (!mediaViewController.isGutsVisible) { in <lambda>()
92 openGuts(viewHolder, viewModel, mediaViewController) in <lambda>()
94 closeGuts(viewHolder, viewModel, mediaViewController) in <lambda>()
101 updateRecommendationsVisibility(mediaViewController, viewHolder.recommendations) in <lambda>()
104 val expandedSet: ConstraintSet = mediaViewController.expandedLayout in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt923 newPlayer.mediaViewController.widthInSceneContainerPx = widthInSceneContainerPx in <lambda>()
924 newPlayer.mediaViewController.heightInSceneContainerPx = in <lambda>()
930 newPlayer.mediaViewController.sizeChangedListener = this::updateCarouselDimensions in <lambda>()
949 updateViewControllerToState(newPlayer.mediaViewController, noAnimation = true) in <lambda>()
1028 newRecs.mediaViewController.sizeChangedListener = this::updateCarouselDimensions in <lambda>()
1047 updateViewControllerToState(newRecs.mediaViewController, noAnimation = true) in <lambda>()
1199 updateViewControllerToState(mediaPlayer.mediaViewController, immediately) in <lambda>()
1276 val controller = mediaPlayer.mediaViewController in <lambda>()
1369 mediaPlayer.mediaViewController.animatePendingStateChange( in <lambda>()
1374 if (shouldCloseGuts && mediaPlayer.mediaViewController.isGutsVisible) { in <lambda>()
[all …]
DMediaControlPanel.java306 MediaViewController mediaViewController, in MediaControlPanel() argument
327 mMediaViewController = mediaViewController; in MediaControlPanel()