Searched refs:mediaPlayer (Results 1 – 4 of 4) sorted by relevance
60 private MediaPlayer mediaPlayer; field in ShadowMediaPlayerTest73 mediaPlayer = Shadow.newInstanceOf(MediaPlayer.class); in setUp()74 shadowMediaPlayer = shadowOf(mediaPlayer); in setUp()77 mediaPlayer.setOnCompletionListener(completionListener); in setUp()80 mediaPlayer.setOnPreparedListener(preparedListener); in setUp()83 mediaPlayer.setOnErrorListener(errorListener); in setUp()86 mediaPlayer.setOnInfoListener(infoListener); in setUp()89 mediaPlayer.setOnSeekCompleteListener(seekListener); in setUp()136 mediaPlayer.reset(); in testResetResetsPosition()149 mediaPlayer.prepare(); in testPrepare()[all …]
70 protected MediaPlayer mediaPlayer; field in IllustrationVideoView216 if (mediaPlayer != null) { in createMediaPlayer()217 mediaPlayer.release(); in createMediaPlayer()223 mediaPlayer = new MediaPlayer(); in createMediaPlayer()225 mediaPlayer.setSurface(surface); in createMediaPlayer()226 mediaPlayer.setOnPreparedListener(this); in createMediaPlayer()227 mediaPlayer.setOnSeekCompleteListener(this); in createMediaPlayer()228 mediaPlayer.setOnInfoListener(this); in createMediaPlayer()229 mediaPlayer.setOnErrorListener(this); in createMediaPlayer()237 mediaPlayer.setDataSource(getContext(), uri, null); in setVideoResourceInternal()[all …]
79 private MediaPlayer mediaPlayer; field in TerminalManager216 mediaPlayer = new MediaPlayer(); in enableMediaPlayer()222 mediaPlayer.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in enableMediaPlayer()223 mediaPlayer.setOnCompletionListener(new BeepListener()); in enableMediaPlayer()227 mediaPlayer.setDataSource(file.getFileDescriptor(), file.getStartOffset(), file.getLength()); in enableMediaPlayer()229 mediaPlayer.setVolume(volume, volume); in enableMediaPlayer()230 mediaPlayer.prepare(); in enableMediaPlayer()237 if (mediaPlayer != null) { in disableMediaPlayer()238 mediaPlayer.release(); in disableMediaPlayer()239 mediaPlayer = null; in disableMediaPlayer()[all …]
83 ' \'http://www.npr.org/templates/player/mediaPlayer.html?action=3&t=live1\',' + \