Home
last modified time | relevance | path

Searched refs:NANOS_PER_MS (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowChoreographerTest.java20 final long frameInterval = 10 * TimeUtils.NANOS_PER_MS; in setFrameInterval_shouldUpdateFrameInterval()
46 assertThat(ShadowChoreographer.getFrameInterval()).isEqualTo(10 * TimeUtils.NANOS_PER_MS); in reset_shouldResetFrameInterval()
DShadowValueAnimatorTest.java23 ShadowChoreographer.setFrameInterval(100 * TimeUtils.NANOS_PER_MS); in start_shouldRunAnimation()
50 ShadowChoreographer.setFrameInterval(100 * TimeUtils.NANOS_PER_MS); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowChoreographer.java24 private static long FRAME_INTERVAL = 10 * TimeUtils.NANOS_PER_MS; // 10ms
171 FRAME_INTERVAL = 10 * TimeUtils.NANOS_PER_MS; // 10ms
DShadowView.java483 elapsedTime += ShadowChoreographer.getFrameInterval() / TimeUtils.NANOS_PER_MS; in run()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DTimeUtils.java7 public static final long NANOS_PER_MS = 1000000; field in TimeUtils