Home
last modified time | relevance | path

Searched refs:spring (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/
DPhysicsAnimatorTest.kt112 .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>()
244 .spring(DynamicAnimation.TRANSLATION_X, 0f, springConfig) in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DDismissView.kt48 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY) constant
74 .spring(DynamicAnimation.TRANSLATION_Y, 0f, spring) in show()
87 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(), in hide()
88 spring) in hide()
DBubbleStackView.java1764 .spring(AnimatableScaleMatrix.SCALE_X, in hideExpandedViewIfNeeded()
1768 .spring(AnimatableScaleMatrix.SCALE_Y, in hideExpandedViewIfNeeded()
1791 .spring(AnimatableScaleMatrix.SCALE_X, in showExpandedViewIfNeeded()
1794 .spring(AnimatableScaleMatrix.SCALE_Y, in showExpandedViewIfNeeded()
1902 .spring(AnimatableScaleMatrix.SCALE_X, in animateExpansion()
1905 .spring(AnimatableScaleMatrix.SCALE_Y, in animateExpansion()
2001 .spring(AnimatableScaleMatrix.SCALE_X, in animateCollapse()
2005 .spring(AnimatableScaleMatrix.SCALE_Y, in animateCollapse()
2059 .spring(DynamicAnimation.TRANSLATION_X, translationX, mTranslateSpringConfig) in animateSwitchBubbles()
2063 .spring(DynamicAnimation.TRANSLATION_Y, in animateSwitchBubbles()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java286 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mCatchUpSpringConfig) in movePip()
287 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mCatchUpSpringConfig) in movePip()
288 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip()
289 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip()
322 .spring(FloatProperties.RECT_X, destinationX, velX, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
323 .spring(FloatProperties.RECT_Y, destinationY, velY, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
324 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
325 .spring(FloatProperties.RECT_HEIGHT, desiredHeight, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
415 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mSpringConfig) in movetoTarget()
416 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mSpringConfig) in movetoTarget()
[all …]
DPipDismissTargetHandler.java301 .spring(DynamicAnimation.TRANSLATION_Y, 0f, mTargetSpringConfig) in showDismissTargetMaybe()
316 .spring(DynamicAnimation.TRANSLATION_Y, in hideDismissTargetMaybe()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimator.kt178 fun spring( in spring() method
200 fun spring( in spring() method
206 return spring( in spring()
216 fun spring( in spring() method
221 return spring(property, toPosition, 0f, config) in spring()
230 fun spring( in spring() method
234 return spring(property, toPosition, 0f) in spring()
342 return spring(property, toPosition, startVelocity, springConfig) in flingThenSpring()
863 val springForce = anim.spring ?: SpringForce() in applyToAnimation()
864 anim.spring = springForce.apply { in applyToAnimation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java322 SpringForce spring, Float finalPosition) { in flingThenSpringFirstBubbleWithStackFollowing() argument
325 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing()
330 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing() argument
333 property, spring, vel, finalPosition, after)); in springFirstBubbleWithStackFollowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt486 springAnimation.spring = SpringForce(0.0f) in <lambda>()
487 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
488 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH in <lambda>()
508 springAnimation.spring.stiffness = stiffness in <lambda>()
512 springAnimation.spring.dampingRatio = dampingRation in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java463 SpringForce spring,
502 springFirstBubbleWithStackFollowing(property, spring, endVelocity,
658 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument
676 .setSpring(spring) in springFirstBubbleWithStackFollowing()
772 .spring(DynamicAnimation.ALPHA, 0f) in onChildRemoved()
773 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig) in onChildRemoved()
774 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig) in onChildRemoved()
DExpandedAnimationController.java568 .spring(DynamicAnimation.ALPHA, 0f)
569 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig)
570 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig)
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaCarouselScrollHandler.kt328 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, in onTouch()
390 physicsAnimator.spring(CONTENT_TRANSLATION, in onScroll()
428 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, in onFling()
455 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, in resetTranslation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt505 .spring(xProperty, xProperty.getValue(underlyingObject) + xDiff, velX, in <lambda>()
507 .spring(yProperty, yProperty.getValue(underlyingObject) + yDiff, velY, in <lambda>()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md64 This would use the physics animations constructed by the layout to spring the view to *(100, 200)* …