summaryrefslogtreecommitdiff
path: root/src/com/android/mail/analytics/AnalyticsUtils.java
Commit message (Collapse)AuthorAgeFilesLines
* New keyboard shortcutsJin Cao2014-09-251-2/+4
| | | | | | | | | Does not include ctrl+ENTER for SEND & we need a new key for REPLY since we are not supporting shift. b/17070243 Change-Id: Ia5f179336dfc2b6631e1a5f26ee888f82f4873c0
* Use custom toolbar only for tablets and fix line sizeJin Cao2014-09-021-0/+2
| | | | | | | | | | | - only use custom toolbar for tablets so phones won't get any bugs associated with it. - for tablet toolbar title, set it to single line and ellipsize properly in case of long title. - also align title text accordingly. b/17332114 b/17331396 b/17360830 Change-Id: Ib7eecf684303a877a228d7453e2df8825842b6ba
* Add custom view for toolbar to reposition search iconJin Cao2014-08-251-2/+0
| | | | | | | | | | | | Remove search from the default menu items and add the search button to a custom view so we can position it ourselves. This involved extending the toolbar class because custom views cover up the toolbar title by default. b/17070560 Change-Id: Iba7d127a58b8061d84228732fcadbd82665d0835
* Refactoring: Move Analytics email-providers out of AOSPRégis Décamps2014-08-211-29/+0
| | | | | | | | | Google analytics is not used in the AOSP UnifiedEmail project. Therefore AnalyticsUtils should not handle the detection of email providers based on the email address. Bug: 17141023 Better aggregate email providers in dimension "Email Provider" Change-Id: Ib91310ec244906ba6b98fa75f22f5f0cb2f5926c
* minor change of getAccountTypeForAccount in AnalyticsUtilsRégis Décamps2014-08-201-25/+25
| | | | | | | | | | | | | | Rename the method from getAccountTypeForAccount into getEmailProviderForAddress because - it doesn't return a type in the sense of POP/IMAP/etc - the input isn't an accounts.Account Also, refactor to use `equals` on domain rather than `endsWith` on address. Also, canonicalize to lower case. Change-Id: I616ffb2df5300741bc147914648f80ec0fc3dccd
* Support "deleting" in outboxJin Cao2014-08-011-0/+2
| | | | | | | | | | | | | - Allow only failed items in Outbox to be swiped away/deleted. - Same applies for multi-selection. - "Deleting" in Outbox means remove the outbox label from the failed message and applying the drafts label. This needs to be implemented by both Gmail and Email providers. - Added new ConversationOperation for this new action. b/4080109 Change-Id: Ia9c8e386c7c65693f72fda85a49cb6a1b7d1fec1
* stable action itemsAndrew Sapperstein2014-07-231-4/+0
| | | | | | b/16167419 Change-Id: I72c7c44f5728563da1fcbd39daa31ccd41845d8a
* Message header ui update. b/15595931Andrew Sapperstein2014-07-011-2/+2
| | | | Change-Id: Ic3ce06409707e326e4dc2eef6bb8617f5f03d1b8
* add 'show pictures' clicks to analyticsAndy Huang2013-11-251-0/+2
| | | | Change-Id: I456bb3dba3d87e7f375d098921e42d24434e2c02
* misc analyticsAndy Huang2013-11-211-0/+34
| | | | | | | | | | | | | | * lots of new menu items * log auto-advance setting * log message header taps * log photo-viewer menu items * log conversation views (including enclosing label, synced state, message count) * log folder views (including bucketed total counts) * log pager swipes (including folder type) Bug: 11253673 Change-Id: Iffdcbf19b202fbb3b6b33e0f7f0e9e4c24fa948d
* New attach UI: file-only on K, photo & file pre-K.Andrew Sapperstein2013-10-111-2/+0
| | | | Change-Id: I5248db59e7b9bfdb8e498b0f4695ba2c427109ae
* analytics: mark-read/unread, notification dismissAndy Huang2013-08-281-0/+4
| | | | Change-Id: I2fffd03f1d147b5ddea0733fe449a76d2fba989d
* metrics for attachmentsAndy Huang2013-08-161-0/+4
| | | | | | | | Improve folder-switch logging with detailed data for system folders. Also prevent exits from a blank compose from triggering a log event. Bug: 9861033 Change-Id: Ie75323fe3704d3010acd864c6d7c646ebd7708b5
* compose/attachment metricsAndy Huang2013-08-151-0/+12
| | | | | | | | Log attachment count on send/save (and not discard), and only on activity termination (to avoid multiple hits per compose). Bug: 9861033 Change-Id: Icbe574aa45fe4f7804c52d46f4efc91be0437f7f
* move ad analytics to gmailAndy Huang2013-08-141-9/+3
| | | | | Bug: 9861033 Change-Id: I30bbf5ea7b9e2a2a03588263be1afc9909e16729
* more metricsAndy Huang2013-08-141-0/+8
| | | | | | | | | | | Reorg category/action/label to be more economical. This gives us an extra slot for data vs. spending on custom dimensions in the future. Log CAB actions, some settings state, drawer toggles, CAB mode start, swipe dismiss, and peek. Bug: 9861033 Change-Id: I16b30356db70f60ed87749f29ddd667790acbb07
* basic analytics supportAndy Huang2013-08-121-0/+109
Bug: 9861033 Change-Id: I940e25dc12a7cbfe91b1d5ec457c7fc1045171df