57b30e63e9a51f48b4e9bfea635b9e97d873075e |
|
17-Aug-2014 |
Jin Cao <jinyan@google.com> |
[Quantum] Quoted text New styles for quoted text and respond inline. I was not able to remove the default padding that comes with the checkbox widget, so I used negative margins to offset it. b/16876147 Change-Id: I748ac5a99917b9c25573fa06876dd720bcccc04d
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
2a3cc13b4473136c6ebfb0a257f81c66c2d3e8b3 |
|
22-Apr-2014 |
Anthony Lee <anthonylee@google.com> |
b/14075613. Don't use indices created from html on text/plain strings. The problem resulted in a StringIndexOutOfBounds exception when composing a reply from a plain/text only email. The tricky part is the the text entered in the response needs to be short too. The index of the point where the quoted text starts is built off of an html formatted buffer but applied to a text/plain buffer in the response. This problem was not one that was seen in the Gmail app since all mails contain html parts but the Email app is not so lucky. Change-Id: I666c21d9066f5a2f4dc7131fa151e34ff6193ee2
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
38fe6f9322b862632c80a16825eee5f2961600c4 |
|
24-Jan-2014 |
Andrew Sapperstein <asapperstein@google.com> |
RTL - quoted text checkbox and respond inline. Fixes b/12683654. Change-Id: I5fd032560a93058e0a2b7c476bdf43f0c8958a79
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
bc5e0dcf723918eb986d733ef42d64bcf2ec4ed5 |
|
08-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Support compose with quoted html. ComposeActivity now can be started with EXTRA_QUOTED_TEXT or EXTRA_HTML_TEXT which will place text into the quoted region automatically. Goes towards fixing b/6373710 but using EXTRA_HTML_TEXT has not yet been tested. Change-Id: I795a0141603670891ccc09a65b2432c0f8db95c8
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
2b9d80eb16156173f11a02eae4f770d8c975927c |
|
31-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Change all resid switches to if-elseif-else I really want to get this building in an IDE. As per http://tools.android.com/tips/non-constant-fields, library projects (like UnifiedEmail will be) have non-final R constants. They are not final until packaged into the main application project's (Gmail/Email)'s R.java. As such, they cannot be used in switch case statements, and we must use if-elseif-elseif-elseif-...-else instead. "This is typically in UI code and the performance impact is negligible." Change-Id: Ie699c13e1becd51c59c1b2ea81bc902d4f2e28d9
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.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/compose/QuotedTextView.java
|
8960f0af431bc164003e09b3c8981aab808d9ec1 |
|
08-Nov-2012 |
Scott Kennedy <skennedy@google.com> |
Maintain to/cc/bcc state on rotation The tokenized string was never updated after being initially set, even if the backing values changed. Additionally, the to/cc/bcc values were never updated once the Message was initially created. Bug: 7490394 Change-Id: Iae1c8ae88f9ab5b8e2e7fe10835587b61decf0c8
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
40882430c874ff29890ec6fa31f7649788cbc470 |
|
06-Sep-2012 |
mindyp <mindyp@google.com> |
Move attachments below compose body, above quoted text Remove collapse/ expand bar Fixes b/7087015 attachment layout questions for phone and tablet turns out there are no add'l changes for tablet Change-Id: Ieb24b0e743a9d95b1b69b2413c44d80415cfe673
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
d0f6725e1d614ef7dcc6b31f1aa89b02c5dfbbb5 |
|
03-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Make it possible for apps to override what begins quoted text. We NEED this for Gmail! The servers look for it. Change-Id: I12841134c46c3133aa2daa8a5a9f4a2e512b3bc2
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
752222d839d9afeb5c4665669eab81645e413495 |
|
19-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Block loading network content unless the user. If the user hasn't said always show pics from this sender, block the network content for the quoted text view. Note: if the images got cached at some point, they may show up But we won't hit the network for them So a user will never see them if they enver said "show pictures" Fixes b/6302843 Replying to a message always shows inline images in the quoted message Also, fixes random orientation change crash Change-Id: Id971dde8fd3e09fba0cf0174f03ddfb8975db57e
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
7df89ba879edadcf89405b5def6817e76f45fbc9 |
|
19-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Fixup forward logic. Fixes b/6843635 forward headers are not included when forwarding a message from gmail Change-Id: If7ef212663f75d255946657a26695d48d853b8e5
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
c5b5ec04e37480bb4a24e4ac83b163289f04544f |
|
20-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Dont append quoted text twice If you don't want quoted text to show up twice, don't append it twice duh fixes b/6391832 Quoted text in the reply message is displayed twice while replying to a mail Change-Id: I85ed7bb3ca533d1e459f980aa62466a5920b22c7
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
e17c999027d226227b7771182a50d7ca1f22fce7 |
|
12-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Fix positioning of the divider bar when quoted text is missing. Fix is from standard gmail branch. fixes b/6375587 When forwarding Line next to respond inline is too far left Change-Id: I827df58699faf71c3f0c625af3951e65c8e42272
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
95141f8887011fcdd647006ddd4f75866a7e1419 |
|
01-Jun-2012 |
Paul Westbrook <pwestbro@google.com> |
Move Html parser to UnifiedEmail's Utils We should audit other useages of Html.fromHtml to see if we should switch to this Change-Id: I84e01cf45791466a97e605483ee478b06705a15f
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
3971323f24b15b541f7460c1a4db42d78eb1873b |
|
30-May-2012 |
Mindy Pereira <mindyp@google.com> |
Forwards should not have the option to remove quoted text Removes the options when restoring from a draft Change-Id: I3de364110d33be7f5f7b25b1a3f67bbb7824f8b4
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
07897cc9f8af12d8924c87e59231b2ee909b9145 |
|
30-May-2012 |
Mindy Pereira <mindyp@google.com> |
Fix how we determine the quoted text offset. Fixes b/6580281 quoted text offset is incorrect Change-Id: Ie2ac127ed1fc031a01074044b2f54eb4e525de05
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
002ff5244800c32f2d70c96cc1110657020ee65c |
|
30-May-2012 |
Mindy Pereira <mindyp@google.com> |
make sure we properly represent quoted text in drafts. Change-Id: I86c0c09541e20d65bb3a91be9bbd229fe7c8fb1f
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
5c200f433cc35d434c1a039d7f24865ef8b09782 |
|
20-Apr-2012 |
Marc Blank <mblank@google.com> |
Enable use of plain text body for quoted text Bug: 6367954 Change-Id: I707624b895c057a267a4000c64bd6dec35ab7abe
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
e8f94dc92567d8efa691860c38720d3ae753f429 |
|
16-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Fix a bunch orientation related issues. Restore contents of message from bundle on orientation changes We don't care about whats in the draft, since it may not be done saving yet anyway Change-Id: I51ef0324fa871b3624c16e24e60d43c92f9ef5a0
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
993ef2674bf860a84c5c17e51a7a9e13e5d56504 |
|
21-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
We need the html parser to properly format quoted text. Html.toHtml doesn't work as expected. Change-Id: Ia8f639b200b054e29a59eda5e8d326938be1f69e
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
3ce64e7ceb6246130342385d91550bcf33b31cc8 |
|
13-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Create parcelable message. Also, gets rid of and renames fields that required them per: name change to appendRefMessageContent remove custom_from field remove quoted text pos Change-Id: I33a2f83b906d2504a8a6ae58f79f1618bb8a20cd
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
1666816f97b7d69124d25f61415b8e258357e4db |
|
12-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
More recipient tests for reply/reply all/ fwd. Also added _column to the end of the html_body and text_body fields for message columns. Change-Id: I565a89d9eb811d122ca7aafd62b15a97c3cfe484
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
75f66634dd18cc8d8e6f40c4573c0edf0a0343ef |
|
11-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Cleanup text watcher logic. Adds specific text watchers designed to look for real chagnes to the to/cc/bcc fields and not just when a chip has been matched with a contact in the user's database. Also fixes a bug in comparing selected accounts to compare the account names (duh!) instead of the name to an account object. moves visibility of quoted text call to the quoted text view as the calling app shouldn't have to know about its visibility to add text. Adding quoted text should be enough to make the view visible. Change-Id: I7fbddcd1cb69672e7a07229bf2d60bde36512220
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
913897e6879f5f2713b56f13022bd784cf58a585 |
|
10-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Cleanup quoted text. Moves getting quoted text for send/ save to quotetext view. Also, adds expunge uri to the mockuiprovider. Change-Id: I6c0b7f20dc3a4459e5576388c1d86c39481209d9
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.java
|
94293687310d8fbdab4d1db91ec745d2757ac14b |
|
10-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Cleanup quoted text. Moves adding quoted text to the quoted text view so the ComposeActivity doesn't need to know anything about how to create appropriate quoted text. Also means that email/gmail can extend QuotedTextView and make it behave differently by changing the class in layout overlays. Change-Id: I74f210de56214f98bbf4d1655a21fe9e11e62be8
/packages/apps/UnifiedEmail/src/com/android/mail/compose/QuotedTextView.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/QuotedTextView.java
|