HomeSort by relevance Sort by last modified time
    Searched defs:ShadowChoreographer (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowChoreographerTest.java 21 ShadowChoreographer.setFrameInterval(frameInterval);
23 final Choreographer instance = ShadowChoreographer.getInstance();
32 Choreographer instance = ShadowChoreographer.getInstance();
42 ShadowChoreographer.setFrameInterval(1);
43 assertThat(ShadowChoreographer.getFrameInterval()).isEqualTo(1);
45 ShadowChoreographer.reset();
46 assertThat(ShadowChoreographer.getFrameInterval()).isEqualTo(10 * TimeUtils.NANOS_PER_MS);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowChoreographer.java 22 public class ShadowChoreographer {
141 nanoTime += ShadowChoreographer.FRAME_INTERVAL;
151 return ShadowChoreographer.FRAME_INTERVAL;
160 ShadowChoreographer.FRAME_INTERVAL = frameInterval;

Completed in 94 milliseconds