Searched refs:physicsAnimator (Results 1 – 5 of 5) sorted by relevance
416 testView.physicsAnimator in <lambda>()423 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()424 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()425 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z)) in <lambda>()428 PhysicsAnimatorTestUtils.blockUntilAnimationsEnd(testView.physicsAnimator, in <lambda>()432 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()433 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()434 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z)) in <lambda>()438 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()439 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()[all …]
11 import com.android.systemui.util.animation.physicsAnimator37 fun getContentTranslation() = if (contentContainer.physicsAnimator.isRunning()) { in getContentTranslation()
367 val physicsAnimator = PhysicsAnimator.getInstance(this) in onScroll() constant368 if (physicsAnimator.isRunning()) { in onScroll()369 physicsAnimator.spring(CONTENT_TRANSLATION, in onScroll()
244 PhysicsAnimator<QSContainerImpl> physicsAnimator = PhysicsAnimator.getInstance(this); in updateBackgroundBottom() local245 if (physicsAnimator.isPropertyAnimating(BACKGROUND_BOTTOM) || animated) { in updateBackgroundBottom()250 physicsAnimator.spring(BACKGROUND_BOTTOM, height, BACKGROUND_SPRING).start(); in updateBackgroundBottom()
38 val <T : View> T.physicsAnimator: PhysicsAnimator<T> get() { return getInstance(this) } in <lambda>() constant