/frameworks/base/libs/hwui/effects/ |
D | StretchEffect.cpp | 248 float reverseMapStart(float overscroll, float input) { in reverseMapStart() argument 249 float numerator = (-input * overscroll * overscroll) - in reverseMapStart() 250 (2 * input * overscroll) - input; in reverseMapStart() 251 float denominator = 1.f + (.3f * overscroll) + in reverseMapStart() 252 (.7f * input * overscroll * overscroll) + (.7f * input * overscroll); in reverseMapStart() 264 float reverseMapEnd(float overscroll, float input) { in reverseMapEnd() argument 265 float numerator = (.3f * overscroll * overscroll) - in reverseMapEnd() 266 (.3f * input * overscroll * overscroll) + in reverseMapEnd() 267 (1.3f * input * overscroll) - overscroll - input; in reverseMapEnd() 268 float denominator = (.7f * input * overscroll * overscroll) - in reverseMapEnd() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/ |
D | SceneContainerTransitions.kt | 99 overscroll(Scenes.Gone, Orientation.Vertical) {} in <lambda>() 100 overscroll(Scenes.Bouncer, Orientation.Vertical) { in <lambda>() 103 overscroll(Scenes.Shade, Orientation.Vertical) { in <lambda>() 114 overscroll(Scenes.NotificationsShade, Orientation.Vertical) { in <lambda>() 117 overscroll(Scenes.QuickSettingsShade, Orientation.Vertical) { in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | GridDragDropState.kt | 181 val overscroll = checkForOverscroll(startOffset, endOffset) in onDrag() constant 182 if (overscroll != 0f) { in onDrag() 183 scrollChannel.trySend(overscroll) in onDrag()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | DraggableHandlerTest.kt | 981 overscroll(SceneC, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1016 layoutState.transitions = transitions { overscroll(SceneB, Orientation.Vertical) {} } in <lambda>() 1040 overscroll(SceneB, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1066 overscroll(SceneC, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1092 overscroll(SceneB, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1119 overscroll(SceneC, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1146 overscroll(SceneA, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 1175 overscroll(SceneA, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>()
|
D | ElementTest.kt | 724 overscroll(SceneB, Orientation.Vertical) { in <lambda>() 780 overscroll(SceneB, Orientation.Vertical) { in <lambda>() 851 overscroll(SceneB, Orientation.Vertical) { in <lambda>() 907 overscroll(SceneB, Orientation.Vertical) { in <lambda>() 1387 transitions { overscroll(SceneA, Orientation.Horizontal) {} } in <lambda>() 1540 overscroll(SceneA, Orientation.Horizontal) in <lambda>() 1541 overscroll(SceneB, Orientation.Horizontal) in <lambda>() 1588 overscroll(SceneA, Orientation.Horizontal) in <lambda>() 1589 overscroll(SceneB, Orientation.Horizontal) in <lambda>() 1639 overscroll(SceneB, Orientation.Vertical) { in <lambda>() [all …]
|
D | TransitionDslTest.kt | 231 overscroll(TestScenes.SceneA, Orientation.Vertical) { in overscrollSpec()
|
D | SceneTransitionLayoutStateTest.kt | 471 overscroll(SceneB, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>() 502 overscroll(SceneA, Orientation.Vertical) { fade(TestElements.Foo) } in <lambda>()
|
D | AnimatedSharedAsStateTest.kt | 456 transitions { overscroll(SceneB, Orientation.Horizontal) } in animatedValueDoesNotOverscrollWhenOverscrollIsSpecified()
|
D | SceneTransitionLayoutTest.kt | 342 transitions { overscroll(SceneB, Orientation.Horizontal) } in layoutSizeDoesNotOverscrollWhenOverscrollIsSpecified()
|
D | SwipeToSceneTest.kt | 609 overscroll(SceneB, Orientation.Vertical) { in <lambda>()
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 833 float overscroll = Math.abs(normalizedVec); in dampStretchVector() local 834 float linearIntensity = LINEAR_STRETCH_INTENSITY * overscroll; in dampStretchVector() 836 double expIntensity = EXP_STRETCH_INTENSITY * (1 - Math.exp(-overscroll * scalar)); in dampStretchVector()
|
D | AbsListView.java | 3639 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded() 3640 if ((overscroll || distance > mTouchSlop) && in startScrollIfNeeded() 3643 if (overscroll) { in startScrollIfNeeded() 3749 int overscroll = -incrementalDeltaY - in scrollIfNeeded() local 3751 if (dispatchNestedScroll(0, overscroll - incrementalDeltaY, 0, overscroll, in scrollIfNeeded() 3759 final boolean atOverscrollEdge = overScrollBy(0, overscroll, in scrollIfNeeded() 3776 mEdgeGlowTop.onPullDistance((float) -overscroll / getHeight(), in scrollIfNeeded() 3783 mEdgeGlowBottom.onPullDistance((float) overscroll / getHeight(), in scrollIfNeeded() 4536 float overscroll = (delta - (motionViewRealTop - motionViewPrevTop)) in onGenericMotionEvent() local 4546 mEdgeGlowTop.onPullDistance(overscroll, 0.5f); in onGenericMotionEvent() [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | SceneTransitions.kt | 118 .getOrPut(orientation) { overscroll(scene, orientation) { it.scene == scene } } in <lambda>() 120 private fun overscroll( in <lambda>() method in com.android.compose.animation.scene.SceneTransitions
|
D | TransitionDsl.kt | 92 fun overscroll( in overscroll() method
|
D | Element.kt | 1051 val overscroll = transition.currentOverscrollSpec in computeValue() constant 1052 if (overscroll?.scene == currentScene) { in computeValue() 1054 overscroll.transformationSpec.transformations(element.key, currentScene) in computeValue() 1077 val isToScene = overscroll.scene == transition.toScene in computeValue()
|
D | TransitionDslImpl.kt | 79 override fun overscroll( in overscroll() method in com.android.compose.animation.scene.SceneTransitionsBuilderImpl
|