Lines Matching refs:start
59 protected int[] getRange(int start, int end) {
60 if (start < 0 || end < 0 || start == end) {
63 mSegment[0] = start;
105 int start = offset;
106 if (start < 0) {
107 start = 0;
109 while (!mImpl.isBoundary(start)) {
110 start = mImpl.following(start);
111 if (start == BreakIterator.DONE) {
115 final int end = mImpl.following(start);
119 return getRange(start, end);
141 final int start = mImpl.preceding(end);
142 if (start == BreakIterator.DONE) {
145 return getRange(start, end);
195 int start = offset;
196 if (start < 0) {
197 start = 0;
199 while (!isLetterOrDigit(start) && !isStartBoundary(start)) {
200 start = mImpl.following(start);
201 if (start == BreakIterator.DONE) {
205 final int end = mImpl.following(start);
209 return getRange(start, end);
231 final int start = mImpl.preceding(end);
232 if (start == BreakIterator.DONE || !isStartBoundary(start)) {
235 return getRange(start, end);
276 int start = offset;
277 if (start < 0) {
278 start = 0;
280 while (start < textLength && mText.charAt(start) == '\n'
281 && !isStartBoundary(start)) {
282 start++;
284 if (start >= textLength) {
287 int end = start + 1;
291 return getRange(start, end);
313 int start = end - 1;
314 while (start > 0 && !isStartBoundary(start)) {
315 start--;
317 return getRange(start, end);