Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/extension/
DExtensionOutputConfiguration.java40 private final List<CameraOutputSurface> mSurfaces; field in ExtensionOutputConfiguration
63 mSurfaces = outputs; in ExtensionOutputConfiguration()
91 if (mSurfaces.isEmpty()) { in getOutputConfig()
96 initializeOutputConfig(ret, mSurfaces.get(0)); in getOutputConfig()
97 if (mSurfaces.size() > 1) { in getOutputConfig()
98 ret.sharedSurfaceConfigs = new ArrayList<>(mSurfaces.size() - 1); in getOutputConfig()
99 for (int i = 1; i < mSurfaces.size(); i++) { in getOutputConfig()
101 initializeOutputConfig(sharedConfig, mSurfaces.get(i)); in getOutputConfig()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java582 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
583 mSurfaces.add(surface); in OutputConfiguration()
829 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
960 mSurfaces = new ArrayList<Surface>(); in OutputConfiguration()
1212 if (mSurfaces.contains(surface)) { in addSurface()
1215 if (mSurfaces.size() == 1 && !mIsShared) { in addSurface()
1218 if (mSurfaces.size() + 1 > MAX_SURFACES_COUNT) { in addSurface()
1241 mSurfaces.add(surface); in addSurface()
1269 if (!mSurfaces.remove(surface)) { in removeSurface()
1476 this.mSurfaces = other.mSurfaces; in OutputConfiguration()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java53 SurfaceControlMocker mSurfaces; field in LetterboxTest
65 mSurfaces = new SurfaceControlMocker(); in setUp()
66 mLetterbox = new Letterbox(mSurfaces, StubTransaction::new, in setUp()
176 verify(mTransaction).setPosition(mSurfaces.top, -1000, -2000); in testSurfaceOrigin_applied()
184 verify(mTransaction).setColor(mSurfaces.top, new float[]{0, 0, 0}); in testApplySurfaceChanges_setColor()
192 verify(mTransaction).setColor(mSurfaces.top, new float[]{0, 1, 0}); in testApplySurfaceChanges_setColor()
200 verify(mTransaction).setAlpha(mSurfaces.top, 1.0f); in testNeedsApplySurfaceChanges_wallpaperBackgroundRequested()
208 verify(mTransaction).setAlpha(mSurfaces.fullWindowSurface, mDarkScrimAlpha); in testNeedsApplySurfaceChanges_wallpaperBackgroundRequested()
216 verify(mTransaction).reparent(mSurfaces.top, mParentSurface); in testNeedsApplySurfaceChanges_setParentSurface()
224 verify(mTransaction).reparent(mSurfaces.top, mParentSurface); in testNeedsApplySurfaceChanges_setParentSurface()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DShadeTouchHandler.java43 private final Optional<CentralSurfaces> mSurfaces; field in ShadeTouchHandler
58 mSurfaces = centralSurfaces; in ShadeTouchHandler()
66 if (mSurfaces.isEmpty()) { in onSessionStart()
114 mSurfaces.get().handleExternalShadeWindowTouch(event); in sendTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java78 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom }; field in Letterbox
162 for (LetterboxSurface surface : mSurfaces) { in notIntersectsOrFullyContains()
175 return (emptyCount + noOverlappingCount) == mSurfaces.length; in notIntersectsOrFullyContains()
194 for (LetterboxSurface surface : mSurfaces) { in destroy()
205 for (LetterboxSurface surface : mSurfaces) { in needsApplySurfaceChanges()
219 for (LetterboxSurface surface : mSurfaces) { in applySurfaceChanges()
223 for (LetterboxSurface surface : mSurfaces) { in applySurfaceChanges()
236 for (LetterboxSurface surface : mSurfaces) { in attachInput()
243 for (LetterboxSurface surface : mSurfaces) { in onMovedToDisplay()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionTest.java81 "performance score. " + score.mSurfaces + " < " + in testSurfaceCompositionPerformance()
83 score.mSurfaces >= minScores[i]); in testSurfaceCompositionPerformance()
86 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/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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19347 Landroid/hardware/camera2/params/OutputConfiguration;->mSurfaces:Ljava/util/ArrayList;