Lines Matching refs:snippet
370 * Create styled text for our combination subject and snippet
373 * @param snippet the message's snippet (or null)
377 private CharSequence getStyledSubjectSnippet(String subject, String snippet, boolean read) {
389 if (!TextUtils.isEmpty(snippet)) {
393 SpannableString ss = new SpannableString(snippet);
394 ss.setSpan(new ForegroundColorSpan(sLightTextColor), 0, snippet.length(),
437 // Add style to subject/snippet
439 String snippet = mCursor.getString(EmailWidgetLoader.WIDGET_COLUMN_SNIPPET);
440 CharSequence subjectAndSnippet = getStyledSubjectSnippet(subject, snippet, !isUnread);