Home
last modified time | relevance | path

Searched refs:makeSnippetFromPlainText (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DTextUtilitiesTests.java33 assertEquals("", TextUtilities.makeSnippetFromPlainText(null)); in testPlainSnippet()
34 assertEquals("", TextUtilities.makeSnippetFromPlainText("")); in testPlainSnippet()
39 assertEquals("", TextUtilities.makeSnippetFromPlainText(" \n\r\t\r\t\n")); in testPlainSnippet()
41 assertEquals("foo", TextUtilities.makeSnippetFromPlainText(c + "\r\n\tfoo \n\t\r" + c)); in testPlainSnippet()
43 TextUtilities.makeSnippetFromPlainText(c + "\r\n\tfoo \r\n bar\n\t\r" + c)); in testPlainSnippet()
47 TextUtilities.makeSnippetFromPlainText("Foo-----Bar=======Bletch")); in testPlainSnippet()
50 assertEquals(" >", TextUtilities.makeSnippetFromPlainText(" >")); in testPlainSnippet()
69 TextUtilities.makeSnippetFromPlainText("Foo-----Bar=======Bletch")); in testHtmlSnippet()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DConversionUtilities.java118 localMessage.mSnippet = TextUtilities.makeSnippetFromPlainText(text); in updateBodyFields()
DTextUtilities.java333 public static String makeSnippetFromPlainText(String text) { in makeSnippetFromPlainText() method in TextUtilities
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java952 mSnippet = TextUtilities.makeSnippetFromPlainText(mText); in addSaveOps()