Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java43 private static final int MAX_SNIPPET_LENGTH = 200; field in TextUtilities
370 char[] buffer = new char[MAX_SNIPPET_LENGTH]; in makeSnippetFromText()
383 for (int i = 0; i < length && bufferCount < MAX_SNIPPET_LENGTH; i++) { in makeSnippetFromText()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java84 private static final int MAX_SNIPPET_LENGTH = 100; field in MessageHeaderView
1373 final StringBuilder snippet = new StringBuilder(MAX_SNIPPET_LENGTH); in makeSnippet()
1378 while ((c = reader.read()) != -1 && snippet.length() < MAX_SNIPPET_LENGTH) { in makeSnippet()