/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimator.kt | 177 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/ |
D | SpringForce.java | 169 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/ |
D | MenuAnimationControllerTest.java | 248 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/ |
D | UnfoldRemoteFilter.kt | 27 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
|
D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 235 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in startTransition()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationController.java | 364 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()
|
D | PhysicsAnimationLayout.java | 901 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/ |
D | PhysicsAnimationLayoutTestCase.java | 222 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/ |
D | DraggableHandlerTest.kt | 1039 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/ |
D | EdgePanelParams.kt | 374 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/ |
D | KeyguardSurfaceBehindParamsApplier.kt | 71 dampingRatio = 0.98f in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShadeDepthController.kt | 516 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/ |
D | SceneTransitionLayoutState.kt | 331 dampingRatio = swipeSpec.dampingRatio, in interruptionProgress()
|