/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraFunctionalTest.java | 133 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation() local 153 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraExposureCompensation() 169 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes() local 184 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFlashModes() 200 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes() local 215 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFocusModes() 231 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance() local 246 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraWhiteBalance()
|
D | CameraPairwiseTest.java | 389 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in genericPairwiseTestCase() local 493 mCameraTestHelper.startCameraPreview(surfaceHolder); in genericPairwiseTestCase()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
D | VideoEditorPreviewTest.java | 163 final SurfaceHolder surfaceHolder = in validatePreviewProgress() local 175 mVideoEditor.startPreview(surfaceHolder, startMs, endMs, loop, 1, in validatePreviewProgress() 480 final SurfaceHolder surfaceHolder = in testPreviewWithTransition() local 487 mVideoEditor.startPreview(surfaceHolder, 0, 10000, false, 1, in testPreviewWithTransition() 721 final SurfaceHolder surfaceHolder = in testPreviewDuringExport() local 725 mVideoEditor.startPreview(surfaceHolder, 5000, -1, false, 1, in testPreviewDuringExport() 778 final SurfaceHolder surfaceHolder = in testPreviewWithDurationGreaterThanMediaDuration() local 788 mVideoEditor.startPreview(surfaceHolder, 30000, -1, true, 1, in testPreviewWithDurationGreaterThanMediaDuration() 848 final SurfaceHolder surfaceHolder = in testPreviewWithRenderPreviewFrame() local 852 mVideoEditor.renderPreviewFrame(surfaceHolder, 5000, in testPreviewWithRenderPreviewFrame() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | CameraStressTest.java | 139 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes() local 160 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraSceneModes() 183 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraZoom() local 205 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraZoom()
|
D | MediaRecorderStressTest.java | 203 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback() local 241 mRecorder.setPreviewDisplay(surfaceHolder.getSurface()); in recordVideoAndPlayback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 190 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument 195 super.onCreate(surfaceHolder); in onCreate() 203 updateSurfaceSize(surfaceHolder); in onCreate() 216 void updateSurfaceSize(SurfaceHolder surfaceHolder) { in updateSurfaceSize() argument 236 final Rect frame = surfaceHolder.getSurfaceFrame(); in updateSurfaceSize() 249 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight); in updateSurfaceSize() 251 surfaceHolder.setSizeFromLayout(); in updateSurfaceSize() 675 private boolean initGL(SurfaceHolder surfaceHolder) { in initGL() argument 710 Rect frame = surfaceHolder.getSurfaceFrame(); in initGL() 725 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); in initGL()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditor.java | 720 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, in renderPreviewFrame() argument 754 public void startPreview(SurfaceHolder surfaceHolder, long fromMs, long toMs, in startPreview() argument 773 public void clearSurface(SurfaceHolder surfaceHolder); in clearSurface() argument
|
D | MediaVideoItem.java | 496 public long renderFrame(SurfaceHolder surfaceHolder, long timeMs) { in renderFrame() argument 497 if (surfaceHolder == null) { in renderFrame() 505 final Surface surface = surfaceHolder.getSurface(); in renderFrame()
|
D | VideoEditorImpl.java | 911 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, in renderPreviewFrame() argument 913 if (surfaceHolder == null) { in renderPreviewFrame() 917 final Surface surface = surfaceHolder.getSurface(); in renderPreviewFrame() 945 final Rect frame = surfaceHolder.getSurfaceFrame(); in renderPreviewFrame() 1636 public void startPreview(SurfaceHolder surfaceHolder, long fromMs, long toMs, in startPreview() argument 1640 if (surfaceHolder == null) { in startPreview() 1644 final Surface surface = surfaceHolder.getSurface(); in startPreview() 1882 public void clearSurface(SurfaceHolder surfaceHolder) { in clearSurface() argument 1883 if (surfaceHolder == null) { in clearSurface() 1887 final Surface surface = surfaceHolder.getSurface(); in clearSurface()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 118 public RenderTarget forSurfaceHolder(SurfaceHolder surfaceHolder) { in forSurfaceHolder() argument 122 eglSurf = mSurfaceSources.get(surfaceHolder); in forSurfaceHolder() 124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); in forSurfaceHolder() 125 mSurfaceSources.put(surfaceHolder, eglSurf); in forSurfaceHolder() 132 result.setSurfaceSource(surfaceHolder); in forSurfaceHolder()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | CameraTestHelper.java | 158 public void startCameraPreview(SurfaceHolder surfaceHolder) throws Exception { in startCameraPreview() argument 160 mCamera.setPreviewDisplay(surfaceHolder); in startCameraPreview()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | NativeMedia.java | 355 SurfaceHolderVideoSink(SurfaceHolder surfaceHolder) { in SurfaceHolderVideoSink() argument 356 mSurfaceHolder = surfaceHolder; in SurfaceHolderVideoSink()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 406 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
|