Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java225 misPlaying = mp.isPlaying(); in pause()
388 boolean isPlaying = false; in seekToEnd()
399 isPlaying = mp.isPlaying(); in seekToEnd()
401 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
405 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
416 boolean isPlaying = false; in shortMediaStop()
426 isPlaying = mp.isPlaying(); in shortMediaStop()
428 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
432 if (currentPosition > duration || isPlaying) in shortMediaStop()
444 boolean isPlaying = false; in playToEnd()
[all …]
/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/base/media/java/android/media/
DHwAudioSource.java132 Preconditions.checkState(!isPlaying(), "HwAudioSource is currently playing"); in start()
143 public boolean isPlaying() { in isPlaying() method in HwAudioSource
DRingtone.java445 public boolean isPlaying() { in isPlaying() method in Ringtone
447 return mLocalPlayer.isPlaying(); in isPlaying()
450 return mRemotePlayer.isPlaying(mRemoteToken); in isPlaying()
DIRingtonePlayer.aidl35 boolean isPlaying(IBinder token); in isPlaying() method
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h89 virtual bool isPlaying() {return mPlayer->isPlaying();} in isPlaying() function
/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/core/java/android/widget/
DMediaController.java433 if (!mDragging && mShowing && mPlayer.isPlaying()) {
519 if (uniqueDown && !mPlayer.isPlaying()) { in dispatchKeyEvent()
527 if (uniqueDown && mPlayer.isPlaying()) { in dispatchKeyEvent()
563 if (mPlayer.isPlaying()) { in updatePausePlay()
573 if (mPlayer.isPlaying()) { in doPauseResume()
727 boolean isPlaying(); in isPlaying() method
DVideoView.java523 } else if (!isPlaying() &&
757 if (mMediaPlayer.isPlaying()) { in onKeyDown()
766 if (!mMediaPlayer.isPlaying()) { in onKeyDown()
773 if (mMediaPlayer.isPlaying()) { in onKeyDown()
806 if (mMediaPlayer.isPlaying()) { in pause()
850 public boolean isPlaying() { in isPlaying() method in VideoView
851 return isInPlaybackState() && mMediaPlayer.isPlaying(); in isPlaying()
/frameworks/base/cmds/bootanimation/
Daudioplay.h34 void setPlaying(bool isPlaying);
Daudioplay.cpp433 void setPlaying(bool isPlaying) { in setPlaying() argument
441 isPlaying ? SL_PLAYSTATE_PLAYING : SL_PLAYSTATE_STOPPED); in setPlaying()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java169 boolean isPlaying = MediaSession.isActiveState(state); in getMediaActions()
177 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getMediaActions()
179 } else if (isPlaying && ((actions & PlaybackState.ACTION_PAUSE) != 0)) { in getMediaActions()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerIsPlayingStateUnitTest.java56 player.isPlaying(); in invokeMethodUnderTest()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustrationVideoView.java272 if (prepared && mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in start()
286 return mMediaPlayer != null && mMediaPlayer.isPlaying(); in isRunning()
/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/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java148 public boolean isPlaying(IBinder token) {
155 return client.mRingtone.isPlaying();
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp84 virtual bool isPlaying() { return true; } in isPlaying() function in __anon5c2392aa0111::Player
/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
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java596 boolean isPlaying = (state == PlaybackState.STATE_BUFFERING in getPlaybackState()
604 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getPlaybackState()
606 } else if (isPlaying && ((actions & PlaybackState.ACTION_PAUSE) != 0)) { in getPlaybackState()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c457 jclass clazz, jboolean isPlaying) in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer() argument
465 res = (*playerPlayItf)->SetPlayState(playerPlayItf, isPlaying ? in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h284 bool isPlaying() { return mPlaybackRate != 0.0; } in isPlaying() function
/frameworks/av/media/libmedia/include/media/
DIMediaPlayer.h71 virtual status_t isPlaying(bool* state) = 0;
Dmediaplayer.h230 bool isPlaying();
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h58 virtual bool isPlaying();

12