History log of /packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
052f152d57bbf18d418c4636344532e24a2ed1aa 15-Sep-2014 Jin Cao <jinyan@google.com> [a11y] label remove attachment button

b/17490470

Change-Id: Iab4eb9689c3cd7a08c56dabba705823402b2d0e1
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
a839fd0af18f53574128e32dc0900339280fba05 22-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Revert the CLs that updated the message headers.

Revert "Remove padding for message details. b/13329913."

This reverts commit 42c39c4026970508a536099085d5155196bbee42.

Revert "Fix UI issues caused by new attachment asset."

This reverts commit b6a6a5c2cd6d8b07e93c07b8a2cafa2276d9bec7.

Revert "Redesign of message headers. b/12933316."

This reverts commit 2ed8c0409cd7d8e64c58ada6f63a519517ddaf7d.

Revert "Ensure expanded details always shows. b/13348592."

This reverts commit bac524cc0575ff3cf54aa93247bf33c06edcdd9d.

Change-Id: I1d70329504dd788e4b2879137bae43eb4c4167fe
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
b6a6a5c2cd6d8b07e93c07b8a2cafa2276d9bec7 07-Mar-2014 Andrew Sapperstein <asapperstein@google.com> Fix UI issues caused by new attachment asset.

Fixes b/13340860.

Also cleaned up the layout. We were using
a bunch of statics to set text size and color.
Now doing that in xml since it's much more straightforward.

Change-Id: Ife9795bedc409a6f03b336ff90ce95984bc666cb
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 06-Apr-2013 Scott Kennedy <skennedy@google.com> Cleanup

Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
8750066b10f80e2a8080016973b3296d76d18266 20-Feb-2013 Mark Wei <markwei@google.com> Set MIME type correctly on drafts when content provider does not provide it.

Bug: 8235172
Change-Id: I7bbccbecb7d038f3add4503be0dcf460a4864b2e
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
b334c9035e9b7a38766bb66c29da2208525d1e11 25-Jun-2012 Paul Westbrook <pwestbro@google.com> Changes to support different Log tags

Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.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/AttachmentComposeView.java
c18311948781db937fa2e5370ab50dd84ac71f03 12-Jun-2012 Mindy Pereira <mindyp@google.com> Add a selection state to the attachment delete icon.

Fixes b/6472010 No feedback on attachment bar

Change-Id: Ic2e340e1e2bf495faf988950fff405ddcf82a2e2
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
5c5fd571b40a15b95ea5a5d6033f377706ffd0fb 09-Apr-2012 Andy Huang <ath@google.com> compose attachment refactor

This is step 1 to modernize attachment handling in Compose.
This CL tries to have Compose view deal in Attachment objects
rather than the raw pieces like URI/name/size. For those cases
where the raw pieces are all we have (e.g. incoming intent),
AttachmentsView.generateAttachment() is now a single place for
this work.

When loading a saved draft or forwarding a message with
attachments, since those Messages already have fully populated
Attachment data available via getAttachments(), use that.

Mark various Gmail-style joinedString representation variables
and methods deprecated in favor of passing JSON in
ContentValues when necessary. The next step is to beef up the
supported fields in the attachment JSON and have send/save pass
JSON and have providers read JSON.

Bug: 6305925
Change-Id: Ie8fb9ce27d71a10a6ea8ae431b78e61ffe5933e2

Conflicts:

src/com/android/mail/compose/AttachmentsView.java
src/com/android/mail/compose/ComposeActivity.java
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
1eb5f96d4e9c459d463d664563c755ec36f958f7 10-Mar-2012 Andy Huang <ath@google.com> cross-project refactoring

Attachment.mimeType -> contentType
Attachment.contentUri(String) -> contentUri(Uri)

Change-Id: I333453943914c241c63f9ec0a3824150e52706fd
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
7aee8f75f07eb39ecacdf0630d2199211aea5718 11-Jan-2012 Mindy Pereira <mindyp@google.com> Make attachment a parcelable object.

Change-Id: I1d0e446d5fa22b83ab103d3e162bc46c72492f4b
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java
30e2c24b056542f3b1b438aeb798305d1226d0c8 07-Jan-2012 Andy Huang <ath@google.com> rename unified email's package name to com.android.mail

New code needs a new package name. Fixes IDE conflicts when
browsing.

Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
/packages/apps/UnifiedEmail/src/com/android/mail/compose/AttachmentComposeView.java