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

1 2

  /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/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...]
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
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...]
history_types.h 20 #include "chrome/browser/history/snippet.h"
339 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
345 const Snippet& snippet() const { return snippet_; } function in class:history::URLResult
350 const Snippet::MatchPositions& title_match_positions() const {
363 Snippet snippet_;
364 Snippet::MatchPositions title_match_positions_;
  /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 base::string16 snippet; local
    [all...]
history_types.h 20 #include "chrome/browser/history/snippet.h"
288 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
295 const Snippet& snippet() const { return snippet_; } function in class:history::URLResult
305 const Snippet::MatchPositions& title_match_positions() const {
320 Snippet snippet_;
321 Snippet::MatchPositions title_match_positions_;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
AuditFormatters.js 44 snippet: function(snippetText)
  /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);
  /external/chromium_org/chrome/browser/ui/webui/
history_ui.h 44 bool is_search_result, const base::string16& snippet,
81 // The entry's search snippet, if this entry is a search result.
82 base::string16 snippet; member in struct:BrowsingHistoryHandler::HistoryEntry
  /cts/libs/json/src/com/android/json/stream/
JsonReader.java 1093 StringBuilder snippet = new StringBuilder(); local
    [all...]
  /frameworks/base/core/java/android/util/
JsonReader.java 1161 StringBuilder snippet = new StringBuilder(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/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/UnifiedEmail/src/com/android/mail/widget/
WidgetConversationListItemViewBuilder.java 154 final String snippet = conversation.getSnippet(); local
163 Conversation.getSubjectAndSnippetForDisplay(mContext, filteredSubject, snippet));
  /libcore/luni/src/test/java/libcore/xml/
PullParserTest.java 547 String snippet = "<dagny dad=\"bob\">hello</dagny>"; local
550 parser.setInput(new StringReader(snippet));
555 String snippet = "<dagny dad=\"bob\">hello</dagny>"; local
558 parser.setInput(new ByteArrayInputStream(snippet.getBytes()), "UTF-8");
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailDisplayUtils.java 226 * Set the social snippet text. If there isn't one, then set the view to gone.
234 CharSequence snippet = null; local
236 setDataOrHideIfNone(snippet, statusView);
  /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;
  /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 82 * @see UIProvider.MessageColumns#SNIPPET
84 public String snippet; field in class:Message
231 dest.writeString(snippet);
265 snippet = in.readString();
325 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN);
392 // body values (snippet/bodyText/bodyHtml)
401 snippet = data.snippet;
  /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...]
  /packages/apps/Mms/src/com/android/mms/data/
Conversation.java 55 Threads.SNIPPET, Threads.SNIPPET_CHARSET, Threads.READ, Threads.ERROR,
74 private static final int SNIPPET = 4;
561 * Returns a snippet of text from the most recent message in the conversation.
723 // mmssms.db|2.253 ms|SELECT _id, date, message_count, recipient_ids, snippet, snippet_cs,
743 // mmssms.db|2.253 ms|SELECT _id, date, message_count, recipient_ids, snippet, snippet_cs,
913 String snippet = MessageUtils.cleanseMmsSubject(context, local
1315 String snippet = MessageUtils.extractEncStrFromCursor(c, SNIPPET, SNIPPET_CS); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java 1298 String snippet = cursor.getString(summarySnippetColumnIndex); local
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/fts1/
fts1.c 202 /* TODO(shess) The snippet-generation code should be using the
1004 typedef struct Snippet {
1016 char *zSnippet; /* Snippet text */
1018 } Snippet;
1111 Snippet snippet; \/* Cached snippet for the current row *\/ member in struct:fulltext_cursor
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/fts2/
fts2.c 366 /* TODO(shess) The snippet-generation code should be using the
2069 Snippet snippet; \/* Cached snippet for the current row *\/ member in struct:fulltext_cursor
    [all...]

Completed in 2700 milliseconds

1 2