Searched refs:mVideoView (Results 1 – 3 of 3) sorted by relevance
86 private VideoView mVideoView; field in VideoViewTest96 mVideoView = (VideoView) mActivity.findViewById(R.id.videoview); in setup()121 mVideoView.setMediaController(mediaController); in makeVideoView()146 mVideoView.setOnPreparedListener(mockPreparedListener); in testPlayVideo()150 mVideoView.setOnCompletionListener(mockCompletionListener); in testPlayVideo()152 mActivityRule.runOnUiThread(() -> mVideoView.setVideoPath(mVideoPath)); in testPlayVideo()157 mActivityRule.runOnUiThread(mVideoView::start); in testPlayVideo()190 mVideoView.setOnCompletionListener(mockCompletionListener); in testAudioAttributes()192 mVideoView.setAudioAttributes(AUDIO_ATTR); in testAudioAttributes()193 mVideoView.setAudioFocusRequest(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT); in testAudioAttributes()[all …]
31 private VideoView mVideoView; field in PixelCopyVideoSourceActivity38 mVideoView = new VideoView(this); in onCreate()39 mVideoView.setOnPreparedListener(mp -> { in onCreate()41 mVideoView.start(); in onCreate()44 mVideoView.setOnErrorListener((mp, what, extra) -> { in onCreate()53 mVideoView.setVideoURI(uri); in onCreate()55 setContentView(mVideoView); in onCreate()67 return mVideoView; in getVideoView()
33 private VideoSurfaceView mVideoView = null; field in MediaPlayerSurfaceStubActivity52 mVideoView = new VideoSurfaceView(this, mMediaPlayer); in onCreate()53 setContentView(mVideoView); in onCreate()59 mVideoView.onResume(); in onResume()63 mVideoView.startTest(); in playVideo()