Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt176 stiffness: Float = defaultSpring.stiffness, in spring()
184 SpringConfig(stiffness, dampingRatio, startVelocity, toPosition) in spring()
201 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) in spring()
815 var stiffness: 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)
831 stiffness = this@SpringConfig.stiffness in applyToAnimation()
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java247 final float stiffness = 700f; in setupAndRunSpringAnimations() local
253 .setStiffness(stiffness) in setupAndRunSpringAnimations()
257 .setStiffness(stiffness) in setupAndRunSpringAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt517 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH in <lambda>()
535 fun setStiffness(stiffness: Float) { in <lambda>()
536 springAnimation.spring.stiffness = stiffness in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java310 float destinationX, float destinationY, float stiffness) { in springStack() argument
315 .setStiffness(stiffness) in springStack()
322 .setStiffness(stiffness) in springStack()
362 final float stiffness = Settings.Secure.getFloat(contentResolver, "bubble_stiffness", in flingStackThenSpringToEdge()
397 .setStiffness(stiffness) in flingStackThenSpringToEdge()
406 .setStiffness(stiffness) in flingStackThenSpringToEdge()
DPhysicsAnimationLayout.java910 public PhysicsPropertyAnimator withStiffness(float stiffness) {
911 mStiffness = stiffness;
1047 float stiffness,
1080 animationSpring.setStiffness(stiffness);
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldRemoteFilter.kt28 stiffness = 100_000f in <lambda>()
DPhysicsBasedUnfoldTransitionProgressProvider.kt236 stiffness = SPRING_STIFFNESS in startTransition()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/
DToQuickSettingsShadeTransition.kt38 stiffness = Spring.StiffnessMediumLow, in TransitionBuilder()
DToNotificationsShadeTransition.kt40 stiffness = Spring.StiffnessMediumLow, in TransitionBuilder()
DToSplitShadeTransition.kt39 stiffness = Spring.StiffnessMediumLow, in TransitionBuilder()
DToShadeTransition.kt41 stiffness = Spring.StiffnessMediumLow, in toShadeTransition()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransitionDslTest.kt196 val defaultSpec = spring<Float>(stiffness = 1f) in springSpec()
197 val specFromAToC = spring<Float>(stiffness = 2f) in springSpec()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java221 float value, float startVel, long startDelay, float stiffness, in animateValueForChild() argument
224 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild()
/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.kt70 stiffness = 275f in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutState.kt330 stiffness = swipeSpec.stiffness, in interruptionProgress()
DTransitionDslImpl.kt192 override var spec: AnimationSpec<Float> = spring(stiffness = Spring.StiffnessLow)
DSceneTransitions.kt140 stiffness = Spring.StiffnessMediumLow, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt281 springConfig.apply { stiffness = SpringForce.STIFFNESS_LOW }) in <lambda>()
311 springConfig.apply { stiffness = SpringForce.STIFFNESS_VERY_LOW }) in <lambda>()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt705 stiffness = defaultStiffness, in topEdgeReached()
750 stiffness = defaultStiffness, in topEdgeReached()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt795 val AnimationSpec = SpringSpec<Float>(stiffness = Spring.StiffnessMediumLow)
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md29 …imations of the given property. This allows the controller to configure stiffness and bounciness v…
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt507 placementSpec = spring(stiffness = Spring.StiffnessMediumLow) in CommunalHubLazyGrid()