Home
last modified time | relevance | path

Searched refs:mPreviewSize (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java82 private Camera.Size mPreviewSize; field in CameraFormatsActivity
284 if (mPreviewSizes.get(position) != mPreviewSize) {
469 mPreviewSize = mNextPreviewSize; in startPreview()
473 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()
526 mPreviewSize.width != mRgbWidth || in doInBackground()
527 mPreviewSize.height != mRgbHeight) { in doInBackground()
529 mRgbData = new int[mPreviewSize.width * mPreviewSize.height * 4]; in doInBackground()
530 mRgbWidth = mPreviewSize.width; in doInBackground()
531 mRgbHeight = mPreviewSize.height; in doInBackground()
575 + mPreviewSize.width + "x" + mPreviewSize.height in onPostExecute()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java76 private Size mPreviewSize; field in CameraStreamManager
186 mPreviewSize = new Size(width, height); in setUpCameraOutputs()
261 mSurfaceTextureToStreamTo.setDefaultBufferSize(mPreviewSize.getWidth(), in createCameraPreviewSession()
262 mPreviewSize.getHeight()); in createCameraPreviewSession()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java104 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase
189 Log.v(TAG, "start preview with size " + mPreviewSize.toString()); in startPreview()
633 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
638 mPreviewSize = size; in updatePreviewSurface()
645 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()
650 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface()
651 mPreviewSize.getHeight()); in updatePreviewSurface()
652 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java93 private Size mPreviewSize; field in CameraVideoActivity
827 mPreviewSize = mNextPreviewSize; in startPreview()
830 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()