Home
last modified time | relevance | path

Searched refs:scrimController (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/
DBouncerlessScrimControllerTest.java59 final BouncerlessScrimController scrimController = in testWakeupOnSwipeOpen() local
61 scrimController.addCallback(mCallback); in testWakeupOnSwipeOpen()
62 scrimController.expand(new ShadeExpansionChangeEvent(.5f, true, false)); in testWakeupOnSwipeOpen()
70 final BouncerlessScrimController scrimController = in testExpansionPropagation() local
72 scrimController.addCallback(mCallback); in testExpansionPropagation()
75 scrimController.expand(expansionEvent); in testExpansionPropagation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DSplitShadeLockScreenOverScrollerTest.kt33 @Mock private lateinit var scrimController: ScrimController variable in com.android.systemui.statusbar.SplitShadeLockScreenOverScrollerTest
53 scrimController, in setUp()
75 verifyZeroInteractions(scrimController) in setDragDownAmount_notOnKeyguard_doesNotApplyOverScroll()
84 reset(qS, scrimController, nsslController) in setDragAmount_onKeyguard_thenNotOnKeyguard_resetsOverScrollToZero()
97 reset(qS!!, scrimController, nsslController) in setDragAmount_onKeyguard_thenNotOnKeyguard_multipleTimes_resetsOverScrollToZeroOnlyOnce()
114 verify(scrimController).setNotificationsOverScrollAmount(intThat { it > 0 }) in verifyOverScrollPerformed()
122 verify(scrimController, atLeast(1)).setNotificationsOverScrollAmount(0) in verifyOverScrollResetToZero()
128 verifyNoMoreInteractions(scrimController) in verifyNoMoreOverScrollChanges()
DLockscreenShadeTransitionControllerTest.kt103 @Mock lateinit var scrimController: ScrimController variable in com.android.systemui.statusbar.LockscreenShadeTransitionControllerTest
152 scrimController = scrimController, in setup()
168 scrimController = scrimController, in setup()
333 verify(scrimController, never()).setTransitionToFullShadeProgress(anyFloat(), anyFloat()) in testDragDownAmountDoesntCallOutInLockedDownShade()
344 verify(scrimController).setTransitionToFullShadeProgress(anyFloat(), anyFloat()) in testDragDownAmountCallsOut()
460 verify(scrimController) in setDragAmount_setsScrimProgressBasedOnScrimDistance()
483 verify(scrimController) in setDragAmount_setsNotificationsScrimProgressBasedOnNotificationsScrimDistanceAndDelay()
506 verify(scrimController) in setDragAmount_dragAmountLessThanNotifDelayDistance_setsNotificationsScrimProgressToZero()
529 verify(scrimController) in setDragAmount_dragAmountMoreThanTotalDistance_setsNotificationsScrimProgressToOne()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DLockscreenShadeScrimTransitionControllerKosmos.kt23 import com.android.systemui.statusbar.phone.scrimController
29 scrimController = scrimController, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/domain/startable/
DScrimStartableKosmos.kt32 import com.android.systemui.statusbar.phone.scrimController
39 scrimController = scrimController, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/transition/
DScrimShadeTransitionControllerTest.kt37 @Mock private lateinit var scrimController: ScrimController variable in com.android.systemui.shade.transition.ScrimShadeTransitionControllerTest
66 scrimController, in setUp()
76 verify(scrimController).setRawPanelExpansionFraction(DEFAULT_EXPANSION_EVENT.fraction) in onPanelExpansionChanged_setsFractionEqualToEventFraction()
84 verify(scrimController).setRawPanelExpansionFraction(DEFAULT_EXPANSION_EVENT.fraction) in onPanelStateChanged_forwardsToScrimTransitionController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/transition/
DScrimShadeTransitionController.kt35 private val scrimController: ScrimController, constant in com.android.systemui.shade.transition.ScrimShadeTransitionController
65 scrimController.setRawPanelExpansionFraction(expansionFraction) in onStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSplitShadeLockScreenOverScroller.kt28 private val scrimController: ScrimController, in <lambda>() constant
94 scrimController.setNotificationsOverScrollAmount(overscrollAmount) in <lambda>()
113 scrimController.setNotificationsOverScrollAmount(overScrollAmount) in <lambda>()
DLockscreenShadeScrimTransitionController.kt17 private val scrimController: ScrimController, constant in com.android.systemui.statusbar.LockscreenShadeScrimTransitionController
67 scrimController.setTransitionToFullShadeProgress(scrimProgress, notificationsScrimProgress) in onDragDownAmountChanged()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/
DScrimControllerKosmos.kt23 var Kosmos.scrimController by Fixture { mock<ScrimController>() } in <lambda>() variable
DDozeServiceHostKosmos.kt47 scrimController, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DScrimStartable.kt59 private val scrimController: ScrimController, in <lambda>() constant in com.android.systemui.scene.domain.startable.ScrimStartable
194 scrimController.setExpansionAffectsAlpha(!model.unlocking) in <lambda>()
210 scrimController.transitionTo(scrimState) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DKosmosJavaAdapter.kt64 import com.android.systemui.statusbar.phone.scrimController
143 val scrimController by lazy { kosmos.scrimController } in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java120 ScrimController scrimController, in DozeServiceHost() argument
139 mScrimController = scrimController; in DozeServiceHost()
DCentralSurfacesImpl.java662 ScrimController scrimController, in CentralSurfacesImpl()
772 mScrimController = scrimController; in CentralSurfacesImpl()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt121 @get:Provides val scrimController: ScrimController = mock(), constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java320 ScrimController scrimController, in QuickSettingsControllerImpl() argument
368 mScrimController = scrimController; in QuickSettingsControllerImpl()
DNotificationPanelViewController.java734 ScrimController scrimController, in NotificationPanelViewController()
910 mScrimController = scrimController; in NotificationPanelViewController()