/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | SurfaceHolderTarget.java | 41 private SurfaceHolder mSurfaceHolder = null; field in SurfaceHolderTarget 86 mSurfaceHolder = holder; in setSurfaceHolder() 119 mSurfaceHolder.addCallback(mSurfaceHolderListener); in onOpen() 120 Surface surface = mSurfaceHolder.getSurface(); in onOpen() 129 synchronized (mSurfaceHolder) { in onProcess() 145 mRenderTarget = RenderTarget.currentTarget().forSurfaceHolder(mSurfaceHolder); in renderGL() 149 Rect surfRect = mSurfaceHolder.getSurfaceFrame(); in renderGL() 164 Canvas canvas = mSurfaceHolder.lockCanvas(); in renderCanvas() 167 Rect surfaceRect = mSurfaceHolder.getSurfaceFrame(); in renderCanvas() 174 mSurfaceHolder.unlockCanvasAndPost(canvas); in renderCanvas() [all …]
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 192 final BaseSurfaceHolder mSurfaceHolder = new BaseSurfaceHolder() { field in WallpaperService.Engine 342 return mSurfaceHolder; in getSurfaceHolder() 594 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() 597 int myHeight = mSurfaceHolder.getRequestedHeight(); in updateSurface() 603 final boolean formatChanged = mFormat != mSurfaceHolder.getRequestedFormat(); in updateSurface() 606 final boolean typeChanged = mType != mSurfaceHolder.getRequestedType(); in updateSurface() 619 mFormat = mSurfaceHolder.getRequestedFormat(); in updateSurface() 620 mType = mSurfaceHolder.getRequestedType(); in updateSurface() 666 mSurfaceHolder.mSurfaceLock.lock(); in updateSurface() 682 mConfiguration, mSurfaceHolder.mSurface); in updateSurface() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 195 SurfaceHolder mSurfaceHolder; in checkTakePicture() local 197 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture() 198 mCamera.setPreviewDisplay(mSurfaceHolder); in checkTakePicture() 211 SurfaceHolder mSurfaceHolder; in checkPreviewCallback() local 213 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback() 214 mCamera.setPreviewDisplay(mSurfaceHolder); in checkPreviewCallback()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkTest.java | 67 private SurfaceHolder mSurfaceHolder = null; field in MediaFrameworkTest 82 mSurfaceHolder = mSurfaceView.getHolder(); in onCreate() 83 mSurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate() 84 mSurfaceHolder.addCallback(this); in onCreate() 110 mSurfaceHolder = null; in surfaceDestroyed()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RSSurfaceView.java | 36 private SurfaceHolder mSurfaceHolder; field in RSSurfaceView 76 mSurfaceHolder = holder; in surfaceCreated()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 59 private SurfaceHolder mSurfaceHolder = null; field in MediaRecorderTest 100 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideo() 102 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideo() 132 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in validateGetSurface() 133 recorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in validateGetSurface() 331 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoWithPara() 360 mMediaRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideoWithPara() 392 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in invalidRecordSetting() 394 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in invalidRecordSetting()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | SurfaceView.java | 53 return mSurfaceHolder; in getHolder() 56 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | NativeMedia.java | 353 private final SurfaceHolder mSurfaceHolder; field in NativeMedia.SurfaceHolderVideoSink 356 mSurfaceHolder = surfaceHolder; in SurfaceHolderVideoSink() 360 mSurfaceHolder.setFixedSize(width, height); in setFixedSize() 364 mediaPlayer.setDisplay(mSurfaceHolder); in useAsSinkForJava() 368 setSurface(mSurfaceHolder.getSurface()); in useAsSinkForNative()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | LocalPlayer.java | 66 private SurfaceHolder mSurfaceHolder; field in LocalPlayer 300 mSurfaceHolder = null; in setSurface() 306 mSurfaceHolder = surfaceHolder; in setSurface() 311 if (surfaceHolder == mSurfaceHolder) { in removeSurface() 333 } else if (mSurfaceHolder != null) { in updateSurface() 334 mMediaPlayer.setDisplay(mSurfaceHolder); in updateSurface()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 61 private SurfaceHolder mSurfaceHolder = null; field in MediaPlayerPerformance 190 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressCameraPreview() 191 mCamera.setPreviewDisplay(mSurfaceHolder); in stressCameraPreview() 244 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressVideoRecord() 245 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 301 SurfaceHolder mSurfaceHolder; in testStressTimeLapse() local 302 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressTimeLapse() 343 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressTimeLapse() 355 mp.setDisplay(mSurfaceHolder); in testStressTimeLapse()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 221 return mSurfaceHolder; in getHolder() 588 c.surfaceDestroyed(mSurfaceHolder); in updateWindow() 618 c.surfaceCreated(mSurfaceHolder); in updateWindow() 630 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateWindow() 642 mSurfaceHolder); in updateWindow() 875 private final SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
|
D | ViewRootImpl.java | 230 BaseSurfaceHolder mSurfaceHolder; field in ViewRootImpl 530 mSurfaceHolder = new TakenSurfaceHolder(); in notifyChildRebuilt() 531 mSurfaceHolder.setFormat(PixelFormat.UNKNOWN); in notifyChildRebuilt() 533 mSurfaceHolder = null; in notifyChildRebuilt() 578 mSurfaceHolder = new TakenSurfaceHolder(); in setView() 579 mSurfaceHolder.setFormat(PixelFormat.UNKNOWN); in setView() 594 if (mSurfaceHolder == null) { in setView() 1732 if (mSurfaceHolder != null) { in performTraversals() 1733 mSurfaceHolder.mSurfaceLock.lock(); in performTraversals() 1880 && mSurfaceHolder == null in performTraversals() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 99 private SurfaceHolder mSurfaceHolder = null; field in VideoView 310 if (mUri == null || mSurfaceHolder == null) { in openVideo() 347 mMediaPlayer.setDisplay(mSurfaceHolder); in openVideo() 621 mSurfaceHolder = holder; 628 mSurfaceHolder = null;
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 608 private SurfaceHolder mSurfaceHolder; field in MediaPlayer 716 mSurfaceHolder = sh; in setDisplay() 751 mSurfaceHolder = null; in setSurface() 1308 if (screenOn && mSurfaceHolder == null) { in setScreenOnWhilePlaying() 1329 if (mSurfaceHolder != null) { in updateSurfaceScreenOn() 1330 mSurfaceHolder.setKeepScreenOn(mScreenOnWhilePlaying && mStayAwake); in updateSurfaceScreenOn()
|