Home | History | Annotate | Download | only in activity

Lines Matching defs:SUBJECT

60     private static final String SUBJECT = "This is the subject";
140 mSubjectView = (EditText) a.findViewById(R.id.subject);
174 * Subject = Re: Subject
181 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
189 checkFields(SENDER + ", ", null, null, "Re: " + SUBJECT, null, null);
201 checkFields(REPLYTO + ", ", null, null, "Re: " + SUBJECT, null, null);
272 * Subject = Fwd: Subject
276 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
284 checkFields(null, null, null, "Fwd: " + SUBJECT, null, null);
294 * Subject = Subject
301 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
309 checkFields(RECIPIENT_TO + ", ", null, null, SUBJECT, BODY, null);
314 // if subject is null, then cursor should be there instead
350 // if subject is null, then cursor should be there instead
386 // if subject is null, then cursor should be there instead
553 intent.putExtra(Intent.EXTRA_SUBJECT, SUBJECT);
561 checkFields(RECIPIENT_TO + ", ", RECIPIENT_CC, RECIPIENT_BCC, SUBJECT, null, null);
641 * data=mailto:user@domain.com?subject=This%20is%20%the%subject
646 Uri uri = Uri.parse("mailto:" + RECIPIENT_TO + "?subject=This%20is%20the%20subject");
655 checkFields(RECIPIENT_TO + ", ", null, null, "This is the subject", null, null);
669 * Helper method to quickly check (and assert) on the to, subject, and content views.
674 * @param subject expected value (null = it must be empty)
678 private void checkFields(String to, String cc, String bcc, String subject, String content,
688 if (subject == null) {
691 assertEquals(subject, subjectText);
736 * @param subject Subject of the message
740 private Message buildTestMessage(String to, String sender, String subject, String content)
754 message.mSubject = subject;