Searched refs:snippet (Results 1 – 10 of 10) sorted by relevance
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()
1617 final String snippet = cursor.getString(snippetColumn); in showSnippet() local1618 if (snippet == null) { in showSnippet()1624 if (snippet.equals(displayName)) { in showSnippet()1631 setSnippet(updateSnippet(snippet, query, displayName)); in showSnippet()1644 String snippet = cursor.getString(summarySnippetColumnIndex); in showSnippet() local1658 snippet = updateSnippet(snippet, query, displayName); in showSnippet()1661 if (snippet != null) { in showSnippet()1663 int to = snippet.length(); in showSnippet()1664 int start = snippet.indexOf(DefaultContactListAdapter.SNIPPET_START_MATCH); in showSnippet()1666 snippet = null; in showSnippet()[all …]
77 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); in verifyContent() local85 verifyContent(view, name, snippet, timestamp, unread); in verifyContent()91 final String snippet, in verifyContent() argument124 assertTrue(snippetTextView.getText().toString().contains(snippet)); in verifyContent()
115 private static void checkFileContains(File file, String snippet) throws IOException { in checkFileContains() argument119 if (line.contains(snippet)) { in checkFileContains()124 throw new IllegalArgumentException(file + " does not contain " + snippet); in checkFileContains()
170 remoteViews.setViewVisibility(R.id.snippet, View.GONE); in getViewAt()199 remoteViews.setViewVisibility(R.id.snippet, View.VISIBLE); in getViewAt()200 remoteViews.setTextViewText(R.id.snippet, in getViewAt()
4727 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument4731 values.put(SearchSnippets.SNIPPET, snippet); in createSnippetContentValues()4756 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNameInDisplayName() local4758 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4759 assertContainsValues(buildFilterUri("john", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4768 ContentValues snippet = createSnippetContentValues(contactId, "cave@aperturescience.com"); in testSearchSnippetEmptyForNicknameInDisplayName() local4770 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNicknameInDisplayName()4783 ContentValues snippet = createSnippetContentValues(contactId, "aperturepresident"); in testSearchSnippetEmptyForCompanyInDisplayName() local4785 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName()4794 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local[all …]
519 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...