HomeSort by relevance Sort by last modified time
    Searched defs:outputSurfaces (Results 1 - 25 of 26) sorted by null

1 2

  /packages/apps/Camera2/src/com/android/camera/one/v2/
SimpleOneCameraFactory.java 122 List<Surface> outputSurfaces = new ArrayList<>();
123 outputSurfaces.add(imageReader.getSurface());
251 return new InitializedOneCameraFactory(lifetime, cameraStarter, device, outputSurfaces,
ZslOneCameraFactory.java 154 List<Surface> outputSurfaces = new ArrayList<>();
155 outputSurfaces.add(imageReader.getSurface());
157 outputSurfaces.add(burstFacade.getInputSurface());
325 outputSurfaces, mainThread, new HandlerFactory(), maxZoom,
OneCameraImpl.java 547 List<Surface> outputSurfaces = new ArrayList<Surface>(2);
548 outputSurfaces.add(previewSurface);
549 outputSurfaces.add(mCaptureImageReader.getSurface());
551 mDevice.createCaptureSession(outputSurfaces, new CameraCaptureSession.StateCallback() {
    [all...]
OneCameraZslImpl.java 684 List<Surface> outputSurfaces = new ArrayList<Surface>(2);
685 outputSurfaces.add(previewSurface);
686 outputSurfaces.add(mCaptureImageReader.getSurface());
688 mDevice.createCaptureSession(outputSurfaces, new CameraCaptureSession.StateCallback() {
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/
SurfaceViewPreviewTest.java 217 List<Surface> outputSurfaces = new ArrayList<Surface>();
218 outputSurfaces.add(mPreviewSurface);
219 outputSurfaces.add(mReaderSurface);
224 mSession = configureCameraSession(mCamera, outputSurfaces, mockSessionListener, mHandler);
366 List<Surface> outputSurfaces = new ArrayList<Surface>();
367 outputSurfaces.add(mPreviewSurface);
368 outputSurfaces.add(sharedOutputSurface1);
373 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler);
402 outputSurfaces.clear();
403 outputSurfaces.add(mPreviewSurface)
    [all...]
ImageWriterTest.java 215 List<Surface> outputSurfaces = new ArrayList<Surface>();
216 outputSurfaces.add(mReader.getSurface());
217 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces,
RobustnessTest.java     [all...]
AllocationTest.java 354 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1);
356 outputSurfaces.add(cameraTarget);
359 mCamera.createCaptureSession(outputSurfaces, mSessionListener, mHandler);
    [all...]
CaptureResultTest.java 113 List<Surface> outputSurfaces = new ArrayList<Surface>(1);
114 outputSurfaces.add(mReaderSurface);
115 createSession(outputSurfaces);
179 List<Surface> outputSurfaces = new ArrayList<Surface>(1);
180 outputSurfaces.add(mReaderSurface);
181 createSession(outputSurfaces);
300 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(
306 mCamera, outputSurfaces, mHandler);
    [all...]
DngCreatorTest.java 657 final List<Surface> outputSurfaces = new ArrayList<Surface>();
660 outputSurfaces.add(captureSurface);
667 for (Surface surface : outputSurfaces) {
679 outputSurfaces.add(previewReader.getSurface());
682 createSession(outputSurfaces);
    [all...]
ImageReaderTest.java 390 List<Surface> outputSurfaces = new ArrayList<Surface>();
391 outputSurfaces.add(yuvSurface);
392 outputSurfaces.add(jpegSurface);
393 createSession(outputSurfaces);
436 for (Surface s : outputSurfaces) {
692 List<Surface> outputSurfaces = new ArrayList<Surface>();
693 outputSurfaces.add(yuvSurface);
694 outputSurfaces.add(captureSurface);
695 CaptureRequest.Builder request = prepareCaptureRequestForSurfaces(outputSurfaces,
    [all...]
PerformanceTest.java     [all...]
RecordingTest.java 559 List<Surface> outputSurfaces = new ArrayList<Surface>(2);
562 outputSurfaces.add(mPreviewSurface);
563 outputSurfaces.add(mRecordingSurface);
566 outputSurfaces.add(mReaderSurface);
569 mSession = configureCameraSession(mCamera, outputSurfaces, useHighSpeedSession,
    [all...]
ReprocessCaptureTest.java     [all...]
StillCaptureTest.java     [all...]
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraConstrainedHighSpeedCaptureSessionImpl.java 78 Collection<Surface> outputSurfaces = request.getTargets();
83 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config);
100 Iterator<Surface> iterator = outputSurfaces.iterator();
103 if (outputSurfaces.size() == 1 && SurfaceUtils.isSurfaceForHwVideoEncoder(firstSurface)) {
115 if (outputSurfaces.size() == 2) {
  /cts/tests/camera/src/android/hardware/camera2/cts/testcases/
Camera2AndroidTestCase.java 211 * @param outputSurfaces The set of output surfaces to configure for this session
213 protected void createSession(List<Surface> outputSurfaces) throws Exception {
215 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces,
342 List<Surface> outputSurfaces = new ArrayList<Surface>();
345 outputSurfaces.add(surface);
346 return prepareCaptureRequestForSurfaces(outputSurfaces, CameraDevice.TEMPLATE_PREVIEW)
Camera2SurfaceViewTestCase.java 194 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1);
195 outputSurfaces.add(mPreviewSurface);
197 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
707 List<Surface> outputSurfaces = new ArrayList<Surface>();
708 outputSurfaces.add(mPreviewSurface);
709 outputSurfaces.add(mReaderSurface);
711 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
Camera2SwitchPreviewTest.java 528 List<Surface> outputSurfaces = new ArrayList<Surface>();
529 outputSurfaces.add(mPreviewSurface);
530 outputSurfaces.add(mRecordingSurface);
533 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
563 List<Surface> outputSurfaces = new ArrayList<Surface>();
564 outputSurfaces.add(mPreviewSurface);
565 outputSurfaces.add(mReaderSurface);
567 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
Camera2StillCaptureTest.java 409 List<Surface> outputSurfaces = new ArrayList<Surface>();
410 outputSurfaces.add(rawReader.getSurface());
411 outputSurfaces.add(jpegReader.getSurface());
412 outputSurfaces.add(mPreviewSurface);
414 mSession = configureCameraSession(mCamera, outputSurfaces,
Camera2RecordingTest.java 308 List<Surface> outputSurfaces = new ArrayList<Surface>(2);
311 outputSurfaces.add(mPreviewSurface);
312 outputSurfaces.add(mRecordingSurface);
315 outputSurfaces.add(mReaderSurface);
318 mSession = configureCameraSession(mCamera, outputSurfaces, useHighSpeedSession,
    [all...]
Camera2ReprocessCaptureTest.java     [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
Camera2SurfaceViewTestCase.java 234 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1);
235 outputSurfaces.add(mPreviewSurface);
237 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
709 List<Surface> outputSurfaces = new ArrayList<Surface>();
710 outputSurfaces.add(mPreviewSurface);
711 outputSurfaces.add(mReaderSurface);
713 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler);
    [all...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
CameraOps.java 341 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1);
342 outputSurfaces.add(mPreviewSurface);
344 configureOutputs(outputSurfaces);
386 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1);
387 outputSurfaces.add(mCaptureReader.getSurface());
389 configureOutputs(outputSurfaces);
  /packages/apps/DevCamera/src/com/android/devcamera/
Api2Camera.java 385 List<Surface> outputSurfaces = new ArrayList<Surface>(3);
387 outputSurfaces.add(mPreviewSurface);
391 outputSurfaces.add(mYuv1ImageReader.getSurface());
396 outputSurfaces.add(mYuv2ImageReader.getSurface());
402 outputSurfaces.add(mSurfaceTextureSurface);
407 outputSurfaces.add(mRawImageReader.getSurface());
413 outputSurfaces.add(mJpegImageReader.getSurface());
422 mCameraDevice.createReprocessableCaptureSession(inputConfig, outputSurfaces,
426 mCameraDevice.createCaptureSession(outputSurfaces, mSessionStateCallback, null);
    [all...]

Completed in 1548 milliseconds

1 2