Searched refs:snippet (Results 1 – 19 of 19) sorted by relevance
451 final String snippet; in render() local453 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() local1378 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 …]
339 final TextView snippet = (TextView) view.findViewById(R.id.snippet); in ConversationItemViewCoordinates() local340 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()
909 final String snippet = mHeader.conversation.getSnippet(); in createSnippet() local910 final Spannable displayedStringBuilder = new SpannableString(snippet); in createSnippet()
1290 String snippet = cursor.getString(summarySnippetColumnIndex); in showSnippet() local1304 snippet = updateSnippet(snippet, query, displayName); in showSnippet()1307 if (snippet != null) { in showSnippet()1309 int to = snippet.length(); in showSnippet()1310 int start = snippet.indexOf(DefaultContactListAdapter.SNIPPET_START_MATCH); in showSnippet()1312 snippet = null; in showSnippet()1314 int firstNl = snippet.lastIndexOf('\n', start); in showSnippet()1318 int end = snippet.lastIndexOf(DefaultContactListAdapter.SNIPPET_END_MATCH); in showSnippet()1320 int lastNl = snippet.indexOf('\n', end); in showSnippet()1328 char c = snippet.charAt(i); in showSnippet()[all …]
277 private String shortenSnippet(final String snippet) { in shortenSnippet() argument278 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()
56 public String snippet; field in ConversionUtilities.BodyFieldData87 data.snippet = TextUtilities.makeSnippetFromPlainText(text); in parseBodyFields()92 if (data.snippet == null) { in parseBodyFields()93 data.snippet = TextUtilities.makeSnippetFromHtmlText(text); in parseBodyFields()
91 public String snippet; field in Message273 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()
82 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); in verifyContent() local90 verifyContent(view, name, snippet, timestamp, unread); in verifyContent()96 final String snippet, in verifyContent() argument129 assertTrue(snippetTextView.getText().toString().contains(snippet)); in verifyContent()
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()
408 public void setSocialSnippet(CharSequence snippet) { in setSocialSnippet() argument409 if (snippet == null) { in setSocialSnippet()413 mStatusView.setText(snippet); in setSocialSnippet()
1450 String senders, String subject, String snippet) { in getSingleMessageInboxLine() argument1453 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;
150 final String snippet = conversation.getSnippet(); in getStyledView() local176 final SpannableStringBuilder snippetBuilder = new SpannableStringBuilder(snippet); in getStyledView()
126 localMessage.mSnippet = data.snippet; in copyOneMessageToProvider()
4590 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument4594 values.put(SearchSnippets.SNIPPET, snippet); in createSnippetContentValues()4619 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNameInDisplayName() local4621 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4622 assertContainsValues(buildFilterUri("john", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4631 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNicknameInDisplayName() local4633 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNicknameInDisplayName()4646 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); in testSearchSnippetEmptyForCompanyInDisplayName() local4648 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName()4657 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local[all …]
520 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
1132 message.snippet = null; in createMessage()
1dictionary=main:en,locale=en,description=English,date=1414726273, ...