/packages/apps/Email/provider_src/com/android/email/ |
D | LegacyConversions.java | 397 final MimeMultipart mp = new MimeMultipart(); in makeMessage() local 398 mp.setSubType("mixed"); in makeMessage() 399 message.setBody(mp); in makeMessage() 402 addTextBodyPart(mp, "text/html", in makeMessage() 409 addTextBodyPart(mp, "text/plain", in makeMessage() 448 addAttachmentPart(mp, mimeType, contentSize, filename, contentId, content); in makeMessage() 473 private static void addTextBodyPart(final MimeMultipart mp, final String contentType, in addTextBodyPart() argument 481 mp.addBodyPart(bp); in addTextBodyPart() 495 protected static void addAttachmentPart(final Multipart mp, final String contentType, in addAttachmentPart() argument 507 mp.addBodyPart(bp); in addAttachmentPart()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 385 MimeMultipart mp = (MimeMultipart)part.getBody(); in collectParts() local 387 if (mp.getSubTypeForTest().equals("alternative")) { in collectParts() 388 for (int i = 0; i < mp.getCount(); i++) { in collectParts() 389 if (mp.getBodyPart(i).isMimeType("text/html")) { in collectParts() 395 for (int i = 0; i < mp.getCount(); i++) { in collectParts() 397 BodyPart bp = mp.getBodyPart(i); in collectParts()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 369 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/src/com/android/music/ |
D | AudioPreview.java | 245 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()
|
D | MusicPicker.java | 653 public void onCompletion(MediaPlayer mp) { in onCompletion() argument 654 if (mMediaPlayer == mp) { in onCompletion() 655 mp.stop(); in onCompletion() 656 mp.release(); in onCompletion()
|
D | MediaPlaybackService.java | 1953 public void onCompletion(MediaPlayer mp) { 1954 if (mp == mCurrentMediaPlayer && mNextMediaPlayer != null) { 1973 public boolean onError(MediaPlayer mp, int what, int extra) { 2053 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | MediaUtilImpl.java | 47 public void onCompletion(final MediaPlayer mp) { in playSound() 51 mp.stop(); in playSound() 52 mp.release(); in playSound()
|
D | NotificationPlayer.java | 221 public void onCompletion(final MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTest.java | 200 final MimeMultipart mp = new MimeMultipart(); in testAttachmentRoundTrip() local 201 mp.setSubType("mixed"); in testAttachmentRoundTrip() 222 LegacyConversions.addAttachmentPart(mp, "text/plain", size, "test.txt", in testAttachmentRoundTrip() 231 outMessage.setBody(mp); in testAttachmentRoundTrip()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MessageTestUtils.java | 148 final MimeMultipart mp = new MimeMultipart(mContentType); in build() local 150 mp.addBodyPart(p); in build() 152 return mp; in build()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 232 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/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 489 MimeMultipart mp = new MimeMultipart(); in parseBodyStructure() local 504 mp.addBodyPart(bp); in parseBodyStructure() 508 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 513 part.setBody(mp); in parseBodyStructure()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 131 public boolean onError(MediaPlayer mp, int what, int extra) { in doStart() 146 public void onCompletion(MediaPlayer mp) { in doStart()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
D | Message.java | 91 Multipart mp = (Multipart) body; in writeTo() local 92 mp.writeTo(out); in writeTo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
D | SetupWizardActivity.java | 202 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/SoundRecorder/src/com/android/soundrecorder/ |
D | Recorder.java | 250 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument 256 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimVideo.java | 329 public void onCompletion(MediaPlayer mp) { in onCompletion() argument 334 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
|
D | MoviePlayer.java | 360 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 860 MimeMultipart mp = new MimeMultipart(); in parseBodyStructure() local 875 mp.addBodyPart(bp); in parseBodyStructure() 879 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 884 part.setBody(mp); in parseBodyStructure()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailPlaybackPresenter.java | 543 public void onPrepared(MediaPlayer mp) { in onPrepared() argument 556 if (!mp.isPlaying()) { in onPrepared() 572 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 396 public boolean onError(MediaPlayer mp, int what, int extra) { in playAlertTone() 410 public void onCompletion(MediaPlayer mp) { in playAlertTone()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 388 Matrix mp = master.computeImageToScreen(previousImage, 0, false); in drawImageAndAnimate() local 390 mp.mapRect(dp); in drawImageAndAnimate() 480 canvas.drawBitmap(previousImage, mp, mPaint); in drawImageAndAnimate()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | VideoPreference.java | 72 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in VideoPreference()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 236 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.java | 300 public boolean onError(MediaPlayer mp, int what, int extra) {
|