Searched refs:numAttachments (Results 1 – 5 of 5) sorted by relevance
257 final int numAttachments = message.getAttachmentCount(false /* includeInline */); in renderAttachments() local260 if (numAttachments == 0) { in renderAttachments()269 if (numAttachments > 1) { in renderAttachments()272 R.plurals.num_attachments, numAttachments, numAttachments)) in renderAttachments()
229 private Message prepareLegacyMessageWithAttachments(int numAttachments, in prepareLegacyMessageWithAttachments() argument231 BodyPart[] attachmentParts = new BodyPart[numAttachments]; in prepareLegacyMessageWithAttachments()232 for (int i = 0; i < numAttachments; ++i) { in prepareLegacyMessageWithAttachments()
665 int numAttachments = 0; in getAttachmentCount() local671 numAttachments++; in getAttachmentCount()674 return numAttachments; in getAttachmentCount()
1479 int numAttachments = EmailContent.count( in testCascadeMessageDelete() local1481 assertEquals(4, numAttachments); in testCascadeMessageDelete()1491 numAttachments = EmailContent.count( in testCascadeMessageDelete()1493 assertEquals(2, numAttachments); in testCascadeMessageDelete()1503 numAttachments = EmailContent.count( in testCascadeMessageDelete()1505 assertEquals(0, numAttachments); in testCascadeMessageDelete()
637 private void populateAccountMailbox(Account account, long mailboxId, int numAttachments) in populateAccountMailbox() argument648 for (int count = 0; count < numAttachments; count++) { in populateAccountMailbox()