OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NANOS_PER_MS
(Results
1 - 6
of
6
) sorted by null
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
TimeUtils.java
7
public static final long
NANOS_PER_MS
= 1000000;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowChoreographerTest.java
20
final long frameInterval = 10 * TimeUtils.
NANOS_PER_MS
;
46
assertThat(ShadowChoreographer.getFrameInterval()).isEqualTo(10 * TimeUtils.
NANOS_PER_MS
);
ShadowValueAnimatorTest.java
23
ShadowChoreographer.setFrameInterval(100 * TimeUtils.
NANOS_PER_MS
);
50
ShadowChoreographer.setFrameInterval(100 * TimeUtils.
NANOS_PER_MS
);
/cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java
45
private static final long
NANOS_PER_MS
= 1000000;
215
NOMINAL_VSYNC_PERIOD * 10 *
NANOS_PER_MS
);
217
NOMINAL_VSYNC_PERIOD * 10 *
NANOS_PER_MS
);
220
NOMINAL_VSYNC_PERIOD *
NANOS_PER_MS
);
231
NOMINAL_VSYNC_PERIOD * 10 *
NANOS_PER_MS
);
265
(NOMINAL_VSYNC_PERIOD * 10 + DELAY_PERIOD) *
NANOS_PER_MS
);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowChoreographer.java
24
private static long FRAME_INTERVAL = 10 * TimeUtils.
NANOS_PER_MS
; // 10ms
171
FRAME_INTERVAL = 10 * TimeUtils.
NANOS_PER_MS
; // 10ms
ShadowView.java
483
elapsedTime += ShadowChoreographer.getFrameInterval() / TimeUtils.
NANOS_PER_MS
;
Completed in 871 milliseconds