Home
last modified time | relevance | path

Searched refs:dragDownAmount (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeQsTransitionControllerTest.kt81 controller.dragDownAmount = 25f in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
84 controller.dragDownAmount = 50f in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
87 controller.dragDownAmount = 75f in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
90 controller.dragDownAmount = 100f in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
99 controller.dragDownAmount = -500f in qsTransitionFraction_noStartDelay_returnsValuesBetween0and1()
102 controller.dragDownAmount = 500f in qsTransitionFraction_noStartDelay_returnsValuesBetween0and1()
111 controller.dragDownAmount = 0f in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
114 controller.dragDownAmount = 10f in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
117 controller.dragDownAmount = 25f in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
120 controller.dragDownAmount = 100f in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
[all …]
DLockscreenShadeTransitionControllerTest.kt330 transitionController.dragDownAmount = 10f in testDragDownAmountDoesntCallOutInLockedDownShade()
336 verify(qsTransitionController, never()).dragDownAmount = anyFloat() in testDragDownAmountDoesntCallOutInLockedDownShade()
341 transitionController.dragDownAmount = 10f in testDragDownAmountCallsOut()
347 verify(qsTransitionController).dragDownAmount = 10f in testDragDownAmountCallsOut()
358 transitionController.dragDownAmount = 10f in testDragDownAmount_depthDistanceIsZero_setsProgressToZero()
370 transitionController.dragDownAmount = 10f in testDragDownAmount_depthDistanceNonZero_setsProgressBasedOnDistance()
377 transitionController.dragDownAmount = 10f in setDragAmount_setsKeyguardTransitionProgress()
388 transitionController.dragDownAmount = 10f in setDragAmount_setsKeyguardAlphaBasedOnDistance()
402 transitionController.dragDownAmount = 10f in setDragAmount_notInSplitShade_setsKeyguardTranslationToZero()
415 transitionController.dragDownAmount = 10f in setDragAmount_inSplitShade_setsKeyguardTranslationBasedOnMediaTranslation()
[all …]
DSplitShadeLockScreenOverScrollerTest.kt132 private fun setDragAmount(dragDownAmount: Float) { in setDragAmount()
133 overScroller.expansionDragDownAmount = dragDownAmount in setDragAmount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSplitShadeLockScreenOverScroller.kt70 set(dragDownAmount) { in <lambda>()
71 if (field == dragDownAmount) { in <lambda>()
74 field = dragDownAmount in <lambda>()
76 overScroll(dragDownAmount) in <lambda>()
86 private fun overScroll(dragDownAmount: Float) { in <lambda>()
87 val overscrollAmount: Int = calculateOverscrollAmount(dragDownAmount) in <lambda>()
98 private fun calculateOverscrollAmount(dragDownAmount: Float): Int { in <lambda>()
100 val fullHeightProgress: Float = MathUtils.saturate(dragDownAmount / fullHeight) in <lambda>()
DLockscreenShadeKeyguardTransitionController.kt71 override fun onDragDownAmountChanged(dragDownAmount: Float) { in onDragDownAmountChanged()
72 alphaProgress = MathUtils.saturate(dragDownAmount / alphaTransitionDistance) in onDragDownAmountChanged()
74 translationY = calculateKeyguardTranslationY(dragDownAmount) in onDragDownAmountChanged()
81 private fun calculateKeyguardTranslationY(dragDownAmount: Float): Int { in calculateKeyguardTranslationY()
91 translationYProgress = MathUtils.saturate(dragDownAmount / keyguardTransitionDistance) in calculateKeyguardTranslationY()
108 it.println("dragDownAmount: $dragDownAmount") in dump()
DLockscreenShadeTransitionController.kt234 if (dragDownAmount != 0f && dragDownAnimator?.isRunning != true) { in <lambda>()
236 dragDownAmount = 0f in <lambda>()
338 dragDownAmount = 0f in <lambda>()
412 internal var dragDownAmount = 0f in <lambda>() variable
418 MathUtils.saturate(dragDownAmount / notificationShelfTransitionDistance) in <lambda>()
422 qsTransitionController.dragDownAmount = value in <lambda>()
433 scrimTransitionController.dragDownAmount = value in <lambda>()
435 keyguardTransitionController.dragDownAmount = value in <lambda>()
436 shadeOverScroller.expansionDragDownAmount = dragDownAmount in <lambda>()
441 private fun transitionToShadeAmountCommon(dragDownAmount: Float) { in <lambda>()
[all …]
DLockscreenShadeScrimTransitionController.kt62 override fun onDragDownAmountChanged(dragDownAmount: Float) { in onDragDownAmountChanged()
63 scrimProgress = MathUtils.saturate(dragDownAmount / scrimTransitionDistance) in onDragDownAmountChanged()
64 notificationsScrimDragAmount = dragDownAmount - notificationsScrimTransitionDelay in onDragDownAmountChanged()
83 it.println("dragDownAmount: $dragDownAmount") in dump()
DLockscreenShadeQsTransitionController.kt128 override fun onDragDownAmountChanged(dragDownAmount: Float) { in onDragDownAmountChanged()
129 qsDragDownAmount = dragDownAmount - qsTransitionStartDelay in onDragDownAmountChanged()
137 isTransitioningToFullShade = dragDownAmount > 0.0f in onDragDownAmountChanged()
154 dragDownAmount: $dragDownAmount in dump()
DAbstractLockscreenShadeTransitionController.kt26 var dragDownAmount = 0f variable
55 protected abstract fun onDragDownAmountChanged(dragDownAmount: Float) in updateResources()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt43 val dragDownAmount = 1234f in onPanelExpansionChanged_listenerNotified() constant
57 val dragDownAmount = 1234f in addExpansionListener_listenerNotifiedOfCurrentValues() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandler.java165 final float dragDownAmount = e2.getY() - e1.getY();