Home
last modified time | relevance | path

Searched refs:findTagEnd (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DTextUtilitiesTests.java145 private void findTagEnd(String text, String tag) { in findTagEnd() method in TextUtilitiesTests
146 int calculatedEnd = TextUtilities.findTagEnd(text , tag, 0); in findTagEnd()
158 findTagEnd("<tag foo=\"bar\"@ /> <blah blah>", "tag"); in testFindTagEnd()
160 findTagEnd("<tag foo=\"bar\">some text@</tag>some more text", "tag"); in testFindTagEnd()
162 findTagEnd("<tag foo=\"bar\">some more text but no end tag", "tag"); in testFindTagEnd()
164 findTagEnd("<tag foo=\"bar\">some more text but no end tag", "tag "); in testFindTagEnd()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java344 /*package*/ static int findTagEnd(String htmlText, String tag, int startPos) { in findTagEnd() method in TextUtilities
405 int endTagPosition = findTagEnd(text, tag, i); in makeSnippetFromText()
615 int endTagPosition = findTagEnd(text, tag, i); in highlightTerms()