/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 155 final BaseSurfaceHolder mSurfaceHolder = new BaseSurfaceHolder() { field in WallpaperService.Engine 273 return mSurfaceHolder; in getSurfaceHolder() 427 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() 429 int myHeight = mSurfaceHolder.getRequestedHeight(); in updateSurface() 433 final boolean formatChanged = mFormat != mSurfaceHolder.getRequestedFormat(); in updateSurface() 435 final boolean typeChanged = mType != mSurfaceHolder.getRequestedType(); in updateSurface() 446 mFormat = mSurfaceHolder.getRequestedFormat(); in updateSurface() 447 mType = mSurfaceHolder.getRequestedType(); in updateSurface() 475 mSurfaceHolder.mSurfaceLock.lock(); in updateSurface() 481 mVisibleInsets, mSurfaceHolder.mSurface); in updateSurface() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 157 SurfaceHolder mSurfaceHolder; in testStressCamera() local 158 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCamera() 178 mCamera.setPreviewDisplay(mSurfaceHolder); in testStressCamera() 197 SurfaceHolder mSurfaceHolder; in testStressRecorder() local 198 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressRecorder() 227 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressRecorder() 229 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder() 250 SurfaceHolder mSurfaceHolder; in testStressCameraSwitchRecorder() local 251 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSwitchRecorder() 270 mCamera.setPreviewDisplay(mSurfaceHolder); in testStressCameraSwitchRecorder() [all …]
|
D | MediaPlayerStressTest.java | 58 SurfaceHolder mSurfaceHolder; in testStressHWDecoderRelease() local 65 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressHWDecoderRelease() 94 SurfaceHolder mSurfaceHolder; in testStressGetCurrentPosition() local 103 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressGetCurrentPosition()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 179 SurfaceHolder mSurfaceHolder; in checkTakePicture() local 181 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture() 182 mCamera.setPreviewDisplay(mSurfaceHolder); in checkTakePicture() 202 SurfaceHolder mSurfaceHolder; in checkPreviewCallback() local 204 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback() 205 mCamera.setPreviewDisplay(mSurfaceHolder); in checkPreviewCallback()
|
D | MediaRecorderTest.java | 47 private SurfaceHolder mSurfaceHolder = null; field in MediaRecorderTest 85 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideo() 87 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideo() 119 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoWithPara() 152 mMediaRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideoWithPara() 184 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in invalidRecordSetting() 186 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in invalidRecordSetting()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | SurfaceView.java | 49 return mSurfaceHolder; in getHolder() 52 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
|
/frameworks/base/graphics/java/android/renderscript/ |
D | RSSurfaceView.java | 38 private SurfaceHolder mSurfaceHolder; field in RSSurfaceView 74 mSurfaceHolder = holder; in surfaceCreated()
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 73 private SurfaceHolder mSurfaceHolder = null; field in VideoView 190 if (mUri == null || mSurfaceHolder == null) { in openVideo() 213 mMediaPlayer.setDisplay(mSurfaceHolder); in openVideo() 458 mSurfaceHolder = holder; 465 mSurfaceHolder = null;
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 171 return mSurfaceHolder; in getHolder() 454 c.surfaceCreated(mSurfaceHolder); in updateWindow() 460 c.surfaceChanged(mSurfaceHolder, mFormat, mWidth, mHeight); in updateWindow() 488 c.surfaceDestroyed(mSurfaceHolder); in reportSurfaceDestroyed() 586 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 481 private SurfaceHolder mSurfaceHolder; field in MediaPlayer 563 mSurfaceHolder = sh; in setDisplay() 865 if (mSurfaceHolder != null) { in updateSurfaceScreenOn() 866 mSurfaceHolder.setKeepScreenOn(mScreenOnWhilePlaying && mStayAwake); in updateSurfaceScreenOn()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 54 private SurfaceHolder mSurfaceHolder = null; field in MediaPlayerPerformance 222 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressVideoRecord() 223 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord()
|