Lines Matching defs:parts
35 public long mId = INVALID_VALUE; /* The _id from the content provider, can be used to sort the parts if needed */
133 private ArrayList<MimePart> parts = null;
149 * @return the parts
152 return parts;
160 if(parts != null) {
161 for(MimePart part : parts) {
170 if(parts == null)
171 parts = new ArrayList<BluetoothMapbMessageMms.MimePart>();
173 parts.add(newPart);
284 if(parts != null) {
286 for(MimePart part : parts) {
298 if(parts != null) {
299 for(MimePart part : parts) {
417 * to use encoding schemes for non-text parts, it is still not clear what to do about non
436 if(parts != null) {
438 for(MimePart part : parts) {
439 part.encodePlainText(sb); /* We call encode on all parts, to include a tag, where an attachment is missing. */
442 for(MimePart part : parts) {
444 part.encode(sb, getBoundary(), (count == parts.size()));
550 String[] parts = partStr.split("\r\n\r\n", 2); // Split the header from the body
555 String[] headers = parts[0].split("\r\n");
558 if(parts.length != 2) {
606 body = parts[1];
645 * 3) split on boundary to split into parts (or use the remaining as a part,
678 parts.get(0).mContentType = contentType;