Home
last modified time | relevance | path

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

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java277 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()
/aosp12/packages/modules/GeoTZ/common/host/main/java/com/android/timezone/location/common/
H A DLicenseSupport.java115 private static void checkFileContains(File file, String snippet) throws IOException { in checkFileContains() argument
119 if (line.contains(snippet)) { in checkFileContains()
124 throw new IllegalArgumentException(file + " does not contain " + snippet); in checkFileContains()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java1617 final String snippet = cursor.getString(snippetColumn); in showSnippet() local
1618 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 …]
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemViewTest.java77 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); in verifyContent() local
85 verifyContent(view, name, snippet, timestamp, unread); in verifyContent()
91 final String snippet, in verifyContent() argument
124 assertTrue(snippetTextView.getText().toString().contains(snippet)); in verifyContent()
/aosp12/packages/apps/Messaging/src/com/android/messaging/widget/
H A DWidgetConversationListService.java170 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()
/aosp12/hardware/interfaces/drm/1.1/
H A DREADME.md19 `target-level`) 1 or 2, it should use the following snippet:
45 `target-level`) 3, it should use the following snippet:
/aosp12/frameworks/base/core/java/android/util/
H A DJsonReader.java1166 StringBuilder snippet = new StringBuilder(); in getSnippet() local
1168 snippet.append(buffer, pos - beforePos, beforePos); in getSnippet()
1170 snippet.append(buffer, pos, afterPos); in getSnippet()
1171 return snippet; in getSnippet()
/aosp12/build/soong/android/
H A Dmakevars.go313 # $(3): Extra snippet to run if it does not match
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningServiceDetails.java519 mSnippet = (ViewGroup)view.findViewById(R.id.snippet);
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java4727 public ContentValues createSnippetContentValues(long contactId, String snippet) { in createSnippetContentValues() argument
4731 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() local
4785 assertContainsValues(buildFilterUri("aperture", true), snippet); in testSearchSnippetEmptyForCompanyInDisplayName()
4794 ContentValues snippet = createSnippetContentValues(contactId, "860-555-1234"); in testSearchSnippetEmptyForPhoneInDisplayName() local
4796 assertContainsValues(buildFilterUri("860", true), snippet); in testSearchSnippetEmptyForPhoneInDisplayName()
4805 ContentValues snippet = createSnippetContentValues(contactId, in testSearchSnippetEmptyForEmailInDisplayName() local
[all …]
/aosp12/system/bt/gd/docs/architecture/
H A Darchitecture.md213 is usually the first snippet of code that interface with a remote device. In the
/aosp12/build/soong/
H A DREADME.md513 With the `BoardConfig.mk` snippet above, `libacme_foo` would build with
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto11428 // time to snippet if "native_num_results_with_snippets" is NOT zero.
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt34849 field public static final String SNIPPET = "snippet";
35869 field public static final String SNIPPET = "snippet";
35971 field public static final String SNIPPET = "snippet";
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt24638 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";
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...