Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 23 of 23) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java71 public String snippet; field in Conversation
217 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() argument
433 conversation.snippet = snippet; in create()
645 conversationInfo.firstSnippet : snippet; in getSnippet()
720 String filteredSubject, String snippet) { in getSubjectAndSnippetForDisplay() argument
724 if (TextUtils.isEmpty(filteredSubject) && TextUtils.isEmpty(snippet)) { in getSubjectAndSnippetForDisplay()
[all …]
DMessage.java84 public String snippet; field in Message
231 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()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java1298 String snippet = cursor.getString(summarySnippetColumnIndex); in showSnippet() local
1312 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 …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java276 private String shortenSnippet(final String snippet) { in shortenSnippet() argument
277 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()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java456 mSnippet = makeSnippet(mMessage.snippet); in render()
458 mSnippet = mMessage.snippet; in render()
1420 final StringBuilder snippet = new StringBuilder(MAX_SNIPPET_LENGTH); in makeSnippet() local
1425 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 …]
DConversationItemView.java1057 final String snippet = mHeader.conversation.getSnippet(); in createSubject() local
1059 Conversation.getSubjectAndSnippetForDisplay(mContext, subject, snippet)); in createSubject()
1069 if (!TextUtils.isEmpty(snippet)) { in createSubject()
/packages/apps/Mms/src/com/android/mms/
DSuggestionsProvider.java119 public Row(int row, String snippet) { in Row() argument
120 mSnippet = snippet.trim(); in Row()
141 String snippet = mDatabaseCursor.getString(snippetColumn); in computeRows() local
142 if (!TextUtils.equals(previousSnippet, snippet)) { in computeRows()
143 mRows.add(new Row(i, snippet)); in computeRows()
144 previousSnippet = snippet; in computeRows()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DConversionUtilities.java66 public String snippet; field in ConversionUtilities.BodyFieldData
124 data.snippet = TextUtilities.makeSnippetFromPlainText(text); in parseBodyFields()
129 if (data.snippet == null) { in parseBodyFields()
130 data.snippet = TextUtilities.makeSnippetFromHtmlText(text); in parseBodyFields()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java913 String snippet = MessageUtils.cleanseMmsSubject(context, in fillFromCursor() local
915 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() local
1319 " " + ThreadsColumns.SNIPPET + " : " + snippet + in dumpThreadsTable()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java829 conversation.snippet); in configureLatestEventInfoFromConversation()
1098 String senders, String subject, String snippet) { in getSingleMessageInboxLine() argument
1101 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;
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java408 public void setSocialSnippet(CharSequence snippet) { in setSocialSnippet() argument
409 if (snippet == null) { in setSocialSnippet()
413 mStatusView.setText(snippet); in setSocialSnippet()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetConversationListItemViewBuilder.java154 final String snippet = conversation.getSnippet(); in getStyledView() local
163 Conversation.getSubjectAndSnippetForDisplay(mContext, filteredSubject, snippet)); in getStyledView()
/packages/apps/Mms/src/com/android/mms/ui/
DSearchActivity.java316 … final TextViewSnippet snippet = (TextViewSnippet)(view.findViewById(R.id.subtitle)); in onCreate()
324 snippet.setText(cursor.getString(bodyPos), searchString); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailDisplayUtils.java234 CharSequence snippet = null; in setSocialSnippet() local
236 setDataOrHideIfNone(snippet, statusView); in setSocialSnippet()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java3838 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument
3842 values.put(SearchSnippetColumns.SNIPPET, snippet); in createSnippetContentValues()
3867 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNameInDisplayName() local
3869 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() local
3881 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNicknameInDisplayName()
3894 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); in testSearchSnippetEmptyForCompanyInDisplayName() local
3896 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName()
3905 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local
[all …]
/packages/apps/Email/src/com/android/email/provider/
DUtilities.java123 localMessage.mSnippet = data.snippet; in copyOneMessageToProvider()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java518 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java433 msg.mSnippet = data.snippet; in mimeBodyParser()
DEmailSyncAdapter.java817 msg.mSnippet = data.snippet;
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java918 message.snippet = null; in createMessage()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz