History log of /packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef94267afd5df516dd6045360d6eaeb533841b77 10-Jul-2015 Chris Wren <cwren@android.com> import new view enums into MetricsLogger

Bug: 21114836
Change-Id: I9a6e00ab8d85726ca6505a28ca7a52aef5aa1e1a
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
cbbc69b823021fd261db4b5d1f43d6e322ee39c6 23-Jun-2015 Jason Monk <jmonk@google.com> Add action for search results including the count

Bug: 20293458
Change-Id: I9d3f04fb74c0e978e69e17898b703e270298fcbc
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
fe144d7b727136b17ed51b8d96149b9a57b38b50 07-Nov-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #17526111 Keyboard should dismiss when Settings search query is submitted

- dismiss keyboard when the query is submitted by returning the correct value to
onQueryTextSubmit()

Change-Id: I3da0606ea7c5e65c860784a867a54ad30589b3a7
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
e0284653b700652e30f0d2f4ec8449056a60c2d9 01-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Search Suggestions and Results Panel

- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
f24859cdb76c840a9ff97a4ccc1e4a2753d565a6 24-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15827043 - Stability: CursorIndexOutOfBoundsException in Settings: Index -1 requested, with a size of 38

- ahhhh Monkeys, do not allow to have position < 0

Similar fix than the one done for:

mSuggestionsListView.setOnItemClickListener(...) in I3a8ded4c1471a1589134826539c9db1b551f49dd

Change-Id: I6ef266852e2c2ab5d0d0f6b4faf358b22d12bf6b
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
47a25e76409aec1ae29b983779addf39722377f6 20-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Dashboard layout again

- follow UX spec
- update also the Search Panels (suggestions / results) to
follow the same specs

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
a8b4dcc8272ce4da23dfca62ef7593b26fcabeb1 13-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15611108 Stability: CursorIndexOutOfBoundsException in Settings: Index -1 requested, with a size of 1

- do not allow to have position < 0

A use case was generated by the Monkeys where they were capable to click on the Header.

Change-Id: I3a8ded4c1471a1589134826539c9db1b551f49dd
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
04cde9853829b1f1ea6c528d0c11b76f2932982d 10-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Tune Recents Search and Search Results

- add the capability to scroll recents and results with their
header (old request from UX)

See bug: #12910134 Implement Search into the Settings App

Change-Id: If3c4a23b928b189803f2ef8e13a61746c2790b4b
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
a9e77993d1f82a230ff381134d4a22eff4a907cd 09-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14499324 Label of the "Language & input " page doesn't get updated
...as per the newly selected language

- use also title resource id when possible

Change-Id: Ibeb95d605cd79910c18f4529b749645c9ed0fc17
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
132652c5576462f036ed9437720b15b0c31430e4 06-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Do not show the Preference summary in Search results

- as the summary was sometimes showing "Unknown" or even not the
real Preference value (we dont have right now the capability to
know the current value of a Preference), so it is better to be
safe than sorry.

Change-Id: I009c31fc41ad35a630f4b34aa0ef998932f65263
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
302f75d6e6005e46e4500f3419bf1010202765e1 04-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Tune Search Results layout

- make the summary view as GONE when its text is empty

See bug: #12910134 Implement Search into the Settings App

Change-Id: Iafd680706b937137eaa30692e1c57a77cb5d7fc8
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
7e4855e8f644bdecf68ec65b8c1b7c08624a4876 24-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Search recents behavior

- per UX request
- Search recents show now by defaults with the recent searches
when the SearchView is empty
- when we press on a Serach recent, we are showing the Search results
and the recents are disappearing
- when keying text in the SearchView, we hide the recents and start
showing the results
- we still save the Search query when hitting on a result

Change-Id: I6c2be21660a30f6973dea27d4852b2068a05963d
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
3f6d2e422bbeb6ac4daaff32a9db830044e879c2 20-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Search results layout

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
f40852046b367bbcb14b6eeea0957c79996b97e3 15-May-2014 Fabrice Di Meglio <fdimeglio@google.com> First batch of new Quantum Theme assets

- needed for Quantum Theme support

Change-Id: I90e8fdbb86a3cc5d5c209d4d345f6d423b2a1d5d
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
8c3b0ce7120da882082eed533462090c4feadff8 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14323469 Settings crash on selecting keyword from recent searches
... after changing orientation

- set the SearchView for the SearchResultsFragment when the SearchView is
instantiated in the onCreateOptionsMenu(Menu)

- take care of the correct showing of the Recent Searched (suggestions)

Change-Id: Idfa17436d4a2436e0947ce1e1692355def3821a3
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
769630c8956fa844545d964166da90cc802fabac 24-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings new dashboard - part 2

Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.

- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)

Also remove all the old code related to Headers

Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
d297a5840230b769a3c7ad8b85232968a7077f64 23-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add saved Search queries feature

- update SearchResultsSummary fragment to have two lists:
one for Search suggestions (saved queries) and one for
Search results
- a tap on a saved query will launch that Search query
- show the list of saved queries when tapping on the SearchView
- do some fancy hidding / unhidding of the saved queries list
and results list

Change-Id: If15055ab78b0ec5eef4e543173dc7b866bd08e27
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
ab791fccf94b91c2e70e788743dc03d9123c176b 22-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Save Search queries

- update database model for adding a table for saving a query
and its timestamp
- update database version
- save the query when the User tap on a Search result
- remove old queries (no more than 5 are saved)

Change-Id: I4ddff0ad660944c7fd53be64ac95397850dc60d0
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
a32707664f85b77602d1fe45458e92fce1448ce2 17-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search - add "live" search results

- now it is possible to have Search results directly when
you are typing (and not only when you press on the Search button
in the IME)
- implement onQueryTextChange(...)
- take care about re-runnin the saved query when the app is resumed

Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
8f5c65fd010d249770fda81c1129c1d7555a3299 15-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search results - just show the first item of ListPreference entries

- need to increment the database model version to force re-indexing
- change entries separator from SPACE to PIPE
- just show the first entries value in the Search results

Change-Id: I747218ff3528c3231c0209f8870c12f65e036070
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
71a2ef3e7c9e8a4e1ec8fa84212dcb6816cb86fc 15-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update UI for Search results

- put the icon on the left
- just use the "summaryOn" ellipsized instead of the list
of values

Change-Id: I7250ff5b7c882b873cfe6bb0ec550a8eaf052d16
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
c1457323d271309d5d1955743cd806417c84b9d6 05-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add support for saving and using the Preference's key value

- modify the SQlite data model
- update Index code for managing the key value
- pass the key when launching a Fragment or and Activity
- implement a small animation for highlighting the Preference
from a Search result

Change-Id: I617643a4e5e3b752ece8f45ce7d5429037e479da
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
a41707200b6628376e8fb575e782d8228c0d32a2 03-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add indexing for ListPreferences

- now support ListPreferences and save the "entries" attribute
- update Index database schema (and increment its version)
- do some clever stuff when showing Search results: if there is
a "$s" or "%s" in the summary (replacement strings), just use
the entries instead

Change-Id: If36595c3816706b6349faff7d3c2e725d3ea33f4
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
9593782d154f378a0c911cd015d410c18fe74a92 01-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add indexing for Notifications preferences

- also add indexing of CheckBoxPreferences
- also some code cleaning

Change-Id: I2943caaec3d64fb2a6be85168454fc76fe572afe
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java
d25314d3305ed1a07b53991a978cd71219ef2a10 22-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings - update for new UI (no more Drawer)

- follow the UX spec by no more using a Drawer
- the Dashboard is now a Fragment that contains the list of Headers
- the search results are also put into a Fragment that is replacing
the initial one (Dashboard or other) when expanding the SearchView
- use a SearchView for query input
- when tapping on a Header or a Search Result, re-launch Settings as
an Activity so that we are benefiting from the Activity stack for
UP affordance and BACK button
- manage UP affordance to show it only when needed
- move some Actions to the Menu in the ActionBar for allowing space
to the Search action and removing some clutter
- fix an issue with the Index and WiFiEnabler and their cached Context
that was not updated when there was a Configuration change
- simplify the SettingsActivity code by extracting some inner classes

Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
/packages/apps/Settings/src/com/android/settings/dashboard/SearchResultsSummary.java