Home
last modified time | relevance | path

Searched refs:isPlaying (Results 1 – 25 of 49) 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/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()
347 public boolean isPlaying() { in isPlaying() method in VariableSpeed
DSingleThreadedMediaPlayerProxy.java93 public synchronized boolean isPlaying() { in isPlaying() method in SingleThreadedMediaPlayerProxy
94 return mDelegate.isPlaying(); in isPlaying()
DMediaPlayerProxy.java46 boolean isPlaying(); in isPlaying() method
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java107 if (mMediaPlayer == null || !mMediaPlayer.isPlaying()){ in playOrPause()
168 public boolean isPlaying() { in isPlaying() method in SimplePlayer
170 return mMediaPlayer.isPlaying(); in isPlaying()
177 mPlayPauseButton.setImageResource(isPlaying() ? mPauseImageResource : mPlayImageResource); in updatePlayPauseButton()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h89 virtual bool isPlaying() {return mPlayer->isPlaying();} in isPlaying() function
DStagefrightPlayer.cpp107 bool StagefrightPlayer::isPlaying() { in isPlaying() function in android::StagefrightPlayer
109 return mPlayer->isPlaying(); in isPlaying()
DStagefrightPlayer.h52 virtual bool isPlaying();
DMidiFile.h49 virtual bool isPlaying();
/frameworks/base/core/java/android/widget/
DVideoView.java462 } else if (!isPlaying() &&
685 if (mMediaPlayer.isPlaying()) { in onKeyDown()
694 if (!mMediaPlayer.isPlaying()) { in onKeyDown()
701 if (mMediaPlayer.isPlaying()) { in onKeyDown()
734 if (mMediaPlayer.isPlaying()) { in pause()
778 public boolean isPlaying() { in isPlaying() method in VideoView
779 return isInPlaybackState() && mMediaPlayer.isPlaying(); in isPlaying()
DMediaController.java403 if (!mDragging && mShowing && mPlayer.isPlaying()) {
492 if (uniqueDown && !mPlayer.isPlaying()) { in dispatchKeyEvent()
500 if (uniqueDown && mPlayer.isPlaying()) { in dispatchKeyEvent()
534 if (mPlayer.isPlaying()) { in updatePausePlay()
544 if (mPlayer.isPlaying()) { in doPauseResume()
697 boolean isPlaying(); in isPlaying() method
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java322 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimpleMediaController
327 … mPlayPauseButton.setImageResource(isPlaying() ? mPauseImageResource : mPlayImageResource); in updatePlayPauseButton()
355 … Log.e(TAG, "playOrPause playing: "+((mMediaPlayer == null)?false:!mMediaPlayer.isPlaying())+ in playOrPause()
359 if (mMediaPlayer == null || !mMediaPlayer.isPlaying()){ in playOrPause()
413 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimplePlayerController
415 return mMediaPlayer.isPlaying(); in isPlaying()
500 public boolean isPlaying() { in isPlaying() method in ScoAudioTest.SimpleRecordController
/frameworks/base/media/java/android/media/
DRingtone.java296 public boolean isPlaying() { in isPlaying() method in Ringtone
298 return mLocalPlayer.isPlaying(); in isPlaying()
301 return mRemotePlayer.isPlaying(mRemoteToken); in isPlaying()
DIRingtonePlayer.aidl30 boolean isPlaying(IBinder token); in isPlaying() method
/frameworks/support/v4/java/android/support/v4/media/
DTransportController.java71 public abstract boolean isPlaying(); in isPlaying() method in TransportController
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java127 public boolean isPlaying(IBinder token) {
134 return client.mRingtone.isPlaying();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerIsPlayingStateUnitTest.java56 player.isPlaying(); in invokeMethodUnderTest()
/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/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java312 boolean isPlaying = mState.getState() == PlaybackStateCompat.STATE_BUFFERING in update()
318 if (isPlaying && supportsPause) { in update()
324 } else if (!isPlaying && supportsPlay) { in update()
/frameworks/av/include/media/
DIMediaPlayer.h58 virtual status_t isPlaying(bool* state) = 0;
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp80 virtual bool isPlaying() {return true;} in isPlaying() function in __anon5c2392aa0111::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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h49 virtual bool isPlaying();
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java239 } else if (mMediaPlayer.isPlaying()) { in onCreate()
331 public static native void setPlayingStreamingMediaPlayer(boolean isPlaying); in setPlayingStreamingMediaPlayer() argument

12