summaryrefslogtreecommitdiffstats
path: root/unified_src
Commit message (Collapse)AuthorAgeFilesLines
* Remove getSuggestionsAuthorityJin Cao2014-08-221-6/+0
| | | | Change-Id: Iab3f6b62fa667cb07495982acf6c62d6862f2150
* Quantum search - version 1Jin Cao2014-08-211-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I apologize in advance for this huge CL. - New icons (yay!) - Abandon framework search and handle in-app search functionality ourselves. This is made possible because we use Toolbar and can position any custom view on top. - Remove all previous search related attributes, including search providers, searchable, search authority, default search menu item layout, etc. - Cleaned up the recent history provider to contain only the functionalities we need - query, add, and delete. Instead of using the framework to add recent queries, we directly insert into our database. Since the provider no longer needs to extend ContentProvider, removed some unnecessary callbacks such as onCreate. - Custom quantum search views: - Top search bar, this is inserted in a FrameLayout on top of Toolbar. The search bar interacts with the suggestion list and AbstractActivityController via the QuantumSearchViewController interface. - Suggestions list, this is inserted in the FrameLayout that typically contains the main content pane for either one-pane or two-pane layouts. Again, this interacts with the action bar via the controller. - Voice search, this is simply an implicit intent that converts speech to text. b/16518233 Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65
* Refactor PreferenceMigratorScott Kennedy2013-07-311-30/+0
| | | | | | | | | Do the same thing as with LogTag, so that we don't have the same class name in the same package name in three projects. This makes IDE builds much easier. Change-Id: I5abf83456d7c1ae76381c9596938429ce93354af
* Unify LogTagScott Kennedy2013-06-051-28/+0
| | | | | | | | | | | | | | | | | | | | There is now only one LogTag class. The static initializer of GmailApplication (existing) and EmailApplication (new) will now set the log tag to "Gmail" and "Email", respectively. Up until that code is run, it will be "UnifiedEmail". "setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to be printed as long as they go through LogUtils, regardless of what tag is used by that individual log. This lets us still turn on logging everywhere in one command, but also lets us use more descriptive tags (like the class name). And since we no longer have three com.android.mail.utils.LogTag classes, builds will be much easier. Also, we now use LogUtils everywhere. Change-Id: Iec53e87cad0a46b73d2afbbd8d44aca097a5087a
* First step in simplifying MailAppProvider/app startupPaul Westbrook2013-03-121-34/+0
| | | | | | | | | Define a resource that specifies which content provider uris should be used to get the account list. This removes the need to have the extra code to handle various provider/receiver startup orders, as only after MailAppProvider is in onCreate() will we attempt to load the account list Change-Id: Ief5f188bf1663fcc1c389c5ce48e2173b474f6ea
* Move notifications to UnifiedEmailScott Kennedy2013-02-071-0/+30
| | | | | | | | | | | | This involves redoing the persistence model, to split general, account, and folder settings into separate SharedPreference stores. It also requires some preferences to be moved into UnifiedEmail. Depends on I71802444add85dc01f6645906a629ff80b964222 (UnifiedGmail) Depends on Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2 (Email) Change-Id: Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d
* Wire up mock provider testing.Mindy Pereira2012-07-201-12/+0
| | | | | | | | UnifiedEmail doesn't have the correct permissions to access Gmail accounts, so just load the mock accounts when building/ running the unifiedemail app Also, create mock conversationinfo's to test out ui side changes to sender formatting in the conversation list Change-Id: Iddaad001df8dd40a859c44a080cfe76d5077fa3d
* Changes to support different Log tagsPaul Westbrook2012-06-251-0/+28
| | | | Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
* Correct authority for suggestions providerVikram Aggarwal2012-04-031-0/+10
| | | | Change-Id: I363e8f00c7baeed9cae94fe25242594d6e4d4250
* Support for no account casePaul Westbrook2012-03-271-1/+8
| | | | Change-Id: I43150580aed2ef8d100702c13190d84f3d8d339c
* Rename AccountCacheProvider -> MailAppProviderPaul Westbrook2012-03-222-6/+4
| | | | Change-Id: I7d1079ab2a48c5c845dee2ceff281bdf00c70b0f
* Move account cursor management to AccountCacheProviderPaul Westbrook2012-03-011-4/+12
| | | | | | Now the AccountCacheProvider rus th queries and updates the data when changes happen Change-Id: I32333f77579009506db790eab1e48c05a639e4cc
* Start of restructuring to allow overlays include subset of providersPaul Westbrook2012-02-084-0/+112
This allows us to build a UnifiedEmail that supports all providers and use this base to build applications that only supports a subset of the providers Made AccountCacheProvider and ConversationProvider abstract. This allows the extending class to specify the authority that should be used (This allows both UnifiedEmail and Gmail to be installed at the same time) Change-Id: I31295f4630906e7182e423fcbb7b47c33ba4cd4f