Home
last modified time | relevance | path

Searched refs:mDuration (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTimerProgressBar.java59 private long mDuration; field in TimerProgressBar
76 if (mStartTime + mDuration > currentTime) {
98 mDuration = duration; in start()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java72 private final long mDuration = 2000; field in ValueAnimatorTest
89 mValueAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup()
105 ValueAnimator valueAnimatorLocal = mActivity.createAnimatorWithDuration(mDuration); in testDuration()
107 assertEquals(mDuration, valueAnimatorLocal.getDuration()); in testDuration()
181 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); in testSetCurrentPlayTime()
182 final ValueAnimator delayedAnim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); in testSetCurrentPlayTime()
183 delayedAnim.setStartDelay(mDuration); in testSetCurrentPlayTime()
184 final long proposedCurrentPlayTime = mDuration / 2; in testSetCurrentPlayTime()
186 anim.setCurrentPlayTime(mDuration / 2); in testSetCurrentPlayTime()
194 delayedAnim.setCurrentPlayTime(mDuration / 2); in testSetCurrentPlayTime()
[all …]
DPropertyValuesHolderTest.java78 private long mDuration = 1000; field in PropertyValuesHolderTest
150 objAnimator.setDuration(mDuration); in createAnimator()
181 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues()
184 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues()
193 waitUntilFinished(objAnimator2, mDuration * 2); in testResetValues()
200 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues()
207 waitUntilFinished(objAnimator3, mDuration * 2); in testResetValues()
216 waitUntilFinished(objAnimator1, mDuration * 2); in testResetValues()
224 waitUntilFinished(objAnimator3, mDuration * 2); in testResetValues()
228 waitUntilFinished(objAnimator2, mDuration * 2); in testResetValues()
[all …]
DAnimatorTest.java53 private long mDuration = 1000; field in AnimatorTest
73 mAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup()
159 animator.setDuration(mDuration); in testEnd()
DAnimationActivity.java58 long mDuration = 1000; field in AnimationActivity
73 mDuration = extras.getInt(DURATION); in onCreate()
127 objAnimator.setDuration(mDuration); in createObjectAnimatorForInt()
DObjectAnimatorTest.java83 private long mDuration = 1000; field in ObjectAnimatorTest
104 mObjectAnimator = (ObjectAnimator) mActivity.createAnimatorWithDuration(mDuration); in setup()
373 objAnimator.setDuration(mDuration); in testSetFloatValues()
405 objAnimator.setDuration(mDuration); in testClone()
411 assertEquals(mDuration, cloneAnimator.getDuration()); in testClone()
838 objAnimator.setDuration(mDuration); in testIsStarted()
DAnimatorSetTest.java70 private long mDuration = 1000; field in AnimatorSetTest
638 xAnimator.setDuration(mDuration); in getXAnimator()
650 yAnimator.setDuration(mDuration); in getYAnimator()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java834 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()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java197 private Long mDuration = null; field in TvInteractiveAppServiceTest.MockCallback
238 mDuration = null; in resetValues()
392 mDuration = duration; in onRequestScheduleRecording()
1398 assertThat(mCallback.mDuration).isEqualTo(duration); in testRequestScheduleRecordingWithTime()