f16bea9765ee9838d316655d38cb51b72a3b4acb |
|
14-Jul-2010 |
Bjorn Bringert <bringert@android.com> |
More edit distance optimization Reduces CPU time for formatSuggestion() in LevenshteinFormatterTest from 44 ms to 30 ms (32% reduction). This is on top of mathewi's recent optimization. The total reduction is now from 72 ms to 30 ms (58% reduction). Also adds @SmallTest annotations to the edit distance tests so that they will be included in the continuous test suite. Bug: 2836498 Change-Id: I7cc4156df4f9e993ce72cd35001d1abaa7c239e3
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionFormatter.java
|
132a8afcb4970d1b783a6dba7944dc0dd5063101 |
|
30-Jun-2010 |
Mathew Inwood <mathewi@google.com> |
Allow suggested & query text style to be defined in XML. Also refactored the creation of the formatting objects, for more flexibility and better testability. Change-Id: I059a57ce9c4206e90a8e46492efd89a55694fed3
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionFormatter.java
|
2fb3a129925a42e72944b836e85a1a2d55a0d950 |
|
29-Jun-2010 |
Mathew Inwood <mathewi@google.com> |
Implemented suggestion bolding. The part of the query that the user did not type is highlighed, currently in bold. Bug: 2806529. Change-Id: I087c4cd80faf878a54e1fa8d4c2833eef4329a62
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionFormatter.java
|