Lines Matching defs:terms
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 whitespace
573 // Break up the query into search terms
574 ArrayList<SearchTerm> terms = new ArrayList<SearchTerm>();
578 terms.add(new SearchTerm(st.nextToken()));
591 // Just copy any HTML tags directly into the output; search for terms in the remaining text
641 // this while any search terms match
643 // Look through search terms for matches
644 for (SearchTerm t: terms) {
678 for (SearchTerm ot: terms) {
679 // Save away the lowest match start for other search terms