Searched refs:queryStart (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 848 public <T> T[] getSpans(int queryStart, int queryEnd, @Nullable Class<T> kind) { in getSpans() argument 849 return getSpans(queryStart, queryEnd, kind, true); in getSpans() 867 public <T> T[] getSpans(int queryStart, int queryEnd, @Nullable Class<T> kind, in getSpans() argument 871 int count = countSpans(queryStart, queryEnd, kind, treeRoot()); in getSpans() 880 getSpansRec(queryStart, queryEnd, kind, treeRoot(), ret, prioSortBuffer, in getSpans() 890 private int countSpans(int queryStart, int queryEnd, Class kind, int i) { in countSpans() argument 899 if (spanMax >= queryStart) { in countSpans() 900 count = countSpans(queryStart, queryEnd, kind, left); in countSpans() 913 if (spanEnd >= queryStart && in countSpans() 914 (spanStart == spanEnd || queryStart == queryEnd || in countSpans() [all …]
|
D | SpannableStringInternal.java | 338 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() argument 354 if (spanEnd < queryStart) { in getSpans() 358 if (spanStart != spanEnd && queryStart != queryEnd) { in getSpans() 362 if (spanEnd == queryStart) { in getSpans()
|