Searched defs:snippet (Results 1 - 8 of 8) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
H A D | ConversionUtilities.java | 56 public String snippet; field in class:ConversionUtilities.BodyFieldData 87 data.snippet = TextUtilities.makeSnippetFromPlainText(text); 92 if (data.snippet == null) { 93 data.snippet = TextUtilities.makeSnippetFromHtmlText(text);
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListItemViewTest.java | 82 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); 90 verifyContent(view, name, snippet, timestamp, unread); 96 final String snippet, 129 assertTrue(snippetTextView.getText().toString().contains(snippet)); 93 verifyContent( final ConversationListItemView view, final String conversationName, final String snippet, final String timestamp, final boolean unread) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | GlobalSearchSupport.java | 277 private String shortenSnippet(final String snippet) { argument 278 if (snippet == null) { 283 int to = snippet.length(); 284 int start = snippet.indexOf(SNIPPET_START_MATCH); 289 int firstNl = snippet.lastIndexOf('\n', start); 293 int end = snippet.lastIndexOf(SNIPPET_END_MATCH); 295 int lastNl = snippet.indexOf('\n', end); 303 char c = snippet.charAt(i);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Message.java | 91 public String snippet; field in class:Message 273 dest.writeString(snippet); 309 snippet = in.readString(); 371 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN); 458 // body values (snippet/bodyText/bodyHtml) 466 snippet = data.snippet;
|
/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/UnifiedEmail/src/com/android/mail/utils/ |
H A D | NotificationUtils.java | 1445 * @param snippet Snippet of the new message that triggered the notification 1450 String senders, String subject, String snippet) { 1453 final String subjectSnippet = !TextUtils.isEmpty(subject) ? subject : snippet; 1459 // If the senders are empty, just use the subject/snippet. 1462 // If the subject/snippet is empty, just use the senders. 1528 final String snippet = getMessageBodyWithoutElidedText(message); 1532 !TextUtils.isEmpty(snippet) ? snippet.replaceAll("\\n\\s+", "\n") : ""; 1535 // If the subject is empty, just use the snippet. 1536 return snippet; 1449 getSingleMessageInboxLine(Context context, String senders, String subject, String snippet) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 1030 * name and search snippet. This will disable the mask highlighting for names. 1267 * Adds or updates a text view for the search snippet. 1288 * Returns the text view for the search snippet, creating it if necessary. 1483 * Shows search snippet for email and phone number matches. 1488 // number since we normalize it before querying CP2 but the snippet will fail since 1490 final String snippet = cursor.getString(snippetColumn); 1491 if (snippet == null) { 1497 if (snippet.equals(displayName)) { 1498 // If the snippet exactly matches the display name (i.e. the phone number or email 1499 // address is being used as the display name) then no snippet i 1578 updateSnippet(String snippet, String query, String displayName) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 5089 public ContentValues createSnippetContentValues(long contactId, String snippet) { argument 5093 values.put(SearchSnippets.SNIPPET, snippet); 5118 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 5120 assertContainsValues(buildFilterUri("cave", true), snippet); 5121 assertContainsValues(buildFilterUri("john", true), snippet); 5130 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 5132 assertContainsValues(buildFilterUri("cave", true), snippet); 5145 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); 5147 assertContainsValues(buildFilterUri("aperture", true), snippet); 5156 ContentValues snippet [all...] |
Completed in 301 milliseconds