Searched refs:maxDuration (Results 1 – 5 of 5) sorted by relevance
91 final int maxDuration = fast ? OPACITY_ENTER_DURATION_FAST : OPACITY_ENTER_DURATION; in createSoftwareEnter() local92 final int duration = (int) ((1 - mOpacity) * maxDuration); in createSoftwareEnter()
140 long maxDuration = 0; in testTotalDuration() local144 maxDuration = maxDuration > (duration + 100) ? maxDuration : (duration + 100); in testTotalDuration()146 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
539 nsecs_t maxDuration = 0; in updateModelLocked() local546 maxDuration = max(maxDuration, duration); in updateModelLocked()550 durationSum -= minDuration + maxDuration; in updateModelLocked()
1431 long maxDuration = (long) (1e9 / minFps); in getAeAvailableTargetFpsRangesChecked() local1434 maxDuration, minFps, maxFrameDuration), maxDuration <= maxFrameDuration); in getAeAvailableTargetFpsRangesChecked()1481 Long maxDuration = getValueFromKeyNonNull(key); in getMaxFrameDurationChecked() local1483 if (maxDuration == null) { in getMaxFrameDurationChecked()1487 return maxDuration; in getMaxFrameDurationChecked()
374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()