Lines Matching refs:MediaPlayer
26 import android.media.MediaPlayer;
28 import android.media.MediaPlayer.OnCompletionListener;
29 import android.media.MediaPlayer.OnErrorListener;
30 import android.media.MediaPlayer.OnPreparedListener;
229 public void onPrepared(MediaPlayer mp) {
258 // this activity has handed its MediaPlayer off to the next activity
347 public boolean onError(MediaPlayer mp, int what, int extra) {
353 public void onCompletion(MediaPlayer mp) {
376 // Ideally, we would hand off the currently running mediaplayer
430 * Wrapper class to help with handing off the MediaPlayer to the next instance
433 private static class PreviewPlayer extends MediaPlayer implements OnPreparedListener {
451 * @see android.media.MediaPlayer.OnPreparedListener#onPrepared(android.media.MediaPlayer)
454 public void onPrepared(MediaPlayer mp) {