Searched refs:frameRates (Results 1 – 2 of 2) sorted by relevance
399 ArrayList<Float> frameRates = new ArrayList<>(); in getRefreshRates() local402 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() local446 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 …]
733 List<Integer> frameRates = parameters.getSupportedPreviewFrameRates(); in assertParameters() local747 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()