Searched refs:mDuration (Results 1 – 9 of 9) sorted by relevance
/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/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 72 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 …]
|
D | PropertyValuesHolderTest.java | 78 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 …]
|
D | AnimatorTest.java | 53 private long mDuration = 1000; field in AnimatorTest 73 mAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup() 159 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 | 83 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()
|
D | AnimatorSetTest.java | 70 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/ |
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()
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppServiceTest.java | 197 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()
|