Searched refs:snippet (Results 1 – 23 of 23) sorted by relevance
71 public String snippet; field in Conversation217 dest.writeString(snippet); in writeToParcel()250 snippet = in.readString(); in Conversation()356 snippet = cursor.getString(UIProvider.CONVERSATION_SNIPPET_COLUMN); in Conversation()404 snippet = other.snippet; in Conversation()419 public static Conversation create(long id, Uri uri, String subject, long dateMs, String snippet, in create() argument433 conversation.snippet = snippet; in create()645 conversationInfo.firstSnippet : snippet; in getSnippet()720 String filteredSubject, String snippet) { in getSubjectAndSnippetForDisplay() argument724 if (TextUtils.isEmpty(filteredSubject) && TextUtils.isEmpty(snippet)) { in getSubjectAndSnippetForDisplay()[all …]
84 public String snippet; field in Message231 dest.writeString(snippet); in writeToParcel()265 snippet = in.readString(); in Message()325 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN); in Message()401 snippet = data.snippet; in Message()
1298 String snippet = cursor.getString(summarySnippetColumnIndex); in showSnippet() local1312 snippet = updateSnippet(snippet, query, displayName); in showSnippet()1315 if (snippet != null) { in showSnippet()1317 int to = snippet.length(); in showSnippet()1318 int start = snippet.indexOf(DefaultContactListAdapter.SNIPPET_START_MATCH); in showSnippet()1320 snippet = null; in showSnippet()1322 int firstNl = snippet.lastIndexOf('\n', start); in showSnippet()1326 int end = snippet.lastIndexOf(DefaultContactListAdapter.SNIPPET_END_MATCH); in showSnippet()1328 int lastNl = snippet.indexOf('\n', end); in showSnippet()1336 char c = snippet.charAt(i); in showSnippet()[all …]
276 private String shortenSnippet(final String snippet) { in shortenSnippet() argument277 if (snippet == null) { in shortenSnippet()282 int to = snippet.length(); in shortenSnippet()283 int start = snippet.indexOf(SNIPPET_START_MATCH); in shortenSnippet()288 int firstNl = snippet.lastIndexOf('\n', start); in shortenSnippet()292 int end = snippet.lastIndexOf(SNIPPET_END_MATCH); in shortenSnippet()294 int lastNl = snippet.indexOf('\n', end); in shortenSnippet()302 char c = snippet.charAt(i); in shortenSnippet()
456 mSnippet = makeSnippet(mMessage.snippet); in render()458 mSnippet = mMessage.snippet; in render()1420 final StringBuilder snippet = new StringBuilder(MAX_SNIPPET_LENGTH); in makeSnippet() local1425 while ((c = reader.read()) != -1 && snippet.length() < MAX_SNIPPET_LENGTH) { in makeSnippet()1428 snippet.append(' '); in makeSnippet()1463 snippet.append(' '); in makeSnippet()1465 snippet.append('<'); in makeSnippet()1467 snippet.append('>'); in makeSnippet()1469 snippet.append('&'); in makeSnippet()1471 snippet.append('"'); in makeSnippet()[all …]
1057 final String snippet = mHeader.conversation.getSnippet(); in createSubject() local1059 Conversation.getSubjectAndSnippetForDisplay(mContext, subject, snippet)); in createSubject()1069 if (!TextUtils.isEmpty(snippet)) { in createSubject()
119 public Row(int row, String snippet) { in Row() argument120 mSnippet = snippet.trim(); in Row()141 String snippet = mDatabaseCursor.getString(snippetColumn); in computeRows() local142 if (!TextUtils.equals(previousSnippet, snippet)) { in computeRows()143 mRows.add(new Row(i, snippet)); in computeRows()144 previousSnippet = snippet; in computeRows()
66 public String snippet; field in ConversionUtilities.BodyFieldData124 data.snippet = TextUtilities.makeSnippetFromPlainText(text); in parseBodyFields()129 if (data.snippet == null) { in parseBodyFields()130 data.snippet = TextUtilities.makeSnippetFromHtmlText(text); in parseBodyFields()
913 String snippet = MessageUtils.cleanseMmsSubject(context, in fillFromCursor() local915 if (TextUtils.isEmpty(snippet)) { in fillFromCursor()916 snippet = context.getString(R.string.no_subject_view); in fillFromCursor()918 conv.mSnippet = snippet; in fillFromCursor()1315 String snippet = MessageUtils.extractEncStrFromCursor(c, SNIPPET, SNIPPET_CS); in dumpThreadsTable() local1319 " " + ThreadsColumns.SNIPPET + " : " + snippet + in dumpThreadsTable()
829 conversation.snippet); in configureLatestEventInfoFromConversation()1098 String senders, String subject, String snippet) { in getSingleMessageInboxLine() argument1101 final String subjectSnippet = !TextUtils.isEmpty(subject) ? subject : snippet; in getSingleMessageInboxLine()1176 final String snippet = getMessageBodyWithoutElidedText(message);1180 !TextUtils.isEmpty(snippet) ? snippet.replaceAll("\\n\\s+", "\n") : "";1184 return snippet;
408 public void setSocialSnippet(CharSequence snippet) { in setSocialSnippet() argument409 if (snippet == null) { in setSocialSnippet()413 mStatusView.setText(snippet); in setSocialSnippet()
154 final String snippet = conversation.getSnippet(); in getStyledView() local163 Conversation.getSubjectAndSnippetForDisplay(mContext, filteredSubject, snippet)); in getStyledView()
316 … final TextViewSnippet snippet = (TextViewSnippet)(view.findViewById(R.id.subtitle)); in onCreate()324 snippet.setText(cursor.getString(bodyPos), searchString); in onCreate()
234 CharSequence snippet = null; in setSocialSnippet() local236 setDataOrHideIfNone(snippet, statusView); in setSocialSnippet()
3838 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument3842 values.put(SearchSnippetColumns.SNIPPET, snippet); in createSnippetContentValues()3867 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNameInDisplayName() local3869 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()3870 assertContainsValues(buildFilterUri("john", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()3879 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNicknameInDisplayName() local3881 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNicknameInDisplayName()3894 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); in testSearchSnippetEmptyForCompanyInDisplayName() local3896 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName()3905 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local[all …]
123 localMessage.mSnippet = data.snippet; in copyOneMessageToProvider()
518 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
433 msg.mSnippet = data.snippet; in mimeBodyParser()
817 msg.mSnippet = data.snippet;
918 message.snippet = null; in createMessage()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...