Searched refs:spanLimit (Results 1 – 1 of 1) sorted by relevance
744 int spanLimit; in getOffsetBeforeAfter() local746 spanLimit = runLimit; in getOffsetBeforeAfter()751 spanLimit = mSpanned.nextSpanTransition(mStart + spanStart, limit, in getOffsetBeforeAfter()753 if (spanLimit >= target) { in getOffsetBeforeAfter()756 spanStart = spanLimit; in getOffsetBeforeAfter()760 mStart + spanLimit, MetricAffectingSpan.class); in getOffsetBeforeAfter()777 return after ? spanLimit : spanStart; in getOffsetBeforeAfter()785 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()789 mStart + spanLimit, dir, mStart + offset, cursorOpt) - mStart; in getOffsetBeforeAfter()