Home
last modified time | relevance | path

Searched refs:maxDuration (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleBackground.java91 final int maxDuration = fast ? OPACITY_ENTER_DURATION_FAST : OPACITY_ENTER_DURATION; in createSoftwareEnter() local
92 final int duration = (int) ((1 - mOpacity) * maxDuration); in createSoftwareEnter()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java140 long maxDuration = 0; in testTotalDuration() local
144 maxDuration = maxDuration > (duration + 100) ? maxDuration : (duration + 100); in testTotalDuration()
146 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
/frameworks/native/services/surfaceflinger/
DDispSync.cpp539 nsecs_t maxDuration = 0; in updateModelLocked() local
546 maxDuration = max(maxDuration, duration); in updateModelLocked()
550 durationSum -= minDuration + maxDuration; in updateModelLocked()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1431 long maxDuration = (long) (1e9 / minFps); in getAeAvailableTargetFpsRangesChecked() local
1434 maxDuration, minFps, maxFrameDuration), maxDuration <= maxFrameDuration); in getAeAvailableTargetFpsRangesChecked()
1481 Long maxDuration = getValueFromKeyNonNull(key); in getMaxFrameDurationChecked() local
1483 if (maxDuration == null) { in getMaxFrameDurationChecked()
1487 return maxDuration; in getMaxFrameDurationChecked()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument
376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()