/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 | 224 final BaseSurfaceHolder mSurfaceHolder = new BaseSurfaceHolder() { field in WallpaperService.Engine 411 return mSurfaceHolder; in getSurfaceHolder() 749 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() 752 int myHeight = mSurfaceHolder.getRequestedHeight(); in updateSurface() 758 final boolean formatChanged = mFormat != mSurfaceHolder.getRequestedFormat(); in updateSurface() 761 final boolean typeChanged = mType != mSurfaceHolder.getRequestedType(); in updateSurface() 774 mFormat = mSurfaceHolder.getRequestedFormat(); in updateSurface() 775 mType = mSurfaceHolder.getRequestedType(); in updateSurface() 837 mSurfaceHolder.mSurfaceLock.lock(); in updateSurface() 856 mSurfaceHolder.mSurface.copyFrom(mSurfaceControl); in updateSurface() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 194 SurfaceHolder mSurfaceHolder; in checkTakePicture() local 196 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture() 197 mCamera.setPreviewDisplay(mSurfaceHolder); in checkTakePicture() 210 SurfaceHolder mSurfaceHolder; in checkPreviewCallback() local 212 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback() 213 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/packages/SystemUI/tests/src/com/android/systemui/glwallpaper/ |
D | EglHelperTest.java | 45 private SurfaceHolder mSurfaceHolder; field in EglHelperTest 50 mSurfaceHolder = mock(SurfaceHolder.class, RETURNS_DEFAULTS); in setUp() 55 mEglHelper.init(mSurfaceHolder); in testInit_finish()
|
/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/rs/java/android/renderscript/ |
D | RSSurfaceView.java | 37 private SurfaceHolder mSurfaceHolder; field in RSSurfaceView 79 mSurfaceHolder = holder; in surfaceCreated()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | SurfaceView.java | 67 return mSurfaceHolder; in getHolder() 70 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/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 | 223 return mSurfaceHolder; in getHolder() 861 c.surfaceDestroyed(mSurfaceHolder); in updateSurface() 904 c.surfaceCreated(mSurfaceHolder); in updateSurface() 916 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateSurface() 930 sch.dispatchSurfaceRedrawNeededAsync(mSurfaceHolder, callbacks); in updateSurface() 1169 private final SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
|
D | ViewRootImpl.java | 375 BaseSurfaceHolder mSurfaceHolder; field in ViewRootImpl 759 mSurfaceHolder.removeCallback(mSurfaceHolderCallback); 766 mSurfaceHolder = new TakenSurfaceHolder(); 767 mSurfaceHolder.setFormat(PixelFormat.UNKNOWN); 768 mSurfaceHolder.addCallback(mSurfaceHolderCallback); 770 mSurfaceHolder = null; 815 mSurfaceHolder = new TakenSurfaceHolder(); 816 mSurfaceHolder.setFormat(PixelFormat.UNKNOWN); 817 mSurfaceHolder.addCallback(mSurfaceHolderCallback); 832 if (mSurfaceHolder == null) { [all …]
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 117 private SurfaceHolder mSurfaceHolder = null; field in VideoView 374 if (mUri == null || mSurfaceHolder == null) { in openVideo() 413 mMediaPlayer.setDisplay(mSurfaceHolder); in openVideo() 693 mSurfaceHolder = holder; 700 mSurfaceHolder = null;
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 624 private SurfaceHolder mSurfaceHolder; field in MediaPlayer 750 mSurfaceHolder = sh; in setDisplay() 785 mSurfaceHolder = null; in setSurface() 1591 if (screenOn && mSurfaceHolder == null) { in setScreenOnWhilePlaying() 1612 if (mSurfaceHolder != null) { in updateSurfaceScreenOn() 1613 mSurfaceHolder.setKeepScreenOn(mScreenOnWhilePlaying && mStayAwake); in updateSurfaceScreenOn()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 38141 Landroid/media/MediaPlayer2Impl;->mSurfaceHolder:Landroid/view/SurfaceHolder; 38332 Landroid/media/MediaPlayer;->mSurfaceHolder:Landroid/view/SurfaceHolder; 60554 Landroid/renderscript/RSSurfaceView;->mSurfaceHolder:Landroid/view/SurfaceHolder; 64827 Landroid/service/wallpaper/WallpaperService$Engine;->mSurfaceHolder:Lcom/android/internal/view/Base… 79279 Landroid/view/ViewRootImpl;->mSurfaceHolder:Lcom/android/internal/view/BaseSurfaceHolder;
|