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.java132 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation() local
152 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraExposureCompensation()
168 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes() local
183 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFlashModes()
199 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes() local
214 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFocusModes()
230 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance() local
245 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraWhiteBalance()
DCameraPairwiseTest.java388 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in genericPairwiseTestCase() local
492 mCameraTestHelper.startCameraPreview(surfaceHolder); in genericPairwiseTestCase()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java139 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()
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.java178 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
183 super.onCreate(surfaceHolder); in onCreate()
187 updateSurfaceSize(surfaceHolder, getDefaultDisplayInfo()); in onCreate()
199 void updateSurfaceSize(SurfaceHolder surfaceHolder, DisplayInfo displayInfo) { in updateSurfaceSize() argument
220 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight); in updateSurfaceSize()
224 surfaceHolder.setSizeFromLayout(); in updateSurfaceSize()
685 private boolean initGL(SurfaceHolder surfaceHolder) { in initGL() argument
720 Rect frame = surfaceHolder.getSurfaceFrame(); in initGL()
735 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/
DCameraTestHelper.java158 public void startCameraPreview(SurfaceHolder surfaceHolder) throws Exception { in startCameraPreview() argument
160 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.java422 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument