History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a00a413f293b73b8b6d16c0707d08f881fd92e1c 30-Sep-2014 Martin Hibdon <mhibdon@google.com> Don't show ExtraOption1 unless the application overrides optionHandler

b/17040185
AttachmentActionHandler now takes an additional parameter for
the accountType. ExtraOption1 is only enabled if the application
override optionHandler allows it.

Change-Id: I4984e6cb020912cdaf807534a8c4de6ebed07c1c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
e1557036849265afc24528be9effbe299b640bff 08-Aug-2014 Andrew Sapperstein <asapperstein@google.com> CV attachments. b/16138036.

Change-Id: I612bb54ccd2710754be03d9b4a566da544780d09
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
833123d9c31b0b2dd23f7f74738c5bccf8a546d3 24-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Hide Save to drive in EML view. b/14277510.

Change-Id: Ia75fb95536517df576ef3c39072a423e3e244b6a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.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/ui/AttachmentTileGrid.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/ui/AttachmentTileGrid.java
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 06-Apr-2013 Scott Kennedy <skennedy@google.com> Cleanup

Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
69c4ddb7a49f11377143c9ff1c7b85b2450449e9 25-Feb-2013 Mark Wei <markwei@google.com> Do not request thumbnail download if there is no network connection.

Remove duplicate get identifier for attachments.

Bug: 8218823
Change-Id: Ia4ca9e6b6798b9132242ff0d9d046cd3e75e4e9b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
6d15a75aac7dd468ed94a97f324f6920d89cf28d 03-Oct-2012 Mark Wei <markwei@google.com> Prevent Gmail attachment preview tiles from covering mail content.

Fixed tablet-specific bug where margins were messing with width measurements.

Bug: 7258969
Change-Id: Id4632e607ae58434d42f186789393f5a377de56c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
4071c2f73218ce75750345557bb31a9110737841 26-Sep-2012 Mark Wei <markwei@google.com> Delay rendering until layout has happened. This reverts the earlier hack where
attachment widths are precalculated.

Bug: 7226258
Change-Id: Ifec8dc2164c69ea10132714c48e48d854adc5615
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
a6e8789043b567a54cb930dd785fba573cf65f5c 20-Sep-2012 Mark Wei <markwei@google.com> Prevent attachment overlays from overlapping on orientation change. We'd rather
have too much whitespace than not enough.

Bug: 7001452
Change-Id: Ifd4d5d81e5d29e8c8cd5154593d9accabca57efa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
8081df46ef5a7794374e41cd1836e778a2da9b31 11-Sep-2012 Paul Westbrook <pwestbro@google.com> Restore download progress dialog

Now the attachment download progress is using an DialogFragment
so the dialog correctly gets restored on orientation change

Bug: 7137689
Change-Id: I90a225f423bf75fd4dbeb464051374919a3cff62
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
62066e47fe69c33b60ed970e46809ba81d044064 13-Sep-2012 Mark Wei <markwei@google.com> Prevent photos attached during Compose from showing generic thumbnail briefly.

Cache the loaded previews on save instance state, so when the configuration
changes, we don't have to re-download all the previews.

Bug: 7140604
Change-Id: Ic3fd640cb0116729868548cdd620b67bc06f3967
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.java
4cb51dbce9635f4bf68a6de88f759e2f86d20325 21-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Image attachments open photo viewer immediately.

Instead of downloading the first image and waiting for
that operation to complete before entering the photo viewer,
we now kick off the downloads for all photos that are not
currently on device. The photo viewer shows download progress
and also shows the photos once the download has completed.

Change-Id: Ib9561b45020bbab1ffbcec9e88aab9604036fd5a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AttachmentTileGrid.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/ui/AttachmentTileGrid.java