Searched refs:spanLimit (Results 1 – 1 of 1) sorted by relevance
725 int spanLimit; in getOffsetBeforeAfter() local727 spanLimit = runLimit; in getOffsetBeforeAfter()732 spanLimit = mSpanned.nextSpanTransition(mStart + spanStart, limit, in getOffsetBeforeAfter()734 if (spanLimit >= target) { in getOffsetBeforeAfter()737 spanStart = spanLimit; in getOffsetBeforeAfter()741 mStart + spanLimit, MetricAffectingSpan.class); in getOffsetBeforeAfter()758 return after ? spanLimit : spanStart; in getOffsetBeforeAfter()765 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, in getOffsetBeforeAfter()769 mStart + spanLimit, runIsRtl, mStart + offset, cursorOpt) - mStart; in getOffsetBeforeAfter()