/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailPlaybackPresenter.java | 133 private boolean isPlaying; field in VoicemailPlaybackPresenter 206 isPlaying = savedInstanceState.getBoolean(IS_PLAYING_STATE_KEY, false); in init() 214 isPlaying = false; in init() 218 if (isPlaying()) { in init() 251 outState.putBoolean(IS_PLAYING_STATE_KEY, isPlaying); in onSaveInstanceState() 309 isPlaying = startPlayingImmediately; in setPlaybackView() 339 isPlaying = false; in pausePresenter() 558 if (!mp.isPlaying()) { in onPrepared() 562 if (isPlaying) { in onPrepared() 593 isPlaying = false; in handleError() [all …]
|
D | VoicemailPlaybackLayout.java | 130 private boolean isPlaying = false; field in VoicemailPlaybackLayout 140 if (isPlaying) { 242 isPlaying = true; in onPlaybackStarted() 256 isPlaying = false; in onPlaybackStopped()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailAdapter.java | 329 if (newVoicemailViewHolder.isViewHolderExpanded() && mediaPlayer.isPlaying()) { in onBindViewHolder() 507 if (mediaPlayer.isPlaying() in expandViewHolderFirstTimeAndCollapseAllOtherVisibleViewHolders() 517 mediaPlayer.isPlaying()); in expandViewHolderFirstTimeAndCollapseAllOtherVisibleViewHolders() 543 Assert.checkArgument(!mediaPlayer.isPlaying()); in expandViewHolderFirstTimeAndCollapseAllOtherVisibleViewHolders() 560 if (mediaPlayer.isPlaying()) { in collapseExpandedViewHolder() 818 if (mediaPlayer.isPlaying() && mediaPlayer.getCurrentPosition() < mediaPlayer.getDuration()) { in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder() 850 if (!mediaPlayer.isPlaying() in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder() 851 || (mediaPlayer.isPlaying() in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder() 857 mediaPlayer.isPlaying()); in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder() 876 mediaPlayer.isPlaying(), in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder() [all …]
|
D | NewVoicemailMediaPlayer.java | 180 public boolean isPlaying() { in isPlaying() method in NewVoicemailMediaPlayer 181 return mediaPlayer.isPlaying(); in isPlaying() 189 if (mediaPlayer.isPlaying()) { in getLastPlayedOrPlayingVoicemailUri()
|
D | NewVoicemailMediaPlayerView.java | 204 if (mp.isPlaying() && mp.getLastPlayedOrPlayingVoicemailUri().equals(voicemailUri)) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 561 if (!mp.isPlaying()) { in updateSeekBarDurationAndShowPlayButton() 575 Assert.checkArgument(mediaPlayer.isPlaying()); in updateSeekBarDurationAndShowPlayButton() 617 !mediaPlayer.isPlaying(), in setToResetState() 646 Assert.checkArgument(!mp.isPlaying()); in setToPausedState()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MoviePlayer.java | 103 if (mVideoView.isPlaying()) { 371 if (mVideoView.isPlaying()) { in onPlayPause() 424 if (mVideoView.isPlaying()) { in onKeyDown() 431 if (mVideoView.isPlaying()) { in onKeyDown() 436 if (!mVideoView.isPlaying()) { in onKeyDown() 476 if (mVideoView.isPlaying()) pauseVideo(); in onReceive()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 61 if (mRepeat && isPlaying()) { 73 if (mRepeat && isPlaying()) { 82 if (isPlaying()) { 234 public boolean isPlaying() { in isPlaying() method in AudioPlayer
|
D | AudioTestFragment.java | 255 if (!mNavGuidancePlayer.isPlaying()) { in onCreateView() 272 if (!mVrPlayer.isPlaying()) { in onCreateView() 283 if (!mSystemPlayer.isPlaying()) { in onCreateView() 587 if (mMusicPlayerForSelectedDisplay != null && mMusicPlayerForSelectedDisplay.isPlaying()) { in handleDisplaySelection()
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 261 …CUS_LOSS_TRANSIENT, AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK -> if (mPlayer!!.isPlaying()) { in onAudioFocusChange() 307 if (mPlayer!!.isPlaying()) { in updatePlayPause() 350 if (it.isPlaying()) { in playPauseClicked() 382 if (mPlayer!!.isPlaying()) { in onKeyDown() 396 if (mPlayer!!.isPlaying()) { in onKeyDown()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 292 if (mPlayer.isPlaying()) { 342 if (mPlayer.isPlaying()) { in updatePlayPause() 386 if (mPlayer.isPlaying()) { in playPauseClicked() 421 if (mPlayer.isPlaying()) { in onKeyDown() 433 if (mPlayer.isPlaying()) { in onKeyDown()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MediaSessionWrapperTest.java | 156 private void setPlaybackState(boolean isPlaying) { in setPlaybackState() argument 157 mediaSessionWrapper.setPlaybackState(isPlaying); in setPlaybackState() 161 isPlaying in setPlaybackState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | VideoPreferenceTest.java | 99 when(mMediaPlayer.isPlaying()).thenReturn(false); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 118 when(mMediaPlayer.isPlaying()).thenReturn(true); in updateViewStates_paused_updatesViews() 127 when(mMediaPlayer.isPlaying()).thenReturn(false); in updateViewStates_playing_updatesViews()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/ |
D | VolumeSettingsRingtoneManagerTest.java | 73 when(mRingtone.isPlaying()).thenReturn(false); in tearDown() 114 when(mRingtone.isPlaying()).thenReturn(true); in testPlayAudioFeedback_play_playUntilTimeout() 123 when(mRingtone.isPlaying()).thenReturn(false); in testPlayAudioFeedback_play_stoppedBeforeTimeout()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.kt | 321 if (!ringtone.isPlaying && !ringtone.isSilent) { in <lambda>() 323 ringtone.isPlaying = true in <lambda>() 343 if (ringtone.isPlaying) { in <lambda>() 345 ringtone.isPlaying = false in <lambda>() 432 if (newSelection.isPlaying) { in <lambda>()
|
D | RingtonePickerActivity.java | 388 if (!ringtone.isPlaying() && !ringtone.isSilent()) { in startPlayingRingtone() 410 if (ringtone.isPlaying()) { in stopPlayingRingtone() 505 if (newSelection.isPlaying()) { in onItemClicked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | VideoPreference.java | 159 if (!mVideoPaused && mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onBindViewHolder() 164 if (mMediaPlayer != null && !mMediaPlayer.isPlaying() && in onBindViewHolder() 175 if (mMediaPlayer.isPlaying()) { in updateViewStates()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | VideoPreference.java | 168 if (!mVideoPaused && mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onBindViewHolder() 173 if (mMediaPlayer != null && !mMediaPlayer.isPlaying() && in onBindViewHolder() 184 if (mMediaPlayer.isPlaying()) { in updateViewStates()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | RingtonePickerActivity.java | 600 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in saveAnyPlayingRingtone() 602 } else if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in saveAnyPlayingRingtone() 608 if (sPlayingRingtone != null && sPlayingRingtone.isPlaying()) { in stopAnyPlayingRingtone() 613 if (mDefaultRingtone != null && mDefaultRingtone.isPlaying()) { in stopAnyPlayingRingtone()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsRingtoneManager.java | 90 && mCurrentRingtone.isPlaying()) { in playAudioFeedback() 98 if (mCurrentRingtone.isPlaying()) { in playAudioFeedback()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.java | 410 if (mMediaPlayer == null || !mMediaPlayer.isPlaying()) { 597 if (mRingtone != null && mRingtone.isPlaying()) { 617 if (mRingtone == null || !mRingtone.isPlaying()) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/ |
D | FingerprintLocationAnimationVideoView.java | 137 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in startAnimation() 153 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pauseAnimation()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintLocationAnimationVideoView.java | 137 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in startAnimation() 153 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pauseAnimation()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 71 if (mVideoView.isPlaying()) { 215 mWasPlayingWhenPaused = mVideoView.isPlaying(); in onPause()
|
/packages/apps/TV/src/com/android/tv/ |
D | MediaSessionWrapper.java | 117 void setPlaybackState(boolean isPlaying) { in setPlaybackState() argument 118 if (isPlaying) { in setPlaybackState()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 349 if (!mMediaPlayer.isPlaying()) { in resumePlayback() 395 if (mMediaPlayer.isPlaying()) { in pausePlayback() 417 if (mMediaPlayer.isPlaying()) { in stopPlayback()
|