Home
last modified time | relevance | path

Searched refs:mVideoView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpActivity.java43 private VideoDumpView mVideoView; field in VideoDumpActivity
58 mVideoView.onPause(); in onPause()
64 mVideoView.onResume(); in onResume()
68 mVideoView = new VideoDumpView(this); in createView()
69 mVideoView.setMediaController(new MediaController(context)); in createView()
72 mainLayout.addView(mVideoView, new LinearLayout.LayoutParams( in createView()
80 if (mVideoView != null) { in onStop()
81 if (mVideoView.isPlaying()) { in onStop()
82 mVideoView.stopPlayback(); in onStop()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DVideoViewCaptureActivity.java35 private VideoView mVideoView; field in VideoViewCaptureActivity
41 mVideoView = new VideoView(this); in onCreate()
42 mVideoView.setOnPreparedListener(mp -> { in onCreate()
46 mVideoView.start(); in onCreate()
50 mVideoView.setVideoURI(uri); in onCreate()
58 PixelCopy.request(mVideoView, b, in onCreate()
73 }, mVideoView.getHandler()); in onCreate()
81 layout.addView(mVideoView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()