Searched refs:spanLimit (Results 1 – 1 of 1) sorted by relevance
624 int spanLimit; in getOffsetBeforeAfter() local626 spanLimit = runLimit; in getOffsetBeforeAfter()631 spanLimit = mSpanned.nextSpanTransition(mStart + spanStart, limit, in getOffsetBeforeAfter()633 if (spanLimit >= target) { in getOffsetBeforeAfter()636 spanStart = spanLimit; in getOffsetBeforeAfter()640 mStart + spanLimit, MetricAffectingSpan.class); in getOffsetBeforeAfter()657 return after ? spanLimit : spanStart; in getOffsetBeforeAfter()665 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()669 mStart + spanLimit, dir, mStart + offset, cursorOpt) - mStart; in getOffsetBeforeAfter()