/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
TextUtilities.java | 507 * Given a string of HTML text and a query containing any number of search terms, returns 508 * an HTML string in which those search terms are highlighted (intended for use in a WebView) 511 * @param query the search terms 512 * @return HTML text with the search terms highlighted 525 * Given a string of plain text and a query containing any number of search terms, returns 526 * a CharSequence in which those search terms are highlighted (intended for use in a TextView) 529 * @param query the search terms 530 * @return a CharSequence with the search terms highlighted 556 * Generate a version of the incoming text in which all search terms in a query are highlighted. 561 * @param query the query, which can contain multiple terms separated by whitespac 574 ArrayList<SearchTerm> terms = new ArrayList<SearchTerm>(); local [all...] |
/external/chromium/chrome/browser/bookmarks/ |
bookmark_index.cc | 20 // represents a set of terms (as an interator into the Index) matching the 21 // query as well as the set of nodes that contain those terms in their titles. 23 // List of terms matching the query. 24 std::list<Index::const_iterator> terms; member in struct:BookmarkIndex::Match 26 // The set of nodes matching the terms. As an optimization this is empty 29 // the set of matching nodes is terms.front()->second. 32 // it handles the necessary switching between nodes and terms.front(). 46 return nodes.empty() ? terms.front()->second.begin() : nodes.begin(); 50 return nodes.empty() ? terms.front()->second.end() : nodes.end(); 62 std::vector<string16> terms = ExtractQueryWords(node->GetTitle()) 80 std::vector<string16> terms = ExtractQueryWords(query); local 241 std::vector<string16> terms; local 246 parser.ExtractQueryWords(l10n_util::ToLower(query), &terms); local [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_unittest.cc | 71 const string16 terms; member in struct:SearchTermsCase 90 GURL result = GURL(ref.ReplaceSearchTerms(t_url, value.terms, 181 const string16 terms; member in struct:SearchTermsCase 199 t_url, value.terms, 328 // Tests replacing search terms in various encodings and making sure the 425 // Multiple terms should result in empty values.
|
template_url_model_unittest.cc | 773 TemplateURLModel::QueryTerms terms; local 775 TemplateURLModel::BuildQueryTerms(GURL(data[i].url), &terms)); 782 ASSERT_EQ(keys.size(), terms.size()); 785 terms.find(keys[j]); 786 ASSERT_TRUE(term_iterator != terms.end()); [all...] |
/external/chromium/chrome/browser/first_run/ |
first_run_win.cc | 155 base::StringPiece terms = local 157 if (terms.empty()) 162 bool good = fwrite(terms.data(), terms.size(), 1, file) == 1;
|
/external/chromium/chrome/browser/history/ |
in_memory_url_index_unittest.cc | 121 InMemoryURLIndex::String16Vector terms; local 122 terms.push_back(UTF8ToUTF16(term)); 123 return terms; 128 InMemoryURLIndex::String16Vector terms; local 129 terms.push_back(UTF8ToUTF16(term_1)); 130 terms.push_back(UTF8ToUTF16(term_2)); 131 return terms; 188 InMemoryURLIndex::String16Vector terms; local 192 terms.push_back(ASCIIToUTF16("DrudgeReport")); 193 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms(terms); 248 InMemoryURLIndex::String16Vector terms; local 267 InMemoryURLIndex::String16Vector terms; local 403 InMemoryURLIndex::String16Vector terms; local 481 InMemoryURLIndex::String16Vector terms; local 506 InMemoryURLIndex::String16Vector terms; local [all...] |
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrInterpreter.h | 319 Vector<ByteTerm> terms; member in class:JSC::Yarr::ByteDisjunction
|
YarrPattern.cpp | 308 // Create BeginChar objects by appending each terms from a hotTerms vector to an existing BeginChar object. 778 Vector<PatternTerm>& terms = alternatives[i]->m_terms; local [all...] |
/external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/ |
markdown.php | 2488 $terms = explode("\\n", trim($matches[1])); variable [all...] |