/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
H A D | PhysicsAnimator.kt | 176 stiffness: Float = defaultSpring.stiffness, 184 SpringConfig(stiffness, dampingRatio, startVelocity, toPosition) 201 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) 818 var stiffness: Float, 825 this(globalDefaultSpring.stiffness, globalDefaultSpring.dampingRatio) 827 constructor(stiffness: Float, dampingRatio: Float) : 828 this(stiffness = stiffness, dampingRatio = dampingRatio, startVelocity = 0f) 834 stiffness = this@SpringConfig.stiffness
|
/aosp14/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
H A D | SpringForce.java | 135 @FloatRange(from = 0.0, fromInclusive = false) float stiffness) { in setStiffness() 136 if (stiffness <= 0) { in setStiffness() 139 mNaturalFreq = Math.sqrt(stiffness); in setStiffness()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuAnimationControllerTest.java | 226 final float stiffness = 700f; in setupAndRunSpringAnimations() local 232 .setStiffness(stiffness) in setupAndRunSpringAnimations() 235 .setStiffness(stiffness) in setupAndRunSpringAnimations()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationShadeDepthController.kt | 516 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH 534 fun setStiffness(stiffness: Float) { 535 springAnimation.spring.stiffness = stiffness
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | StackAnimationController.java | 309 float destinationX, float destinationY, float stiffness) { in springStack() argument 314 .setStiffness(stiffness) in springStack() 321 .setStiffness(stiffness) in springStack() 361 final float stiffness = Settings.Secure.getFloat(contentResolver, "bubble_stiffness", in flingStackThenSpringToEdge() 396 .setStiffness(stiffness) in flingStackThenSpringToEdge() 405 .setStiffness(stiffness) in flingStackThenSpringToEdge()
|
H A D | PhysicsAnimationLayout.java | 884 public PhysicsPropertyAnimator withStiffness(float stiffness) { 885 mStiffness = stiffness; 1013 float stiffness, 1046 animationSpring.setStiffness(stiffness);
|
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
H A D | UnfoldRemoteFilter.kt | 28 stiffness = 100_000f
|
H A D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 212 stiffness = SPRING_STIFFNESS
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
H A D | PhysicsAnimationLayoutTestCase.java | 215 float value, float startVel, long startDelay, float stiffness, in animateValueForChild() argument 218 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
H A D | EdgePanelParams.kt | 328 fun createSpring(stiffness: Float, dampingRatio: Float): SpringForce { 329 return SpringForce().setStiffness(stiffness).setDampingRatio(dampingRatio)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
H A D | KeyguardSurfaceBehindParamsApplier.kt | 65 stiffness = 200f
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
H A D | TransitionDslImpl.kt | 80 override var spec: AnimationSpec<Float> = spring(stiffness = Spring.StiffnessLow)
|
H A D | SwipeToScene.kt | 360 stiffness = Spring.StiffnessMediumLow,
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/ |
H A D | PhysicsAnimatorTest.kt | 281 springConfig.apply { stiffness = SpringForce.STIFFNESS_LOW }) 311 springConfig.apply { stiffness = SpringForce.STIFFNESS_VERY_LOW })
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
H A D | Swipeable.kt | 795 val AnimationSpec = SpringSpec<Float>(stiffness = Spring.StiffnessMediumLow)
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | physics-animation-layout.md | 29 …imations of the given property. This allows the controller to configure stiffness and bounciness v…
|