Searched refs:mPlayer (Results 1 – 7 of 7) sorted by relevance
59 private PreviewPlayer mPlayer; field in AudioPreview108 mPlayer = new PreviewPlayer(); in onCreate()109 mPlayer.setActivity(this); in onCreate()111 mPlayer.setDataSourceAndPrepare(mUri); in onCreate()123 mPlayer = player; in onCreate()124 mPlayer.setActivity(this); in onCreate()125 if (mPlayer.isPrepared()) { in onCreate()192 if (mPlayer.isPrepared()) { in onCreate()200 PreviewPlayer player = mPlayer; in onRetainNonConfigurationInstance()201 mPlayer = null; in onRetainNonConfigurationInstance()[all …]
112 private MultiPlayer mPlayer; field in MediaPlaybackService178 mPlayer.setVolume(mCurrentVolume);187 mPlayer.setVolume(mCurrentVolume);252 mPlayer.setVolume(mCurrentVolume);344 mPlayer = new MultiPlayer(); in onCreate()345 mPlayer.setHandler(mMediaplayerHandler); in onCreate()380 mPlayer.release(); in onDestroy()381 mPlayer = null; in onDestroy()467 if (mPlayer.isInitialized()) { in saveQueue()468 ed.putLong("seekpos", mPlayer.position()); in saveQueue()[all …]
154 private final MediaPlayerProxy mPlayer; field in VoicemailPlaybackPresenter178 mPlayer = player; in VoicemailPlaybackPresenter()311 mPlayer.reset(); in postSuccessfullyFetchedContent()312 mPlayer.setDataSource(mView.getDataSourceContext(), mVoicemailUri); in postSuccessfullyFetchedContent()313 mPlayer.setAudioStreamType(PLAYBACK_STREAM); in postSuccessfullyFetchedContent()314 mPlayer.prepare(); in postSuccessfullyFetchedContent()315 mDuration.set(mPlayer.getDuration()); in postSuccessfullyFetchedContent()344 mPlayer.setOnErrorListener(new MediaPlayerErrorListener()); in postSuccessfulPrepareActions()345 mPlayer.setOnCompletionListener(new MediaPlayerCompletionListener()); in postSuccessfulPrepareActions()362 if (!mPlayer.isPlaying()) { in onSaveInstanceState()[all …]
59 MediaPlayer mPlayer = null; field in Recorder214 mPlayer = new MediaPlayer(); in startPlayback()216 mPlayer.setDataSource(mSampleFile.getAbsolutePath()); in startPlayback()217 mPlayer.setOnCompletionListener(this); in startPlayback()218 mPlayer.setOnErrorListener(this); in startPlayback()219 mPlayer.prepare(); in startPlayback()220 mPlayer.start(); in startPlayback()223 mPlayer = null; in startPlayback()227 mPlayer = null; in startPlayback()236 if (mPlayer == null) // we were not in playback in stopPlayback()[all …]
60 private MoviePlayer mPlayer; field in MovieActivity91 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState, in onCreate()230 mPlayer.onPause(); in onPause()236 mPlayer.onResume(); in onResume()243 mPlayer.onSaveInstanceState(outState); in onSaveInstanceState()248 mPlayer.onDestroy(); in onDestroy()254 return mPlayer.onKeyDown(keyCode, event) in onKeyDown()260 return mPlayer.onKeyUp(keyCode, event) in onKeyUp()
107 if (mPlayer != null) { in run()108 mPlayer.release(); in run()110 mPlayer = player; in run()179 if (mPlayer != null) { in run()184 mPlayer.stop(); in run()185 mPlayer.release(); in run()186 mPlayer = null; in run()236 private MediaPlayer mPlayer; field in NotificationPlayer
338 private final SmilPlayer mPlayer; field in SlideshowActivity.SmilPlayerController351 mPlayer = player; in SmilPlayerController()360 return mPlayer.getCurrentPosition(); in getCurrentPosition()364 return mPlayer.getDuration(); in getDuration()372 mPlayer.pause(); in pause()381 mPlayer.start(); in start()