HomeSort by relevance Sort by last modified time
    Searched refs:snippet (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowOverlayItem.java 16 private String snippet; field in class:ShadowOverlayItem
18 public void __constructor__(GeoPoint geoPoint, String title, String snippet) {
21 this.snippet = snippet;
36 return snippet;
50 && Strings.equals(snippet, that.snippet)
59 result = snippet == null ? result : 19 * result + snippet.hashCode();
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
SnippetStorage.js 61 * @return {Array.<WebInspector.Snippet>}
73 * @return {WebInspector.Snippet}
82 * @return {WebInspector.Snippet}
97 this._snippetAdded(WebInspector.Snippet.fromObject(this, savedSnippets[i]));
101 * @param {WebInspector.Snippet} snippet
103 deleteSnippet: function(snippet)
105 delete this._snippets[snippet.id];
110 * @return {WebInspector.Snippet}
117 var snippet = new WebInspector.Snippet(this, snippetId)
    [all...]
ScriptSnippetModel.js 48 this._snippetStorage = new WebInspector.SnippetStorage("script", "Script snippet #");
86 var snippet = this._snippetStorage.createSnippet();
87 return this._addScriptSnippet(snippet);
91 * @param {WebInspector.Snippet} snippet
94 _addScriptSnippet: function(snippet)
96 var path = this._projectDelegate.addSnippet(snippet.name, new WebInspector.SnippetContentProvider(snippet));
100 this._snippetIdForUISourceCode.put(uiSourceCode, snippet.id);
102 this._uiSourceCodeForSnippetId[snippet.id] = uiSourceCode
    [all...]
AuditFormatters.js 44 snippet: function(snippetText)
scriptsPanel.css 50 .evaluate-snippet-status-bar-item .glyph {
54 .evaluate-snippet-status-bar-item.toggled .glyph {
79 .scripts-run-snippet .glyph {
  /external/chromium/chrome/browser/history/
snippet_unittest.cc 5 #include "chrome/browser/history/snippet.h"
82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
88 // sqlite's FTS matching. BuildSnippet returns the snippet for matching
104 Snippet::MatchPositions match_positions;
118 // Compute the snippet.
119 Snippet snippet; local
120 snippet.ComputeSnippet(match_positions, document);
122 // Now "highlight" all matches in the snippet with **
    [all...]
snippet.cc 5 #include "chrome/browser/history/snippet.h"
20 bool PairFirstLessThan(const Snippet::MatchPosition& a,
21 const Snippet::MatchPosition& b) {
28 Snippet::MatchPositions* match_positions) {
30 Snippet::MatchPosition& pair((*match_positions)[offset]);
44 Snippet::MatchPositions* match_positions) {
47 Snippet::MatchPosition pair(start, end);
54 Snippet::MatchPositions::iterator i =
128 // snippet generation. If not, revisit the way we scan in ComputeSnippet.
138 // Returns true if next match falls within a snippet windo
230 string16 snippet; local
    [all...]
text_database.h 46 // included in the snippet.
47 Snippet::MatchPositions title_match_positions;
49 // Snippet of the match we generated from the body.
50 Snippet snippet; member in struct:history::TextDatabase::Match
text_database_unittest.cc 223 // We don't want to be dependent on the exact snippet algorithm, but we know
225 // document, that each snippet should start with that.
226 EXPECT_TRUE(StartsWithASCII(UTF16ToUTF8(results[0].snippet.text()),
228 EXPECT_TRUE(StartsWithASCII(UTF16ToUTF8(results[1].snippet.text()),
230 EXPECT_TRUE(StartsWithASCII(UTF16ToUTF8(results[2].snippet.text()),
  /external/chromium_org/chrome/browser/history/
snippet_unittest.cc 5 #include "chrome/browser/history/snippet.h"
82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
88 // sqlite's FTS matching. BuildSnippet returns the snippet for matching
104 Snippet::MatchPositions match_positions;
118 // Compute the snippet.
119 Snippet snippet; local
120 snippet.ComputeSnippet(match_positions, document);
122 // Now "highlight" all matches in the snippet with **
    [all...]
snippet.cc 5 #include "chrome/browser/history/snippet.h"
20 bool PairFirstLessThan(const Snippet::MatchPosition& a,
21 const Snippet::MatchPosition& b) {
28 Snippet::MatchPositions* match_positions) {
30 Snippet::MatchPosition& pair((*match_positions)[offset]);
44 Snippet::MatchPositions* match_positions) {
47 Snippet::MatchPosition pair(start, end);
54 Snippet::MatchPositions::iterator i =
128 // snippet generation. If not, revisit the way we scan in ComputeSnippet.
138 // Returns true if next match falls within a snippet windo
230 string16 snippet; local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
ConversionUtilities.java 66 public String snippet; field in class:ConversionUtilities.BodyFieldData
124 data.snippet = TextUtilities.makeSnippetFromPlainText(text);
129 if (data.snippet == null) {
130 data.snippet = TextUtilities.makeSnippetFromHtmlText(text);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 237 sb.append(", " + SearchSnippetColumns.SNIPPET);
276 private String shortenSnippet(final String snippet) {
277 if (snippet == null) {
282 int to = snippet.length();
283 int start = snippet.indexOf(SNIPPET_START_MATCH);
288 int firstNl = snippet.lastIndexOf('\n', start);
292 int end = snippet.lastIndexOf(SNIPPET_END_MATCH);
294 int lastNl = snippet.indexOf('\n', end);
302 char c = snippet.charAt(i);
  /external/chromium_org/chrome/common/extensions/docs/examples/tutorials/analytics/
popup.js 12 * code snippet. It has been modified to pull the HTTPS version of ga.js
14 * snippet instead of the standard tracking snippet provided when setting up
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Conversation.java 68 * @see UIProvider.ConversationColumns#SNIPPET
71 public String snippet; field in class:Conversation
217 dest.writeString(snippet);
250 snippet = in.readString();
356 snippet = cursor.getString(UIProvider.CONVERSATION_SNIPPET_COLUMN);
404 snippet = other.snippet;
419 public static Conversation create(long id, Uri uri, String subject, long dateMs, String snippet,
433 conversation.snippet = snippet;
    [all...]
Message.java 80 * @see UIProvider.MessageColumns#SNIPPET
82 public String snippet; field in class:Message
229 dest.writeString(snippet);
263 snippet = in.readString();
323 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN);
390 // body values (snippet/bodyText/bodyHtml)
399 snippet = data.snippet;
  /external/chromium_org/third_party/WebKit/Source/core/platform/
SharedBuffer.cpp 91 char* snippet = 0; local
93 CString result = CString::newUninitialized(snippetLength, snippet);
99 memcpy(snippet + offset, segment, length);
106 if (!isASCIIPrintable(snippet[i]))
107 snippet[i] = '?';
123 CString snippet = snippetForBuffer(buffers[i]); local
124 dataLogF("Buffer size=%8u %s\n", buffers[i]->size(), snippet.data());
  /packages/apps/Mms/src/com/android/mms/
SuggestionsProvider.java 119 public Row(int row, String snippet) {
120 mSnippet = snippet.trim();
131 * FTS3 snippet function does not work so we do it here in the code.
134 int snippetColumn = mDatabaseCursor.getColumnIndex("snippet");
141 String snippet = mDatabaseCursor.getString(snippetColumn); local
142 if (!TextUtils.equals(previousSnippet, snippet)) {
143 mRows.add(new Row(i, snippet));
144 previousSnippet = snippet;
  /cts/libs/json/src/com/android/json/stream/
JsonReader.java 1093 StringBuilder snippet = new StringBuilder(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/
history_ui.h 42 bool is_search_result, const string16& snippet,
79 // The entry's search snippet, if this entry is a search result.
80 string16 snippet; member in struct:BrowsingHistoryHandler::HistoryEntry
  /external/chromium_org/chromeos/docs/
onc_spec.css 46 .snippet {
  /frameworks/base/core/java/android/util/
JsonReader.java 1161 StringBuilder snippet = new StringBuilder(); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java 1299 String snippet = cursor.getString(summarySnippetColumnIndex); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageHeaderView.java 456 mSnippet = makeSnippet(mMessage.snippet);
458 mSnippet = mMessage.snippet;
1420 final StringBuilder snippet = new StringBuilder(MAX_SNIPPET_LENGTH); local
    [all...]
  /external/chromium_org/tools/gen_keyboard_overlay_data/
gen_keyboard_overlay_data.py 168 # A snippet for grd file
174 # A snippet for C++ file
427 def OutputFile(outpath, snippet):
428 """Output the snippet into the specified path."""
431 out.write(snippet)
435 def RewriteFile(start, end, original_dir, original_filename, snippet,
437 """Replaces a part of the specified file with snippet and outputs it."""
449 new_content = re.sub(rx, '%s\n%s%s\n' % (start, snippet, end),
475 snippet = 'var %s = %s;\n' % (var_name, json_data)
476 OutputFile(outpath, snippet)
    [all...]

Completed in 5180 milliseconds

1 2 3