Lines Matching refs:start
56 protected int[] getRange(int start, int end) {
57 if (start < 0 || end < 0 || start == end) {
60 mSegment[0] = start;
102 int start = offset;
103 if (start < 0) {
104 start = 0;
106 while (!mImpl.isBoundary(start)) {
107 start = mImpl.following(start);
108 if (start == BreakIterator.DONE) {
112 final int end = mImpl.following(start);
116 return getRange(start, end);
138 final int start = mImpl.preceding(end);
139 if (start == BreakIterator.DONE) {
142 return getRange(start, end);
187 int start = offset;
188 if (start < 0) {
189 start = 0;
191 while (!isLetterOrDigit(start) && !isStartBoundary(start)) {
192 start = mImpl.following(start);
193 if (start == BreakIterator.DONE) {
197 final int end = mImpl.following(start);
201 return getRange(start, end);
223 final int start = mImpl.preceding(end);
224 if (start == BreakIterator.DONE || !isStartBoundary(start)) {
227 return getRange(start, end);
268 int start = offset;
269 if (start < 0) {
270 start = 0;
272 while (start < textLength && mText.charAt(start) == '\n'
273 && !isStartBoundary(start)) {
274 start++;
276 if (start >= textLength) {
279 int end = start + 1;
283 return getRange(start, end);
305 int start = end - 1;
306 while (start > 0 && !isStartBoundary(start)) {
307 start--;
309 return getRange(start, end);