Home
last modified time | relevance | path

Searched refs:stiffness (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt176 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 DSpringForce.java135 @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 DMenuAnimationControllerTest.java226 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 DNotificationShadeDepthController.kt516 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 DStackAnimationController.java309 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 DPhysicsAnimationLayout.java884 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 DUnfoldRemoteFilter.kt28 stiffness = 100_000f
H A DPhysicsBasedUnfoldTransitionProgressProvider.kt212 stiffness = SPRING_STIFFNESS
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayoutTestCase.java215 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 DEdgePanelParams.kt328 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 DKeyguardSurfaceBehindParamsApplier.kt65 stiffness = 200f
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DTransitionDslImpl.kt80 override var spec: AnimationSpec<Float> = spring(stiffness = Spring.StiffnessLow)
H A DSwipeToScene.kt360 stiffness = Spring.StiffnessMediumLow,
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/
H A DPhysicsAnimatorTest.kt281 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 DSwipeable.kt795 val AnimationSpec = SpringSpec<Float>(stiffness = Spring.StiffnessMediumLow)
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dphysics-animation-layout.md29 …imations of the given property. This allows the controller to configure stiffness and bounciness v…