Searched refs:frameRates (Results 1 – 3 of 3) sorted by relevance
813 public static int[] getPhotoPreviewFpsRange(List<int[]> frameRates) { in getPhotoPreviewFpsRange() argument814 if (frameRates.size() == 0) { in getPhotoPreviewFpsRange()821 for (int[] rate : frameRates) { in getPhotoPreviewFpsRange()835 for (int i = 0; i < frameRates.size(); i++) { in getPhotoPreviewFpsRange()836 int[] rate = frameRates.get(i); in getPhotoPreviewFpsRange()846 return frameRates.get(resultIndex); in getPhotoPreviewFpsRange()852 public static int[] getMaxPreviewFpsRange(List<int[]> frameRates) { in getMaxPreviewFpsRange() argument853 if (frameRates != null && frameRates.size() > 0) { in getMaxPreviewFpsRange()855 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()