Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java399 ArrayList<Float> frameRates = new ArrayList<>(); in getRefreshRates() local
402 frameRates.add(supportedMode.getRefreshRate()); in getRefreshRates()
405 Collections.sort(frameRates); in getRefreshRates()
407 for (float frameRate : frameRates) { in getRefreshRates()
445 ArrayList<Float> frameRates = getRefreshRates(display.getMode(), display); in getIncompatibleFrameRates() local
446 for (int i = 0; i < frameRates.size(); i++) { in getIncompatibleFrameRates()
447 for (int j = i + 1; j < frameRates.size(); j++) { in getIncompatibleFrameRates()
448 if (!isFrameRateMultiple(Math.max(frameRates.get(i), frameRates.get(j)), in getIncompatibleFrameRates()
449 Math.min(frameRates.get(i), frameRates.get(j)))) { in getIncompatibleFrameRates()
450 return new float[] {frameRates.get(i), frameRates.get(j)}; in getIncompatibleFrameRates()
[all …]
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java733 List<Integer> frameRates = parameters.getSupportedPreviewFrameRates(); in assertParameters() local
747 assertTrue(frameRates != null && frameRates.size() != 0); in assertParameters()
821 parameters.setPreviewFrameRate(frameRates.get(0)); in assertParameters()
822 assertEquals(frameRates.get(0).intValue(), parameters.getPreviewFrameRate()); in assertParameters()