Home | History | Annotate | Download | only in text

Lines Matching defs:spans

41      * specified text, including its spans if any.
49 * specified slice of the specified text, including its spans if any.
70 Object[] spans = sp.getSpans(start, end, Object.class);
72 for (int i = 0; i < spans.length; i++) {
73 if (spans[i] instanceof NoCopySpan) {
77 int st = sp.getSpanStart(spans[i]) - start;
78 int en = sp.getSpanEnd(spans[i]) - start;
79 int fl = sp.getSpanFlags(spans[i]);
91 setSpan(spans[i], st, en, fl);
329 Object[] spans = sp.getSpans(tbstart, tbend, Object.class);
331 for (int i = 0; i < spans.length; i++) {
332 int st = sp.getSpanStart(spans[i]);
333 int en = sp.getSpanEnd(spans[i]);
340 if (getSpanStart(spans[i]) < 0) {
341 setSpan(false, spans[i],
344 sp.getSpanFlags(spans[i]));
563 Object[] spans = mSpans;
566 if (spans[i] == what) {
650 Object[] spans = mSpans;
653 if (spans[i] == what) {
672 Object[] spans = mSpans;
675 if (spans[i] == what) {
694 Object[] spans = mSpans;
697 if (spans[i] == what) {
706 * Return an array of the spans of the specified type that overlap
708 * a list of all the spans regardless of type.
712 Object[] spans = mSpans;
748 if (kind != null && !kind.isInstance(spans[i])) {
753 ret1 = spans[i];
774 ret[j] = spans[i];
777 ret[count++] = spans[i];
806 Object[] spans = mSpans;
825 if (st > start && st < limit && kind.isInstance(spans[i]))
827 if (en > start && en < limit && kind.isInstance(spans[i]))
836 * range of this buffer, including the overlapping spans.