Searched refs:closestRange (Results 1 – 2 of 2) sorted by relevance
232 int closestRange[] = findClosestFpsRange(mFps, mCameraParameters); in fieldPortValueUpdated() local233 … mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in fieldPortValueUpdated()234 … closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in fieldPortValueUpdated()259 int closestRange[] = findClosestFpsRange(mFps, mCameraParameters); in getCameraParameters() local261 mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in getCameraParameters()262 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in getCameraParameters()318 int[] closestRange = supportedFpsRanges.get(0); in findClosestFpsRange() local323 closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] && in findClosestFpsRange()325 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]) { in findClosestFpsRange()326 closestRange = range; in findClosestFpsRange()[all …]
1303 int closestRange[] = findClosestFpsRange(mRequestedFramesPerSec, params); in initCameraParameters() local1304 params.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in initCameraParameters()1305 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in initCameraParameters()1359 int[] closestRange = supportedFpsRanges.get(0); in findClosestFpsRange() local1368 closestRange = range; in findClosestFpsRange()1373 mActualFramesPerSec = closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] / 1000; in findClosestFpsRange()1374 return closestRange; in findClosestFpsRange()