History log of /packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb898fde4ceff6689e2bb384e4eb14a4cd66106b 20-Sep-2014 Jin Cao <jinyan@google.com> Properly assign content description

Need to bind the attachment name to the content description.

b/17490470

Change-Id: I24cdc12ca35dc4698146cbb9e004976838430a88
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java
4f347e811052f446c3958c76db278bcd7b39a44f 26-Feb-2014 Andy Huang <ath@google.com> allow an extra option on attachments (in bar and tile UI)

Bug: 7659807

Change-Id: I4c1294d2ba772a70139e0b37429b17bc6096cafd
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java
db65689be3ada3965c12312ad60b2a5d6917a98e 25-Jan-2014 Andrew Sapperstein <asapperstein@google.com> RTL - attachment tiles. Fixes b/12037028.

Also fixes a bug in compose tiles where the
attachment title and subtitle weren't being shown.

Change-Id: Ia568672abbd2503f95882473f71237710fca02da
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java
3ca3bf8538bbabcaf9d86818e25c40f3a9d9b0c9 29-Jan-2013 Mark Wei <markwei@google.com> Fix crashes related to sending or forwarding attachments.

Attachment contentUri will always be a content:// uri, not the file path.
SERVER_ATTACHMENT will generally be under Gmail.AUTHORITY while LOCAL_FILE will
have a non-Gmail uri.

Attachments as part of a draft that becomes updated into a message are now
viewable. They will be a LOCAL_FILE that points to the non-Gmail contentUri of
the uploaded file. They will not attempt to be downloaded again. They will have
a fake partId and uri so that they can be viewed.

We make sure thumbnailUri and contentUri are always populated with the correct
default contentUri (for SERVER_ATTACHMENT).

The cachedFileUri is now also used for SERVER_ATTACHMENT. It points of the uri
of the downloaded file.

Bug: 8076816
Bug: 7960494
Change-Id: Ia73144886c6a730987bf6fe7b2326e6820f4e2f6
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java
237129ddf57a1e25469d8990322fb7913e18ae20 15-Jun-2012 Andrew Sapperstein <asapperstein@google.com> Compose now shows images as tiled attachments.

It's still a bit buggy (notably, once the previews
do not show up after the initial attaching). Those bugs
will be fixed in the next commit but this was a good stopping point.

In order to reuse as much code as possible, the AttachmentTileGrid
was moved into com.android.mail.ui. Additionally, MessageAttachmentTile
was split into AttachmentTile and MessageAttachmentTile. AttachmentTile
is a base class that handles all of the tile interaction that is common
between the browse and compose versions. At present, this is mostly
the fetching and displaying of the preview image.

As a result, MessageAttachmentTile now derives from AttachmentTile.
MessageAttachmentTile handles the interaction specific to browsing
messages (such as opening the photo viewer, etc).
There is also new class called ComposeAttachmentTile
which derives from AttachmentTile and handles the interaction
specific to composition of messages.

The AttachmentsView in composition now contains two children in its
view hierarchy, an AttachmentTileGrid and an inner LinearLayout
that now stores the non-tiled attachments.

Change-Id: Iad85529a7b6d573060645499271860cf07877754
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ComposeAttachmentTile.java