Lines Matching defs:mediaPlayer
26 import android.media.MediaPlayer;
213 MediaPlayer mediaPlayer = new MediaPlayer();
215 mediaPlayer.setDataSource(outputFilePath);
217 mediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder());
219 mediaPlayer.prepare();
221 mOutputDuration = mediaPlayer.getDuration();
224 mOutputVideoHeight = mediaPlayer.getVideoHeight();
225 mOutputVideoWidth = mediaPlayer.getVideoWidth();
226 mediaPlayer.release();
229 mediaPlayer.release();