Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/
H A DPhysicsAnimatorTest.kt431 testView.physicsAnimator
438 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X))
439 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y))
440 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z))
443 PhysicsAnimatorTestUtils.blockUntilAnimationsEnd(testView.physicsAnimator,
447 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X))
448 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y))
449 assertTrue(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Z))
453 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_X))
454 assertFalse(testView.physicsAnimator.isPropertyAnimating(DynamicAnimation.TRANSLATION_Y))
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaScrollView.kt27 import com.android.wm.shell.animation.physicsAnimator
52 if (contentContainer.physicsAnimator.isRunning()) {
H A DMediaCarouselScrollHandler.kt384 val physicsAnimator = PhysicsAnimator.getInstance(this) regex
385 if (physicsAnimator.isRunning()) {
386 physicsAnimator
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt38 val <T : View> T.physicsAnimator: PhysicsAnimator<T> get() { return getInstance(this) }