Searched refs:DURATIONS_MS (Results 1 – 1 of 1) sorted by relevance
63 private static final long[] DURATIONS_MS = { field in ProgramInfo78 for (long duration : DURATIONS_MS) {165 long startTimeMs = channelId * DURATIONS_MS[((int) (channelId % DURATIONS_MS.length))]; in getIndex()166 int index = (int) ((timeMs - startTimeMs) / durationsSumMs) * DURATIONS_MS.length; in getIndex()167 startTimeMs += (index / DURATIONS_MS.length) * durationsSumMs; in getIndex()168 while (startTimeMs + DURATIONS_MS[index % DURATIONS_MS.length] < timeMs) { in getIndex()169 startTimeMs += DURATIONS_MS[index % DURATIONS_MS.length]; in getIndex()185 channelId * DURATIONS_MS[((int) (channelId % DURATIONS_MS.length))] in getStartTimeMs()186 + (index / DURATIONS_MS.length) * durationsSumMs; in getStartTimeMs()187 for (int i = 0; i < index % DURATIONS_MS.length; i++) { in getStartTimeMs()[all …]