Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java217 misPlaying = mp.isPlaying(); in pause()
380 boolean isPlaying = false; in seekToEnd()
391 isPlaying = mp.isPlaying(); in seekToEnd()
393 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
397 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
408 boolean isPlaying = false; in shortMediaStop()
418 isPlaying = mp.isPlaying(); in shortMediaStop()
420 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
424 if (currentPosition > duration || isPlaying) in shortMediaStop()
436 boolean isPlaying = false; in playToEnd()
[all …]
/frameworks/base/core/java/android/webkit/
DHTML5VideoView.java88 if (isPlaying()) { in pause()
123 public boolean isPlaying() { in isPlaying() method in HTML5VideoView
125 return mPlayer.isPlaying(); in isPlaying()
239 if (isPlaying()) { in getCurrentState()
DHTML5Audio.java123 if (mState != ERROR && mMediaPlayer.isPlaying()) { in handleMessage()
243 } else if (mState != ERROR && !mMediaPlayer.isPlaying()) { in onAudioFocusChange()
251 if (mState != ERROR && mMediaPlayer.isPlaying()) { in onAudioFocusChange()
261 if (mState != ERROR && mMediaPlayer.isPlaying()) pause(); in onAudioFocusChange()
DHTML5VideoViewProxy.java153 savedIsPlaying = mHTML5VideoView.isPlaying(); in enterFullScreenVideo()
201 if (!mHTML5VideoView.isPlaying()) { in play()
212 public static boolean isPlaying(HTML5VideoViewProxy proxy) { in isPlaying() method in HTML5VideoViewProxy.VideoPlayer
214 && mHTML5VideoView.isPlaying()); in isPlaying()
356 if (VideoPlayer.isPlaying(this)) { in handleMessage()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DVariableSpeed.java136 boolean isPlaying; in stopCurrentPlayback()
140 isPlaying = mHasStartedPlayback && !hasPlaybackFinished(); in stopCurrentPlayback()
143 if (isPlaying) { in stopCurrentPlayback()
147 if (isPlaying) { in stopCurrentPlayback()
340 public boolean isPlaying() { in isPlaying() method in VariableSpeed
DSingleThreadedMediaPlayerProxy.java88 public synchronized boolean isPlaying() { in isPlaying() method in SingleThreadedMediaPlayerProxy
89 return mDelegate.isPlaying(); in isPlaying()
DMediaPlayerProxy.java45 boolean isPlaying(); in isPlaying() method
/frameworks/base/core/java/android/widget/
DVideoView.java318 } else if (!isPlaying() &&
521 if (mMediaPlayer.isPlaying()) { in onKeyDown()
530 if (!mMediaPlayer.isPlaying()) { in onKeyDown()
537 if (mMediaPlayer.isPlaying()) { in onKeyDown()
568 if (mMediaPlayer.isPlaying()) { in pause()
613 public boolean isPlaying() { in isPlaying() method in VideoView
614 return isInPlaybackState() && mMediaPlayer.isPlaying(); in isPlaying()
DMediaController.java385 if (!mDragging && mShowing && mPlayer.isPlaying()) {
462 if (uniqueDown && !mPlayer.isPlaying()) { in dispatchKeyEvent()
470 if (uniqueDown && mPlayer.isPlaying()) { in dispatchKeyEvent()
503 if (mPlayer.isPlaying()) { in updatePausePlay()
511 if (mPlayer.isPlaying()) { in doPauseResume()
652 boolean isPlaying(); in isPlaying() method
/frameworks/base/media/libmediaplayerservice/
DTestPlayerStub.h90 virtual bool isPlaying() {return mPlayer->isPlaying();} in isPlaying() function
DStagefrightPlayer.cpp111 bool StagefrightPlayer::isPlaying() { in isPlaying() function in android::StagefrightPlayer
113 return mPlayer->isPlaying(); in isPlaying()
DStagefrightPlayer.h51 virtual bool isPlaying();
DMidiFile.h48 virtual bool isPlaying();
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java313 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimpleMediaController
318 … mPlayPauseButton.setImageResource(isPlaying() ? mPauseImageResource : mPlayImageResource); in updatePlayPauseButton()
346 … Log.e(TAG, "playOrPause playing: "+((mMediaPlayer == null)?false:!mMediaPlayer.isPlaying())+ in playOrPause()
350 if (mMediaPlayer == null || !mMediaPlayer.isPlaying()){ in playOrPause()
404 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimplePlayerController
406 return mMediaPlayer.isPlaying(); in isPlaying()
486 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimpleRecordController
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerIsPlayingStateUnitTest.java56 player.isPlaying(); in invokeMethodUnderTest()
/frameworks/base/media/java/android/media/
DRingtone.java247 public boolean isPlaying() { in isPlaying() method in Ringtone
248 return mAudio != null && mAudio.isPlaying(); in isPlaying()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpActivity.java81 if (mVideoView.isPlaying()) { in onStop()
DVideoDumpView.java217 return (mMediaPlayer != null && mMediaPlayer.isPlaying()); in isInPlaybackState()
247 public boolean isPlaying () { in isPlaying() method in VideoDumpView
248 return isInPlaybackState() && mMediaPlayer.isPlaying(); in isPlaying()
/frameworks/base/core/java/com/android/internal/app/
DRingtonePickerActivity.java298 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in run()
341 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in stopAnyPlayingRingtone()
/frameworks/base/include/media/
DIMediaPlayer.h50 virtual status_t isPlaying(bool* state) = 0;
Dmediaplayer.h182 bool isPlaying();
/frameworks/base/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h48 virtual bool isPlaying();
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp79 virtual bool isPlaying() {return true;} in isPlaying() function in __anon32e6eb6d0111::Player
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DMediaPlayerProxyTestCase.java312 assertTrue(mPlayer.isPlaying()); in testPause_DuringPlayback()
314 assertTrue(mPlayer.isPlaying()); in testPause_DuringPlayback()
316 assertFalse(mPlayer.isPlaying()); in testPause_DuringPlayback()
/frameworks/media/libvideoeditor/lvpp/
DVideoEditorPlayer.cpp111 bool VideoEditorPlayer::isPlaying() { in isPlaying() function in android::VideoEditorPlayer
113 return mPlayer->isPlaying(); in isPlaying()

12