Lines Matching refs:width

400             int width,  in surfaceChanged()  argument
405 mPreviewSizes.get(mPreviewSize).width; in surfaceChanged()
410 (float)width/height) > 0.01f) { in surfaceChanged()
424 log("Surface holder available: " + width + " x " + height); in surfaceChanged()
538 int width = mPreviewSizes.get(mPreviewSize).width;
540 mParams.setPreviewSize(width, height);
542 log("Setting preview size to " + width + "x" + height);
710 int width = mSnapshotSizes.get(mSnapshotSize).width;
712 log("Setting snapshot size to " + width + " x " + height);
714 mParams.setPictureSize(width, height);
754 int width = mCamcorderProfiles.get(pos).videoFrameWidth;
758 if (width == s.width && height == s.height) {
1179 Integer.toString(previewSize.width) + " x " + in updatePreviewSizes()
1188 int width = mPreviewSizes.get(mPreviewSize).width; in updatePreviewSizes() local
1190 params.setPreviewSize(width, height); in updatePreviewSizes()
1191 log("Setting preview size to " + width + " x " + height); in updatePreviewSizes()
1252 Integer.toString(snapshotSize.width) + " x " + in updateSnapshotSizes()
1261 int snapshotWidth = mSnapshotSizes.get(mSnapshotSize).width; in updateSnapshotSizes()
1344 availableVideoRecordSizes.add(s.width + "x" + s.height); in updateVideoRecordSize()
1391 int width = mPreviewSizes.get(mPreviewSize).width; in layoutPreview() local
1393 float previewAspect = ((float) width) / height; in layoutPreview()
1425 int width = mPreviewSizes.get(mPreviewSize).width; in configureCallbacks() local
1429 mCallbackProcessor = new CallbackProcessor(width, height, format, in configureCallbacks()
1433 int size = getCallbackBufferSize(width, height, format); in configureCallbacks()
1434 log("Configuring callbacks:" + width + " x " + height + in configureCallbacks()
1613 if (videoRecordSize.width > 0 && videoRecordSize.height > 0) { in startRecording()
1614 mRecorder.setVideoSize(videoRecordSize.width, videoRecordSize.height); in startRecording()
1714 static int getCallbackBufferSize(int width, int height, int format) { in getCallbackBufferSize() argument
1718 size = width * height * 3 / 2; in getCallbackBufferSize()
1721 int y_stride = (int) (Math.ceil( width / 16.) * 16); in getCallbackBufferSize()
1730 size = 2 * width * height; in getCallbackBufferSize()