Home
last modified time | relevance | path

Searched refs:mSurfaceHolder (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java181 final BaseSurfaceHolder mSurfaceHolder = new BaseSurfaceHolder() { field in WallpaperService.Engine
296 return mSurfaceHolder; in getSurfaceHolder()
470 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface()
472 int myHeight = mSurfaceHolder.getRequestedHeight(); in updateSurface()
477 final boolean formatChanged = mFormat != mSurfaceHolder.getRequestedFormat(); in updateSurface()
479 final boolean typeChanged = mType != mSurfaceHolder.getRequestedType(); in updateSurface()
490 mFormat = mSurfaceHolder.getRequestedFormat(); in updateSurface()
491 mType = mSurfaceHolder.getRequestedType(); in updateSurface()
525 mSurfaceHolder.mSurfaceLock.lock(); in updateSurface()
531 mVisibleInsets, mConfiguration, mSurfaceHolder.mSurface); in updateSurface()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java146 SurfaceHolder mSurfaceHolder; in testStressCamera() local
147 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCamera()
165 mCamera.setPreviewDisplay(mSurfaceHolder); in testStressCamera()
184 SurfaceHolder mSurfaceHolder; in testStressRecorder() local
185 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressRecorder()
212 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressRecorder()
214 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder()
235 SurfaceHolder mSurfaceHolder; in testStressCameraSwitchRecorder() local
236 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSwitchRecorder()
253 mCamera.setPreviewDisplay(mSurfaceHolder); in testStressCameraSwitchRecorder()
[all …]
DMediaPlayerStressTest.java58 SurfaceHolder mSurfaceHolder; in testStressHWDecoderRelease() local
65 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressHWDecoderRelease()
95 SurfaceHolder mSurfaceHolder; in testStressGetCurrentPosition() local
104 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressGetCurrentPosition()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java189 SurfaceHolder mSurfaceHolder; in checkTakePicture() local
191 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture()
192 mCamera.setPreviewDisplay(mSurfaceHolder); in checkTakePicture()
205 SurfaceHolder mSurfaceHolder; in checkPreviewCallback() local
207 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback()
208 mCamera.setPreviewDisplay(mSurfaceHolder); in checkPreviewCallback()
DMediaRecorderTest.java51 private SurfaceHolder mSurfaceHolder = null; field in MediaRecorderTest
89 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideo()
91 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideo()
121 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoWithPara()
150 mMediaRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in recordVideoWithPara()
182 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in invalidRecordSetting()
184 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in invalidRecordSetting()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DSurfaceView.java49 return mSurfaceHolder; in getHolder()
52 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
/frameworks/base/core/java/android/widget/
DVideoView.java77 private SurfaceHolder mSurfaceHolder = null; field in VideoView
203 if (mUri == null || mSurfaceHolder == null) { in openVideo()
226 mMediaPlayer.setDisplay(mSurfaceHolder); in openVideo()
475 mSurfaceHolder = holder;
479 mMediaPlayer.setDisplay(mSurfaceHolder);
489 mSurfaceHolder = null;
601 if (mSurfaceHolder == null && mCurrentState == STATE_SUSPEND){ in resume()
/frameworks/base/graphics/java/android/renderscript/
DRSSurfaceView.java38 private SurfaceHolder mSurfaceHolder; field in RSSurfaceView
74 mSurfaceHolder = holder; in surfaceCreated()
/frameworks/base/core/java/android/view/
DViewRoot.java140 BaseSurfaceHolder mSurfaceHolder; field in ViewRoot
453 mSurfaceHolder = new TakenSurfaceHolder(); in setView()
454 mSurfaceHolder.setFormat(PixelFormat.UNKNOWN); in setView()
927 if (mSurfaceHolder != null) { in performTraversals()
928 mSurfaceHolder.mSurfaceLock.lock(); in performTraversals()
1024 if (mSurfaceHolder != null) { in performTraversals()
1029 mSurfaceHolder.mSurface = mSurface; in performTraversals()
1031 mSurfaceHolder.mSurfaceLock.unlock(); in performTraversals()
1034 mSurfaceHolder.ungetCallbacks(); in performTraversals()
1037 mSurfaceHolderCallback.surfaceCreated(mSurfaceHolder); in performTraversals()
[all …]
DSurfaceView.java194 return mSurfaceHolder; in getHolder()
543 c.surfaceCreated(mSurfaceHolder); in updateWindow()
549 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateWindow()
556 mSurfaceHolder); in updateWindow()
587 c.surfaceDestroyed(mSurfaceHolder); in reportSurfaceDestroyed()
663 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() { field in SurfaceView
/frameworks/base/media/java/android/media/
DMediaPlayer.java505 private SurfaceHolder mSurfaceHolder; field in MediaPlayer
587 mSurfaceHolder = sh; in setDisplay()
915 if (mSurfaceHolder != null) { in updateSurfaceScreenOn()
916 mSurfaceHolder.setKeepScreenOn(mScreenOnWhilePlaying && mStayAwake); in updateSurfaceScreenOn()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java60 private SurfaceHolder mSurfaceHolder = null; field in MediaPlayerPerformance
244 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressCameraPreview()
245 mCamera.setPreviewDisplay(mSurfaceHolder); in stressCameraPreview()
297 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressVideoRecord()
298 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java108 BaseSurfaceHolder mSurfaceHolder; field in PhoneWindow