Home | History | Annotate | Download | only in utils

Lines Matching defs:spans

29      * Copies the spans from the region <code>start...end</code> in
32 * Spans in <code>source</code> that begin before <code>start</code>
40 * @throws IndexOutOfBoundsException if any of the copied spans
45 Object[] spans = source.getSpans(start, end, SuggestionSpan.class);
47 for (int i = 0; i < spans.length; i++) {
48 int fl = source.getSpanFlags(spans[i]);
51 // of a word. But the spans have been split into two by the getText{Before,After}Cursor
56 int st = source.getSpanStart(spans[i]);
57 int en = source.getSpanEnd(spans[i]);
64 dest.setSpan(spans[i], st - start + destoff, en - start + destoff,
71 * SuggestionSpans that don't have the PARAGRAPH flag, but not other spans.
123 // getSpans(x, y) does not return spans that start on x or end on y. x-1, y+1 does the
125 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class);
126 return null != spans && spans.length > 0;