Home
last modified time | relevance | path

Searched refs:queryStart (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java817 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() argument
819 int count = countSpans(queryStart, queryEnd, kind, treeRoot()); in getSpans()
826 getSpansRec(queryStart, queryEnd, kind, treeRoot(), ret, 0); in getSpans()
830 private int countSpans(int queryStart, int queryEnd, Class kind, int i) { in countSpans() argument
839 if (spanMax >= queryStart) { in countSpans()
840 count = countSpans(queryStart, queryEnd, kind, left); in countSpans()
853 if (spanEnd >= queryStart && in countSpans()
854 (spanStart == spanEnd || queryStart == queryEnd || in countSpans()
855 (spanStart != queryEnd && spanEnd != queryStart)) && in countSpans()
860 count += countSpans(queryStart, queryEnd, kind, rightChild(i)); in countSpans()
[all …]
DSpannableStringInternal.java207 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() argument
223 if (spanEnd < queryStart) { in getSpans()
227 if (spanStart != spanEnd && queryStart != queryEnd) { in getSpans()
231 if (spanEnd == queryStart) { in getSpans()