Home
last modified time | relevance | path

Searched refs:messageText (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java77 final String messageText, final String subject) { in insertNewMessage() argument
79 subId, recipients, messageText, subject); in insertNewMessage()
105 final String messageText, final String subject) { in InsertNewMessageAction() argument
107 if (TextUtils.isEmpty(recipients) || TextUtils.isEmpty(messageText)) { in InsertNewMessageAction()
112 actionParameters.putString(KEY_MESSAGE_TEXT, messageText); in InsertNewMessageAction()
242 final String messageText = actionParameters.getString(KEY_MESSAGE_TEXT); in createMessage() local
281 return MessageData.createDraftSmsMessage(conversationId, self.getId(), messageText); in createMessage()
283 return MessageData.createDraftMmsMessage(conversationId, self.getId(), messageText, in createMessage()
305 final String messageText = message.getMessageText(); in insertBroadcastSmsMessage() local
311 messageText, in insertBroadcastSmsMessage()
[all …]
DSendMessageAction.java202 final String messageText = message.getMessageText(); in doBackgroundWork() local
206 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, in doBackgroundWork()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java112 protected MessagePartData(final String messageText) { in MessagePartData() argument
113 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE, in MessagePartData()
128 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() argument
130 this(null, messageText, contentType, contentUri, width, height, false /*singlePartOnly*/); in MessagePartData()
136 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() argument
138 this(null, messageText, contentType, contentUri, width, height, singlePartOnly); in MessagePartData()
144 private MessagePartData(final String messageId, final String messageText, in MessagePartData() argument
148 mText = messageText; in MessagePartData()
159 public static MessagePartData createTextMessagePart(final String messageText) { in createTextMessagePart() argument
160 return new MessagePartData(messageText); in createTextMessagePart()
DMediaPickerMessagePartData.java30 public MediaPickerMessagePartData(final Rect startRect, final String messageText, in MediaPickerMessagePartData() argument
32 this(startRect, messageText, contentType, contentUri, width, height, in MediaPickerMessagePartData()
43 public MediaPickerMessagePartData(final Rect startRect, final String messageText, in MediaPickerMessagePartData() argument
46 super(messageText, contentType, contentUri, width, height, onlySingleAttachment); in MediaPickerMessagePartData()
DMessageData.java243 final String selfId, final String messageText) { in createDraftSmsMessage() argument
250 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createDraftSmsMessage()
259 final String selfId, final String messageText, final String subjectText) { in createDraftMmsMessage() argument
268 if (!TextUtils.isEmpty(messageText)) { in createDraftMmsMessage()
269 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createDraftMmsMessage()
278 final String participantId, final String selfId, final String messageText, in createReceivedSmsMessage() argument
291 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createReceivedSmsMessage()
300 public static MessageData createSharedMessage(final String messageText) { in createSharedMessage() argument
303 if (!TextUtils.isEmpty(messageText)) { in createSharedMessage()
304 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSharedMessage()
[all …]
DDraftMessageData.java253 private void setMessageText(final String messageText, final boolean notify) { in setMessageText() argument
254 mMessageText = messageText; in setMessageText()
268 public void setMessageText(final String messageText) { in setMessageText() argument
269 setMessageText(messageText, false); in setMessageText()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java477 public static ArrayList<SmsPdu> getSubmitPdus(String messageText, String address){ in getSubmitPdus() argument
485 …ndroid.internal.telephony.cdma.SmsMessage.calculateLength((CharSequence)messageText, false, true) : in getSubmitPdus()
486 … com.android.internal.telephony.gsm.SmsMessage.calculateLength((CharSequence)messageText, false); in getSubmitPdus()
495 ArrayList<String> smsFragments = SmsMessage.fragmentText(messageText); in getSubmitPdus()
576 public static ArrayList<SmsPdu> getDeliverPdus(String messageText, String address, long date){ in getDeliverPdus() argument
577 ArrayList<SmsPdu> deliverPdus = getSubmitPdus(messageText, address); in getDeliverPdus()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java44 public void updateMessageTextStats(final int selfSubId, final String messageText) { in updateMessageTextStats() argument
45 final int[] params = SmsMessage.calculateLength(messageText, false); in updateMessageTextStats()
DMessageNotificationState.java852 final String messageText = convMessageData.getText(); in createConversationInfoList() local
857 CharSequence text = messageText; in createConversationInfoList()
/packages/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.java88 TextView messageText = (TextView) dialog.findViewById(android.R.id.message); in onCreate() local
89 messageText.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java52 protected void verifyContent(final ConversationMessageView view, final String messageText, in verifyContent() argument
59 assertEquals(messageText, messageTextView.getText()); in verifyContent()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java268 private void updateViewContent(final String messageText, in updateViewContent() argument
377 } else if (!TextUtils.isEmpty(messageText)) { in updateViewContent()
378 remoteViews.setTextViewText(R.id.message, messageText); in updateViewContent()
380 description.append(messageText); in updateViewContent()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java587 final String messageText = mComposeEditText.getText().toString(); in writeDraftMessage() local
588 mBinding.getData().setMessageText(messageText); in writeDraftMessage()
628 final String messageText = mComposeEditText.getText().toString(); in updateVisualsOnDraftChanged() local
630 draftMessageData.setMessageText(messageText); in updateVisualsOnDraftChanged()
638 final boolean hasMessageText = (TextUtils.getTrimmedLength(messageText) > 0); in updateVisualsOnDraftChanged()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java2530 public static int sendSmsMessage(final String recipient, final String messageText,
2545 messageText,