Home
last modified time | relevance | path

Searched refs:nsslController (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DSplitShadeLockScreenOverScrollerTest.kt35 @Mock private lateinit var nsslController: NotificationStackScrollLayoutController variable in com.android.systemui.statusbar.SplitShadeLockScreenOverScrollerTest
44 whenever(nsslController.height).thenReturn(1800) in setUp()
54 { nsslController }) in setUp()
74 verifyZeroInteractions(nsslController) in setDragDownAmount_notOnKeyguard_doesNotApplyOverScroll()
82 reset(qS, scrimController, nsslController) in setDragAmount_onKeyguard_thenNotOnKeyguard_resetsOverScrollToZero()
95 reset(qS, scrimController, nsslController) in setDragAmount_onKeyguard_thenNotOnKeyguard_multipleTimes_resetsOverScrollToZeroOnlyOnce()
106 verify(nsslController).setOverScrollAmount(intThat { it > 0 }) in verifyOverScrollPerformed()
114 verify(nsslController, atLeast(1)).setOverScrollAmount(0) in verifyOverScrollResetToZero()
120 verifyNoMoreInteractions(nsslController) in verifyNoMoreOverScrollChanges()
DSingleShadeLockScreenOverScrollerTest.kt22 @Mock private lateinit var nsslController: NotificationStackScrollLayoutController variable in com.android.systemui.statusbar.SingleShadeLockScreenOverScrollerTest
29 whenever(nsslController.height).thenReturn(1800) in setUp()
35 nsslController in setUp()
45 verify(nsslController).setOverScrollAmount(intThat { it > 0 }) in setDragDownAmount_onKeyguard_overScrolls()
54 verify(nsslController).setOverScrollAmount(0) in setDragDownAmount_notOnKeyguard_doesNotOverScroll()
DLockscreenShadeTransitionControllerTest.kt73 @Mock lateinit var nsslController: NotificationStackScrollLayoutController variable in com.android.systemui.statusbar.LockscreenShadeTransitionControllerTest
129 whenever(nsslController.view).thenReturn(stackscroller) in setup()
130 whenever(nsslController.expandHelperCallback).thenReturn(expandHelperCallback) in setup()
134 transitionController.setStackScroller(nsslController) in setup()
136 whenever(nsslController.isInLockedDownShade).thenReturn(false) in setup()
163 whenever(nsslController.isInLockedDownShade).thenReturn(true) in testCanDragDownInLockedDownShade()
248 whenever(nsslController.isInLockedDownShade).thenReturn(true) in testDragDownAmountDoesntCallOutInLockedDownShade()
250 verify(nsslController, never()).setTransitionToFullShadeAmount(anyFloat()) in testDragDownAmountDoesntCallOutInLockedDownShade()
261 verify(nsslController).setTransitionToFullShadeAmount(anyFloat()) in testDragDownAmountCallsOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionController.kt81 private lateinit var nsslController: NotificationStackScrollLayoutController in <lambda>() variable
177 splitShadeOverScrollerFactory.create({ qS }, { nsslController }) in <lambda>()
181 singleShadeOverScrollerFactory.create(nsslController) in <lambda>()
265 fun setStackScroller(nsslController: NotificationStackScrollLayoutController) { in <lambda>()
266 this.nsslController = nsslController in <lambda>()
267 touchHelper.expandCallback = nsslController.expandHelperCallback in <lambda>()
293 nsslController.isInLockedDownShade()) && in <lambda>()
306 if (nsslController.isInLockedDownShade()) { in <lambda>()
351 nsslController.setDimmed(true /* dimmed */, true /* animated */) in <lambda>()
352 nsslController.resetScrollPosition() in <lambda>()
[all …]
DSingleShadeLockScreenOverScroller.kt20 @Assisted private val nsslController: NotificationStackScrollLayoutController constant
56 val viewHeight = nsslController.height in overScroll()
65 nsslController.setOverScrollAmount(extraTopInset.toInt()) in overScroll()
71 nsslController: NotificationStackScrollLayoutController in interface()
DSplitShadeLockScreenOverScroller.kt43 private val nsslController: NotificationStackScrollLayoutController in <lambda>() constant
95 nsslController.setOverScrollAmount(overscrollAmount) in <lambda>()
99 val fullHeight: Int = nsslController.height in <lambda>()
114 nsslController.setOverScrollAmount(overScrollAmount) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutListContainerModule.java29 NotificationStackScrollLayoutController nsslController) { in provideListContainer() argument
30 return nsslController.getNotificationListContainer(); in provideListContainer()