Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt432 testView.physicsAnimator in <lambda>()
439 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()
440 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()
441 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z)) in <lambda>()
444 PhysicsAnimatorTestUtils.blockUntilAnimationsEnd(testView.physicsAnimator, in <lambda>()
448 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()
449 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()
450 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z)) in <lambda>()
454 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X)) in <lambda>()
455 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaScrollView.kt27 import com.android.wm.shell.shared.animation.physicsAnimator
52 if (contentContainer.physicsAnimator.isRunning()) { in getContentTranslation()
DMediaCarouselScrollHandler.kt387 val physicsAnimator = PhysicsAnimator.getInstance(this) in onScroll() constant
388 if (physicsAnimator.isRunning()) { in onScroll()
389 physicsAnimator in onScroll()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt38 val <T : View> T.physicsAnimator: PhysicsAnimator<T> get() { return getInstance(this) } in <lambda>() constant