OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPrefixHighlighter
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Contacts/tests/src/com/android/contacts/format/
PrefixHighligherTest.java
33
private PrefixHighlighter
mPrefixHighlighter
;
40
mPrefixHighlighter
= new PrefixHighlighter(TEST_PREFIX_HIGHLIGHT_COLOR);
48
mPrefixHighlighter
.setText(mView, "", new char[0]);
51
mPrefixHighlighter
.setText(mView, "test", new char[0]);
56
mPrefixHighlighter
.setText(mView, "test", "TE".toCharArray());
59
mPrefixHighlighter
.setText(mView, "Test", "TE".toCharArray());
62
mPrefixHighlighter
.setText(mView, "TEst", "TE".toCharArray());
65
mPrefixHighlighter
.setText(mView, "a test", "TE".toCharArray());
70
mPrefixHighlighter
.setText(mView, "test", "TA".toCharArray());
75
mPrefixHighlighter
.setText(mView, "a test's tests are not tests", "TE".toCharArray())
[
all
...]
DisplayNameFormatterTest.java
36
private PrefixHighlighter
mPrefixHighlighter
;
45
mPrefixHighlighter
= new PrefixHighlighter(TEST_PREFIX_HIGHLIGHT_COLOR);
46
mDisplayNameFormatter = new DisplayNameFormatter(
mPrefixHighlighter
);
/packages/apps/Contacts/src/com/android/contacts/format/
DisplayNameFormatter.java
32
private final PrefixHighlighter
mPrefixHighlighter
;
39
mPrefixHighlighter
= prefixHighlighter;
78
text =
mPrefixHighlighter
.apply(text, highlightedPrefix);
Completed in 68 milliseconds