Home
last modified time | relevance | path

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

12

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DMessageNotificationViewHolder.java110 CharSequence messageText = null; in bindBody() local
128 messageText = message.getText(); in bindBody()
151 messageText = mContext.getResources().getQuantityString( in bindBody()
153 } else if (TextUtils.isEmpty(messageText)) { in bindBody()
154 messageText = extras.getCharSequence(Notification.EXTRA_TEXT); in bindBody()
171 if (!TextUtils.isEmpty(messageText)) { in bindBody()
172 messageText = PreprocessingManager.getInstance(mContext).trimText(messageText); in bindBody()
174 mMessageView.setText(messageText); in bindBody()
192 mBodyView.bindTitleAndMessage(conversationTitle, messageText); in bindBody()
/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()
243 final String messageText = actionParameters.getString(KEY_MESSAGE_TEXT); in createMessage() local
282 return MessageData.createDraftSmsMessage(conversationId, self.getId(), messageText); in createMessage()
284 return MessageData.createDraftMmsMessage(conversationId, self.getId(), messageText, in createMessage()
306 final String messageText = message.getMessageText(); in insertBroadcastSmsMessage() local
312 messageText, in insertBroadcastSmsMessage()
[all …]
DSendMessageAction.java201 final String messageText = message.getMessageText(); in doBackgroundWork() local
205 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, in doBackgroundWork()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java125 protected MessagePartData(final String messageText) { in MessagePartData() argument
126 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE, in MessagePartData()
141 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() argument
143 this(null, messageText, contentType, contentUri, width, height, false /*singlePartOnly*/); in MessagePartData()
149 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() argument
151 this(null, messageText, contentType, contentUri, width, height, singlePartOnly); in MessagePartData()
157 private MessagePartData(final String messageId, final String messageText, in MessagePartData() argument
161 mText = messageText; in MessagePartData()
172 public static MessagePartData createTextMessagePart(final String messageText) { in createTextMessagePart() argument
173 return new MessagePartData(messageText); in createTextMessagePart()
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
305 if (!TextUtils.isEmpty(messageText)) { in createSharedMessage()
306 message.mParts.add(MessagePartData.createTextMessagePart(messageText)); in createSharedMessage()
[all …]
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()
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/Car/Messenger/src/com/android/car/messenger/
DMapMessage.java62 String messageText = intent.getStringExtra(android.content.Intent.EXTRA_TEXT); in parseFrom() local
73 messageText, in parseFrom()
83 String messageText, in MapMessage() argument
89 boolean missingText = (messageText == null); in MapMessage()
108 mMessageText = messageText; in MapMessage()
DMessengerDelegate.java181 protected void sendMessage(SenderKey senderKey, String messageText) { in sendMessage() argument
202 senderKey.getDeviceAddress(), recipientUris, messageText, in sendMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListItem.java75 SpannableStringBuilder messageText = new SpannableStringBuilder(message.getMessageBody()); in bind() local
86 messageText.setSpan(new StyleSpan(Typeface.BOLD), 0, messageText.length(), in bind()
94 mMessageView.setText(messageText); in bind()
DCellBroadcastAlertDialog.java486 private void addLinks(@NonNull TextView textView, @NonNull String messageText, in addLinks() argument
488 Spannable text = new SpannableString(messageText); in addLinks()
553 String messageText = message.getMessageBody(); in updateAlertText() local
554 if (textView != null && messageText != null) { in updateAlertText()
557 addLinks(textView, messageText, linkMethod); in updateAlertText()
560 textView.setText(messageText); in updateAlertText()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DMessage.java94 private Message(String senderName, String deviceId, String messageText, long receiveTime, in Message() argument
99 boolean missingText = (messageText == null); in Message()
123 this.mMessageText = messageText; in Message()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java516 public static ArrayList<SmsPdu> getSubmitPdus(Context context, String messageText, in getSubmitPdus() argument
525 int[] ted = SmsMessage.calculateLength((CharSequence) messageText, false); in getSubmitPdus()
535 ArrayList<String> smsFragments = smsMng.divideMessage(messageText); in getSubmitPdus()
579 public static ArrayList<SmsPdu> getDeliverPdus(Context context, String messageText, in getDeliverPdus() argument
581 ArrayList<SmsPdu> deliverPdus = getSubmitPdus(context, 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.java854 final String messageText = convMessageData.getText(); in createConversationInfoList() local
859 CharSequence text = messageText; in createConversationInfoList()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java171 TextView messageText = view.findViewById(R.id.answer_message_text); in onViewCreated() local
172 if (messageText != null) { in onViewCreated()
173 messageText.setText(getSubject()); in onViewCreated()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java268 private void updateViewContent(final String messageText, in updateViewContent() argument
378 } else if (!TextUtils.isEmpty(messageText)) { in updateViewContent()
379 remoteViews.setTextViewText(R.id.message, messageText); in updateViewContent()
381 description.append(messageText); in updateViewContent()
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DLegacyConsentUiHelper.java135 String messageText = termsHeaders.isEmpty() in assembleDOTermsMessage() local
141 Spannable result = new SpannableString(messageText); in assembleDOTermsMessage()
142 int start = messageText.indexOf(linkText); in assembleDOTermsMessage()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DRegulatoryInfoDisplayActivity.java119 TextView messageText = (TextView) dialog.findViewById(android.R.id.message); in onCreate() local
120 messageText.setGravity(Gravity.CENTER); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRegulatoryInfoDisplayActivity.java114 TextView messageText = (TextView) dialog.findViewById(android.R.id.message); in onCreate() local
115 messageText.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.java114 TextView messageText = (TextView) dialog.findViewById(android.R.id.message); in onCreate() local
115 messageText.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java594 final String messageText = mComposeEditText.getText().toString(); in writeDraftMessage() local
595 mBinding.getData().setMessageText(messageText); in writeDraftMessage()
672 final String messageText = mComposeEditText.getText().toString(); in updateVisualsOnDraftChanged() local
674 draftMessageData.setMessageText(messageText); in updateVisualsOnDraftChanged()
682 final boolean hasMessageText = (TextUtils.getTrimmedLength(messageText) > 0); in updateVisualsOnDraftChanged()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsRegistrationActivity.java265 EditText messageText = reasonView.findViewById(R.id.imsreasoninfo_message); in getReasonInfo() local
283 String message = messageText.getText().toString(); in getReasonInfo()
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/
DMessengerDelegateTest.java230 String senderName, String messageText, Long timestamp, boolean isReadOnPhone) { in createMessageIntent() argument
238 intent.putExtra(android.content.Intent.EXTRA_TEXT, messageText); in createMessageIntent()

12