OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:quoteSpans
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/util/
HtmlUtils.java
87
final QuoteSpan[]
quoteSpans
= builder.getSpans(0, length, QuoteSpan.class);
88
if (
quoteSpans
!= null &&
quoteSpans
.length != 0) {
92
for (int i = 0; i <
quoteSpans
.length; i++) {
93
replaceSpan(builder,
quoteSpans
[i], new StreamItemQuoteSpan(color, width));
/packages/apps/Contacts/tests/src/com/android/contacts/util/
HtmlUtilsTest.java
109
//
QuoteSpans
should be replaced with StreamItemQuoteSpans.
110
QuoteSpan[]
quoteSpans
= ret.getSpans(0, ret.length(), QuoteSpan.class);
111
assertEquals(1,
quoteSpans
.length);
112
assertEquals(StreamItemQuoteSpan.class,
quoteSpans
[0].getClass());
Completed in 83 milliseconds