Home
last modified time | relevance | path

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

/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/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()
306 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSharedMessage()
329 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSmsMessage()
375 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) {
618 return MessageData.toString(mMessageId, mParts); in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java156 private ArrayList<MimePart> mParts = null; field in BluetoothMapbMessageMime
176 return mParts; in getMimeParts()
184 if (mParts != null) { in getMessageAsText()
185 for (MimePart part : mParts) { in getMessageAsText()
195 if (mParts == null) { in addMimePart()
196 mParts = new ArrayList<BluetoothMapbMessageMime.MimePart>(); in addMimePart()
199 mParts.add(newPart); in addMimePart()
348 if (mParts != null) { in updateCharset()
350 for (MimePart part : mParts) { in updateCharset()
364 if (mParts != null) { in getSize()
[all …]
/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.java1725 for (final DatabaseMessages.MmsPart part : mms.mParts) { in createMmsMessage()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java231 if (mms.mParts.size() < 1) { in storeMms()