Searched refs:snippet (Results 1 – 18 of 18) 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()
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()
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()1658 snippet = updateSnippet(snippet, query, displayName); in showSnippet()1661 if (snippet != null) { in showSnippet()1663 int to = snippet.length(); in showSnippet()1666 snippet = null; in showSnippet()1682 char c = snippet.charAt(i); in showSnippet()1688 snippet = sb.toString(); 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()
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()
19 `target-level`) 1 or 2, it should use the following snippet:45 `target-level`) 3, it should use the following snippet:
1166 StringBuilder snippet = new StringBuilder(); in getSnippet() local1168 snippet.append(buffer, pos - beforePos, beforePos); in getSnippet()1170 snippet.append(buffer, pos, afterPos); in getSnippet()1171 return snippet; in getSnippet()
313 # $(3): Extra snippet to run if it does not match
519 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
4727 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument4731 values.put(SearchSnippets.SNIPPET, snippet); in createSnippetContentValues()4758 assertContainsValues(buildFilterUri("cave", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4759 assertContainsValues(buildFilterUri("john", true), snippet); in testSearchSnippetEmptyForNameInDisplayName()4770 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() local4796 assertContainsValues(buildFilterUri("860", true), snippet); in testSearchSnippetEmptyForPhoneInDisplayName()4805 ContentValues snippet = createSnippetContentValues(contactId, in testSearchSnippetEmptyForEmailInDisplayName() local[all …]
213 is usually the first snippet of code that interface with a remote device. In the
513 With the `BoardConfig.mk` snippet above, `libacme_foo` would build with
11428 // time to snippet if "native_num_results_with_snippets" is NOT zero.
34849 field public static final String SNIPPET = "snippet";35869 field public static final String SNIPPET = "snippet";35971 field public static final String SNIPPET = "snippet";
24638 field public static final java.lang.String SNIPPET = "snippet";25735 field public static final java.lang.String SNIPPET = "snippet";25826 field public static final java.lang.String SNIPPET = "snippet";
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...