Searched refs:mVideoView (Results 1 – 3 of 3) sorted by relevance
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()
88 private VideoView mVideoView; field in VideoViewTest104 mVideoView = (VideoView) mActivity.findViewById(R.id.videoview); in setup()129 mVideoView.setMediaController(mediaController); in makeVideoView()154 mVideoView.setOnPreparedListener(mockPreparedListener); in testPlayVideo()158 mVideoView.setOnCompletionListener(mockCompletionListener); in testPlayVideo()160 mActivityRule.runOnUiThread(() -> mVideoView.setVideoPath(mVideoPath)); in testPlayVideo()165 mActivityRule.runOnUiThread(mVideoView::start); in testPlayVideo()198 mVideoView.setOnCompletionListener(mockCompletionListener); in testAudioAttributes()200 mVideoView.setAudioAttributes(AUDIO_ATTR); in testAudioAttributes()201 mVideoView.setAudioFocusRequest(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT); in testAudioAttributes()[all …]
43 private VideoSurfaceView mVideoView = null; field in MediaPlayerSurfaceStubActivity75 mVideoView = new VideoSurfaceView(this, mMediaPlayer); in onCreate()76 setContentView(mVideoView); in onCreate()82 if (mVideoView != null) { in onResume()83 mVideoView.onResume(); in onResume()90 if (mVideoView != null) { in playVideo()91 mVideoView.startTest(); in playVideo()