Searched refs:frameRates (Results 1 – 3 of 3) sorted by relevance
818 public static int[] getPhotoPreviewFpsRange(List<int[]> frameRates) { in getPhotoPreviewFpsRange() argument819 if (frameRates.size() == 0) { in getPhotoPreviewFpsRange()826 for (int[] rate : frameRates) { in getPhotoPreviewFpsRange()840 for (int i = 0; i < frameRates.size(); i++) { in getPhotoPreviewFpsRange()841 int[] rate = frameRates.get(i); in getPhotoPreviewFpsRange()851 return frameRates.get(resultIndex); in getPhotoPreviewFpsRange()857 public static int[] getMaxPreviewFpsRange(List<int[]> frameRates) { in getMaxPreviewFpsRange() argument858 if (frameRates != null && frameRates.size() > 0) { in getMaxPreviewFpsRange()860 return frameRates.get(frameRates.size() - 1); in getMaxPreviewFpsRange()
409 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams() local410 int last = frameRates.size() - 1; in setupCaptureParams()411 int minFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MIN_INDEX]; in setupCaptureParams()412 int maxFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MAX_INDEX]; in setupCaptureParams()
1915 List<Integer> frameRates = mParameters.getSupportedPreviewFrameRates(); in updateCameraParametersInitialize() local1916 if (frameRates != null) { in updateCameraParametersInitialize()1917 Integer max = Collections.max(frameRates); in updateCameraParametersInitialize()