Home
last modified time | relevance | path

Searched refs:mSurfaces (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java213 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
214 mSurfaces.add(surface); in OutputConfiguration()
267 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
358 if (mSurfaces.contains(surface)) { in addSurface()
361 if (mSurfaces.size() == 1 && !mIsShared) { in addSurface()
364 if (mSurfaces.size() + 1 > MAX_SURFACES_COUNT) { in addSurface()
387 mSurfaces.add(surface); in addSurface()
403 this.mSurfaces = other.mSurfaces; in OutputConfiguration()
431 mSurfaces = surfaces; in OutputConfiguration()
434 mSurfaces = surfaces; in OutputConfiguration()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.cpp32 mSurfaces(surfaces) { in Camera3SharedOutputStream()
47 res = mStreamSplitter->connect(mSurfaces, usage, camera3_stream::max_buffers, &mConsumer); in connectStreamSplitterLocked()
71 return (surface_id >= mSurfaces.size()); in isConsumerConfigurationDeferred()
88 mSurfaces.push_back(surface); in setConsumers()
203 for (auto surface : mSurfaces) { in getEndpointUsage()
DCamera3SharedOutputStream.h51 std::vector<sp<Surface> > mSurfaces;
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java77 private List<EGLSurfaceHolder> mSurfaces = new ArrayList<EGLSurfaceHolder>(); field in SurfaceTextureRenderer
404 mSurfaces.clear(); in clearState()
499 if (mSurfaces != null) { in releaseEGLContext()
500 for (EGLSurfaceHolder holder : mSurfaces) { in releaseEGLContext()
601 for (EGLSurfaceHolder surface : mSurfaces) { in dumpGlTiming()
675 mSurfaces.add(holder); in configureSurfaces()
686 if (mSurfaces.size() > 0) { in configureSurfaces()
687 configureEGLOutputSurfaces(mSurfaces); in configureSurfaces()
694 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces()
719 if ((mSurfaces == null || mSurfaces.size() == 0) in drawIntoSurfaces()
[all …]
DCameraDeviceUserShim.java75 private final SparseArray<Surface> mSurfaces; field in CameraDeviceUserShim
86 mSurfaces = new SparseArray<Surface>(); in CameraDeviceUserShim()
523 if (mSurfaces != null) { in endConfigure()
524 surfaces = mSurfaces.clone(); in endConfigure()
548 int index = mSurfaces.indexOfKey(streamId); in deleteStream()
554 mSurfaces.removeAt(index); in deleteStream()
581 mSurfaces.put(id, outputConfiguration.getSurface()); in createStream()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionTest.java83 "performance score. " + score.mSurfaces + " < " + in testSurfaceCompositionPerformance()
85 score.mSurfaces >= minScores[i]); in testSurfaceCompositionPerformance()
88 status.putDouble(KEY_SURFACE_COMPOSITION_PERFORMANCE, score.mSurfaces); in testSurfaceCompositionPerformance()
DSurfaceCompositionMeasuringActivity.java107 double mSurfaces; field in SurfaceCompositionMeasuringActivity.CompositorScore
112 return DOUBLE_FORMAT.format(mSurfaces) + " surfaces. " + in toString()
130 score.mSurfaces = measureCompositionScore(new Measurement(0, 60.0), in measureCompositionScore()
133 score.mBandwidth = score.mSurfaces * mTargetFPS * mWidth * mHeight * 4.0; in measureCompositionScore()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java69 private List<Surface> mSurfaces; field in CameraOps
334 mSurfaces = null;
348 mSurfaces = surfaceList;
407 if (mCameraDevice == null || mSurfaces == null) return;
412 mSurfaces, mCameraSessionListener, mCameraHandler);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java63 private List<Surface> mSurfaces; field in CameraOps
369 mSurfaces = null;
383 mSurfaces = surfaceList; in setSurface()
442 if (mCameraDevice == null || mSurfaces == null) return; in startCameraSession()
447 mSurfaces, mCameraSessionListener, mCameraHandler); in startCameraSession()