Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java813 public static int[] getPhotoPreviewFpsRange(List<int[]> frameRates) { in getPhotoPreviewFpsRange() argument
814 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() argument
853 if (frameRates != null && frameRates.size() > 0) { in getMaxPreviewFpsRange()
855 return frameRates.get(frameRates.size() - 1); in getMaxPreviewFpsRange()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java409 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams() local
410 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()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java1915 List<Integer> frameRates = mParameters.getSupportedPreviewFrameRates(); in updateCameraParametersInitialize() local
1916 if (frameRates != null) { in updateCameraParametersInitialize()
1917 Integer max = Collections.max(frameRates); in updateCameraParametersInitialize()