Searched refs:readIndex (Results 1 – 1 of 1) sorted by relevance
77 int readIndex = 0; in getSuggestionSpansAtWord() local79 for (; readIndex < spans.length; ++readIndex) { in getSuggestionSpansAtWord()80 final SuggestionSpan span = spans[readIndex]; in getSuggestionSpansAtWord()88 for (int i = readIndex + 1; i < spans.length; ++i) { in getSuggestionSpansAtWord()102 spans[writeIndex++] = spans[readIndex]; in getSuggestionSpansAtWord()105 return writeIndex == readIndex ? spans : Arrays.copyOfRange(spans, 0, writeIndex); in getSuggestionSpansAtWord()