Home
last modified time | relevance | path

Searched refs:mediaHierarchyManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManagerTest.kt118 private lateinit var mediaHierarchyManager: MediaHierarchyManager variable in com.android.systemui.media.controls.ui.controller.MediaHierarchyManagerTest
143 mediaHierarchyManager = in setup()
188 mediaHierarchyManager.register(host) in setupHost()
193 val host = mediaHierarchyManager.register(lockHost) in testHostViewSetOnRegister()
200 mediaHierarchyManager.qsExpansion = 1.0f in testBlockedWhenScreenTurningOff()
213 mediaHierarchyManager.qsExpansion = 0.0f in testBlockedWhenScreenTurningOff()
227 mediaHierarchyManager.qsExpansion = 1.0f in testBlockedWhenConfigurationChangesAndScreenOff()
254 mediaHierarchyManager.qsExpansion = 1.0f in testAllowedWhenConfigurationChanges()
278 mediaHierarchyManager.qsExpansion = 1.0f in testAllowedWhenNotTurningOff()
290 mediaHierarchyManager.qsExpansion = 0.0f in testAllowedWhenNotTurningOff()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerTest.kt99 @Mock lateinit var mediaHierarchyManager: MediaHierarchyManager variable in com.android.systemui.statusbar.LockscreenShadeTransitionControllerTest
149 mediaHierarchyManager = mediaHierarchyManager, in setup()
165 mediaHierarchyManager = mediaHierarchyManager, in setup()
176 mediaHierarchyManager = mediaHierarchyManager, in setup()
332 verify(mediaHierarchyManager, never()).setTransitionToFullShadeAmount(anyFloat()) in testDragDownAmountDoesntCallOutInLockedDownShade()
343 verify(mediaHierarchyManager).setTransitionToFullShadeAmount(anyFloat()) in testDragDownAmountCallsOut()
398 whenever(mediaHierarchyManager.isCurrentlyInGuidedTransformation()).thenReturn(true) in setDragAmount_notInSplitShade_setsKeyguardTranslationToZero()
399 whenever(mediaHierarchyManager.getGuidedTransformationTranslationY()) in setDragAmount_notInSplitShade_setsKeyguardTranslationToZero()
411 whenever(mediaHierarchyManager.isCurrentlyInGuidedTransformation()).thenReturn(true) in setDragAmount_inSplitShade_setsKeyguardTranslationBasedOnMediaTranslation()
412 whenever(mediaHierarchyManager.getGuidedTransformationTranslationY()) in setDragAmount_inSplitShade_setsKeyguardTranslationBasedOnMediaTranslation()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerKosmos.kt27 import com.android.systemui.media.controls.ui.controller.mediaHierarchyManager
47 mediaHierarchyManager = mediaHierarchyManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLockscreenShadeKeyguardTransitionController.kt20 private val mediaHierarchyManager: MediaHierarchyManager, constant in com.android.systemui.statusbar.LockscreenShadeKeyguardTransitionController
87 if (mediaHierarchyManager.isCurrentlyInGuidedTransformation()) { in calculateKeyguardTranslationY()
88 return mediaHierarchyManager.getGuidedTransformationTranslationY() in calculateKeyguardTranslationY()
DLockscreenShadeTransitionController.kt68 private val mediaHierarchyManager: MediaHierarchyManager, in <lambda>() constant in com.android.systemui.statusbar.LockscreenShadeTransitionController
432 mediaHierarchyManager.setTransitionToFullShadeAmount(field) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManagerKosmos.kt23 var Kosmos.mediaHierarchyManager by Fixture { mock<MediaHierarchyManager>() } in <lambda>() variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaHost.kt39 private val mediaHierarchyManager: MediaHierarchyManager, constant in com.android.systemui.media.controls.ui.view.MediaHost
145 hostView = mediaHierarchyManager.register(this) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt107 @get:Provides val mediaHierarchyManager: MediaHierarchyManager = mock(), constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java322 MediaHierarchyManager mediaHierarchyManager, in QuickSettingsControllerImpl() argument
370 mMediaHierarchyManager = mediaHierarchyManager; in QuickSettingsControllerImpl()
DNotificationPanelViewController.java723 MediaHierarchyManager mediaHierarchyManager, in NotificationPanelViewController()
875 mMediaHierarchyManager = mediaHierarchyManager; in NotificationPanelViewController()