Searched defs:subject (Results 1 - 20 of 20) sorted by relevance

/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DConversationCursorTests.java69 private static final String SUBJECT_COLUMN = "subject";
81 private static ContentValues makeConvo(String subject, String folder, int read, int starred) { argument
83 cv.put(SUBJECT_COLUMN, subject);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMessageModification.java35 * Sets the message's subject. Only valid for drafts.
38 * @param subject the new subject
40 public static void putSubject(ContentValues values, String subject) { argument
41 values.put(MessageColumns.SUBJECT, subject);
H A DConversation.java62 public String subject; field in class:Conversation
215 dest.writeString(subject);
248 subject = in.readString();
287 sb.append(", subject=");
288 sb.append(subject);
326 subject = cursor.getString(UIProvider.CONVERSATION_SUBJECT_COLUMN);
327 // Don't allow null subject
328 if (subject == null) {
329 subject = "";
382 subject
419 create(long id, Uri uri, String subject, long dateMs, String snippet, boolean hasAttachment, Uri messageListUri, String senders, int numMessages, int numDrafts, int sendingState, int priority, boolean read, boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel, boolean spam, boolean phishing, boolean muted, Uri accountUri, ConversationInfo conversationInfo, Uri conversationBase, boolean isRemote, String attachmentPreviewUri0, String attachmentPreviewUri1, int attachmentPreviewStates, int attachmentPreviewsCount) argument
[all...]
H A DMessage.java80 public String subject; field in class:Message
230 dest.writeString(subject);
264 subject = in.readString();
324 subject = cursor.getString(UIProvider.MESSAGE_SUBJECT_COLUMN);
379 subject = mimeMessage.getSubject();
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java71 private static final String SUBJECT = "This is the subject";
136 String sender, String subject, String content) throws MessagingException {
159 if (subject != null) {
160 message.setSubject(subject);
135 buildTestMessage(String to, String cc, String bcc, String replyTo, String sender, String subject, String content) argument
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DMessage.java51 public abstract void setSubject(String subject) throws MessagingException; argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationViewHeader.java48 * A view for the subject and folders in the conversation view. This container
49 * makes an attempt to combine subject and folders on the same horizontal line if
51 * adjusts the layout to position the folders below the subject.
103 mSubjectView = (TextView) findViewById(R.id.subject);
140 public void setSubject(final String subject) { argument
141 mSubjectView.setText(subject);
142 if (TextUtils.isEmpty(subject)) {
H A DConversationItemView.java1056 final String subject = filterTag(mHeader.conversation.subject);
1059 Conversation.getSubjectAndSnippetForDisplay(mContext, subject, snippet));
1063 final int subjectTextLength = (subject != null) ? subject.length() : 0;
1064 if (!TextUtils.isEmpty(subject)) {
1071 // Start after the end of the subject text; since the subject may be
1132 // the start of the subject and is based on a max width.
1350 * If the subject contain
1354 filterTag(String subject) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockUiProvider.java180 int conversationId, String subject, int hasAttachments, int messageCount,
187 conversationMap.put(ConversationColumns.SUBJECT, "Conversation " + subject);
248 String subject, int hasAttachments, boolean addReplyTo) {
254 messageMap.put(MessageColumns.SUBJECT, "Message " + subject);
179 createConversationDetailsMap(int accountId, int conversationId, String subject, int hasAttachments, int messageCount, int draftCount) argument
247 createMessageDetailsMap(int accountId, int messageId, String subject, int hasAttachments, boolean addReplyTo) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSecureConversationViewController.java184 public void setSubject(String subject) { argument
185 mConversationHeaderView.setSubject(subject);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListingElement.java40 private String subject = null; field in class:BluetoothMapMessageListingElement
81 return subject;
84 public void setSubject(String subject) { argument
85 this.subject = subject;
225 if(subject != null)
226 xmlMsgElement.attribute("", "subject", subject);
H A DBluetoothMapbMessageMmsEmail.java96 private String subject = null; field in class:BluetoothMapbMessageMmsEmail
144 return subject;
146 public void setSubject(String subject) { argument
147 this.subject = subject;
305 if (subject != null){
306 // Use base64 encoding for the subject, as it may contain non US-ASCII characters or other
309 sb.append(Base64.encodeToString(subject.getBytes("utf-8"), Base64.DEFAULT));
312 if (subject != null)
313 sb.append("Subject: ").append(subject)
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetService.java434 senderBuilder, filterTag(conversation.subject));
622 * If the subject contains the tag of a mailing-list (text surrounded with []), return the
623 * subject with that tag ellipsized, e.g. "[android-gmail-team] Hello" -> "[andr...] Hello"
625 private static String filterTag(String subject) { argument
626 String result = subject;
627 if (subject.length() > 0 && subject.charAt(0) == '[') {
628 int end = subject.indexOf(']');
630 String tag = subject.substring(1, end);
631 result = "[" + Utils.ellipsize(tag, 7) + "]" + subject
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListItem.java530 String subject, Pattern highlight,
534 boolean hasSubject = !TextUtils.isEmpty(subject);
536 buf.append(mContext.getResources().getString(R.string.inline_subject, subject));
529 formatMessage(MessageItem msgItem, String body, String subject, Pattern highlight, String contentType) argument
H A DMessageUtils.java126 * cleanseMmsSubject will take a subject that's says, "<Subject: no subject>", and return
127 * a null string. Otherwise it will return the original subject string.
129 * @param subject the raw subject
132 public static String cleanseMmsSubject(Context context, String subject) { argument
133 if (TextUtils.isEmpty(subject)) {
134 return subject;
143 if (subject.equalsIgnoreCase(sNoSubjectStrings[i])) {
147 return subject;
[all...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeMessage.java319 public void setSubject(String subject) throws MessagingException { argument
321 setHeader("Subject", MimeUtility.foldAndEncode2(subject, HEADER_NAME_LENGTH));
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java828 conversation.subject,
914 // The notification content will be the subject of the conversation.
916 getSingleMessageLittleText(context, conversation.subject));
918 // The notification subtext will be the subject of the conversation for inbox
935 conversation.subject, message));
956 // and subject of the new message.
958 from, conversation.subject));
960 // The notification content will be the subject of the conversation for inbox
1092 * @param subject Subject of the new message that triggered the notification
1098 String senders, String subject, Strin
1097 getSingleMessageInboxLine(Context context, String senders, String subject, String snippet) argument
1151 getSingleMessageLittleText(Context context, String subject) argument
1170 getSingleMessageBigText(Context context, String subject, final Message message) argument
1219 getSingleMessageNotificationTitle(Context context, String sender, String subject) argument
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessagingNotification.java373 * @param subject text of mms subject
384 Intent clickIntent, String message, String subject,
391 mSubject = subject;
491 // Show the subject or the message (if no subject)
591 String subject = getMmsSubject(
593 subject = MessageUtils.cleanseMmsSubject(context, subject);
632 messageBody, subject,
383 NotificationInfo(boolean isSms, Intent clickIntent, String message, String subject, CharSequence ticker, long timeMillis, String title, Bitmap attachmentBitmap, Contact sender, int attachmentType, long threadId) argument
749 getNewMessageNotificationInfo( Context context, boolean isSms, String address, String message, String subject, long threadId, long timeMillis, Bitmap attachmentBitmap, Contact contact, int attachmentType) argument
1047 buildTickerMessage( Context context, String address, String subject, String body) argument
[all...]
/packages/apps/Mms/src/com/android/mms/data/
H A DWorkingMessage.java137 // MMS subject line for this message
311 // second - non-null String representing the text of an MMS subject
316 String subject = null;
325 // will put the subject in our supplied StringBuilder.
326 subject = sb.toString();
330 Pair<String, String> result = new Pair<String, String>(draftText, subject);
684 * Sets the MMS subject of the message. Passing null indicates that there
685 * is no subject. Passing "" will result in an empty subject being added
688 * MMS when the user adds a subject
1550 makeSendReq(Conversation conv, CharSequence subject) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java146 private static final String EXTRA_SUBJECT = "subject";
325 String quotedText, String subject, final ContentValues extraValues) {
326 launch(launcher, account, null, COMPOSE, null, null, quotedText, subject, extraValues);
333 String subject, final ContentValues extraValues) {
334 launch(launcher, account, null, COMPOSE, null, null, null, subject, extraValues);
401 String toAddress, String body, String quotedText, String subject,
421 if (subject != null) {
422 intent.putExtra(EXTRA_SUBJECT, subject);
917 message.subject = mSubject.getText().toString();
1142 mSubject = (TextView) findViewById(R.id.subject);
324 composeWithQuotedText(Context launcher, Account account, String quotedText, String subject, final ContentValues extraValues) argument
332 composeWithExtraValues(Context launcher, Account account, String subject, final ContentValues extraValues) argument
400 launch(Context launcher, Account account, Message message, int action, String toAddress, String body, String quotedText, String subject, final ContentValues extraValues) argument
1892 buildFormattedSubject(Resources res, String subject, int action) argument
[all...]

Completed in 402 milliseconds