Home
last modified time | relevance | path

Searched refs:springAnimation (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DPhysicsBasedUnfoldTransitionProgressProvider.kt67 private val springAnimation = constant
93 springAnimation.scheduler = schedulerFactory.create() in <lambda>()
108 springAnimation.animateToFinalPosition(progress) in onHingeAngleUpdate()
145 springAnimation.animateToFinalPosition(1.0f) in saturate()
185 springAnimation.animateToFinalPosition(endValue) in cancelTransition()
191 springAnimation.cancel() in cancelTransition()
231 springAnimation.apply { in startTransition()
244 springAnimation.start() in startTransition()
263 springAnimation.removeEndListener(this) in startCannedCancelAnimation()
264 springAnimation.cancel() in startCannedCancelAnimation()
[all …]
DUnfoldRemoteFilter.kt23 private val springAnimation = constant in com.android.systemui.unfold.progress.UnfoldRemoteFilter
59 springAnimation.animateToFinalPosition(progress) in onTransitionProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt502 private var springAnimation = SpringAnimation(this, object : in <lambda>() variable
515 springAnimation.spring = SpringForce(0.0f) in <lambda>()
516 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
517 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH in <lambda>()
518 springAnimation.addEndListener { _, _, _, _ -> pendingRadius = -1 } in <lambda>()
526 springAnimation.animateToFinalPosition(newRadius.toFloat()) in <lambda>()
530 if (springAnimation.isRunning) { in <lambda>()
531 springAnimation.skipToEnd() in <lambda>()
536 springAnimation.spring.stiffness = stiffness in <lambda>()
540 springAnimation.spring.dampingRatio = dampingRation in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java263 final SpringAnimation springAnimation = ((SpringAnimation) animation); in skipAnimationToEnd() local
265 springAnimation.doAnimationFrame(100); in skipAnimationToEnd()
266 springAnimation.skipToEnd(); in skipAnimationToEnd()
267 springAnimation.doAnimationFrame(200); in skipAnimationToEnd()
DMenuViewLayerTest.java506 final SpringAnimation springAnimation = ((SpringAnimation) animation); in skipPositionAnimations() local
508 springAnimation.doAnimationFrame(500); in skipPositionAnimations()
509 springAnimation.skipToEnd(); in skipPositionAnimations()
510 springAnimation.doAnimationFrame(500); in skipPositionAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java275 final SpringAnimation springAnimation =
294 mPositionAnimations.put(property, springAnimation);
295 springAnimation.animateToFinalPosition(finalPosition);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java636 SpringAnimation springAnimation = in springFirstBubbleWithStackFollowing() local
661 mStackPositionAnimations.put(property, springAnimation); in springFirstBubbleWithStackFollowing()
662 springAnimation.animateToFinalPosition(finalPosition); in springFirstBubbleWithStackFollowing()