Home
last modified time | relevance | path

Searched refs:mSurfaces (Results 1 – 10 of 10) 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/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java45 SurfaceControlMocker mSurfaces; field in LetterboxTest
50 mSurfaces = new SurfaceControlMocker(); in setUp()
51 mLetterbox = new Letterbox(mSurfaces); in setUp()
65 verify(mTransaction).setPosition(mSurfaces.top, -1000, -2000); in testSurfaceOrigin_applied()
76 verify(mTransaction).setPosition(mSurfaces.top, 0, 0); in testSurfaceOrigin_changeCausesReapply()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java51 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom }; field in Letterbox
104 for (LetterboxSurface surface : mSurfaces) { in isOverlappingWith()
128 for (LetterboxSurface surface : mSurfaces) { in destroy()
135 for (LetterboxSurface surface : mSurfaces) { in needsApplySurfaceChanges()
144 for (LetterboxSurface surface : mSurfaces) { in applySurfaceChanges()
151 for (LetterboxSurface surface : mSurfaces) { in attachInput()
157 for (LetterboxSurface surface : mSurfaces) { in onMovedToDisplay()
/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()
631 for (EGLSurfaceHolder surface : mSurfaces) { in dumpGlTiming()
705 mSurfaces.add(holder); in configureSurfaces()
716 if (mSurfaces.size() > 0) { in configureSurfaces()
717 configureEGLOutputSurfaces(mSurfaces); in configureSurfaces()
726 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces()
755 if ((mSurfaces == null || mSurfaces.size() == 0) in drawIntoSurfaces()
[all …]
DCameraDeviceUserShim.java78 private final SparseArray<Surface> mSurfaces; field in CameraDeviceUserShim
89 mSurfaces = new SparseArray<Surface>(); in CameraDeviceUserShim()
572 if (mSurfaces != null) { in endConfigure()
573 surfaces = mSurfaces.clone(); in endConfigure()
597 int index = mSurfaces.indexOfKey(streamId); in deleteStream()
603 mSurfaces.removeAt(index); in deleteStream()
630 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.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()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22234 Landroid/hardware/camera2/params/OutputConfiguration;->mSurfaces:Ljava/util/ArrayList;