History log of /packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5651e0f2ce643af912fabb5e0ffcf0d0275bc4f2 12-Jun-2017 Tony Mak <tonymak@google.com> Fix searching work app in settings NO PARTIAL RERUN

Test: m -j RunSettingsRoboTests
Test: Observe search result with badged icon and showing work app info
when tapping on it.
Test: personal app search result is still working
Test: Non app search result is working

Fix: 62366873

Merged-in: I333372699b263d02cc4083289dc746c7aacd414d

Change-Id: I9c87345478f8df57b151927d8097cd8fd90fbe79
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
0b4b7166275294e78d5afea4e24038050cce5205 06-Jun-2017 Matthew Fritze <mfritze@google.com> Check for dynamic summaries at display time for search

In order to hide dynamic summaries which use SettingPref,
we check if the summary is equal to "%s".

This is a temporary, band-aid fix which should be
changed in the next release.

Bug: 36101902
Test: make RunSettingsRoboTests
Change-Id: I6cadb3ba68f09ba18ad9a6d2a817804c5d4a08e5
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
5416a5992bceb91bd3eda63629ba5420a714747b 03-May-2017 Matthew Fritze <mfritze@google.com> Only add icons to settings items with icons

Currently the icon for the category of setting is used for
each setting result. Change it to only add an icon when
it exists in xml.

Bug: 37858983
Test: make RunSettingsRoboTests
Change-Id: Ib95e76c5a9ba2e73738cea716d72c5994a6aa0ba
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
9615f82abf4164e153fe45cc5e4b0be306c59200 05-May-2017 Matthew Fritze <mfritze@google.com> Prevent non-blocking whitespaces from showing up in search

When search results use the placeholder summary text,
it becomes non-breaking whitespace. If that is the
summary, set the visibility to gone.

Change-Id: Ic3987a0990c33b6cc5aabffa0782ece6c553784a
Merged-In: Ifefa785b6c56d56da73ca78d874f46efcb9e991f
Fixes: 38029215
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
d0b42b03229225571ed060a377a0f72264058db6 01-Apr-2017 Matthew Fritze <mfritze@google.com> Update Search UX for OC

- Change text opacity for Search UX
- Update dps between summary and breadcrumbs
- Remove icons for Title items
- Restrict summary to single line

Test: manual
Bug: 36853763
Change-Id: I2acd574ec9c490bbe7097d30c512e58ebe1ad9f2
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
c49ab99007d74edf7086e8254cb6812771313b52 13-Mar-2017 Fan Zhang <zhfan@google.com> Add misc logging:

- Button clicks in app detail page:
uninstall/disable/clear data/clear cache
- More logging in search:
log inline search result click, and its metadata such as
name/value/rank.

Fix: 32652772
Fix: 32798201
Test: make RunSettingsRoboTests
Change-Id: I90cef7c9ea9ea69ea9cf083013a38417097f8594
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
40ce0fab758714c973945ec8f053c52076d5fc50 02-Feb-2017 Matthew Fritze <mfritze@google.com> Sync search result loaders

The loaders should be syncronized so the results can be
properly ranked without sudden insertions.

This means InstalledAppsLoader needs to finish faster,
which is accomplished by delaying icon loading to bind time
rather than as the apps are queried.

Bug: 34772522
Test: make RunSettingsRoboTests
Change-Id: I7f5244c574d37c6cfd8bbd0d3d40488f38211be3
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
248d95c61809b253eb16fb1d597ed5e2f83ada78 21-Jan-2017 Fan Zhang <zhfan@google.com> Add basic breadcrumb on search result.

- Some line formatting
- Some UI tweak to make it more polished
- Updated the way we generate docid
- Use screen title as leaf level breadcrumb and display on UI (TBD how
to get parent level titles)
- Hardcode breadcrumb for installed app results

Bug: 32936784
Test: make RunSettingsRoboTests
Change-Id: I18e0780f91b1123bbf25cd99adf2e2a5f684a83c
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
39f4f6ee603d380b324d9697f1e138a2a16722dc 10-Jan-2017 Fan Zhang <zhfan@google.com> Add logging to search fragment.

- User leaves screen without any query
- Number of results clicked before leaving screen
- Event of each result click

Bug: 34204146
Test: RunSettingsRoboTests

Change-Id: I357fbb4cdfd4d02370791b4a2ddeb2127fdddf97
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
36d0d143be78e234e7c92897cb63458279d6549b 07-Dec-2016 Fan Zhang <zhfan@google.com> Add search loader for installed apps.

- The loader filters out system apps.
- Loader performs case-insensitive match with app names.
- SearchResultAdapter combines results from multiple loaders into a
single list.

Fixes: 33347966
Test: make RunSettingsRoboTests
Change-Id: I228ca6fb82f0ac5151b2346c079c2de41104a4df
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java
0ed37c351333429f58e1561fcb8e6af9c2041507 24-Oct-2016 Matthew Fritze <mfritze@google.com> Fork Search code to independantly develop and test search.

This is the start of the new search in Settings. It is a nearly complete
replacement of the old search code in a more modular and flexible
architecture. It is expanding the datasources that it queries, including
the same Settings database, which will now include more first party apps
and be extended to support inline results where the user can change
settings directly from the search view. Search will also fan out to
query new sources (local or remote), and is built in a way
such that adding additional sources is roughly the same amount of work
had they been added in the initial writing of this code.

Query interpretation will now be source-dependant, allowing for future
upgrades to fuzzy search where it is applicable.

Change-Id: Ib0bac1fe92bf8a662d33abf9a99bb6ee2090ec8f
Fixes: 32115225, 32378927
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search2/SearchViewHolder.java