Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DKeyguardMediaController.kt53 @param:Named(KEYGUARD) private val mediaHost: MediaHost, constant in com.android.systemui.media.controls.ui.controller.KeyguardMediaController
86 mediaHost.expansion = MediaHostState.EXPANDED
87 mediaHost.showsOnlyActiveMedia = true
88 mediaHost.falsingProtectionNeeded = true
91 mediaHost.init(MediaHierarchyManager.LOCATION_LOCKSCREEN)
138 mediaHost.addVisibilityChangeListener(this::onMediaHostVisibilityChanged) in attachSinglePaneContainer()
141 onMediaHostVisibilityChanged(mediaHost.visible) in attachSinglePaneContainer()
154 mediaHost.hostView.layoutParams.apply { in onMediaHostVisibilityChanged()
183 mediaHost.hostView.parent?.let { (it as? ViewGroup)?.removeView(mediaHost.hostView) } in reattachHostView()
184 activeContainer.addView(mediaHost.hostView) in reattachHostView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQuickQSPanelControllerTest.kt59 @Mock private lateinit var mediaHost: MediaHost variable in com.android.systemui.qs.QuickQSPanelControllerTest
95 mediaHost, in setUp()
138 verify(mediaHost).expansion = MediaHostState.EXPANDED in mediaExpansion_afterConfigChange_inLandscape_collapsedInLandscapeTrue_updatesToCollapsed()
145 verify(mediaHost).expansion = MediaHostState.COLLAPSED in mediaExpansion_afterConfigChange_inLandscape_collapsedInLandscapeTrue_updatesToCollapsed()
151 reset(mediaHost) in mediaExpansion_afterConfigChange_landscape_collapsedInLandscapeFalse_remainsExpanded()
157 verify(mediaHost).expansion = MediaHostState.EXPANDED in mediaExpansion_afterConfigChange_landscape_collapsedInLandscapeFalse_remainsExpanded()
165 mediaHost: MediaHost,
179 mediaHost,
DQSPanelControllerTest.kt61 @Mock private lateinit var mediaHost: MediaHost variable in com.android.systemui.qs.QSPanelControllerTest
97 mediaHost, in setUp()
115 reset(mediaHost) in tearDown()
122 verify(mediaHost).expansion = MediaHostState.EXPANDED in onInit_setsMediaAsExpanded()
DQSPanelControllerBaseSceneContainerTest.kt84 @Mock private lateinit var mediaHost: MediaHost variable in com.android.systemui.qs.QSPanelControllerBaseSceneContainerTest
255 mediaHost, in createUnderTest()
270 mediaHost: MediaHost,
284 mediaHost,
DQSPanelControllerBaseTest.java147 QSCustomizerController qsCustomizerController, MediaHost mediaHost, in TestableQSPanelControllerBase() argument
151 mediaHost, metricsLogger, uiEventLogger, in TestableQSPanelControllerBase()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeScene.kt143 @Named(QUICK_QS_PANEL) private val mediaHost: MediaHost, constant in com.android.systemui.shade.ui.composable.ShadeScene
162 mediaHost = mediaHost, in Content()
168 mediaHost.expansion = MediaHostState.EXPANDED in Content()
169 mediaHost.showsOnlyActiveMedia = true in Content()
170 mediaHost.init(MediaHierarchyManager.LOCATION_QQS) in Content()
182 mediaHost: MediaHost, in ShadeScene()
196 mediaHost = mediaHost, in ShadeScene()
208 mediaHost = mediaHost, in ShadeScene()
224 mediaHost: MediaHost, in SingleShade()
304 mediaHost = mediaHost, in SingleShade()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DMediaCarouselSection.kt37 @param:Named(MediaModule.KEYGUARD) private val mediaHost: MediaHost, constant in com.android.systemui.keyguard.ui.composable.section.MediaCarouselSection
47 mediaHost = mediaHost, in KeyguardMediaCarousel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DKeyguardMediaControllerTest.kt57 @Mock private lateinit var mediaHost: MediaHost variable in com.android.systemui.media.controls.ui.controller.KeyguardMediaControllerTest
78 whenever(mediaHost.visible).thenReturn(true) in setup()
80 whenever(mediaHost.hostView).thenReturn(hostView) in setup()
84 mediaHost, in setup()
99 whenever(mediaHost.visible).thenReturn(false) in testHiddenWhenHostIsHidden()
162 verify(mediaHost).expansion = MediaHostState.EXPANDED in testMediaHost_expandedPlayer()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/media/controls/ui/composable/
DMediaCarousel.kt46 mediaHost: MediaHost, in SceneScope()
61 mediaHost.measurementInput = MeasurementInput(layoutWidth, layoutHeight) in SceneScope()
74 mediaHost.measurementInput = MeasurementInput(placeable.width, placeable.height) in SceneScope()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalViewModel.kt84 @Named(MediaModule.COMMUNAL_HUB) mediaHost: MediaHost, in <lambda>()
86 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
94 mediaHost.addVisibilityChangeListener(callback) in <lambda>()
95 awaitClose { mediaHost.removeVisibilityChangeListener(callback) } in <lambda>()
97 .onStart { emit(mediaHost.visible) } in <lambda>()
211 with(mediaHost) { in <lambda>()
DCommunalEditModeViewModel.kt66 @Named(MediaModule.COMMUNAL_HUB) mediaHost: MediaHost, in <lambda>()
70 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
DBaseCommunalViewModel.kt40 val mediaHost: MediaHost, constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaComplicationViewController.java42 @Named(DREAM) MediaHost mediaHost) { in MediaComplicationViewController() argument
44 mMediaHost = mediaHost; in MediaComplicationViewController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt102 @Mock private lateinit var mediaHost: MediaHost in <lambda>() variable
147 whenever(mediaHost.visible).thenReturn(true) in <lambda>()
163 mediaHost, in <lambda>()
172 verify(mediaHost).init(MediaHierarchyManager.LOCATION_COMMUNAL_HUB) in <lambda>()
255 whenever(mediaHost.visible).thenReturn(false) in <lambda>()
256 mediaHost.updateViewVisibility() in <lambda>()
269 mediaHost.updateViewVisibility() in <lambda>()
274 whenever(mediaHost.visible).thenReturn(false) in <lambda>()
275 mediaHost.updateViewVisibility() in <lambda>()
DCommunalEditModeViewModelTest.kt79 @Mock private lateinit var mediaHost: MediaHost variable in com.android.systemui.communal.view.viewmodel.CommunalEditModeViewModelTest
119 mediaHost, in setUp()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettingsScene.kt123 @Named(MediaModule.QS_PANEL) private val mediaHost: MediaHost, constant in com.android.systemui.qs.ui.composable.QuickSettingsScene
146 mediaHost = mediaHost, in Content()
162 mediaHost: MediaHost, in QuickSettingsScene()
364 mediaHost = mediaHost, in QuickSettingsScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanelController.java62 @Named(QUICK_QS_PANEL) MediaHost mediaHost, in QuickQSPanelController() argument
70 super(view, qsHost, qsCustomizerController, usingMediaPlayer, mediaHost, metricsLogger, in QuickQSPanelController()
DQSPanelController.java95 @Named(QS_PANEL) MediaHost mediaHost, in QSPanelController() argument
105 super(view, qsHost, qsCustomizerController, usingMediaPlayer, mediaHost, in QSPanelController()
DQSPanelControllerBase.java166 MediaHost mediaHost, in QSPanelControllerBase() argument
178 mMediaHost = mediaHost; in QSPanelControllerBase()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt1230 viewModel.mediaHost.hostView.layoutParams = in Umo()
1235 viewModel.mediaHost.hostView in Umo()