Searched refs:subject (Results 1 - 25 of 40) sorted by relevance

12

/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...]
H A DBluetoothMapContent.java457 String subject = c.getString(c.getColumnIndex(Sms.BODY));
458 size = subject.length();
614 String subject = "";
621 subject = c.getString(c.getColumnIndex(Sms.BODY));
623 subject = c.getString(c.getColumnIndex(Mms.SUBJECT));
624 if (subject == null || subject.length() == 0) {
625 /* Get subject from mms text body parts - if any exists */
627 subject = getTextPartsMms(id);
630 if (subject !
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
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 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 DMessage.java79 public String subject; field in class:Message
229 dest.writeString(subject);
263 subject = in.readString();
323 subject = cursor.getString(UIProvider.MESSAGE_SUBJECT_COLUMN);
378 subject = mimeMessage.getSubject();
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
H A DMockUiProviderTests.java158 int subject = UIProvider.CONVERSATION_SUBJECT_COLUMN;
164 assertEquals(convFoldersCursor.getString(subject),
170 assertEquals(convFoldersCursor.getString(subject),
187 int subject = messageCursor.getColumnIndex(UIProvider.MessageColumns.SUBJECT);
195 assertEquals(messageCursor.getString(subject), "Message zeroConv0");
202 assertEquals(messageCursor.getString(subject), "Message zeroConv1");
/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 DConversationItemViewCoordinates.java42 * (eg, checkmark, star, subject, sender, folders, etc.) It will inflate a view,
405 final TextView subject = (TextView) view.findViewById(R.id.subject);
406 final int subjectTopAdjust = getLatinTopAdjustment(subject);
407 subjectX = getX(subject);
409 subjectY = getY(subject) + subjectTopAdjust;
411 subjectY = getY(subject) + sendersTopAdjust;
413 subjectWidth = subject.getWidth();
414 subjectHeight = subject.getHeight();
415 subjectLineCount = getLineCount(subject);
[all...]
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/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/ui/
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...]
H A DMessageItem.java167 String subject = cursor.getString(columnsMap.mColumnMmsSubject);
168 if (!TextUtils.isEmpty(subject)) {
171 PduPersister.getBytes(subject));
/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/Mms/src/com/android/mms/transaction/
H A DRetrieveTransaction.java234 String subject = null;
244 subject = cursor.getString(subjectIdx);
246 if (subject != null) {
248 .getBytes(subject));
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/emailcommon/mail/
H A DMessage.java51 public abstract void setSubject(String subject) throws MessagingException; argument
/packages/apps/Mms/src/com/android/mms/util/
H A DDownloadManager.java250 String subject = (v != null) ? v.getString()
258 return mContext.getString(R.string.dl_failure_notification, subject, from);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSecureConversationViewController.java184 public void setSubject(String subject) { argument
185 mConversationHeaderView.setSubject(subject);
H A DSecureConversationViewFragment.java146 headerView.setSubject(mConversation.subject);
259 headerView.setSubject(conv.subject);
/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/KeyChain/src/com/android/keychain/
H A DKeyChainActivity.java302 String subject = mSubjects.get(adapterPosition);
303 if (subject == null) {
306 holder.mSubjectTextView.setText(subject);
/packages/apps/Email/tests/src/com/android/email/activity/
H A DMessageComposeTests.java74 private static final String SUBJECT = "This is the subject";
159 mSubjectView = (EditText) a.findViewById(R.id.subject);
453 // if subject is null, then cursor should be there instead
489 // if subject is null, then cursor should be there instead
525 // if subject is null, then cursor should be there instead
787 * data=mailto:user@domain.com?subject=This%20is%20%the%subject
792 Uri uri = Uri.parse("mailto:" + RECIPIENT_TO + "?subject=This%20is%20the%20subject");
802 RECIPIENT_TO + ", ", null, null, "This is the subject", nul
825 checkFields(String to, String cc, String bcc, String subject, String content, String signature) argument
905 buildTestMessage(String to, String sender, String subject, String content) 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 320 milliseconds

12