Searched refs:mPreviewSize (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 84 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/camera/bokeh/ |
D | CameraBokehActivity.java | 137 private Size mPreviewSize; field in CameraBokehActivity 159 private final Size mPreviewSize; field in CameraBokehActivity.CameraCombination 170 this.mPreviewSize = new Size(streamingWidth, streamingHeight); in CameraCombination() 348 mSizeComparator.compare(mNextCombination.mPreviewSize, mMaxBokehStreamingSize) <= 0; in setUntestedCombination() 483 Size configuredSize = (format == ImageFormat.YUV_420_888 ? mPreviewSize : mJpegSize); in onImageAvailable() 705 int effectiveWidth = mPreviewSize.getWidth(); in configurePreviewTextureTransform() 706 int effectiveHeight = mPreviewSize.getHeight(); in configurePreviewTextureTransform() 760 if (mPreviewSize == null || !mPreviewSize.equals(mNextCombination.mPreviewSize)) { in startPreview() 761 mPreviewSize = mNextCombination.mPreviewSize; in startPreview() 763 mYuvImageReader = ImageReader.newInstance(mPreviewSize.getWidth(), in startPreview() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | CameraStreamManager.java | 76 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/ |
D | Camera2SurfaceViewTestCase.java | 113 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase 200 Log.v(TAG, "start preview with size " + mPreviewSize.toString()); in startPreview() 676 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface() 681 mPreviewSize = size; in updatePreviewSurface() 688 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface() 693 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface() 694 mPreviewSize.getHeight()); in updatePreviewSurface() 695 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 97 private Size mPreviewSize; field in CameraVideoActivity 928 mPreviewSize = mNextPreviewSize; in startPreview() 931 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | PerformanceTest.java | 112 private Size mPreviewSize; field in PerformanceTest 1428 config.getOutputMinFrameDuration(mImageReaderFormat, mPreviewSize)); in configureReaderAndPreviewOutputs() 1435 config.getOutputMinFrameDuration(SurfaceTexture.class, mPreviewSize)); in configureReaderAndPreviewOutputs() 1461 mPreviewSize = mTestRule.getOrderedPreviewSizes().get(0); in initializeImageReader() 1464 mPreviewSize, format, NUM_MAX_IMAGES, /*listener*/null); in initializeImageReader() 1465 updatePreviewSurface(mPreviewSize); in initializeImageReader()
|