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.java258 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
259 mSurfaces.add(surface); in OutputConfiguration()
313 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
449 if (mSurfaces.contains(surface)) { in addSurface()
452 if (mSurfaces.size() == 1 && !mIsShared) { in addSurface()
455 if (mSurfaces.size() + 1 > MAX_SURFACES_COUNT) { in addSurface()
478 mSurfaces.add(surface); in addSurface()
501 if (!mSurfaces.remove(surface)) { in removeSurface()
519 this.mSurfaces = other.mSurfaces; in OutputConfiguration()
551 mSurfaces = surfaces; in OutputConfiguration()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java52 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom }; field in Letterbox
112 for (LetterboxSurface surface : mSurfaces) { in notIntersectsOrFullyContains()
125 return (emptyCount + noOverlappingCount) == mSurfaces.length; in notIntersectsOrFullyContains()
132 for (LetterboxSurface surface : mSurfaces) { in isOverlappingWith()
156 for (LetterboxSurface surface : mSurfaces) { in destroy()
163 for (LetterboxSurface surface : mSurfaces) { in needsApplySurfaceChanges()
172 for (LetterboxSurface surface : mSurfaces) { in applySurfaceChanges()
179 for (LetterboxSurface surface : mSurfaces) { in attachInput()
185 for (LetterboxSurface surface : mSurfaces) { in onMovedToDisplay()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java84 private List<EGLSurfaceHolder> mSurfaces = new ArrayList<EGLSurfaceHolder>(); field in SurfaceTextureRenderer
411 mSurfaces.clear(); in clearState()
506 if (mSurfaces != null) { in releaseEGLContext()
507 for (EGLSurfaceHolder holder : mSurfaces) { in releaseEGLContext()
636 for (EGLSurfaceHolder surface : mSurfaces) { in dumpGlTiming()
719 mSurfaces.add(holder); in configureSurfaces()
730 if (mSurfaces.size() > 0) { in configureSurfaces()
731 configureEGLOutputSurfaces(mSurfaces); in configureSurfaces()
740 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces()
769 if ((mSurfaces == null || mSurfaces.size() == 0) in drawIntoSurfaces()
[all …]
DCameraDeviceUserShim.java79 private final SparseArray<Surface> mSurfaces; field in CameraDeviceUserShim
90 mSurfaces = new SparseArray<Surface>(); in CameraDeviceUserShim()
573 if (mSurfaces != null) { in endConfigure()
574 surfaces = mSurfaces.clone(); in endConfigure()
600 int index = mSurfaces.indexOfKey(streamId); in deleteStream()
606 mSurfaces.removeAt(index); in deleteStream()
633 mSurfaces.put(id, outputConfiguration.getSurface()); in createStream()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionTest.java80 "performance score. " + score.mSurfaces + " < " + in testSurfaceCompositionPerformance()
82 score.mSurfaces >= minScores[i]); in testSurfaceCompositionPerformance()
85 status.putDouble(KEY_SURFACE_COMPOSITION_PERFORMANCE, score.mSurfaces); in testSurfaceCompositionPerformance()
DSurfaceCompositionMeasuringActivity.java106 double mSurfaces; field in SurfaceCompositionMeasuringActivity.CompositorScore
111 return DOUBLE_FORMAT.format(mSurfaces) + " surfaces. " + in toString()
129 score.mSurfaces = measureCompositionScore(new Measurement(0, 60.0), in measureCompositionScore()
132 score.mBandwidth = score.mSurfaces * mTargetFPS * mWidth * mHeight * 4.0; in measureCompositionScore()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java47 SurfaceControlMocker mSurfaces; field in LetterboxTest
52 mSurfaces = new SurfaceControlMocker(); in setUp()
53 mLetterbox = new Letterbox(mSurfaces, StubTransaction::new); in setUp()
164 verify(mTransaction).setPosition(mSurfaces.top, -1000, -2000); in testSurfaceOrigin_applied()
175 verify(mTransaction).setPosition(mSurfaces.top, 0, 0); in testSurfaceOrigin_changeCausesReapply()
/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()