Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java30 private static final long ONE_MS_IN_NS = 1000000; field in SurfaceFlingerVsyncChoreographer
31 private static final long ONE_S_IN_NS = ONE_MS_IN_NS * 1000;
67 long sfVsyncOffset = vsyncPeriod - (display.getPresentationDeadlineNanos() - ONE_MS_IN_NS); in calculateAppSurfaceFlingerVsyncOffsetMs()
68 return Math.max(0, (sfVsyncOffset - display.getAppVsyncOffsetNanos()) / ONE_MS_IN_NS); in calculateAppSurfaceFlingerVsyncOffsetMs()