Lines Matching defs:text
41 import android.text.TextUtils;
42 import android.text.util.Rfc822Token;
43 import android.text.util.Rfc822Tokenizer;
150 // amount of space to leave in a MMS for text and overhead.
223 "<text src=\"%s\" region=\"Text\" />" +
380 final String srcName = String.format("text.%06d.txt", index);
381 final String text = message.getMessageText();
382 totalLength += addTextPart(context, pb, text, srcName);
430 final String text, final String srcName) {
433 // Set Charset if it's a text media.
442 part.setData(text.getBytes());
884 final String dest, final String text, final long timestamp, final int status,
889 text, null /* subject */, timestamp, true /* read */,
1763 // Import media and text parts (skip SMIL and others)
1782 String text = part.mText;
1783 if (text != null && text.length() > mmsTextLengthLimit) {
1784 // Limit the text to a reasonable value. We ran into a situation where a vcard
1785 // with a photo was sent as plain text. The massive amount of text caused the
1786 // app to hang, ANR, and eventually crash in native text code.
1787 text = text.substring(0, mmsTextLengthLimit);
1789 messagePart = MessagePartData.createTextMessagePart(text);
2411 * Create an MMS message with subject, text and image