Home
last modified time | relevance | path

Searched refs:surfaceHolder (Results 1 – 17 of 17) 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/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaPlayerAdapter.java248 void setDisplay(SurfaceHolder surfaceHolder) { in setDisplay() argument
250 mHasDisplay = surfaceHolder != null; in setDisplay()
254 mPlayer.setDisplay(surfaceHolder); in setDisplay()
382 public void surfaceCreated(SurfaceHolder surfaceHolder) { in surfaceCreated() argument
383 setDisplay(surfaceHolder); in surfaceCreated()
387 public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i1, int i2) { in surfaceChanged() argument
391 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in surfaceDestroyed() argument
DMediaPlayerGlue.java190 public void setDisplay(SurfaceHolder surfaceHolder) { in setDisplay() argument
191 mPlayer.setDisplay(surfaceHolder); in setDisplay()
503 public void surfaceCreated(SurfaceHolder surfaceHolder) { in surfaceCreated() argument
504 setDisplay(surfaceHolder); in surfaceCreated()
508 public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i1, int i2) { in surfaceChanged() argument
512 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in surfaceDestroyed() argument
/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.java175 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
180 super.onCreate(surfaceHolder); in onCreate()
185 updateSurfaceSize(surfaceHolder, getDefaultDisplayInfo(), false /* forDraw */); in onCreate()
195 boolean updateSurfaceSize(SurfaceHolder surfaceHolder, DisplayInfo displayInfo, in updateSurfaceSize() argument
217 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight); in updateSurfaceSize()
221 surfaceHolder.setSizeFromLayout(); in updateSurfaceSize()
764 private boolean initGL(SurfaceHolder surfaceHolder) { in initGL() argument
799 Rect frame = surfaceHolder.getSurfaceFrame(); in initGL()
814 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); in initGL()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java305 protected void setSurface(SurfaceHolder surfaceHolder) { in setSurface() argument
307 mSurfaceHolder = surfaceHolder; in setSurface()
311 protected void removeSurface(SurfaceHolder surfaceHolder) { in removeSurface() argument
312 if (surfaceHolder == mSurfaceHolder) { in removeSurface()
642 public void onWindowCreated(SurfaceHolder surfaceHolder) { in onWindowCreated() argument
643 setSurface(surfaceHolder); in onWindowCreated()
DOverlayDisplayWindow.java100 void onWindowCreated(SurfaceHolder surfaceHolder); in onWindowCreated() argument
/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/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java123 public void setDisplay(SurfaceHolder surfaceHolder) { in setDisplay() argument
124 mPlayer.setDisplay(surfaceHolder); in setDisplay()
/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.java439 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument