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.java84 private Camera.Size mPreviewSize; field in CameraFormatsActivity
346 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 …]
/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.java106 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase
212 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java95 private Size mPreviewSize; field in CameraVideoActivity
917 mPreviewSize = mNextPreviewSize; in startPreview()
920 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()