/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewCtsActivity.java | 57 private SurfaceHolder mHolder; field in SurfaceViewCtsActivity.MockSurfaceView 82 mHolder = getHolder(); in MockSurfaceView() 83 mHolder.addCallback(this); in MockSurfaceView() 84 mHolder.setFixedSize(FIX_WIDTH, FIX_HEIGHT); in MockSurfaceView() 188 Canvas canvas = mHolder.lockCanvas(); in surfaceCreated() 194 mHolder.unlockCanvasAndPost(canvas); in surfaceCreated()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecTestActivity.java | 35 private SurfaceHolder mHolder; field in CodecTestActivity 45 mHolder = mSurfaceView.getHolder(); in onCreate() 46 mHolder.addCallback(this); in onCreate() 53 mSurface = mHolder.getSurface(); in surfaceCreated()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaStubActivity.java | 29 private SurfaceHolder mHolder; field in MediaStubActivity 43 mHolder = surfaceV.getHolder(); in onCreate() 61 return mHolder; in getSurfaceHolder()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | PlayVideoActivity.java | 65 private SurfaceHolder mHolder; field in PlayVideoActivity 83 mHolder = mSurfaceView.getHolder(); in onCreate() 84 mHolder.addCallback(this); in onCreate() 85 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate() 96 mPlayer.setDisplay(mHolder); in playVideo() 190 mHolder.setFixedSize(mVideoWidth, mVideoHeight);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVCameraPreview.java | 42 private SurfaceHolder mHolder; field in RVCVCameraPreview 82 mHolder = getHolder(); in initSurface() 83 mHolder.addCallback(this); in initSurface() 87 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in initSurface() 115 if (mHolder.getSurface() == null || mCamera == null){ in surfaceChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/ |
D | MediaCodecFlushActivity.java | 28 private SurfaceHolder mHolder; field in MediaCodecFlushActivity 41 mHolder = surfaceView.getHolder(); in onCreate() 42 mHolder.addCallback(new SurfaceHolder.Callback(){ in onCreate() 59 mPlayer = new MediaCodecTunneledPlayer(this, mHolder, true, mAudioSessionId); in onCreate()
|
D | VolumeLevelChangesActivity.java | 47 private SurfaceHolder mHolder; field in VolumeLevelChangesActivity 69 mHolder = surfaceView.getHolder(); in onCreate() 70 mHolder.addCallback(new SurfaceHolder.Callback() { in onCreate() 179 mPlayer = new MediaCodecTunneledPlayer(this, mHolder, shouldUseTunnelMode, mAudioSessionId); in restartVideo()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 37 private SurfaceHolder mHolder; field in TestActivity 47 mHolder = mSurfaceView.getHolder(); in onCreate() 48 mHolder.addCallback(this); in onCreate() 55 mSurface = mHolder.getSurface(); in surfaceCreated()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestActivity.java | 38 private SurfaceHolder mHolder; field in CodecTestActivity 53 mHolder = mSurfaceView.getHolder(); in onCreate() 54 mHolder.addCallback(this); in onCreate() 61 mSurface = mHolder.getSurface(); in surfaceCreated()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/ |
D | ModeSwitchingTestActivity.java | 58 private SurfaceHolder mHolder; field in ModeSwitchingTestActivity 92 mHolder = surfaceView.getHolder(); in onCreate() 93 mHolder.addCallback(new SurfaceHolder.Callback() { in onCreate() 108 mPlayer = new MediaCodecTunneledPlayer(this, mHolder, true, mAudioSessionId); in onCreate()
|