/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
H A D | ConversionUtilities.java | 66 public String snippet; field in class:ConversionUtilities.BodyFieldData 124 data.snippet = TextUtilities.makeSnippetFromPlainText(text); 129 if (data.snippet == null) { 130 data.snippet = TextUtilities.makeSnippetFromHtmlText(text);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | GlobalSearchSupport.java | 276 private String shortenSnippet(final String snippet) { argument 277 if (snippet == null) { 282 int to = snippet.length(); 283 int start = snippet.indexOf(SNIPPET_START_MATCH); 288 int firstNl = snippet.lastIndexOf('\n', start); 292 int end = snippet.lastIndexOf(SNIPPET_END_MATCH); 294 int lastNl = snippet.indexOf('\n', end); 302 char c = snippet.charAt(i);
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | SuggestionsProvider.java | 119 public Row(int row, String snippet) { argument 120 mSnippet = snippet.trim(); 131 * FTS3 snippet function does not work so we do it here in the code. 134 int snippetColumn = mDatabaseCursor.getColumnIndex("snippet"); 141 String snippet = mDatabaseCursor.getString(snippetColumn); 142 if (!TextUtils.equals(previousSnippet, snippet)) { 143 mRows.add(new Row(i, snippet)); 144 previousSnippet = snippet;
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Conversation.java | 71 public String snippet; field in class:Conversation 217 dest.writeString(snippet); 250 snippet = in.readString(); 356 snippet = cursor.getString(UIProvider.CONVERSATION_SNIPPET_COLUMN); 404 snippet = other.snippet; 419 public static Conversation create(long id, Uri uri, String subject, long dateMs, String snippet, argument 433 conversation.snippet = snippet; 640 * Get the snippet fo 719 getSubjectAndSnippetForDisplay(Context context, String filteredSubject, String snippet) argument [all...] |
H A D | Message.java | 82 public String snippet; field in class:Message 229 dest.writeString(snippet); 263 snippet = in.readString(); 323 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN); 390 // body values (snippet/bodyText/bodyHtml) 399 snippet = data.snippet;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | NotificationUtils.java | 829 conversation.snippet); 1093 * @param snippet Snippet of the new message that triggered the notification 1098 String senders, String subject, String snippet) { 1101 final String subjectSnippet = !TextUtils.isEmpty(subject) ? subject : snippet; 1107 // If the senders are empty, just use the subject/snippet. 1110 // If the subject/snippet is empty, just use the senders. 1176 final String snippet = getMessageBodyWithoutElidedText(message); 1180 !TextUtils.isEmpty(snippet) ? snippet.replaceAll("\\n\\s+", "\n") : ""; 1183 // If the subject is empty, just use the snippet 1097 getSingleMessageInboxLine(Context context, String senders, String subject, String snippet) argument [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | ContactHeaderWidget.java | 405 * Manually set the social snippet text to display in the header. This doesn't change the 408 public void setSocialSnippet(CharSequence snippet) { argument 409 if (snippet == null) { 413 mStatusView.setText(snippet);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 876 * name and search snippet. This will disable the mask highlighting for names. 1084 * Adds or updates a text view for the search snippet. 1098 * Returns the text view for the search snippet, creating it if necessary. 1291 * Shows search snippet. 1299 String snippet = cursor.getString(summarySnippetColumnIndex); 1313 snippet = updateSnippet(snippet, query, displayName); 1316 if (snippet != null) { 1318 int to = snippet.length(); 1319 int start = snippet 1360 updateSnippet(String snippet, String query, String displayName) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 3838 public ContentValues createSnippetContentValues(long contactId, String snippet) { argument 3842 values.put(SearchSnippetColumns.SNIPPET, snippet); 3867 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 3869 assertContainsValues(buildFilterUri("cave", true), snippet); 3870 assertContainsValues(buildFilterUri("john", true), snippet); 3879 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 3881 assertContainsValues(buildFilterUri("cave", true), snippet); 3894 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); 3896 assertContainsValues(buildFilterUri("aperture", true), snippet); 3905 ContentValues snippet [all...] |