Home
last modified time | relevance | path

Searched refs:mPreviewSize (Results 1 – 3 of 3) 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/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java102 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase
179 Log.v(TAG, "start preview with size " + mPreviewSize.toString()); in startPreview()
619 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
624 mPreviewSize = size; in updatePreviewSurface()
631 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()
636 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface()
637 mPreviewSize.getHeight()); in updatePreviewSurface()
638 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java87 private Size mPreviewSize; field in CameraVideoActivity
723 mPreviewSize = mNextPreviewSize; in startPreview()
726 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()