Home
last modified time | relevance | path

Searched refs:dampingRatio (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt177 dampingRatio: Float = defaultSpring.dampingRatio in spring()
184 SpringConfig(stiffness, dampingRatio, startVelocity, toPosition) in spring()
201 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) in spring()
816 internal var dampingRatio: Float, variable in com.android.wm.shell.shared.animation.SpringConfig
822 this(globalDefaultSpring.stiffness, globalDefaultSpring.dampingRatio)
824 constructor(stiffness: Float, dampingRatio: Float) :
825 this(stiffness = stiffness, dampingRatio = dampingRatio, startVelocity = 0f)
832 dampingRatio = this@SpringConfig.dampingRatio in applyToAnimation()
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java169 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) { in setDampingRatio()
170 if (dampingRatio < 0) { in setDampingRatio()
173 mDampingRatio = dampingRatio; in setDampingRatio()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java248 final float dampingRatio = 0.85f; in setupAndRunSpringAnimations() local
254 .setDampingRatio(dampingRatio), velocity, finalPosition, in setupAndRunSpringAnimations()
258 .setDampingRatio(dampingRatio), velocity, finalPosition, in setupAndRunSpringAnimations()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldRemoteFilter.kt27 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
DPhysicsBasedUnfoldTransitionProgressProvider.kt235 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in startTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java364 final float dampingRatio = Settings.Secure.getFloat(contentResolver, "bubble_damping", in flingStackThenSpringToEdge()
398 .setDampingRatio(dampingRatio), in flingStackThenSpringToEdge()
407 .setDampingRatio(dampingRatio), in flingStackThenSpringToEdge()
706 final float dampingRatio = Settings.Secure.getFloat(contentResolver, "bubble_damping", in getSpringForce() local
710 .setDampingRatio(dampingRatio) in getSpringForce()
DPhysicsAnimationLayout.java901 public PhysicsPropertyAnimator withDampingRatio(float dampingRatio) {
902 mDampingRatio = dampingRatio;
1048 float dampingRatio,
1081 animationSpring.setDampingRatio(dampingRatio);
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java222 float dampingRatio, Runnable[] afterCallbacks) { in animateValueForChild() argument
224 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt1039 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
1065 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
1091 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
1118 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
1145 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
1174 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgePanelParams.kt374 fun createSpring(stiffness: Float, dampingRatio: Float): SpringForce { in createSpring()
375 return SpringForce().setStiffness(stiffness).setDampingRatio(dampingRatio) in createSpring()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSurfaceBehindParamsApplier.kt71 dampingRatio = 0.98f in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt516 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
540 springAnimation.spring.dampingRatio = dampingRation in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutState.kt331 dampingRatio = swipeSpec.dampingRatio, in interruptionProgress()