Home
last modified time | relevance | path

Searched refs:mediaPlayer (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaPlayerTest.java60 private MediaPlayer mediaPlayer; field in ShadowMediaPlayerTest
73 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 …]
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustrationVideoView.java70 protected MediaPlayer mediaPlayer; field in IllustrationVideoView
216 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 …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java79 private MediaPlayer mediaPlayer; field in TerminalManager
216 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 …]
/external/autotest/client/site_tests/power_LoadTest/
Dcontrol.email_1hour83 ' \'http://www.npr.org/templates/player/mediaPlayer.html?action=3&t=live1\',' + \