Searched refs:minDuration (Results 1 – 3 of 3) sorted by relevance
54 public static int calculateTranslationAnimationDuration(int distancePx, int minDuration) { in calculateTranslationAnimationDuration() argument56 return Math.max(minDuration, (int) (1000f /* ms/s */ * in calculateTranslationAnimationDuration()
374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
1181 long minDuration = SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local1198 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()1212 r.restartDelay = minDuration; in scheduleServiceRestartLocked()1221 r.restartDelay = minDuration; in scheduleServiceRestartLocked()1224 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()1225 r.restartDelay = minDuration; in scheduleServiceRestartLocked()