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()680 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()685 mPreviewSize = size; in updatePreviewSurface()692 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()697 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface()698 mPreviewSize.getHeight()); in updatePreviewSurface()699 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
95 private Size mPreviewSize; field in CameraVideoActivity916 mPreviewSize = mNextPreviewSize; in startPreview()919 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()