Home
last modified time | relevance | path

Searched refs:mHolder (Results 1 – 10 of 10) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewCtsActivity.java57 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/
DCodecTestActivity.java35 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/
DMediaStubActivity.java29 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/
DPlayVideoActivity.java65 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/
DRVCVCameraPreview.java42 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/
DMediaCodecFlushActivity.java28 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()
DVolumeLevelChangesActivity.java47 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/
DTestActivity.java37 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/
DCodecTestActivity.java38 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/
DModeSwitchingTestActivity.java58 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()