Searched refs:mPreviewSize (Results 1 – 4 of 4) sorted by relevance
84 private Camera.Size mPreviewSize; field in CameraFormatsActivity346 if (mPreviewSizes.get(position) != mPreviewSize) {530 mPreviewSize = mNextPreviewSize; in startPreview()534 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()587 mPreviewSize.width != mRgbWidth || in doInBackground()588 mPreviewSize.height != mRgbHeight) { in doInBackground()590 mRgbData = new int[mPreviewSize.width * mPreviewSize.height * 4]; in doInBackground()591 mRgbWidth = mPreviewSize.width; in doInBackground()592 mRgbHeight = mPreviewSize.height; in doInBackground()698 int w = mPreviewSize.width; in onPreviewFrame()[all …]
76 private Size mPreviewSize; field in CameraStreamManager186 mPreviewSize = new Size(width, height); in setUpCameraOutputs()261 mSurfaceTextureToStreamTo.setDefaultBufferSize(mPreviewSize.getWidth(), in createCameraPreviewSession()262 mPreviewSize.getHeight()); in createCameraPreviewSession()
106 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase212 Log.v(TAG, "start preview with size " + mPreviewSize.toString()); in startPreview()688 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()693 mPreviewSize = size; in updatePreviewSurface()700 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()705 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface()706 mPreviewSize.getHeight()); in updatePreviewSurface()707 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
95 private Size mPreviewSize; field in CameraVideoActivity917 mPreviewSize = mNextPreviewSize; in startPreview()920 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()