Home
last modified time | relevance | path

Searched refs:isPlaying (Results 1 – 25 of 29) sorted by relevance

12

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java59 if (mRepeat && isPlaying()) {
63 if (isPlaying()) {
67 if (isPlaying()) {
71 if (isPlaying()) {
185 if (isPlaying()) { in release()
209 public boolean isPlaying() { in isPlaying() method in AudioPlayer
DAudioTestFragment.java238 if (!mNavGuidancePlayer.isPlaying()) { in onCreateView()
277 if (!mVrPlayer.isPlaying()) { in onCreateView()
300 if (!mSystemPlayer.isPlaying()) { in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java103 if (mVideoView.isPlaying()) {
371 if (mVideoView.isPlaying()) { in onPlayPause()
424 if (mVideoView.isPlaying()) { in onKeyDown()
431 if (mVideoView.isPlaying()) { in onKeyDown()
436 if (!mVideoView.isPlaying()) { in onKeyDown()
476 if (mVideoView.isPlaying()) pauseVideo(); in onReceive()
DTrimVideo.java289 if (mVideoView.isPlaying()) { in onPlayPause()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java231 if(isPlaying()) {
242 if(isPlaying()) {
249 if(!isPlaying() && mPausedByTransientLossOfFocus) {
281 if (isPlaying()) {
372 if (isPlaying()) { in onDestroy()
660 if (isPlaying()) { in onStartCommand()
693 if (isPlaying() || mPausedByTransientLossOfFocus) { in onUnbind()
717 if (isPlaying() || mPausedByTransientLossOfFocus || mServiceInUse
800 i.putExtra("playing", isPlaying()); in notifyChange()
804 mRemoteControlClient.setPlaybackState(isPlaying() ? in notifyChange()
[all …]
DAudioPreview.java293 if (mPlayer.isPlaying()) {
344 if (mPlayer.isPlaying()) { in updatePlayPause()
388 if (mPlayer.isPlaying()) { in playPauseClicked()
423 if (mPlayer.isPlaying()) { in onKeyDown()
435 if (mPlayer.isPlaying()) { in onKeyDown()
DIMediaPlaybackService.aidl27 boolean isPlaying(); in isPlaying() method
DMediaPlaybackActivity.java957 if (mService.isPlaying()) { in doPauseResume()
1066 if (mService.getAudioId() >= 0 || mService.isPlaying() ||
1133 if (mService != null && mService.isPlaying()) { in setPauseButtonImage()
1178 if (mService.isPlaying()) { in refreshNow()
DMediaAppWidgetProvider.java152 final boolean playing = service.isPlaying(); in performUpdate()
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java361 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in saveAnyPlayingRingtone()
363 } else if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in saveAnyPlayingRingtone()
369 if (sPlayingRingtone != null && sPlayingRingtone.isPlaying()) { in stopAnyPlayingRingtone()
374 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in stopAnyPlayingRingtone()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java782 if (mTvView.isPlaying()) { in onResume()
876 if (!mTvView.isPlaying() || mInitChannelUri != null in resumeTvIfNeeded()
904 if (mPipEnabled && !(mPipView.isPlaying() && mPipView.isShown())) { in resumePipIfNeeded()
909 if (!mPipView.isPlaying()) { in resumePipIfNeeded()
930 if (mTvView.isPlaying()) { in startTv()
1427 if (!mTvView.isPlaying()) { in handleIntent()
1565 if (tvView.isPlaying()) { in setVolumeByAudioFocusStatus()
1580 if (mPipView != null && mPipView.isPlaying()) { in setVolumeByAudioFocusStatus()
1584 if (mTvView != null && mTvView.isPlaying()) { in setVolumeByAudioFocusStatus()
1600 if (mTvView.isPlaying()) { in stopTv()
[all …]
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java714 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in resumePlayback()
745 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pausePlayback()
771 mShouldResumePlaybackAfterSeeking = mMediaPlayer.isPlaying(); in pausePlaybackForSeeking()
795 || mMediaPlayer == null || !mMediaPlayer.isPlaying()) { in enableProximitySensor()
848 if (mIsPrepared && mMediaPlayer != null && mMediaPlayer.isPlaying()) { in setSpeakerphoneOn()
997 public boolean isPlaying() { in isPlaying() method in VoicemailPlaybackPresenter
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java210 public void informTGStatePlaying(BluetoothDevice device, boolean isPlaying) { in informTGStatePlaying() argument
212 if (!isPlaying) { in informTGStatePlaying()
226 return mStateMachine.isPlaying(device); in isA2dpPlaying()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintLocationAnimationVideoView.java113 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in startAnimation()
129 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pauseAnimation()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java412 if (mMediaPlayer == null || !mMediaPlayer.isPlaying()) {
573 if (mRingtone != null && mRingtone.isPlaying()) {
593 if (mRingtone == null || !mRingtone.isPlaying()) {
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java71 if (mVideoView.isPlaying()) {
215 mWasPlayingWhenPaused = mVideoView.isPlaying(); in onPause()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java118 if (mMediaPlayer.isPlaying()) { in onFinishInflate()
320 final boolean playing = mMediaPlayer != null && mMediaPlayer.isPlaying(); in updatePlayPauseButtonState()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java619 boolean isPlaying = (state == BluetoothA2dp.STATE_PLAYING); in updateA2dpAudioState()
620 if (isPlaying != isPlayingState(mCurrentPlayState)) { in updateA2dpAudioState()
622 if (isPlaying && !mAudioManager.isMusicActive()) in updateA2dpAudioState()
625 if (isPlaying) { in updateA2dpAudioState()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java436 if (!mMediaPlayer.isPlaying()) { in activateCall()
449 if (mCalls.isEmpty() && mMediaPlayer != null && mMediaPlayer.isPlaying()) { in destroyCall()
DTestVideoProvider.java119 if (!mIncomingMediaPlayer.isPlaying()) { in onSetDisplaySurface()
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailArchiveTest.java57 assertEquals(true, mPresenter.isPlaying()); in testFetchingVoicemail()
/packages/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java154 if (mRingtone.isPlaying()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java226 return mStateMachine.isPlaying(device); in isA2dpPlaying()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java835 if (mPlayer != null && mPlayer.isPlaying()) { in handleMessage()
846 && (!mPlayer.isPlaying() || mPlaybackParams.getSpeed() < 1.0f)) { in handleMessage()
1299 if (mPlaybackParams.getSpeed() == 1.0f || !mPlayer.isPlaying()) { in doTrickplay()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsPlayer.java279 public boolean isPlaying() { in isPlaying() method in MpegTsPlayer

12