Home | History | Annotate | Download | only in musicplayer

Lines Matching defs:mPlayer

77     MediaPlayer mPlayer = null;
160 if (mPlayer == null) {
161 mPlayer = new MediaPlayer();
168 mPlayer.setWakeMode(getApplicationContext(), PowerManager.PARTIAL_WAKE_LOCK);
172 mPlayer.setOnPreparedListener(this);
173 mPlayer.setOnCompletionListener(this);
174 mPlayer.setOnErrorListener(this);
177 mPlayer.reset();
276 mPlayer.pause();
290 mPlayer.seekTo(0);
334 if (releaseMediaPlayer && mPlayer != null) {
335 mPlayer.reset();
336 mPlayer.release();
337 mPlayer = null;
355 * current focus settings. This method assumes mPlayer != null, so if you are calling it,
363 if (mPlayer.isPlaying()) mPlayer.pause();
367 mPlayer.setVolume(DUCK_VOLUME, DUCK_VOLUME); // we'll be relatively quiet
369 mPlayer.setVolume(1.0f, 1.0f); // we can be loud
371 if (!mPlayer.isPlaying()) mPlayer.start();
411 mPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
412 mPlayer.setDataSource(manualUrl);
432 mPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
433 mPlayer.setDataSource(getApplicationContext(), playingItem.getURI());
486 mPlayer.prepareAsync();
577 if (mPlayer != null && mPlayer.isPlaying())