commit | 3d7311f76f3f41a5794b01536498c634b3ff2a69 | [log] [tgz] |
---|---|---|
author | Flavio Lerda <flerda@google.com> | Wed Jun 01 20:28:15 2011 +0100 |
committer | Flavio Lerda <flerda@google.com> | Thu Jun 02 19:20:21 2011 +0100 |
tree | 9e6cb2e8e50a2e52647132425e1f86639d2e80ed | |
parent | 9ac11cef9b48a5e23db9eaf0fbeb64fd8ace4e87 [diff] |
Extract a couple of utility classes for formatting. The PrefixHighlighter class handles highlighting of a prefix in a text view. The DisplayNameFormatter handles both the bold of the first name and the highlight needed when searching (using the PrefixHighlighter above). Change-Id: Ibd1d3ecd6a88ce40de6dbc591af21c1e7260511e