/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 277 private String shortenSnippet(final String snippet) { in shortenSnippet() argument 278 if (snippet == null) { in shortenSnippet() 283 int to = snippet.length(); in shortenSnippet() 284 int start = snippet.indexOf(SNIPPET_START_MATCH); in shortenSnippet() 289 int firstNl = snippet.lastIndexOf('\n', start); in shortenSnippet() 293 int end = snippet.lastIndexOf(SNIPPET_END_MATCH); in shortenSnippet() 295 int lastNl = snippet.indexOf('\n', end); in shortenSnippet() 303 char c = snippet.charAt(i); in shortenSnippet()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
D | ConversionUtilities.java | 56 public String snippet; field in ConversionUtilities.BodyFieldData 87 data.snippet = TextUtilities.makeSnippetFromPlainText(text); in parseBodyFields() 92 if (data.snippet == null) { in parseBodyFields() 93 data.snippet = TextUtilities.makeSnippetFromHtmlText(text); in parseBodyFields()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 339 final TextView snippet = (TextView) view.findViewById(R.id.snippet); in ConversationItemViewCoordinates() local 340 final int snippetTopAdjust = getLatinTopAdjustment(snippet); in ConversationItemViewCoordinates() 341 snippetX = getX(snippet); in ConversationItemViewCoordinates() 342 snippetY = getY(snippet) + snippetTopAdjust; in ConversationItemViewCoordinates() 343 maxSnippetWidth = snippet.getWidth(); in ConversationItemViewCoordinates() 344 snippetHeight = snippet.getHeight(); in ConversationItemViewCoordinates() 345 snippetFontSize = snippet.getTextSize(); in ConversationItemViewCoordinates()
|
D | MessageHeaderView.java | 451 final String snippet; in render() local 453 snippet = makeSnippet(mMessage.snippet); in render() 455 snippet = mMessage.snippet; in render() 457 mSnippet = snippet == null ? null : getBidiFormatter().unicodeWrap(snippet); in render() 1373 final StringBuilder snippet = new StringBuilder(MAX_SNIPPET_LENGTH); in makeSnippet() local 1378 while ((c = reader.read()) != -1 && snippet.length() < MAX_SNIPPET_LENGTH) { in makeSnippet() 1381 snippet.append(' '); in makeSnippet() 1416 snippet.append(' '); in makeSnippet() 1418 snippet.append('<'); in makeSnippet() 1420 snippet.append('>'); in makeSnippet() [all …]
|
D | ConversationItemView.java | 909 final String snippet = mHeader.conversation.getSnippet(); in createSnippet() local 910 final Spannable displayedStringBuilder = new SpannableString(snippet); in createSnippet()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListItemView.java | 1490 final String snippet = cursor.getString(snippetColumn); in showSnippet() local 1491 if (snippet == null) { in showSnippet() 1497 if (snippet.equals(displayName)) { in showSnippet() 1504 setSnippet(updateSnippet(snippet, query, displayName)); in showSnippet() 1517 String snippet = cursor.getString(summarySnippetColumnIndex); in showSnippet() local 1531 snippet = updateSnippet(snippet, query, displayName); in showSnippet() 1534 if (snippet != null) { in showSnippet() 1536 int to = snippet.length(); in showSnippet() 1537 int start = snippet.indexOf(DefaultContactListAdapter.SNIPPET_START_MATCH); in showSnippet() 1539 snippet = null; in showSnippet() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemViewTest.java | 82 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); in verifyContent() local 90 verifyContent(view, name, snippet, timestamp, unread); in verifyContent() 96 final String snippet, in verifyContent() argument 129 assertTrue(snippetTextView.getText().toString().contains(snippet)); in verifyContent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 91 public String snippet; field in Message 273 dest.writeString(snippet); in writeToParcel() 309 snippet = in.readString(); in Message() 371 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN); in Message() 466 snippet = data.snippet; in Message()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | WidgetConversationListService.java | 171 remoteViews.setViewVisibility(R.id.snippet, View.GONE); in getViewAt() 200 remoteViews.setViewVisibility(R.id.snippet, View.VISIBLE); in getViewAt() 201 remoteViews.setTextViewText(R.id.snippet, in getViewAt()
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetConversationListItemViewBuilder.java | 150 final String snippet = conversation.getSnippet(); in getStyledView() local 176 final SpannableStringBuilder snippetBuilder = new SpannableStringBuilder(snippet); in getStyledView()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 408 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/utils/ |
D | NotificationUtils.java | 1450 String senders, String subject, String snippet) { in getSingleMessageInboxLine() argument 1453 final String subjectSnippet = !TextUtils.isEmpty(subject) ? subject : snippet; in getSingleMessageInboxLine() 1528 final String snippet = getMessageBodyWithoutElidedText(message); 1532 !TextUtils.isEmpty(snippet) ? snippet.replaceAll("\\n\\s+", "\n") : ""; 1536 return snippet;
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | Utilities.java | 126 localMessage.mSnippet = data.snippet; in copyOneMessageToProvider()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServiceDetails.java | 519 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 5089 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument 5093 values.put(SearchSnippets.SNIPPET, snippet); in createSnippetContentValues() 5118 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNameInDisplayName() local 5120 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNameInDisplayName() 5121 assertContainsValues(buildFilterUri("john", true), snippet); in testSearchSnippetEmptyForNameInDisplayName() 5130 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNicknameInDisplayName() local 5132 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNicknameInDisplayName() 5145 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); in testSearchSnippetEmptyForCompanyInDisplayName() local 5147 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName() 5156 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1132 message.snippet = null; in createMessage()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz |
|