History log of /packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e3535d9998363cbf352b5f8feb9277475e380944 03-Aug-2017 Fan Zhang <zhfan@google.com> Delete DynamicindexableContentMonitor & all refs to it

Convert input device search into a search query loader

And remove old logic from DynamicIndexableContentMonitor

Change-Id: If652b1ea7c8add9185bbd025055e14925d3a8eec
Bug: 64310452
Bug: 63831980
Test: robotests
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
5035f8c5590a8eea7bf372a325a4aa0ee1e96149 03-Aug-2017 Fan Zhang <zhfan@google.com> Move a11y indexing from DynamicContentMonitor to loader

This is necessary to kill DynamicContentMonitor later

- Removed all logic related to indexing accesiblitysetting from the
monitor class and AccessibilitySetting page itself
- Created a loader to search against A11yServices at runtime

I noticed adding a loader in SearchResultsAdapter is rather manual. It's
something we should consider refactor in the future.

Bug: 64310452
Test: robotests
Change-Id: Iff31aff65ce000991229433f294e2ec69af99da2
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
465d79776f0e731b04e1976d736eda7036a27c5f 17-Jul-2017 Fan Zhang <zhfan@google.com> Improve search indexing time.

- Some import clean up.
- Add timing log to track indexing time breakdown.
- Remove isAvailable() from UserDictionaryPreferenceController.

Bug: 36391685
Test: rebuild
Change-Id: If154c5dafba5d21cb1020497c44fbf67f03ad820
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
98a9e42c93deaf5bb5f3028971065cc910e8d51f 25-Jun-2017 Matthew Fritze <mfritze@google.com> Add synchronous indexing api to SearchFeatureProvider

- Opens the database indexing to be synchronous for the
external settings api.
- Adds logging to track synchronous and async indexing
times.

Bug: 62826872
Test: make RunSettingsRoboTests
Change-Id: I28b69f3952946c0ae5dd7ea7da66f7a5fd485637
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
fbcf4e6e14d090aaced06d3f8708d6e9df1962ba 27-Jun-2017 Fan Zhang <zhfan@google.com> Trim search query when initializing installed app searcher.

Change-Id: I502185d4b497b2edac32e4a8368be76d13b68259
Fix: 62885439
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
a2dd9978d4b45f3d65a861d106cae60502de1531 25-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Remove logic for adding a search icon to action bar.

No longer used given that we don't show the search icon on any page.
The main settings page now has the search bar.

Change-Id: I9535028298739467e7fa9c75d1a2fb2b2fa3251b
Fixes: 62230804
Bug: 37477506
Test: robotests
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
048f6fb8b32ebf71f1fb9da06fce57f2c3194309 28-May-2017 Andrew Sapperstein <asapperstein@google.com> Initial search bar implementation.

Replaces the default Toolbar in SettingsActivity with one that looks
like a search bar. It uses a Toolbar inside a CardView with some custom
styling.

Since the search bar is a floating element, the new toolbar lives in the
content frame of the dashboard. A FrameLayout is used to provide the
layering that is desired.

Since the search bar is on top, an additional spacer view is added to
the list of items in the dashboard. Its color changes based on what
the first view is so that it always matches.

Adds android-support-v7-cardview as a dependency (and reorders the
other deps to be in alphabetical order).

Remaining work (in future CLs):
- remove search menu option?
- clean up initial window
- remove the line between the header and the first condition
when there's a condition

Bug: 37477506
Test: make RunSettingsRoboTests
Change-Id: Id7477b90fbaf30eb5cac1ee244c847bddb95b3fd
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java
2078bc2358031ef3a191900d9036daf4251911c1 22-May-2017 Matthew Fritze <mfritze@google.com> Remove search2 package and put everything into search

Change-Id: Ie8651c79ef023f154cd7120a88a20f3481abce2b
Fixes: 38502743
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java