Home
last modified time | relevance | path

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

123

/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/packages/SystemUI/src/com/android/systemui/media/
DMediaTimeoutListener.kt129 val isPlaying = state != null && isPlayingState(state.state) in processState() constant
130 if (playing == isPlaying && playing != null) { in processState()
133 playing = isPlaying in processState()
135 if (!isPlaying) { in processState()
DMediaControlPanel.java377 public boolean isPlaying() { in isPlaying() method in MediaControlPanel
378 return isPlaying(mController); in isPlaying()
386 protected boolean isPlaying(MediaController controller) { in isPlaying() method in MediaControlPanel
DMediaCarouselController.kt228 if (mediaPlayer.isPlaying && mediaContent.indexOfChild(view) != 0) { in <lambda>()
258 if (existingPlayer.isPlaying) { in <lambda>()
265 if (existingPlayer.isPlaying && in <lambda>()
DRingtonePlayer.java152 public boolean isPlaying(IBinder token) {
159 return client.mRingtone.isPlaying();
/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/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/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/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java171 boolean isPlaying = MediaSession.isActiveState(state); in getMediaActions()
179 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getMediaActions()
181 } 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/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/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/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java599 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in saveAnyPlayingRingtone()
601 } else if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in saveAnyPlayingRingtone()
607 if (sPlayingRingtone != null && sPlayingRingtone.isPlaying()) { in stopAnyPlayingRingtone()
612 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in stopAnyPlayingRingtone()
/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/av/media/libstagefright/include/media/stagefright/
DMediaSync.h284 bool isPlaying() { return mPlaybackRate != 0.0; } in isPlaying() function
/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()

123