/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/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/browse/ |
H A D | ConversationItemViewCoordinates.java | 339 final TextView snippet = (TextView) view.findViewById(R.id.snippet); 340 final int snippetTopAdjust = getLatinTopAdjustment(snippet); 341 snippetX = getX(snippet); 342 snippetY = getY(snippet) + snippetTopAdjust; 343 maxSnippetWidth = snippet.getWidth(); 344 snippetHeight = snippet.getHeight(); 345 snippetFontSize = snippet.getTextSize();
|
H A D | MessageHeaderView.java | 451 final String snippet; 453 snippet = makeSnippet(mMessage.snippet); 455 snippet = mMessage.snippet; 457 mSnippet = snippet == null ? null : getBidiFormatter().unicodeWrap(snippet); 1360 * Returns a short plaintext snippet generated from the given HTML message 1362 * everything in between, and truncates the snippet to no more than 100 1365 * @return Short plaintext snippet [all...] |
H A D | ConversationItemView.java | 909 final String snippet = mHeader.conversation.getSnippet(); 910 final Spannable displayedStringBuilder = new SpannableString(snippet); 912 // measure the width of the folders which overlap the snippet view 915 // size the snippet view by subtracting the folder width from the maximum snippet width 1327 // in RTL layouts we move the snippet to the right so it doesn't overlap the folders
|
/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/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 856 * name and search snippet. This will disable the mask highlighting for names. 1087 * Adds or updates a text view for the search snippet. 1107 * Returns the text view for the search snippet, creating it if necessary. 1282 * Shows search snippet. 1290 String snippet = cursor.getString(summarySnippetColumnIndex); 1304 snippet = updateSnippet(snippet, query, displayName); 1307 if (snippet != null) { 1309 int to = snippet.length(); 1310 int start = snippet 1351 updateSnippet(String snippet, String query, String displayName) argument [all...] |
/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/apps/Messaging/src/com/android/messaging/widget/ |
H A D | WidgetConversationListService.java | 171 remoteViews.setViewVisibility(R.id.snippet, View.GONE); 200 remoteViews.setViewVisibility(R.id.snippet, View.VISIBLE); 201 remoteViews.setTextViewText(R.id.snippet, 221 // Use the attachment type as a snippet so the preview doesn't look odd
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
H A D | WidgetConversationListItemViewBuilder.java | 150 final String snippet = conversation.getSnippet(); 176 final SpannableStringBuilder snippetBuilder = new SpannableStringBuilder(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/Email/provider_src/com/android/email/provider/ |
H A D | Utilities.java | 126 localMessage.mSnippet = data.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/Exchange/src/com/android/exchange/adapter/ |
H A D | EmailSyncParser.java | 445 msg.mSnippet = data.snippet;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningServiceDetails.java | 520 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 4590 public ContentValues createSnippetContentValues(long contactId, String snippet) { argument 4594 values.put(SearchSnippets.SNIPPET, snippet); 4619 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 4621 assertContainsValues(buildFilterUri("cave", true), snippet); 4622 assertContainsValues(buildFilterUri("john", true), snippet); 4631 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); 4633 assertContainsValues(buildFilterUri("cave", true), snippet); 4646 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); 4648 assertContainsValues(buildFilterUri("aperture", true), snippet); 4657 ContentValues snippet [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | ComposeActivity.java | 1132 message.snippet = null;
|