summaryrefslogtreecommitdiff
path: root/src/com/android/mail/analytics/AnalyticsTimer.java
Commit message (Collapse)AuthorAgeFilesLines
* Minor updates to AnalyticsTimerJin Cao2014-07-021-4/+19
| | | | | | | Some more constants for sync timing. Modified return type of logDuration so we have access to the logged time. Change-Id: I88884aa05ab19e56dcf35c96b4c352df6f95a30f
* Minimum html support using Html class (no ol/ul)Jin Cao2014-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | Support basic html in ComposeActivity using Html and HtmlTree class. - Extended HtmlTree to take in any arbitrary html -> object converter so we can use it to convert html to spanned as well as plaintext. - Added custom SpannedConverter to feed into HtmlTree. - Added async task to load Utils.htmlToSpan in the background. - Moved ComposeActivity#sendOrSaveInternal to a handler thread in case Utils.spanToHtml takes a long time. Note that we only support a subset of the html tags. To see the full list of tags we currently support, refer to HtmlUtils#SpannedConverter. Performance: About 3x faster than using Html.fromHtml (yay!). Performance should not be an issue for >99% of the users. b/7406122 Change-Id: I484d7fc7d2f36c4724d9e4cb90fa1d65eadcb903
* Add stopTracking method to AnalyticsTimer.Andrew Sapperstein2014-06-161-0/+7
| | | | | | b/15589647 Change-Id: I53e2123e58bd8c048f981ce9530ed3497c001b2d
* Logging for cold start and searchJin Cao2014-04-251-0/+7
| | | | | | | | Added timing logging for cold start into a list view and search. b/13628866 Change-Id: I9d3214ccb8ba259354c087ab89f447d23ee02e89
* Add Gmail timing to AnalyticsJin Cao2014-04-221-0/+74
Add support to record timing data to Analytics. In this diff it is used to record the load time of conversation view from the conversation list. b/13628866 Change-Id: Ie607c02004b895bcdccaba822843542c6143a64c