Home
last modified time | relevance | path

Searched refs:surfaceHolder (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java121 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation() local
141 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraExposureCompensation()
157 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes() local
172 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFlashModes()
188 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes() local
203 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFocusModes()
219 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance() local
234 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraWhiteBalance()
DCameraPairwiseTest.java383 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in genericPairwiseTestCase() local
487 mCameraTestHelper.startCameraPreview(surfaceHolder); in genericPairwiseTestCase()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java134 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes() local
155 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraSceneModes()
178 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraZoom() local
200 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraZoom()
DMediaRecorderStressTest.java203 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback() local
241 mRecorder.setPreviewDisplay(surfaceHolder.getSurface()); in recordVideoAndPlayback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java185 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
190 super.onCreate(surfaceHolder); in onCreate()
195 updateSurfaceSize(surfaceHolder, getDefaultDisplayInfo(), false /* forDraw */); in onCreate()
205 boolean updateSurfaceSize(SurfaceHolder surfaceHolder, DisplayInfo displayInfo, in updateSurfaceSize() argument
228 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight); in updateSurfaceSize()
232 surfaceHolder.setSizeFromLayout(); in updateSurfaceSize()
739 private boolean initGL(SurfaceHolder surfaceHolder) { in initGL() argument
774 Rect frame = surfaceHolder.getSurfaceFrame(); in initGL()
789 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); in initGL()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java118 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/helpers/
DCameraTestHelper.java156 public void startCameraPreview(SurfaceHolder surfaceHolder) throws Exception { in startCameraPreview() argument
158 mCamera.setPreviewDisplay(surfaceHolder); in startCameraPreview()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java92 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
93 super.onCreate(surfaceHolder); in onCreate()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder();
269 surfaceHolder.setFixedSize(optimalSize.getWidth(),
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java355 SurfaceHolderVideoSink(SurfaceHolder surfaceHolder) { in SurfaceHolderVideoSink() argument
356 mSurfaceHolder = surfaceHolder; in SurfaceHolderVideoSink()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java547 public void setPreviewDisplay(final SurfaceHolder surfaceHolder) { in setPreviewDisplay() argument
553 … .obtainMessage(CameraActions.SET_PREVIEW_DISPLAY_ASYNC, surfaceHolder) in setPreviewDisplay()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java424 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument