Searched refs:leastOtherStart (Results 1 – 1 of 1) sorted by relevance
677 int leastOtherStart = -1; in highlightTerms() local680 if ((ot != t) && (ot.mMatchStart >= 0) && ((leastOtherStart < 0) || in highlightTerms()681 (ot.mMatchStart <= leastOtherStart))) { in highlightTerms()682 leastOtherStart = ot.mMatchStart; in highlightTerms()686 if (leastOtherStart < 0 || leastOtherStart > matchEnd) { in highlightTerms()692 } else if (leastOtherStart == t.mMatchStart) { in highlightTerms()694 } else if (leastOtherStart < t.mMatchStart) { in highlightTerms()699 sb.append(text.substring(t.mMatchStart, leastOtherStart)); in highlightTerms()700 lastOut = leastOtherStart; in highlightTerms()