Home
last modified time | relevance | path

Searched refs:physicsAnimator (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/animation/
DPhysicsAnimatorTest.kt416 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaScrollView.kt11 import com.android.systemui.util.animation.physicsAnimator
37 fun getContentTranslation() = if (contentContainer.physicsAnimator.isRunning()) { in getContentTranslation()
DMediaCarouselScrollHandler.kt367 val physicsAnimator = PhysicsAnimator.getInstance(this) in onScroll() constant
368 if (physicsAnimator.isRunning()) { in onScroll()
369 physicsAnimator.spring(CONTENT_TRANSLATION, in onScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java244 PhysicsAnimator<QSContainerImpl> physicsAnimator = PhysicsAnimator.getInstance(this); in updateBackgroundBottom() local
245 if (physicsAnimator.isPropertyAnimating(BACKGROUND_BOTTOM) || animated) { in updateBackgroundBottom()
250 physicsAnimator.spring(BACKGROUND_BOTTOM, height, BACKGROUND_SPRING).start(); in updateBackgroundBottom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DPhysicsAnimator.kt38 val <T : View> T.physicsAnimator: PhysicsAnimator<T> get() { return getInstance(this) } in <lambda>() constant