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()
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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java95 private Size mPreviewSize; field in CameraVideoActivity
916 mPreviewSize = mNextPreviewSize; in startPreview()
919 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()