e4202e782c91075c09cd5c348517a90620622a7f |
|
18-Nov-2011 |
Mindy Pereira <mindyp@google.com> |
Make message items aware of the various modes. On two pane tablet in portrait mode, the message list items may not be wide enough to be considered "WIDE_MODE", however, when they are shown in the message list mode, they should ALWAYS use message list mode backgrounds. Fixes b/5641014 email portrait: missing the vertical divider between folders and messages Change-Id: Ied05386f1ab62c48b1824647c95a6f72baabc859
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
c1d9be5dc36f64b104fcaf041dd38c28ed4d05a0 |
|
11-Nov-2011 |
Makoto Onuki <omakoto@google.com> |
Fix bug 5594054 Crash seen while syncing Exchange bug 5594054 Change-Id: Id14598c4da66c0f2c78a7c892f653b6cee781f3b
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
4beab88c92226628bf743070f88affb701968ce0 |
|
08-Nov-2011 |
Mindy Pereira <mindyp@google.com> |
Share font colors and sizes with gmail. part of b/5520048 unread/ read contrast is bad for conversation list items on tablet Change-Id: I06d0d560ce32714afe9229d1e009b9b09dc11df8
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
21e4fe49b68738523ebdc8c340469a46d79ed691 |
|
08-Nov-2011 |
Mindy Pereira <mindyp@google.com> |
Share background styles with gmail. Part of b/5520048 unread/ read contrast is bad for conversation list items on tablet Change-Id: I0a5848852b15ead11bef3d56a2c1e1b324f6da73
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
28e496daef8be15def1de3787845a22bed0c8b79 |
|
13-Oct-2011 |
Ben Komalo <benkomalo@google.com> |
Respect system font size in message list. - This makes dimensions according to scaled font sizes, and also resets the activity properly (invalidating drawing caches) when that font size happens. Bug: 5287961 Change-Id: I04cf117b027befd6a065edeadf95187f62fffc8a
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
f9b566c10981fca190a6347eff1217e557ffa6f6 |
|
06-Oct-2011 |
Ben Komalo <benkomalo@google.com> |
Fix message list pressed state color Also do some cleanup - we were creating a background task for opening a message, when in the common case we don't need to hit disk for any reason. This was also an issue since the async opening of the message caused the list item to go into an "active" state, changing its colour (this problem still exists in starred view now, though) Bug: 5222509 Change-Id: Ie94109df42406fd6eec1e1255bb0827626ba0628
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
bcf5d5825fe69bf8bd7edfd077027a52abd2c8eb |
|
04-Oct-2011 |
Marc Blank <mblank@google.com> |
Handle possible NPE in MessageListItem * I don't know how the timestamp can be zero for a message, but we shouldn't crash, and it's late for adding new localizable text Bug: 5410814 Change-Id: Idf1c8b0d4c0b7e0e2b2466643ea52e5244d1bb5f
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
ba0008b669146f808f5e250bf0c140fc3a638049 |
|
16-Sep-2011 |
Ben Komalo <benkomalo@google.com> |
Minor cleanups to message list item rendering. - cached font colors - cached date layouts - remove unneeded text size sets - change layout flow to be using standard layout mechanisms Bug: 5186135 Change-Id: I9c6a659ef50b9e37a51e2463fe2bdf01974291b7
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
891da84a254d55c68df21998fbce9c1772eb6172 |
|
01-Sep-2011 |
Ben Komalo <benkomalo@google.com> |
Misc visual fixes to Email - dropped in bigger assets for mailbox triangle - dropped in bigger assets for checkbox for xhdpi - dropped in proper star asset for message list - fixed some padding issues for message list item - remove the color label from "Combined view" in the account drop down Bug: 5248125 Change-Id: Ic15d98013f2afb42bf55c327654009ef8baa1b78
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
2076fa7a3b088ed220d9fa0607a457d2829afb8c |
|
31-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
increase MessageListItem touchslop Bug: 5237832 Change-Id: Ic651cb23b25041195a226a301b9111c5e8d831ec
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
8466f79a06433bf3d05a770578c72b2b60e1bd7c |
|
26-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Asset drop. - this syncs up the UX repo with the developer repo so that the assets now match. We should be able to do wholesale drops/diffs from now on. - lots of changes to widget so that it is (mostly) up to spec now, and matches the preview Bug: 5225385 Bug: 5205578 Bug: 4320895 Change-Id: I8ccbadcfc17cdb406599497edc91165809f55d68
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
217dc144bd967f21850cefc6e1a84e9d35a67f85 |
|
11-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Fix issue where subject stays bolded when read. Bug: 5145057 Change-Id: I8ac88b219b2a2b84faf2707805b57eca5c960c80
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
56593af65ad25a69f81fb471d346c7519b58fbc4 |
|
10-Aug-2011 |
Jorge Lugo <jlugo@google.com> |
Pre-populate contentDescription for MessageListItems Always populate the contentDesription rather than only when dispatchPopulateAccessibilityEvent() is called. Makes life easier for testing. Bug: 5129286 Change-Id: Ide897b81ff30708b9d637cebbf8eb63f06084a74
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
70a3f210418d060c4e1616f2692c728564cae9e4 |
|
09-Aug-2011 |
Jorge Lugo <jlugo@google.com> |
Allow pre-populating of content descriptions when testing Creates isTesting flag in MessageListItem. When set to true, populates the contentDescription of each message on initialization rather than on touch. Bug: 5129286 Change-Id: Ia0df93bf7399859a750a3fa01e5429436b9daf16
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
dce6aafe4edc5668cdcb2d60d097c84e078adc54 |
|
08-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Avoid NPE when subject/snippet are null. There are cases when subject and snippet re null. If the MessageListItem is not being recycled (i.e. it's the first time), this can be detected as "no change from the previous state (of being empty)", which doesn't initialize mText. Bug: 5129307 Change-Id: I6df910fb365b7e8c1dd298f787d21fbb438830fd
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
2313f48bdc34409a1d17bd841d440d8215eb9528 |
|
02-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Minor visual fixes in message list - changed activated font to white - ensure activated bg is set even for wide (as it shows for a split second when you select a message right before the slide animation) - attempt to make the animation not so abrupt Bug: 5110992 Change-Id: Ie05e0a6a09afb97155b26d28672d4a2fb79cc563
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
383279a1c5e0cba982645a5ed06e06534d12159e |
|
29-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Update message list item redlines. - reduces number of "modes" to just two: normal and wide - consolidate the normal/narrow modes for phone and tablet (as per spec) with the only diff on the tablet being side paddings - fix issue with "white arrow" visual being shown in phone when tapping on a message - make touch computations be resilient to padding values instead of assuming that the check/star icons are right at the left/right Bug: 5103823 Change-Id: I23f967454f7744d9c59256625e302e54a353994a
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
d9e8dcae2f863fcb4a5fc91a167e8cf261151163 |
|
28-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Update assets - updated checkboxes (new ones for sw600dp and phone) ones for phone) - updated stars (new ones for sw600dp and phone) - added existing cc/bcc icon to menu item - updated reply/replyall/forward actions to dark themed items (renames involved) - update message list backgrounds (new ones for hdpi,xhdpi, renamed everything so that there is no message_ or conversation_ suffixes, also added missing states for some of the selectors) Change-Id: I1b4f49f206b846566870f5b430e3c6386e621a0c
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
18811dfb457eff8ba8b5436bd2641a4215480cdf |
|
19-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Add touch slop to message list items Bug: 5016987 Change-Id: Iddeb9a7bc244d3215a418f0897778b9ddcb3e955
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
7f876c0375fd65d8796a96f137481a4c28593617 |
|
16-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fix possible NPE for messages with no subjects Bug: 5038097 Change-Id: I0952158017c0d512998f423ecd38722a5b6b8afc
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
8e779e627a2185320ab168fdce09477a73bf5f22 |
|
23-Jun-2011 |
Jorge Lugo <jlugo@google.com> |
Accessibility improvements TalkBack functions properly with MessageList items, as well as "reply," "reply-all," and "forward" buttons while viewing messages. It is now also possible to switch accounts using only a dpad or trackball. Finally, EditText fields in account setup also work with TalkBack now. Checkmarks don't work with Talkback, but this I have confirmed and reported it as frameworks bug. Change-Id: I7f72682a517eef4fa122241c675026fe7997ac64
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
7891106a7d6b4c406792a8a9144e5148e6bf5ddb |
|
06-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Write reply/forward flags on Controller.sendMessage - also fix some mixups with the actual icon states Bug: 4947145 Change-Id: Iec1bbfc46ac956a6bf050e4fb162b94ea3c6b316
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
e2f6f18396f27d2fee1149d6a3896721297bf7f3 |
|
25-Jun-2011 |
Jorge Lugo <jlugo@google.com> |
Added "replied to" and "forwarded" icons in message list When a message has been replied to or forwarded by the user in Exchange or IMAP, it now displays the appropriate symbol in the message list view. (Right now it's just a test image based on the reply/forward/replyall images until the assets come in.) Bug: 4313491 Change-Id: I525e55179d62b6ab08df37cb9bfe9fdd9fefb908
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
8b2109f047d8b50edbb677a822f6ee34df8d17b8 |
|
15-Apr-2011 |
Ben Komalo <benkomalo@google.com> |
Re-work the layout computation for MessageListItem This now uses an XML layout that gets inflated and computed after a layout pass. The drawing simply uses the coordinates stored after the layout. This makes it a lot easier to maintain the different views and allows us to simply provide different XML files for different modes/views, isntead of trying to hand tweak Java layout code. Some TODOs - clean up the "paints" and optimize the layout/drawing computation Change-Id: I784919f726bd4d80aba8744a8f047fcfe79ad93a
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
78684ccc795c0d5211dfc04a834cb452dccb1058 |
|
31-Mar-2011 |
Marc Blank <mblank@google.com> |
Temporary search UI Change-Id: Ia138ca93f0b28fd0915aa79c965f752f7c08ee90
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
f42d5c6234bfb26f63a711fd59076964283fb7f0 |
|
08-Mar-2011 |
Todd Kennedy <toddke@google.com> |
Implement UI tweaks * Correct allignment of mailbox label * Sender info & presence alignment fixed * Header height corrected * Sender header updated; new asset for background & remove the "fold" asset * New asset icon and allignment for "show pictures" * Selected rows have updated background; new assets * New asset for checked items * Update divider to be 2px high * Update selected background for wide message list bug 3510984 Change-Id: I028ed5619ea7127b0392d9f5b7b00c575b00f3c6
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
a7f49a7c0b4a67b4dc7d306a646a5b1e15a808c8 |
|
27-Jan-2011 |
Todd Kennedy <toddke@google.com> |
Update icons with latest drop from UI Change-Id: Ic23f1bee28c8aef1974225f9c03edc92c845f8c7
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
0a73e8cd459f4839f7c54fd74c9085271a1fb806 |
|
12-Jan-2011 |
Makoto Onuki <omakoto@google.com> |
Fix NPE in MessageListItem Not sure in what condition Message.displayName can be null, but addign this check won't harm... Bug 3339309 Change-Id: Ic2261fc33cf2be759411b998707a96eedd4e4fdb
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
64ac7a6cc81ef6dc84354153b978bd5db944e8b0 |
|
06-Jan-2011 |
Todd Kennedy <toddke@google.com> |
Use new holo light icons Use the new icons where appropriate. This is not a complete change as there are still some icons missing. Change-Id: I51d1458749343ddfc6456dc2a9853b8bc2540e26
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
eaf748e6eecb4cb3644dcd950d56d1edb2d50a63 |
|
06-Jan-2011 |
Makoto Onuki <omakoto@google.com> |
Message list item: Use "activated" background for the selected message. This also fixes wired background flicker when you long-press. (Apparently you can't share StateListDrawable among multiple items...) Change-Id: I922f50a5b2a33731919e26a55bd3537d55057af5
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
bd9b2ff2b31b8db24471f74d35b4f6c220a1d2e3 |
|
05-Jan-2011 |
Marc Blank <mblank@google.com> |
Add final backgrounds to message list items Bug: 3137994 Change-Id: Ife96b23815999290fc1d263ca6d8f4cedaef1b20
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
3d91924c99d108eaeeffe098cddfe71921e1aec3 |
|
30-Dec-2010 |
Marc Blank <mblank@google.com> |
Fix format/draw issues with snippets Bug: 3315171 Change-Id: I8e44c1d64d2f3382fd1e03b35e3e59b048eca31d
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
de39190bc18b3adb506c276486b8b49080a9d3eb |
|
15-Dec-2010 |
Marc Blank <mblank@google.com> |
Fix placement of invite icon in narrow mode Bug: 3285416 Change-Id: I36a78eb486a45b780663a8fb24ee092b964ba1b0
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
06a2f4a3b1322fb6fecb908bd04e777199529ce7 |
|
04-Dec-2010 |
Marc Blank <mblank@google.com> |
New message list formatting per pixel perfects * Need icon assets (attachment, meeting, star on/off, and checkbox on/off) Change-Id: I6780fb354584ce5ea398b555a8485cf600617586
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
5b81690de1ea15035ab0539df683acd8e28b0ebd |
|
22-Nov-2010 |
Makoto Onuki <omakoto@google.com> |
Show color chips for combined view. Show color chips for account rows and message items on the combined view. Moved hard-coded color values to resource. Bug 3138001 Change-Id: Ib93fb9d6e9592ebd0c297f83c3dee2358a80508f
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
452b34772942f767e2ba1a14fa03bdd58b29d180 |
|
23-Nov-2010 |
Marc Blank <mblank@google.com> |
Don't layout with 0 width if we've got a real width Bug: 3221168 Change-Id: I85562cad4afe7ce494cdb4cd348cad23c6103936
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
937ea4fc87eabd8fe785abeb2af1a38450e3fca9 |
|
10-Nov-2010 |
Marc Blank <mblank@google.com> |
Initial rewrite of MessageListItem for XL * Drawing all done by MessageListItem, based on view width * Completely functional, layout tweaks required TODO: Consider caching drawing values for performance Bug: 3137994 Change-Id: Ie3de79357bfe976b2fcebdedb71dea011252b445
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
bad09c18d9d7e5e9722866a7cb847e1965186a2a |
|
04-Nov-2010 |
Marc Blank <mblank@google.com> |
Correct drag & drop mechanics; implement multiple selection * This CL brings drag&drop move in line with the current document describing its functionality in the Email app Bug: 3135124 TODO: Assets and proper creation of the drag thumbnail based on those assets TODO: Review long-press behavior re: press on subject vs sender Change-Id: I6e1ee1a1f055feb041a0338f2f5c775a88620595
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
c81bef672089654e6da3babbeb0172bd636564b2 |
|
14-Oct-2010 |
Marc Blank <mblank@google.com> |
Drag & Drop "move to folder" * Drag & Drop "move to folder" preliminary implementation * Use "drag handle" button to initiate drag * Use the message list item itself as the drag thumbnail for one item; "Move N messages" for multiple (not implemented) * Disable MailboxList update during drag * Use ListView itself as drag/drop target Bug: 3138004 Change-Id: I9243e4f583cf91caa1b9dd04fd64d52e8b28fa30
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
e33a317db034c89f84d986e6e3c895bbef0f57f5 |
|
29-Sep-2010 |
Makoto Onuki <omakoto@google.com> |
Expand hit-area for checkbox and star on message list Bug 2561779 Change-Id: I4b71d48c9440e0f3c308fbe8ff16ada04b9df54e
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
bdf84d57e623499d9c250fcc6fa1ba1f947cd2b5 |
|
27-Aug-2010 |
Makoto Onuki <omakoto@google.com> |
Revive checkboxes to select messages on MessageList It's basically a partial revert of I3cb6c45c, with some clean-ups. Also removed mHandler, which was unused. Bug 2949762 Change-Id: Ib4e673c5829b99ba45fec449bffb62df84555a01
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
91093ee6e8beb200c90e401c96a9c2a1d820bebc |
|
23-Jun-2010 |
Makoto Onuki <omakoto@google.com> |
MessageList: Introducing "selection mode". - Long-press an item to go into the selection mode. - In the selection mode, tap items to toggle selected/non-selected. This also means: - No checkboxes any more. - No context menu any more. Color scheme hasn't been updated yet, so it looks a bit ugly for now. Change-Id: I3cb6c45c1dc5461a234c9e9ab9e038c90a9fe8b2
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
851f3219e2bbcfb9c02c439d84d0885d890ded8d |
|
09-Jun-2010 |
Makoto Onuki <omakoto@google.com> |
Renaming MessageListAdapter to MessagesAdapter in line with MailboxesAdapter. Change-Id: I4ed387db2f5ce1f9bad282521c62eeec0c697db4
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
0a892ae04f0557367a751e1b130e260feccc3c52 |
|
02-Jun-2010 |
Makoto Onuki <omakoto@google.com> |
Extract MessageListAdapter. Change-Id: I0e441b7fff925c7703ab88ab54240c5b42d045c4
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
2c6e2f72b191a45b5beb54329498b054b1421804 |
|
28-Sep-2009 |
Andrew Stadler <stadler@android.com> |
Make checkbox and star more easily selected Fixes bug # 2149033
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
17250429db16553b59d5df5e358f71406dd2b322 |
|
07-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Various EAS related changes related to accounts and services. * Renamed ISyncManager/ISyncManagerCallback to IEmailService/IEmailServiceCallback * Restored ExchangeTransportExample to its original state; created ExchangeStore to handle validation functionality instead; updated stores.xml to reflect these changes. * Add support for AccountManager in EAS code (this is necessary for the contacts and calendar providers to work with syncable data); created EasAuthenticatorService to as our authenticator, which required adding authenticator.xml and modifying the manifest to register our service with AccountManager metadata * Created EmailServiceProxy as a convenience for the UI in calling into the EAS service; created EmailServiceStatus class for status codes in callbacks.
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|
432d1ec3ed54cd2f627fd79b5fe7b64341fa273a |
|
07-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Add custom item view to MessageList * Stores per-message metadata * Fix a number of todo's in MessageList * Clicking on checkbox toggles state, updates checked list * clicking on star toggles favorite state To do: When one or more messages are checked, we should slide in a panel with action buttons.
/packages/apps/Email/src/com/android/email/activity/MessageListItem.java
|