Home
last modified time | relevance | path

Searched refs:minFps (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java173 private DisplayModeDirector createDirectorFromFpsRange(int minFps, int maxFps) { in createDirectorFromFpsRange() argument
174 int numRefreshRates = maxFps - minFps + 1; in createDirectorFromFpsRange()
177 refreshRates[i] = minFps + i; in createDirectorFromFpsRange()
179 return createDirectorFromRefreshRateArray(refreshRates, /*baseModeId=*/minFps, in createDirectorFromFpsRange()
180 /*defaultRefreshRate=*/minFps); in createDirectorFromFpsRange()
198 int minFps = 60; in testDisplayModeVoting() local
201 assertTrue(2 * numPriorities < maxFps - minFps + 1); in testDisplayModeVoting()
207 votes.put(priority, Vote.forRefreshRates(minFps + i, maxFps - i)); in testDisplayModeVoting()
210 assertThat(modeSpecs.baseModeId).isEqualTo(minFps + i); in testDisplayModeVoting()
212 .isEqualTo((float) (minFps + i)); in testDisplayModeVoting()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1424 int minFps, maxFps; in getAeAvailableTargetFpsRangesChecked() local
1427 minFps = fpsRanges[i].getLower(); in getAeAvailableTargetFpsRangesChecked()
1430 minFps > 0 && maxFps >= minFps); in getAeAvailableTargetFpsRangesChecked()
1431 long maxDuration = (long) (1e9 / minFps); in getAeAvailableTargetFpsRangesChecked()
1434 maxDuration, minFps, maxFrameDuration), maxDuration <= maxFrameDuration); in getAeAvailableTargetFpsRangesChecked()