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);250 mPlayer.setVolume(mCurrentVolume);338 mPlayer = new MultiPlayer(); in onCreate()339 mPlayer.setHandler(mMediaplayerHandler); in onCreate()374 mPlayer.release(); in onDestroy()375 mPlayer = null; in onDestroy()461 if (mPlayer.isInitialized()) { in saveQueue()462 ed.putLong("seekpos", mPlayer.position()); in saveQueue()[all …]
155 private final MediaPlayerProxy mPlayer; field in VoicemailPlaybackPresenter179 mPlayer = player; in VoicemailPlaybackPresenter()312 mPlayer.reset(); in postSuccessfullyFetchedContent()313 mPlayer.setDataSource(mView.getDataSourceContext(), mVoicemailUri); in postSuccessfullyFetchedContent()314 mPlayer.setAudioStreamType(PLAYBACK_STREAM); in postSuccessfullyFetchedContent()315 mPlayer.prepare(); in postSuccessfullyFetchedContent()344 mPlayer.setOnErrorListener(new MediaPlayerErrorListener()); in postSuccessfulPrepareActions()345 mPlayer.setOnCompletionListener(new MediaPlayerCompletionListener()); in postSuccessfulPrepareActions()349 mView.setClipPosition(0, mPlayer.getDuration()); 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
322 private final SmilPlayer mPlayer; field in SlideshowActivity.SmilPlayerController335 mPlayer = player; in SmilPlayerController()344 return mPlayer.getCurrentPosition(); in getCurrentPosition()348 return mPlayer.getDuration(); in getDuration()356 mPlayer.pause(); in pause()365 mPlayer.start(); in start()