History log of /packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4958af88fe77f0c5c92ab0f7e1e6cbba645c3180 01-Oct-2014 James Lemieux <jplemieux@google.com> Remove wide-mode and normal-mode from TL

b/17610551

mViewMode was still being consumed by ConversationItemViewCoordinates though
it should no longer influence the layout of a ConversationViewItem. When
opening an item from the TL, the ViewMode changes and each
ConversationItemViewCoordinates object would be recomputed from scratch.
While recomputing, the date/timestamp text would shift upward as the baseline
of the date/timestamp TextView would begin to report different numbers (for
reasons not yet understood).

By removing mViewMode (and its cousin, mMode) from
ConversationItemViewCoordinates, cache misses never occur when opening an
item and thus recomputing the geometry (needlessly) never occurs, which
ultimately fixes the bug.

Change-Id: I0b8d82d582ae6839d24c98051ac89bbc3ee9a1ca
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
6fce8bb099fc38a68b96486921e9bf03a5b095d4 18-Sep-2014 Jin Cao <jinyan@google.com> Change folder chip alignment to align with the baseline

b/17471973

Change-Id: Iead6dacd17c4c477a09ee092210656d1f4c4f97d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
5edf5fd7327691b73dcb57c3cba340fd25576d18 12-Sep-2014 Jin Cao <jinyan@google.com> Unify the code to construct folder chips for TL and CV

Refactor the code used by TL to construct the chips drawable
so that it can also be used by CV. Update the CV folder chips
logic to take advantage of existing drawing code.

b/17471973

Change-Id: Iee70f22c72969ea3d17951e3ea4c6f14d5aaccbe
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
ff404bb78dec989c1660434915b1b027a2d86bf3 25-Jul-2014 Jin Cao <jinyan@google.com> Quantum folder list in TL

Re-did logic for drawing the folder list for
TL. The maximum width of folder and chips are
calculated based on a proportion of the entire
conversation item.

b/15552002

Change-Id: I8fea84112f86f9278dae4c724b2a0bd7a9c59af8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
63d636084fdce6c4340bb1a817251a9e1d6bc460 18-Jul-2014 James Lemieux <jplemieux@google.com> Allow partially elided words in TL subject and snippet

b/16345519

This CL removes a bunch of attributes from
conversation_item_view.xml that are red herrings which
don't influence layout behavior and adds the crucial
line to setSingleLine(true) which turns on the desired
eliding behavior.

Change-Id: I5d451d204a5838439d4c3c21b62b42279c47de71
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
0e29e769c74e385342fc5dc8e9c85517771aaa34 11-Jul-2014 James Lemieux <jplemieux@google.com> Remove attachment previews from Conversation List

This includes:

- all references to the 3 attachment preview columns in the Gmail
conversation table (except for migration code in MailStoreInitializer)
- all layout and drawing code for attachment previews in conversation list
- all assets related to attachment previews
- all preference and analytics code that aided attachment previews

NOTE: This does not alter, in any way, the display of attachments in
conversation view.

Change-Id: I0aa5a32c8cce0ba98758827b973b323896932c39
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
64f56828a81ad7e29cad3a254a6ecdc05c9284e8 08-Jul-2014 James Lemieux <jplemieux@google.com> Move folders to share space assigned to snippet in Thread List

b/15552002

This CL merely moves the drawing of the folder chips to the correct
location. It does *NOT* implement any new folder chip drawing specs.

Change-Id: Iacaaf90b1e0da2855fa4faf230469038482b6420
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
928308d6b10d353493492ad05e0227f960ddaa7e 02-Jul-2014 James Lemieux <jplemieux@google.com> Implement general layout and colors for Thread List items.

This includes:

- separating the subject and snippet lines
- RTL support
- new layout sizing (common to phone and tablet)
- new font sizing
- new colors
- mirroring these changes in the widget version of Thread List

Change-Id: I92fda7ca9936a8d7f96bc5f584a7a11e0e0fe72e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
be0cb1e421831672f49c30ecb46e6eee765cb661 16-Jan-2014 Andrew Sapperstein <asapperstein@google.com> Ad teaser redesign.

b/12243411.

Change-Id: I993b326bc36de8edf1f2f40202d8f32551de4d94
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
a4296c179cd4eb12e7c4912d72c22dd2ec724a7e 11-Jan-2014 Andrew Sapperstein <asapperstein@google.com> RTL the conversation list and two pane layout.

Fixes:
b/12451886
b/12452546

Change-Id: If2bd3d63c07eda3190d16fd95746c0105b251406
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
18a07a8ac67cdb7ad5834c7752c05b9148e3211f 10-Aug-2013 Mark Wei <markwei@google.com> Fix extra row spacing.

When there are no attachment previews and there are labels.

Bug: 10229604
Change-Id: Ie74b54191889c394bb95f266ccdbbb83aaa2db8d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
1aba32575a08da6cbad80af8446201d73c59783d 08-Aug-2013 Mark Wei <markwei@google.com> Bust some jank.

Avoid view inflation in coordinates constructor. 22ms -> 14ms.

Sleep background decode tasks sooner during fling. This avoids the 30ms GC alloc
that may occur when we create file descriptors and use them to decode bounds.

Bug: 10132860
Change-Id: I44bb731dde18efcc95e789f53247eca213d5804e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
52b280a82df262f62632bd12bba84b4752f14634 31-Jul-2013 Scott Kennedy <skennedy@google.com> Clean up AdTeaserView

The info icon is now in the right place

Change-Id: I04d120b0940d4b92de174e9081ed24e2a9bd81a1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
103319aaed26bce257de55b2fe93d4f78d3c59b9 26-Jul-2013 Scott Kennedy <skennedy@google.com> Ads in conversation list

Change-Id: I3095409211d6a6bdc42212bcd6a330333a9da411
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
79c3e1ed9cb1e1660c5d34b7bf3f3ab5c5dd5162 22-Jul-2013 Andy Huang <ath@google.com> new allocation-minimizing bitmap decoder

Use a new image decoding and caching framework. This one maximizes
bitmap reuse by decoding into fixed-sized Bitmaps and relying on
BitmapRegionDecoder to only decode a desired region. The ultimate goal
is to allocate memory less often, as each large allocation triggers
GC jank.

The overall request/response abstraction and threading model are now
cleaner, and caching is no longer a required fixture. Multi-core
decoding is now supported, with a currently fixed thread pool size of 4.

Attachment images are the only client for now, but contact photos will
switch to this framework next.

Bug: 9566006
Change-Id: I7c437941fd984cc0038da8f0ffd1df1a9ced4dd3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
8afccad8b03701577bb4b734a0f4fe76f6cab487 29-Jul-2013 Scott Kennedy <skennedy@google.com> Remove the eye/starflip from conversation item view

The eye is creepy, and nobody knows what it means.

Change-Id: I53a39f3e0ab39b56445eacc66130487469d912fa
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
1fea6a3cffcc8c4afc3d877e5dc57d29f9665942 10-Jul-2013 Scott Kennedy <skennedy@google.com> Better CAB mode

1. Flip out contact image, scale in a checkbox optionally on grey
background
2. Flip stars into peek icons
3. Only peek icon will peek

Bug: 9592097
Change-Id: Ia972132284ef62f4964c7027ab09157a525dd804
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
e97c18f40a946cfa344b0a77e60e133cbd6ecbd3 18-Jul-2013 Tony Mantler <nicoya@google.com> Remove some unused metrics

Change-Id: I6ad749b5dc860c85bfdc7bfbd2b80e119a71ac2e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
91b957b2e803f5d1113c935d437aec1b8e61d8c9 17-Jul-2013 Tony Mantler <nicoya@google.com> Tidy up an overly verbose assignment in CIVCoordinates

Change-Id: I27aea2fe84ab90be7a066c4cdec82037f0ee6f86
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
2229eddfba6f7517c43ef49ee67c50c24d4b961a 16-Jul-2013 Mark Wei <markwei@google.com> Add fade animations.
Fix exceptions.
New layout for previews.

Bug: 9745486
Bug: 9860384
Bug: 9885937
Change-Id: Ief210b211e87898c6516d867b59d76c72a765596
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
81aea35d45b3d0191ec595562a2fcf67009845d5 10-Jul-2013 Mark Wei <markwei@google.com> Final UI for Attachment Previews.

Placeholder pulsates for images not yet loaded.
One images loads at a time, that one image will display a spinning progressbar
after a delay.
Progress bar fixes to ensure it is rotates smoothly.
Clear section before drawing to it so transparent images look right.
Avoid PhotoManager load loop.

Bug: 9745486
Bug: 9816053
Change-Id: I2e65b3e3484d6da47d4e2523404dc745b99dd04c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
479505d71969e26b0785d8e0e1b81108731cf827 21-Mar-2013 Mark Wei <markwei@google.com> Attachments in Conversation List: Backend changes so that the appropriate
attachments are passed to the UI. Implement PhotoManager so we can start showing
images.

Upon sync, we extract two image attachments from the first unread message, and
add them to the conversations table.

UI changes as well.

Load BEST if that is available, else load SIMPLE.
No vertical dividers in attachment previews.
Attachment previews are above labels.
Round badge appears for unread conversations when there are more images than
shown. Only appears after the previews have loaded.
Clicking on the attachment previews launches photoviewer.
Attempt to load bigger images than necessary to prevent reloading during mark
read/unread and rotate.
Show animated loading icon while previews are loading.
Previews load from top to bottom, from left to right.

Big performance improvements:
No longer decoding bitmap on UI thread. This kills most of the jank.
Only load when we are not scrolling. This kills a lot of jank.
Remaining jank will be delt with later:
DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI
thread, which causes a GC. ath will fix.

Multiple images in one line now load whatever's ready first. Added tracing.
Bitmap cache given more memory.
Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't
compress into BitmapHolder. Only use the bigger Bitmap cache.

Bug: 7481049
Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
3b965d78774a42358ce6bbdcc43b4c8df130a60e 25-Jun-2013 Scott Kennedy <skennedy@google.com> Clean up a bunch of warnings

Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
745bff38627bba3f0786eb1ce3a6d1a03cdb917c 15-May-2013 Mark Wei <markwei@google.com> Cap the number of labels in conversation list.

Each label must not be less than 48dp. This allows us to see 2-3 characters per
label. Phone portrait will show around 5 labels on a Nexus 4.

Bug: 8970027
Change-Id: I769f468e5e546f583f3aa0c949b62c2546b3261f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
12b3ee458e04ac7e0b69302e671d10b24a5c98cf 25-Apr-2013 Andy Huang <ath@google.com> use the drawer on small tablets. general tablet layout love.

Added 'spacious' variant of NORMAL list item layout.
Because the determination of whether to use tight or spacious dimensions
isn't easy with resource qualifiers (think of 7" tablet, which uses
tight dimensions for 2-pane side-by-side layout, but spacious dimensions
in portrait), I just made a whole new layout for this permutation.
Please remember to maintain NORMAL, WIDE, and now NORMAL/spacious
variants!

Use WIDE mode + drawer on landscape 7" tablet.

Make 2-pane controller and layout drawer-aware. Pull up drawer code into
the common controller base class. 10" 2-pane continues to not use a
drawer.

Don't use a resource qualifier to decide between normal and wide item
layouts (same reason as spacious dimensions above). Use the actual item
width as a dimensional test (list_min_width_is_wide).

Use default drawer scrim color.

TODO:
the conversation-open animation is janky looking.
can't open the drawer in conv mode/7" landscape

Bug: 8578806
Change-Id: I1210b1d47d1756353f7c386873465751ca21f801
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
a39b7a7c65d23e67f456a5f0348f5b4af19bf819 23-Apr-2013 Andy Huang <ath@google.com> am 594a1d91: pixel peeping in conversation list

* commit '594a1d9158b914c7add8da3173029640324897e5':
pixel peeping in conversation list
594a1d9158b914c7add8da3173029640324897e5 23-Apr-2013 Andy Huang <ath@google.com> pixel peeping in conversation list

* ensure photo is vertically centered at default font size
(a larger system font will align the photo with the top of the first
line instead of vertically centering. visD says this is more
important.)
* tighten vertical spacing of sender/subject on phone
* on phone, top of labels now abuts bottom of subject

Bug: 8592116
Change-Id: I5012847511c492137dc5363cb06d6ea7d4bfe81d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
b53fe05fb867685d0d3f2f37daf0f93bc6488ded 21-Apr-2013 Andy Huang <ath@google.com> misc contact photo optimizations

* Only invalidate the contact image region on async load.
* Calculate hash codes by hand to save autoboxing of ints.
* Don't parse Folder color strings at draw time.
* Switch ConcurrentHashMap to SynchronizedMap. No need for concurrent
write support, as we only have one writer thread. Write perf is much
better.

No-op stale photo requests more correctly now. Previously, a canvas that
was re-used and happened to have the same person in it would apply the
photo even if the dimensions didn't match. Now, PhotoManager makes a
record of the canvas's "generation" at request time, so the results can
later be rejected entirely if the canvas generation differs.

Bug: 8051779
Change-Id: I31c3fd0c3bcc10641f264b6e30eb133cc0bf77b3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
cb1126a3a93696e3a3788255ad82ed72179810e6 20-Apr-2013 Andy Huang <ath@google.com> DO NOT MERGE personal indicators are dead. long live personal indicators.

cherry-pick of: https://googleplex-
android-review.googlesource.com/299929

Bug: 8635214
Change-Id: If05b2b144ad25d1d4da9692003863f07d81c52b7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
007de15a91f85c94ea625e31e2a105d7c51e363d 15-Apr-2013 Andy Huang <ath@google.com> DO NOT MERGE clean up old layouts

cherry-pick of https://googleplex-android-review.googlesource.com/297316

Bug: 8393227
Change-Id: Ida8efbc4634f3897e4974409fce7f81d8c2bda82
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
4a85e39fbc318359e8a3cacb874df2372fe9d566 20-Apr-2013 Andy Huang <ath@google.com> personal indicators are dead. long live personal indicators.

Bug: 8635214
Change-Id: If05b2b144ad25d1d4da9692003863f07d81c52b7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
b4a222726f3f1c78b7146fa5f7d4d45974bcef47 15-Apr-2013 Andy Huang <ath@google.com> clean up old layouts

Bug: 8393227
Change-Id: Ida8efbc4634f3897e4974409fce7f81d8c2bda82
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
370f868c834861e7732faaa9bdd07a0fa0105596 09-Apr-2013 Andy Huang <ath@google.com> fix shorter-than-expected leave-behind view heights

Make leave-behind heights variable, dependent on the
ConversationItemView that originated it.
Make the background on a SwipeableCIV not a separate view, but a simple
background. Also simplify the conditions under which it occurs-- it just
appears whenever translateX is non-zero. This covers all swiping and
animating cases handily, without the need for extra listeners.

Remove an old workaround that gave ListView on 1-pane an opaque background-

- it was there to mask FolderListFragments that stuck around, but those
are relegated to the drawer now. This reduces list overdraw by one.

Bug: 8570880
Change-Id: I2e2ea875d4ab58b5048d41025b8a2c48a3d63536
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
fbc519e976de0c0debd810ed8c7f77de44d136a1 06-Apr-2013 Andy Huang <ath@google.com> spring cleaning; implement new conv list redlines

Unify all Email and Gmail list item layouts.
App-specific features are now enabled/disabled in code rather than
through XML includes and overrides. I find this easier to understand and
maintain.
Folders now bottom-aligned.
Item heights are now dynamic and variable.
There is now room to display 5+ folders - removed max of 4.
Copy more dimensions and styles from Coordinates so layout control is
more centralized and normalized.
Make Coordinates values final.
Bundle the now-numerous configuration flags into Coordinates.Config.
Remove most fixed vertical margins in favor of values from font metrics.
Static caches considered harmful - moved coordinates cache to hang off
of adapter, which fixes configuration changes not taking effect (e.g.
font size, language).
Removed overspecified styles (font sizes).

Will remove old layouts and styles in a followup set of cross-project
CLs.

TODO: fix hard-coded leave-behind height - too short.

Bug: 8393227
Change-Id: I85239cbd97c485d7f73103a80d5ab92069b550d9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 06-Apr-2013 Scott Kennedy <skennedy@google.com> Cleanup

Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
d198fa7ddb2d0c730847af34f06aa2e940b2537d 01-Apr-2013 Mark Wei <markwei@google.com> Attachments in Conversation List: UI changes to display attachment previews
in the conversation list.

Depends on:
PhotoManager: https://googleplex-android-review.googlesource.com/#/c/285814/
Backend: https://googleplex-android-review.googlesource.com/#/c/289305/

Bug: 7481049
Change-Id: I284ec722bb0ed0ddb8b27804c0ee5591ef672032
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
40ada66d5dc6a0d5ad02f4a319acc03d126e9fc9 22-Mar-2013 Scott Kennedy <skennedy@google.com> Remove a bunch of unused methods

Change-Id: I9c7fa70d42335694fc6ae9d9acc3955a922c96d7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
ce59fca1cfad3489bc121e9b58a9c67e765ca35a 26-Feb-2013 Andy Huang <ath@google.com> optimize scroll perf

Switch date stamp back to a simple drawText(), as we had
switched to use a TextView to use font face spans, but this was
much slower. Since we are no longer using a custom font for
date, this is safe.

Tweak call ordering of measure/layout/setText of subject and
senders to be more like it was in UR7. Calling setText last
defers text layout until draw time, which is normally bad, but
when our list is already so far behind, it turns out there are
fewer draw calls than layout passes, and this saves some time.

Switch EllipsizedMultilineTextView from using its internal
layout to using a StaticLayout to determine the chop point. I
found this slightly faster for my data. I think this was because
most of my subject+snippets require StaticLayout vs.
BoringLayout, and even checking isn't worth it.

Bug: 8236797
Change-Id: I8684ed7cd58d9dbbaff1df4721a823a59635171c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
7127c273d1995077f9c55c8abe00af3e05baad38 15-Jan-2013 mindyp <mindyp@google.com> Hide conv list photos behind an experimental pref

Change-Id: I5c12c9794fe19c12595821425ecc6c2fb4ea534f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
167bddc283a66f210e0484eeca609f4e7f35dac4 15-Jan-2013 mindyp <mindyp@google.com> Fixup the width of the subject when folders are present.

Measure at runtime based on whether folders are showing, the font size,
the font weight, and the the max width of folders being drawn inline.
This does not affect wide mode.

Change-Id: Ia0293fd5036ba93f5bfc03e1693b5f4acbf33103
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
d370a5590d11ca4bfcf7c7667a0bd490fe133d8c 09-Jan-2013 mindyp <mindyp@google.com> Make sure we verify there is a subject length for the mode before pulling it from the array.

If not, default to conversation list length.

Fixes b/7960035 gmail crashes when searching

Change-Id: Ieaa472e8b79637615a103bf9a33ec08a3bdcd6e5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
f0798f37b4954463eb24c1f7e54b3b5e7f570351 08-Jan-2013 mindyp <mindyp@google.com> Fix position of the senders view when showing contact photos instead of checkboxes.

The priority indicator is not inlined with the subject when in 10" landscape
Move senders view down for normal mode on tablets
Change-Id: Iabe6251e7c168fe2e31af5a45f4faf16388bddf9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
f2caf91209e4e2d4182d6b379a3cd79eed81af71 02-Jan-2013 mindyp <mindyp@google.com> Set font sizes, colors, and types for subject/senders/ snippet. Set max length for subject.

Also, a fix for:
b/7937635 Senders text displayed as "e": need to figure out why the single sender was being
marked as elided at all so leaving the issue open
Considering an option in which I divide the subject into 2 textviews and ellipsize based on
length...

Part of matching redlines.

Change-Id: I109001fb1d52c032d489bf7d3a0a6e925a9d7f1a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
006a84fe8ec32c1269c03856d7e4a471309c89a8 02-Jan-2013 mindyp <mindyp@google.com> Move the folders boxes inline with the second line of text on phones

Centers folder name as well
Next steps will be to give a character limit to the subject when
there are folders to render

Change-Id: I53ca2e71da62cc8ab7fe6c76714261a44e7feb88
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
95f9e1b167f4945adfa4ca62f4b72a102b621794 26-Dec-2012 mindyp <mindyp@google.com> Match redlines for new ur8 layout.

Change-Id: I0e23a356e366c953f1bb36a43f246ad8622a1d9a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
0d1ed12c6e70f4204ff28092ed51ce540f9f3f67 10-Oct-2012 Vikram Aggarwal <viki@google.com> Recalculate mMode if the viewmode changed

If the view mode changes, but the width stays the same, we don't
recalculate the wide/narrow mode of the conversation item view. Make
the check dependant on mode changes in addition to width changes.

Bug: 7316569 Rotating device from landscape to portrait shows janki in
2 pane window

Change-Id: I88f4732a29663a3025a4bab8efd89438f3beecea
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
f64891149de2176cccd3a03e28a62eb210decf8a 08-Aug-2012 Mindy Pereira <mindyp@google.com> Fix animation heights.

This fixes the not growing/ collapsing all the way thing gabe reported.

Change-Id: I93bc9049c69e4ac06a37229935dda04a6e3c6257
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
77d7f3c3c8c82048b51025428a825f6ac71e8560 03-Aug-2012 Mindy Pereira <mindyp@google.com> Make sure we update style spans for senders when there are config changes.

Need to make sure to clear these static styles out and reset them
based on new font sizes so accessiblity can enlarge the text.
Keeping them static means we can reuse them with just a wrapper, which
is a nice time saver.

Change-Id: Ibb5a4082606c5ea5f511017ef981bf7c2be812c7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
b1cbb89f72631bb7e34822b98e8d0842ebd01b83 31-Jul-2012 Mindy Pereira <mindyp@google.com> Use priorities to decide who to elide.

Not sure its perfect, but its LOTS better
Test cases in a later CL
Fixes the subject showing in sendres in widget

Change-Id: I711ff6d8b1343aa01e5a38193a76467910425a9d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
83061b023d2a4ef72249eebf8490bd0868c87b55 15-Jun-2012 Paul Westbrook <pwestbro@google.com> Use wide conversation on portrait 10" tablet

On tablets we show a single pane for search results in portrait mode

On 10" tablets we want to show the wide conversation headers

This cl is using the swXXXdp qualifer because the show_two_pane_search_results
is also using the same qualifier. 5198708 tracks switching from swXXXdp to
wXXXdp qualifers

Change-Id: Ie0a693dead7c4d4f08bd453e9dce30618e6ccd29
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
c3c1f6b5a03be917ae993b82cc4150e7b48720ca 15-Jun-2012 Paul Westbrook <pwestbro@google.com> Show wide conversation list item on wide tablet

Show the wide conversation list item in conversation list mode when running
on a device where the current width is >=1000dp.

Since on a 10" tablet we are supposed to show different conversation list
item layouts depending on the current width, this resource specified is
using the wXXXdp qualifier. If we were to use the sw720dp-port qualifier,
a tablet that is 720x720dp, would show the wrong layout in one of the
orientations

Bug: 6600648
Change-Id: I0388bce4c0cf8bac5a6a5bb9cbf126aab113ef69
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
b466bcf49502a1178cf7362a81470f3231d8892b 15-Jun-2012 Mindy Pereira <mindyp@google.com> Fixup behaviors for action bar when in search mode.

Now that the subject is showing in conv mode, can confirm
this all works as expected.

Change-Id: I707f3f46a2a5bdfa49e61bc1eacb217c5a1ba86c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
92939fc7b40a56e17fb0d2fde987133ca1614e29 30-Apr-2012 Marc Blank <mblank@google.com> Support color block for combined views

Change-Id: I3097cb4c37311cbe4b2b8702c26a7edf5eebdd24
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
8eb43be8074acb4e09da1385225fbb41c97b1bd5 09-Apr-2012 Mindy Pereira <mindyp@google.com> Make sure that we render conversation sender details.

Change-Id: I5fffcf1b4abf6ee565d0d1db5520fd14dd6490be
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
4022889525ce3ef25caabe4a8b50c7140a4bd9ed 03-Apr-2012 Mindy Pereira <mindyp@google.com> Use the correct item animating height depending on view, device

Fixes issues where animating items are sometimes the wrong height.

Change-Id: I407294e8fdae5cc560897368d48140d442ee5cd8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
3fd1f2c4cba9095ccd024ac26187cba6fdfc367b 15-Mar-2012 Mindy Pereira <mindyp@google.com> Fix alignment/ width of senders and folders in wide mode.

Change-Id: Ib256202d6b9454b698cdd834925f9e4e42b8f242
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
54467a21dce72130bb04eb5aa1c9813d88308a80 14-Mar-2012 Mindy Pereira <mindyp@google.com> Add reply state logic. Only show it if its defined in the layout for the item.

Change-Id: I41a58e41b76a6b3f0c2ca87f1e8336e67e71eb5d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
3cb938f638cc3cec08c9c42d20192e65b1e7d343 14-Mar-2012 Mindy Pereira <mindyp@google.com> Dont show personal indicator by default.

Only show it if the layout file has it.

Change-Id: I6ac6c8a11fb42f0a23250dbdc613dc6865e96dbd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
b5080d5335d2aa445a660ad426ab008750be24cb 09-Mar-2012 Mindy Pereira <mindyp@google.com> ehow folders in conversation list items if they exist in the layout.

Change-Id: Iec0198f7eab014c71d66e1c026942988d985f1e9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
30fd47bf1947da5ad813cb957b6cbe569dce563a 09-Mar-2012 Mindy Pereira <mindyp@google.com> Remove all label refrences from unified; change to folder

Remove labels text views from unified mail conversation list items.
Gmail will override with a new xml file that will provide a "folders" area
Change-Id: I443b8d73f253f046dfa8a8a68afa19e89bf7a85a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
fa131a2ff399fd1d544f759b063268fb4e8a3e70 02-Feb-2012 Vikram Aggarwal <viki@google.com> Make ViewMode focussed and small.

1. ViewMode is no longer aware of tablet versus phone UI. This is the
responsibility of the ActivityController now.

2. onViewModeChange receives the new mode as an integer rather than
the ViewMode object.

3. Rather than a plethora of isXMode() isYMode() methods, client
classes need to manually check getMode() against ViewMode.X
ViewMode.Y constants.

Change-Id: Ib06196671ad49328c40cc9237667c0a1daf328f7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.java
1ddcf0f2bf44d3c9db89112ef52510d9b2433ac4 13-Jan-2012 Vikram Aggarwal <viki@google.com> Adding more ActivityController dependencies

ui.ControllableActivity added from Gmail.
One pane layout files brought in.
Minor changes to make everything work with the test activity.

Change-Id: I8cacd5f36394fe4a786590e2e381369a3afb5494
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewCoordinates.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/browse/ConversationItemViewCoordinates.java