Lines Matching refs:mp

792             MediaPlayer mp = new MediaPlayer();
793 mp.setDataSource(context, uri);
795 mp.setDisplay(holder);
797 mp.prepare();
798 return mp;
832 MediaPlayer mp = new MediaPlayer();
833 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
835 mp.prepare();
836 return mp;
2001 public EventHandler(MediaPlayer mp, Looper looper) {
2003 mMediaPlayer = mp;
2095 MediaPlayer mp = (MediaPlayer)((WeakReference)mediaplayer_ref).get();
2096 if (mp == null) {
2102 mp.start();
2104 if (mp.mEventHandler != null) {
2105 Message m = mp.mEventHandler.obtainMessage(what, arg1, arg2, obj);
2106 mp.mEventHandler.sendMessage(m);
2119 * @param mp the MediaPlayer that is ready for playback
2121 void onPrepared(MediaPlayer mp);
2146 * @param mp the MediaPlayer that reached the end of the file
2148 void onCompletion(MediaPlayer mp);
2178 * @param mp the MediaPlayer the update pertains to
2182 void onBufferingUpdate(MediaPlayer mp, int percent);
2207 * @param mp the MediaPlayer that issued the seek operation
2209 public void onSeekComplete(MediaPlayer mp);
2237 * @param mp the MediaPlayer associated with this callback
2241 public void onVideoSizeChanged(MediaPlayer mp, int width, int height);
2266 * @param mp the MediaPlayer associated with this callback
2270 public void onTimedText(MediaPlayer mp, TimedText text);
2328 * @param mp the MediaPlayer the error pertains to
2346 boolean onError(MediaPlayer mp, int what, int extra);
2433 * @param mp the MediaPlayer the info pertains to.
2451 boolean onInfo(MediaPlayer mp, int what, int extra);