Home
last modified time | relevance | path

Searched refs:isPlaying (Results 1 – 25 of 56) 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.kt175 val isPlaying = state != null && isPlayingState(state.state) in processState() constant
176 if (playing == isPlaying && playing != null) { in processState()
179 playing = isPlaying in processState()
181 if (!isPlaying) { in processState()
DMediaData.kt102 val isPlaying: Boolean? = null, constant in com.android.systemui.media.MediaData
DRingtonePlayer.java152 public boolean isPlaying(IBinder token) {
159 return client.mRingtone.isPlaying();
/frameworks/base/media/java/android/media/
DHwAudioSource.java142 Preconditions.checkState(!isPlaying(), "HwAudioSource is currently playing"); in start()
146 if (isPlaying()) { in start()
182 public boolean isPlaying() { in isPlaying() method in HwAudioSource
DIRingtonePlayer.aidl35 boolean isPlaying(IBinder token); in isPlaying() method
DRingtone.java490 public boolean isPlaying() { in isPlaying() method in Ringtone
492 return mLocalPlayer.isPlaying(); in isPlaying()
495 return mRemotePlayer.isPlaying(mRemoteToken); in 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/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipMediaController.java223 boolean isPlaying = mMediaController.getPlaybackState().isActive(); in getMediaActions()
231 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getMediaActions()
233 } 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/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaPlayerDataTest.kt162 isPlaying: Boolean?,
167 null, null, null, true, null, isLocalSession, resumption, null, false, isPlaying)
DMediaTimeoutListenerTest.kt234 val mediaPaused = mediaData.copy(isPlaying = false) in testOnSessionDestroyed_clearsTimeout()
256 val mediaPlaying = mediaData.copy(isPlaying = true) in testSessionDestroyed_thenRestarts_resetsTimeout()
/frameworks/base/services/core/java/com/android/server/wm/
DTransitionController.java134 boolean isPlaying() { in isPlaying() method in TransitionController
141 return isCollecting() || isPlaying(); in inTransition()
/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.java606 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in saveAnyPlayingRingtone()
608 } else if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in saveAnyPlayingRingtone()
614 if (sPlayingRingtone != null && sPlayingRingtone.isPlaying()) { in stopAnyPlayingRingtone()
619 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 __anon5f9b7f910111::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

123