Lines Matching refs:MediaPlayer
24 import android.media.MediaPlayer;
52 MediaPlayer.OnPreparedListener,
53 MediaPlayer.OnSeekCompleteListener,
54 MediaPlayer.OnInfoListener {
61 protected MediaPlayer mMediaPlayer;
135 mMediaPlayer = MediaPlayer.create(getContext(), mVideoResId);
226 /* MediaPlayer callbacks */
229 public boolean onInfo(MediaPlayer mp, int what, int extra) {
230 if (what == MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START) {
238 public void onPrepared(MediaPlayer mp) {
243 public void onSeekComplete(MediaPlayer mp) {