Home
last modified time | relevance | path

Searched refs:animatorTestRule (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/android/animation/
DAnimatorTestRulePrecisionTest.kt34 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in android.animation.AnimatorTestRulePrecisionTest
63 animatorTestRule.advanceTimeBy(50) in testSingleAnimator()
68 animatorTestRule.advanceTimeBy(49) in testSingleAnimator()
73 animatorTestRule.advanceTimeBy(1) in testSingleAnimator()
88 animatorTestRule.advanceTimeBy(49) in testDelayedAnimator()
93 animatorTestRule.advanceTimeBy(1) in testDelayedAnimator()
98 animatorTestRule.advanceTimeBy(99) in testDelayedAnimator()
103 animatorTestRule.advanceTimeBy(1) in testDelayedAnimator()
121 animatorTestRule.advanceTimeBy(99) in testTwoAnimators()
128 animatorTestRule.advanceTimeBy(1) in testTwoAnimators()
[all …]
DAnimatorTestRuleIsolationTest.kt37 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in android.animation.AnimatorTestRuleIsolationTest
56 animatorTestRule.advanceTimeBy(100) in testA()
79 animatorTestRule.advanceTimeBy(100) in testB()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DAnimatorTestRuleOrderTest.kt37 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.animation.AnimatorTestRuleOrderTest
83 animatorTestRule.advanceTimeBy(99) in testTwoAnimators()
89 animatorTestRule.advanceTimeBy(1) in testTwoAnimators()
95 animatorTestRule.advanceTimeBy(99) in testTwoAnimators()
101 animatorTestRule.advanceTimeBy(1) in testTwoAnimators()
122 animatorTestRule.advanceTimeBy(50) in testChainedAnimatorsPlatformThenX()
128 animatorTestRule.advanceTimeBy(50) in testChainedAnimatorsPlatformThenX()
134 animatorTestRule.advanceTimeBy(50) in testChainedAnimatorsPlatformThenX()
140 animatorTestRule.advanceTimeBy(50) in testChainedAnimatorsPlatformThenX()
161 animatorTestRule.advanceTimeBy(50) in testChainedAnimatorsXThenPlatform()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DMultiSourceMinAlphaControllerTest.kt45 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.statusbar.phone.fragment.MultiSourceMinAlphaControllerTest
65 animatorTestRule.advanceTimeBy(TEST_ANIMATION_DURATION) in testAnimateToAlpha()
79 animatorTestRule.advanceTimeBy(TEST_ANIMATION_DURATION) in testReset()
99 animatorTestRule.advanceTimeBy(TEST_ANIMATION_DURATION / 2) in testSetAlphaForSameSourceCancelsAnimator()
101 animatorTestRule.advanceTimeBy(TEST_ANIMATION_DURATION / 2) in testSetAlphaForSameSourceCancelsAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectTest.kt40 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.surfaceeffects.loadingeffect.LoadingEffectTest
62 animatorTestRule.advanceTimeBy(500L) in play_paintCallback_triggersDrawCallback()
87 animatorTestRule.advanceTimeBy(500L) in play_renderEffectCallback_triggersDrawCallback()
120 animatorTestRule.advanceTimeBy(config.easeInDuration.toLong()) in play_animationStateChangesInOrder()
121 animatorTestRule.advanceTimeBy(config.maxDuration.toLong()) in play_animationStateChangesInOrder()
122 animatorTestRule.advanceTimeBy(config.easeOutDuration.toLong()) in play_animationStateChangesInOrder()
123 animatorTestRule.advanceTimeBy(500) in play_animationStateChangesInOrder()
209 animatorTestRule.advanceTimeBy(config.easeInDuration.toLong() + 500L) in finish_finishesLoadingEffect()
214 animatorTestRule.advanceTimeBy(config.easeOutDuration.toLong() + 500L) in finish_finishesLoadingEffect()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationSchedulerImplTest.kt79 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.statusbar.events.SystemStatusAnimationSchedulerImplTest
134 animatorTestRule.advanceTimeBy(APPEAR_ANIMATION_DURATION) in <lambda>()
150 animatorTestRule.advanceTimeBy(DISAPPEAR_ANIMATION_DURATION) in <lambda>()
190 animatorTestRule.advanceTimeBy(APPEAR_ANIMATION_DURATION) in <lambda>()
206 animatorTestRule.advanceTimeBy(DISAPPEAR_ANIMATION_DURATION) in <lambda>()
270 animatorTestRule.advanceTimeBy(DISAPPEAR_ANIMATION_DURATION) in <lambda>()
277 animatorTestRule.advanceTimeBy(APPEAR_ANIMATION_DURATION) in <lambda>()
309 animatorTestRule.advanceTimeBy(APPEAR_ANIMATION_DURATION) in <lambda>()
317 animatorTestRule.advanceTimeBy(DISAPPEAR_ANIMATION_DURATION) in <lambda>()
324 animatorTestRule.advanceTimeBy(APPEAR_ANIMATION_DURATION) in <lambda>()
[all …]
DSystemEventChipAnimationControllerTest.kt54 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.statusbar.events.SystemEventChipAnimationControllerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/glowboxeffect/
DGlowBoxEffectTest.kt38 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.surfaceeffects.glowboxeffect.GlowBoxEffectTest
80 animatorTestRule.advanceTimeBy(50L) in play_paintCallback_triggersDrawCallback()
93 animatorTestRule.advanceTimeBy(config.easeInDuration + 50L) in play_followsAnimationStateInOrder()
97 animatorTestRule.advanceTimeBy(config.duration + 50L) in play_followsAnimationStateInOrder()
101 animatorTestRule.advanceTimeBy(config.easeOutDuration + 50L) in play_followsAnimationStateInOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinatorTest.kt68 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.statusbar.notification.NotificationWakeUpCoordinatorTest
240 animatorTestRule.advanceTimeBy(delayedDozeDelay) in verifyDozeAmountOutputTracksDelay()
250 animatorTestRule.advanceTimeBy(delayedDozeDuration / 2) in verifyDozeAmountOutputTracksDelay()
255 animatorTestRule.advanceTimeBy(delayedDozeDuration / 2) in verifyDozeAmountOutputTracksDelay()
260 animatorTestRule.advanceTimeBy(delayedDozeDuration) in verifyDozeAmountOutputTracksDelay()
303 animatorTestRule.advanceTimeBy(delayedDozeDelay - 1) in verifyWakeUpListenerCallbacksWhenDelayingAnimation()
306 animatorTestRule.advanceTimeBy(1) in verifyWakeUpListenerCallbacksWhenDelayingAnimation()
316 animatorTestRule.advanceTimeBy(delayedDozeDuration / 2) in verifyWakeUpListenerCallbacksWhenDelayingAnimation()
322 animatorTestRule.advanceTimeBy(delayedDozeDuration / 2 - 1) in verifyWakeUpListenerCallbacksWhenDelayingAnimation()
326 animatorTestRule.advanceTimeBy(1) in verifyWakeUpListenerCallbacksWhenDelayingAnimation()
[all …]
/frameworks/base/packages/SystemUI/tests/src/androidx/core/animation/
DAnimatorTestRuleIsolationTest.kt37 @get:Rule val animatorTestRule = AnimatorTestRule() constant in androidx.core.animation.AnimatorTestRuleIsolationTest
56 animatorTestRule.advanceTimeBy(100) in testA()
79 animatorTestRule.advanceTimeBy(100) in testB()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DLightRevealScrimRepositoryTest.kt59 @get:Rule val animatorTestRule = AnimatorTestRule(this) in <lambda>() constant in com.android.systemui.keyguard.data.repository.LightRevealScrimRepositoryTest
201 animatorTestRule.advanceTimeBy(500L) in <lambda>()
213 animatorTestRule.advanceTimeBy(250L) in <lambda>()
216 animatorTestRule.advanceTimeBy(250L) in <lambda>()
227 animatorTestRule.advanceTimeBy(500L) in <lambda>()
229 animatorTestRule.advanceTimeBy(500L) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSurfaceBehindParamsApplierTest.kt46 @get:Rule val animatorTestRule = AnimatorTestRule(this) in <lambda>() constant in com.android.systemui.keyguard.ui.binder.KeyguardSurfaceBehindParamsApplierTest
79 animatorTestRule.advanceTimeBy(1000.toLong()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimatorTest.kt55 @get:Rule val animatorTestRule = AnimatorTestRule(this) constant in com.android.systemui.statusbar.notification.stack.StackStateAnimatorTest
141 animatorTestRule.advanceTimeBy(disappearDuration) // move to the end of SSA animations in startAnimationForEvents_startsHeadsUpDisappearAnim()
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinControllerTest.kt53 @JvmField @ClassRule val animatorTestRule: AnimatorTestRule = AnimatorTestRule() in <lambda>() constant
431 animatorTestRule.advanceTimeBy(DROP_TARGET_ALPHA_IN_DURATION) in <lambda>()
438 animatorTestRule.advanceTimeBy(DROP_TARGET_ALPHA_OUT_DURATION) in <lambda>()