Home
last modified time | relevance | path

Searched refs:optimalSize (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java63 Camera.Size optimalSize = null; in getOptimalVideoSize() local
80 optimalSize = size; in getOptimalVideoSize()
86 if (optimalSize == null) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
95 return optimalSize; in getOptimalVideoSize()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java63 Camera.Size optimalSize = null; in getOptimalVideoSize() local
80 optimalSize = size; in getOptimalVideoSize()
86 if (optimalSize == null) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
95 return optimalSize; in getOptimalVideoSize()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java63 Camera.Size optimalSize = null; in getOptimalVideoSize() local
80 optimalSize = size; in getOptimalVideoSize()
86 if (optimalSize == null) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
95 return optimalSize; in getOptimalVideoSize()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java272 Size optimalSize = null; in getOptimalPreviewSize()
282 optimalSize = size; in getOptimalPreviewSize()
288 if (optimalSize == null) { in getOptimalPreviewSize()
292 optimalSize = size; in getOptimalPreviewSize()
297 return optimalSize; in getOptimalPreviewSize()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java292 Size optimalSize = null; in getOptimalPreviewSize()
303 optimalSize = size; in getOptimalPreviewSize()
309 if (optimalSize == null) { in getOptimalPreviewSize()
313 optimalSize = size; in getOptimalPreviewSize()
318 return optimalSize; in getOptimalPreviewSize()
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java151 Camera.Size optimalSize = CameraHelper.getOptimalVideoSize(mSupportedVideoSizes, in prepareVideoRecorder() local
156 profile.videoFrameWidth = optimalSize.width; in prepareVideoRecorder()
157 profile.videoFrameHeight = optimalSize.height; in prepareVideoRecorder()