Home
last modified time | relevance | path

Searched refs:springConfig (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt64 private val springConfig = PhysicsAnimator.SpringConfig( in <lambda>() constant in com.android.wm.shell.shared.animation.PhysicsAnimatorTest
112 .spring(DynamicAnimation.TRANSLATION_X, 50f, springConfig) in <lambda>()
121 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>()
122 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig) in <lambda>()
123 .spring(DynamicAnimation.SCALE_Y, 1.1f, springConfig) in <lambda>()
158 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>()
159 .spring(DynamicAnimation.TRANSLATION_Y, 500f, springConfig) in <lambda>()
213 .spring(DynamicAnimation.TRANSLATION_X, 100f, springConfig) in <lambda>()
214 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig) in <lambda>()
231 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt310 springConfig: SpringConfig, in flingThenSpring()
319 val springConfigCopy = springConfig.copy() in flingThenSpring()
336 return spring(property, toPosition, startVelocity, springConfig) in flingThenSpring()
473 val springConfig = springConfigs[animatedProperty] in startInternal() constant
507 if (springConfig != null) { in startInternal()
514 springConfig.applyToAnimation(springAnim) in startInternal()
548 springConfig.startVelocity = finalVelocity in startInternal()
553 if (springConfig.finalPosition == UNSET) { in startInternal()
558 springConfig.finalPosition = in startInternal()
563 springConfig.finalPosition = in startInternal()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt265 var springConfig = PhysicsAnimator.SpringConfig( in <lambda>() variable
272 var flungIntoTargetSpringConfig = springConfig in <lambda>()
506 val springConfig = if (flung) flungIntoTargetSpringConfig else springConfig in <lambda>() constant
513 springConfig) in <lambda>()
515 springConfig) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleEducationViewController.kt52 private val springConfig by lazy { in onEducationVisibilityChanged() constant
212 PhysicsAnimator.getInstance(it).apply { setDefaultSpringConfig(springConfig) } in createAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java449 void animateToBounds(Rect bounds, PhysicsAnimator.SpringConfig springConfig) {
456 .spring(FloatProperties.RECT_X, bounds.left, springConfig)
457 .spring(FloatProperties.RECT_Y, bounds.top, springConfig);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMotionHelper.java441 void animateToBounds(Rect bounds, PhysicsAnimator.SpringConfig springConfig) {
448 .spring(FloatProperties.RECT_X, bounds.left, springConfig)
449 .spring(FloatProperties.RECT_Y, bounds.top, springConfig);