Home | History | Annotate | Download | only in ui

Lines Matching refs:attachment

34 import com.android.mail.providers.Attachment;
54 private List<Attachment> mAttachments;
70 * Configures the grid to add {@link Attachment}s information to the views.
73 ConversationMessage message, List<Attachment> list, boolean loaderResult) {
79 // Adding tiles to grid and filling in attachment information
81 for (Attachment attachment : list) {
82 addMessageTileFromAttachment(attachment, index++, loaderResult);
86 private void addMessageTileFromAttachment(Attachment attachment, int index,
99 attachmentTile.render(attachment, index, this, loaderResult);
102 public ComposeAttachmentTile addComposeTileFromAttachment(Attachment attachment) {
107 attachmentTile.render(attachment, this);
233 public List<Attachment> getAttachments() {
250 * Save the preview for an attachment
253 public void set(Attachment attachment, Bitmap preview) {
254 final String attachmentIdentifier = attachment.getIdentifierUri().toString();
257 attachmentIdentifier, new AttachmentPreview(attachment, preview));
265 public Bitmap get(Attachment attachment) {
266 final String attachmentIdentifier = attachment.getIdentifierUri().toString();