Lines Matching refs:MediaPlayer
19 import android.media.MediaPlayer;
26 * Assigns the view's surface to the given MediaPlayer instance.
28 * @param mp MediaPlayer
30 * if any of MediaPlayer or surface is unavailable.
32 boolean assignSurfaceToMediaPlayer(MediaPlayer mp);
35 void setMediaPlayer(MediaPlayer mp);
38 * Takes over oldView. It means that the MediaPlayer will start rendering on this view.
40 * MediaPlayer instance or its surface is not available, the actual execution is deferred until
41 * a MediaPlayer instance is set by {@link #setMediaPlayer} or its surface becomes available.
45 * @param oldView The view that MediaPlayer is currently rendering on.