History log of /frameworks/base/core/java/android/widget/SuggestionsAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5dddb70b4eb37acd2d7a7abe6604153b6089eea9 03-Jul-2014 Alan Viverette <alanv@google.com> Add style for SearchView

BUG: 6420978
Change-Id: I31d9f7e66c2404388ccbe6d2e43a005deb0b7c25
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
6dbe51b50e82057af4d29882889444d22ac19c9c 03-Jun-2014 Alan Viverette <alanv@google.com> Clean up drawable theming APIs

Removes APIs for themed creation of a drawable from a stream, since
that doesn't involve any inflation. Also cleans up tinting methods
left over from previous clean up.

BUG: 15089957
Change-Id: I2af7aa9a6d351ae61b33ee1216c674fae1bffe11
Signed-off-by: Alan Viverette <alanv@google.com>
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
52b999f0721b53e9c6e18a4bd664e89aeb65b2d5 25-Mar-2014 Alan Viverette <alanv@google.com> Implement APIs for obtaining, caching themed Drawables

When Drawables are inflated during preload (or otherwise without a theme)
they cache their themeable attributes in their constant state as an array
keyed on attribute index. Drawables inflated with a theme will simply
resolve theme attributes as part of normal inflation, and they will not
cache any themeable attributes.

Drawables obtained from Resources are pulled from theme-specific cache
when possible. If an unthemed Drawable exists in the preload cache, a
new constant state will be obtained for the Drawable and the theme will
be applied by resolving the cached themeable attributes and overwriting
their respective constant state properties. If no cached version exists,
a new Drawable is inflated against the desired theme.

Constant states from themed drawables may be cached if the applied theme
is "pure" and was loaded from a style resource without any subsequent
modifications.

This CL does not handle applying themes to several Drawable types, but it
fully supports BitmapDrawable, GradientDrawable, NinePatchDrawable,
ColorDrawable, and TouchFeedbackDrawable.

BUG: 12611005
Change-Id: I4e794fbb62f7a371715f4ebdf946ee5f9a5ad1c9
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 04-Feb-2014 Alan Viverette <alanv@google.com> Add APIs for obtaining themed Drawable from Theme, Context

BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
8790764e4c20737e57dafdfb3bb1c8cdb84169c5 03-Nov-2011 Amith Yamasani <yamasani@google.com> Close suggestions cursor when SearchView is detached.

Make sure that delayed filter requests don't go through after
the view was detached.

Bug: 5484819
Change-Id: I4d5ff5ea9b52109ecce7f84fa4d91dfcb6225037
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
b4569fb17fada4fdc43e4f4dbfbc79bb097a1f74 09-Jul-2011 Amith Yamasani <yamasani@google.com> SearchView behavioral and visual changes

Align text suggestions and search string.
Close button only clears the field.
Back button clears focus, hides dropdown and keyboard.
Tweaked SearchDialog's use of SearchView to follow above patterns.
Fixed other little bugs.

Change-Id: I9d34c2ebe2b1b2ca887220894c19a26809db85f6
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
de6e2ca7fb7c2b6dc1a90e77be1cbac3af428598 20-Jan-2011 Amith Yamasani <yamasani@google.com> Ensure that the column is valid before querying.

Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
e678f46ec45076203f6260f8a26f56d838c6b6ff 16-Sep-2010 Amith Yamasani <yamasani@google.com> Query refinement feature in SearchView.

New method : setQueryRefinementEnabled() which will either enable all suggestions
to have the little query refinement icon in the right or just the ones that have
a bit set in the new SUGGEST_FLAGS column of the suggestion provider cursor.
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java
733cbd58cbc3cf438a7ac0a2902b8aeab941a6b9 03-Sep-2010 Amith Yamasani <yamasani@google.com> SearchView API

Implements the basic requirements for in-app search. More work to be done.
/frameworks/base/core/java/android/widget/SuggestionsAdapter.java