Lines Matching refs:width

432             int width,  in surfaceChanged()  argument
437 mPreviewSizes.get(mPreviewSize).width; in surfaceChanged()
442 (float)width/height) > 0.01f) { in surfaceChanged()
456 log("Surface holder available: " + width + " x " + height); in surfaceChanged()
570 int width = mPreviewSizes.get(mPreviewSize).width;
572 mParams.setPreviewSize(width, height);
574 log("Setting preview size to " + width + "x" + height);
742 int width = mSnapshotSizes.get(mSnapshotSize).width;
744 log("Setting snapshot size to " + width + " x " + height);
746 mParams.setPictureSize(width, height);
786 int width = mCamcorderProfiles.get(pos).videoFrameWidth;
790 if (width == s.width && height == s.height) {
1213 Integer.toString(previewSize.width) + " x " + in updatePreviewSizes()
1222 int width = mPreviewSizes.get(mPreviewSize).width; in updatePreviewSizes() local
1224 params.setPreviewSize(width, height); in updatePreviewSizes()
1225 log("Setting preview size to " + width + " x " + height); in updatePreviewSizes()
1286 Integer.toString(snapshotSize.width) + " x " + in updateSnapshotSizes()
1295 int snapshotWidth = mSnapshotSizes.get(mSnapshotSize).width; in updateSnapshotSizes()
1385 availableVideoRecordSizes.add(s.width + "x" + s.height); in updateVideoRecordSize()
1433 int width = mPreviewSizes.get(mPreviewSize).width; in layoutPreview() local
1441 if (width > height) { in layoutPreview()
1443 height = width; in layoutPreview()
1444 width = tmp; in layoutPreview()
1451 if (height > width) { in layoutPreview()
1453 height = width; in layoutPreview()
1454 width = tmp; in layoutPreview()
1459 float previewAspect = ((float) width) / height; in layoutPreview()
1493 int width = mPreviewSizes.get(mPreviewSize).width; in configureCallbacks() local
1497 mCallbackProcessor = new CallbackProcessor(width, height, format, in configureCallbacks()
1501 int size = getCallbackBufferSize(width, height, format); in configureCallbacks()
1502 log("Configuring callbacks:" + width + " x " + height + in configureCallbacks()
1646 float scaleFactor = sz.height * sz.width / (float)(1920 * 1080); in getVideoBitRate()
1703 if (videoRecordSize.width > 0 && videoRecordSize.height > 0) { in startRecording()
1704 mRecorder.setVideoSize(videoRecordSize.width, videoRecordSize.height); in startRecording()
1804 static int getCallbackBufferSize(int width, int height, int format) { in getCallbackBufferSize() argument
1808 size = width * height * 3 / 2; in getCallbackBufferSize()
1811 int y_stride = (int) (Math.ceil( width / 16.) * 16); in getCallbackBufferSize()
1820 size = 2 * width * height; in getCallbackBufferSize()