Home | History | Annotate | Download | only in browse

Lines Matching refs:Attachment

41 import com.android.mail.providers.Attachment;
123 // Destroy the loader if we are attempting to load a different attachment
140 // kick off load of Attachment objects in background thread
161 final List<Attachment> attachments;
169 // before the attachment loader results are in, we can still render immediately using
176 private void renderAttachments(List<Attachment> attachments, boolean loaderResult) {
183 final List<Attachment> tiledAttachments = new ArrayList<Attachment>(maxSize);
184 final List<Attachment> barAttachments = new ArrayList<Attachment>(maxSize);
186 for (Attachment attachment : attachments) {
190 if (!attachment.isInlineAttachment() || mCallbacks.isSecure()) {
191 if (AttachmentTile.isTiledAttachment(attachment)) {
192 tiledAttachments.add(attachment);
194 barAttachments.add(attachment);
199 mMessageHeaderItem.getMessage().attachmentsJson = Attachment.toJSONArray(attachments);
214 private void renderTiledAttachments(List<Attachment> tiledAttachments, boolean loaderResult) {
222 private void renderBarAttachments(List<Attachment> barAttachments, boolean loaderResult) {
226 for (Attachment attachment : barAttachments) {
227 final Uri id = attachment.getIdentifierUri();
238 barAttachmentView.render(attachment, account, mMessageHeaderItem.getMessage(),