Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/player/
DSeekBarObserverTest.kt145 val isPlaying = true in seekBarPlayingNotScrubbing() constant
147 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000) in seekBarPlayingNotScrubbing()
156 val isPlaying = false in seekBarNotPlayingNotScrubbing() constant
158 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000) in seekBarNotPlayingNotScrubbing()
167 val isPlaying = true in seekBarPlayingScrubbing() constant
169 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000) in seekBarPlayingScrubbing()
178 val isPlaying = false in seekBarNotPlayingScrubbing() constant
180 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000) in seekBarNotPlayingScrubbing()
242 val isPlaying = true in seekbarActive_animationsDisabled() constant
244 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000) in seekbarActive_animationsDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
DMediaCarouselControllerTest.kt189 isPlaying = true, in testPlayerOrdering()
201 isPlaying = true, in testPlayerOrdering()
213 isPlaying = false, in testPlayerOrdering()
225 isPlaying = false, in testPlayerOrdering()
237 isPlaying = true, in testPlayerOrdering()
249 isPlaying = false, in testPlayerOrdering()
261 isPlaying = false, in testPlayerOrdering()
273 isPlaying = false, in testPlayerOrdering()
285 isPlaying = false, in testPlayerOrdering()
297 isPlaying = false, in testPlayerOrdering()
[all …]
DMediaPlayerDataTest.kt250 isPlaying: Boolean?,
260 isPlaying = isPlaying
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DMediaTimeoutListener.kt150 val wasPlaying = it.isPlaying() in <lambda>()
155 if (wasPlaying != it.isPlaying()) { in <lambda>()
160 if (mediaListeners[key]?.isPlaying() == true) { in <lambda>()
219 fun Int.isPlaying() = isPlayingState(this) in <lambda>() method
220 fun isPlaying() = lastState?.state?.isPlaying() ?: false in <lambda>() method
277 val playingStateSame = (state?.state?.isPlaying() == isPlaying()) in <lambda>()
295 val playing = isPlaying() in <lambda>()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java216 misPlaying = mp.isPlaying(); in pause()
379 boolean isPlaying = false; in seekToEnd()
390 isPlaying = mp.isPlaying(); in seekToEnd()
392 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
396 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
407 boolean isPlaying = false; in shortMediaStop()
417 isPlaying = mp.isPlaying(); in shortMediaStop()
419 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
423 if (currentPosition > duration || isPlaying) in shortMediaStop()
435 boolean isPlaying = false; in playToEnd()
[all …]
/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.java586 public boolean isPlaying() { in isPlaying() method in Ringtone
588 return mLocalPlayer.isPlaying(); in isPlaying()
591 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/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialog.java99 boolean showBroadcastButton = isBroadcastSupported() && mMediaOutputController.isPlaying(); in getStopButtonVisibility()
131 if (isBroadcastSupported() && mMediaOutputController.isPlaying() in getStopButtonText()
140 if (isBroadcastSupported() && mMediaOutputController.isPlaying()) { in onStopButtonClick()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimation.kt43 if (isPlaying()) { in <lambda>()
66 fun isPlaying(): Boolean = animator.isRunning in <lambda>() method
DMultiRippleView.kt54 shouldInvalidate = shouldInvalidate || anim.isPlaying() in <lambda>()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h89 virtual bool isPlaying() {return mPlayer->isPlaying();} in isPlaying() function
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationTest.kt105 assertThat(rippleAnimation.isPlaying()).isTrue() in play_updatesIsPlaying()
110 assertThat(rippleAnimation.isPlaying()).isFalse() in play_updatesIsPlaying()
/frameworks/base/cmds/bootanimation/
Daudioplay.h34 void setPlaying(bool isPlaying);
/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.java457 if (!mDragging && mShowing && mPlayer.isPlaying()) {
543 if (uniqueDown && !mPlayer.isPlaying()) { in dispatchKeyEvent()
551 if (uniqueDown && mPlayer.isPlaying()) { in dispatchKeyEvent()
587 if (mPlayer.isPlaying()) { in updatePausePlay()
597 if (mPlayer.isPlaying()) { in doPauseResume()
778 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/tests/src/com/android/systemui/media/controls/
DMediaTestUtils.kt41 isPlaying = false,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipMediaController.kt233 val isPlaying = playbackState.isActive in <lambda>() constant in com.android.wm.shell.common.pip.PipMediaController
242 if (!isPlaying && actions and PlaybackState.ACTION_PLAY != 0L) { in <lambda>()
244 } else if (isPlaying && actions and PlaybackState.ACTION_PAUSE != 0L) { in <lambda>()
/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()
/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.java614 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in saveAnyPlayingRingtone()
616 } else if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in saveAnyPlayingRingtone()
622 if (sPlayingRingtone != null && sPlayingRingtone.isPlaying()) { in stopAnyPlayingRingtone()
627 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in stopAnyPlayingRingtone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
DMediaData.kt79 val isPlaying: Boolean? = null, constant in com.android.systemui.media.controls.models.player.MediaData

123