Home
last modified time | relevance | path

Searched refs:mParts (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java110 private final ArrayList<MessagePartData> mParts; field in MessageData
204 mParts = new ArrayList<MessagePartData>(); in MessageData()
223 message.mParts.add(MessagePartData.createTextMessagePart("")); in createDraftMessage()
232 message.mParts.add(part); in createDraftMessage()
250 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createDraftSmsMessage()
269 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createDraftMmsMessage()
291 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createReceivedSmsMessage()
304 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSharedMessage()
327 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSmsMessage()
373 mParts.add(part); in addPart()
[all …]
DConversationMessageData.java57 private List<MessagePartData> mParts; field in ConversationMessageData
92 mParts = makeParts( in bind()
356 return mParts;
360 for (final MessagePartData part : mParts) {
382 for (final MessagePartData part : mParts) {
420 for (final MessagePartData part : mParts) {
433 if (mParts.isEmpty()) {
437 for (final MessagePartData part : mParts) {
616 return MessageData.toString(mMessageId, mParts); in toString()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduBody.java25 private Vector<PduPart> mParts = null; field in PduBody
36 mParts = new Vector<PduPart>(); in PduBody()
86 return mParts.add(part); in addPart()
102 mParts.add(index, part); in addPart()
112 return mParts.remove(index); in removePart()
119 mParts.clear(); in removeAll()
129 return mParts.get(index); in getPart()
139 return mParts.indexOf(part); in getPartIndex()
148 return mParts.size(); in getPartsNum()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduBody.java23 private Vector<PduPart> mParts = null; field in PduBody
29 mParts = new Vector<PduPart>(); in PduBody()
44 return mParts.add(part); in addPart()
59 mParts.add(index, part); in addPart()
66 mParts.clear(); in removeAll()
76 return mParts.get(index); in getPart()
85 return mParts.size(); in getPartsNum()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMultipart.java23 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>(); field in Multipart
28 mParts.add(part); in addBodyPart()
32 mParts.add(index, part); in addBodyPart()
36 return mParts.get(index); in getBodyPart()
44 return mParts.size(); in getCount()
48 return mParts.remove(part); in removeBodyPart()
52 mParts.remove(index); in removeBodyPart()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMultipart.java24 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>(); field in Multipart
29 mParts.add(part); in addBodyPart()
33 mParts.add(index, part); in addBodyPart()
37 return mParts.get(index); in getBodyPart()
45 return mParts.size(); in getCount()
49 return mParts.remove(part); in removeBodyPart()
53 mParts.remove(index); in removeBodyPart()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java345 public List<MmsPart> mParts = Lists.newArrayList(); field in DatabaseMessages.MmsMessage
385 mParts.clear(); in load()
409 mParts.add(part); in addPart()
413 return mParts; in getParts()
435 for (final MmsPart part : mParts) { in processParts()
504 mParts = new ArrayList<MmsPart>(); in MmsMessage()
507 mParts.add((MmsPart) in.readParcelable(getClass().getClassLoader())); in MmsMessage()
551 out.writeInt(mParts.size()); in writeToParcel()
552 for (final MmsPart part : mParts) { in writeToParcel()
DMmsUtils.java1761 for (final DatabaseMessages.MmsPart part : mms.mParts) { in createMmsMessage()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java109 private final ArrayList<BodyPart> mParts = new ArrayList<BodyPart>(); field in MessageTestUtils.MultipartBuilder
137 mParts.add(bodyPart); in addBodyPart()
149 for (BodyPart p : mParts) { in build()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java93 for (int i = 0, count = mParts.size(); i < count; i++) { in writeTo()
94 BodyPart bodyPart = mParts.get(i); in writeTo()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMultipart.java93 for (int i = 0, count = mParts.size(); i < count; i++) { in writeTo()
94 BodyPart bodyPart = mParts.get(i); in writeTo()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java231 if (mms.mParts.size() < 1) { in storeMms()