Home | History | Annotate | Download | only in email

Lines Matching full:part

25 import com.android.email.mail.Part;
166 EmailContent.Message localMessage, ArrayList<Part> viewables)
177 for (Part viewable : viewables) {
219 // write the combined data to the body part
268 ArrayList<Part> attachments, boolean upgrading) throws MessagingException, IOException {
270 for (Part attachmentPart : attachments) {
276 * Add a single attachment part to the message
290 * @param part a single attachment part from POP or IMAP
295 Part part, boolean upgrading) throws MessagingException, IOException {
300 String contentType = MimeUtility.unfoldAndDecode(part.getContentType());
303 String contentDisposition = MimeUtility.unfoldAndDecode(part.getDisposition());
318 Body body = part.getBody();
348 String disposition = part.getDisposition();
359 String[] partIds = part.getHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA);
363 localAttachment.mMimeType = part.getMimeType();
365 localAttachment.mContentId = part.getContentId();
412 saveAttachmentBody(context, part, localAttachment, localMessage.mAccountKey);
434 * Save the body part of a single attachment, to a file in the attachments directory.
436 public static void saveAttachmentBody(Context context, Part part, Attachment localAttachment,
438 if (part.getBody() != null) {
441 InputStream in = part.getBody().getInputStream();
522 // If there is a quoted part (forwarding or reply), add the intro first, and then the
564 * Helper method to add a body part for a given type of text, if found
566 * @param mp The text body part will be added to this multipart