Searched refs:ONE_MS_IN_NS (Results 1 – 1 of 1) sorted by relevance
30 private static final long ONE_MS_IN_NS = 1000000; field in SurfaceFlingerVsyncChoreographer31 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()