Searched refs:mDuration (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 69 private final long mDuration = 2000; field in ValueAnimatorTest 79 mValueAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup() 95 ValueAnimator valueAnimatorLocal = mActivity.createAnimatorWithDuration(mDuration); in testDuration() 97 assertEquals(mDuration, valueAnimatorLocal.getDuration()); in testDuration() 171 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); in testSetCurrentPlayTime() 172 final ValueAnimator delayedAnim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); in testSetCurrentPlayTime() 173 delayedAnim.setStartDelay(mDuration); in testSetCurrentPlayTime() 174 final long proposedCurrentPlayTime = mDuration / 2; in testSetCurrentPlayTime() 176 anim.setCurrentPlayTime(mDuration / 2); in testSetCurrentPlayTime() 184 delayedAnim.setCurrentPlayTime(mDuration / 2); in testSetCurrentPlayTime() [all …]
|
D | PropertyValuesHolderTest.java | 75 private long mDuration = 1000; field in PropertyValuesHolderTest 139 objAnimator.setDuration(mDuration); in createAnimator() 169 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues() 172 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues() 181 waitUntilFinished(objAnimator2, mDuration * 2); in testResetValues() 188 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues() 195 waitUntilFinished(objAnimator3, mDuration * 2); in testResetValues() 204 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues() 212 waitUntilFinished(objAnimator3, mDuration * 2); in testResetValues() 216 waitUntilFinished(objAnimator2, mDuration * 2); in testResetValues() [all …]
|
D | AnimatorTest.java | 49 private long mDuration = 1000; field in AnimatorTest 59 mAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup() 138 animator.setDuration(mDuration); in testEnd()
|
D | AnimationActivity.java | 58 long mDuration = 1000; field in AnimationActivity 73 mDuration = extras.getInt(DURATION); in onCreate() 127 objAnimator.setDuration(mDuration); in createObjectAnimatorForInt()
|
D | ObjectAnimatorTest.java | 78 private long mDuration = 1000; field in ObjectAnimatorTest 89 mObjectAnimator = (ObjectAnimator) mActivity.createAnimatorWithDuration(mDuration); in setup() 319 objAnimator.setDuration(mDuration); in testSetFloatValues() 351 objAnimator.setDuration(mDuration); in testClone() 357 assertEquals(mDuration, cloneAnimator.getDuration()); in testClone() 784 objAnimator.setDuration(mDuration); in testIsStarted()
|
D | AnimatorSetTest.java | 67 private long mDuration = 1000; field in AnimatorSetTest 628 xAnimator.setDuration(mDuration); in getXAnimator() 640 yAnimator.setDuration(mDuration); in getYAnimator()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TimerProgressBar.java | 59 private long mDuration; field in TimerProgressBar 76 if (mStartTime + mDuration > currentTime) { 98 mDuration = duration; in start()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionTest.java | 834 private long mDuration = -1; field in TransitionTest.DurationListener 843 mDuration = SystemClock.elapsedRealtime() - mElapsedMillisStart; in onTransitionEnd() 847 if (mDuration < 0) { in getDuration() 850 return mDuration; in getDuration()
|