Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java153 NewVoicemailMediaPlayer mp, in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() argument
179 mediaPlayer = mp; in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
204 if (mp.isPlaying() && mp.getLastPlayedOrPlayingVoicemailUri().equals(voicemailUri)) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
206 mp.getLastPlayedOrPlayingVoicemailUri() in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
207 .equals(mp.getLastPreparedOrPreparingToPlayVoicemailUri())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
213 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mp.getCurrentPosition())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
215 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
216 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
218 seekBarView.setProgress(mp.getCurrentPosition()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
220 } else if (mediaPlayer.isPaused() && mp.getLastPausedVoicemailUri().equals(voicemailUri)) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
[all …]
DNewVoicemailViewHolder.java369 NewVoicemailViewHolder newVoicemailViewHolder, NewVoicemailMediaPlayer mp) { in updateMediaPlayerViewWithPlayingState() argument
376 mp.getCurrentPosition(), in updateMediaPlayerViewWithPlayingState()
377 mp.getDuration(), in updateMediaPlayerViewWithPlayingState()
378 mp.isPlaying()); in updateMediaPlayerViewWithPlayingState()
381 mp.isPlaying(), in updateMediaPlayerViewWithPlayingState()
395 mp.getLastPlayedOrPlayingVoicemailUri() in updateMediaPlayerViewWithPlayingState()
396 .equals(mp.getLastPreparedOrPreparingToPlayVoicemailUri()), in updateMediaPlayerViewWithPlayingState()
400 mediaPlayerView.updateSeekBarDurationAndShowPlayButton(mp); in updateMediaPlayerViewWithPlayingState()
DNewVoicemailAdapter.java890 public void onCompletion(MediaPlayer mp) {
921 public void onPrepared(MediaPlayer mp) {
953 public boolean onError(MediaPlayer mp, int what, int extra) {
956 mediaPlayer.getMediaPlayer().equals(mp),
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java369 MimeMultipart mp = (MimeMultipart) part.getBody(); in collectParts() local
371 if (mp.getSubTypeForTest().equals("alternative")) { in collectParts()
372 for (int i = 0; i < mp.getCount(); i++) { in collectParts()
373 if (mp.getBodyPart(i).isMimeType("text/html")) { in collectParts()
379 for (int i = 0; i < mp.getCount(); i++) { in collectParts()
381 BodyPart bp = mp.getBodyPart(i); in collectParts()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt218 override fun onPrepared(mp: MediaPlayer?) { in onPrepared()
220 mPlayer = mp as PreviewPlayer in onPrepared()
336 override fun onError(mp: MediaPlayer?, what: Int, extra: Int): Boolean { in onError()
342 override fun onCompletion(mp: MediaPlayer?) { in onCompletion()
439 override fun onPrepared(mp: MediaPlayer?) { in onPrepared()
441 mActivity.onPrepared(mp) in onPrepared()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java245 public void onPrepared(MediaPlayer mp) { in onPrepared() argument
247 mPlayer = (PreviewPlayer) mp; in onPrepared()
370 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
376 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
478 public void onPrepared(MediaPlayer mp) { in onPrepared() argument
480 mActivity.onPrepared(mp); in onPrepared()
/packages/apps/Messaging/src/com/android/messaging/util/
DMediaUtilImpl.java47 public void onCompletion(final MediaPlayer mp) { in playSound()
51 mp.stop(); in playSound()
52 mp.release(); in playSound()
DNotificationPlayer.java221 public void onCompletion(final MediaPlayer mp) { in onCompletion() argument
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java232 public void onCompletion(final MediaPlayer mp) { in setupMediaPlayer()
246 public void onPrepared(final MediaPlayer mp) { in setupMediaPlayer()
264 public boolean onError(final MediaPlayer mp, final int what, final int extra) { in setupMediaPlayer()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java160 public boolean onError(MediaPlayer mp, int what, int extra) { in doStart()
175 public void onCompletion(MediaPlayer mp) { in doStart()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java490 MimeMultipart mp = new MimeMultipart(); in parseBodyStructure() local
505 mp.addBodyPart(bp); in parseBodyStructure()
509 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure()
514 part.setBody(mp); in parseBodyStructure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupWizardActivity.java202 public void onPrepared(final MediaPlayer mp) { in onCreate()
206 mp.setLooping(true); in onCreate()
211 public boolean onError(final MediaPlayer mp, final int what, final int extra) { in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java329 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
334 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
DMoviePlayer.java360 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java545 public void onPrepared(MediaPlayer mp) { in onPrepared() argument
558 if (!mp.isPlaying()) { in onPrepared()
574 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java453 public boolean onError(MediaPlayer mp, int what, int extra) { in playAlertTone()
467 public void onCompletion(MediaPlayer mp) { in playAlertTone()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java389 Matrix mp = primary.computeImageToScreen(previousImage, 0, false); in drawImageAndAnimate() local
391 mp.mapRect(dp); in drawImageAndAnimate()
481 canvas.drawBitmap(previousImage, mp, mPaint); in drawImageAndAnimate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DVideoPreference.java227 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in initMediaPlayer()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java236 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java236 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in initMediaPlayer()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java311 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in requestMediaKeyFocus() argument
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java428 public void onCompletion(MediaPlayer mp) { in playMediaTone()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java300 public boolean onError(MediaPlayer mp, int what, int extra) {
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...

12