Lines Matching defs:elapsedTime
122 private static int calcFreq(int elapsedTime, int count, int level) {
131 final int et = Math.min(FC_FREQ_MAX, Math.max(0, elapsedTime));
136 /* pakcage */ static byte calcFc(int elapsedTime, int count, int level) {
137 final int et = Math.min(FC_FREQ_MAX, Math.max(0, elapsedTime));
144 final int elapsedTime = fcToElapsedTime(fc);
147 return calcFreq(elapsedTime, count, level);
151 int elapsedTime = fcToElapsedTime(fc);
154 if (elapsedTime >= ELAPSED_TIME_MAX) {
156 elapsedTime = 0;
160 ++elapsedTime;
162 return calcFc(elapsedTime, count, level);
166 final int elapsedTime = fcToElapsedTime(fc);
169 if ((elapsedTime == 0 && count >= COUNT_MAX) || (isValid && level == 0)) {
194 final int elapsedTime = fcToElapsedTime(fc);
195 return (elapsedTime < ELAPSED_TIME_MAX - 1 || level > 0);