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.java59 private MediaPlayer mediaPlayer; field in ShadowMediaPlayerTest
72 mediaPlayer = Shadow.newInstanceOf(MediaPlayer.class); in setUp()
73 shadowMediaPlayer = shadowOf(mediaPlayer); in setUp()
76 mediaPlayer.setOnCompletionListener(completionListener); in setUp()
79 mediaPlayer.setOnPreparedListener(preparedListener); in setUp()
82 mediaPlayer.setOnErrorListener(errorListener); in setUp()
85 mediaPlayer.setOnInfoListener(infoListener); in setUp()
88 mediaPlayer.setOnSeekCompleteListener(seekListener); in setUp()
135 mediaPlayer.reset(); in testResetResetsPosition()
148 mediaPlayer.prepare(); in testPrepare()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustrationVideoView.java69 protected MediaPlayer mediaPlayer; field in IllustrationVideoView
167 if (mediaPlayer != null) { in createMediaPlayer()
168 mediaPlayer.release(); in createMediaPlayer()
174 mediaPlayer = new MediaPlayer(); in createMediaPlayer()
176 mediaPlayer.setSurface(surface); in createMediaPlayer()
177 mediaPlayer.setOnPreparedListener(this); in createMediaPlayer()
178 mediaPlayer.setOnSeekCompleteListener(this); in createMediaPlayer()
179 mediaPlayer.setOnInfoListener(this); in createMediaPlayer()
180 mediaPlayer.setOnErrorListener(this); in createMediaPlayer()
188 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\',' + \