Home | History | Annotate | Download | only in JAJP

Lines Matching refs:MAX_LENGTH

144     private static final int MAX_LENGTH = 4;
173 StrSegment[] str = new StrSegment[MAX_LENGTH];
174 int start = MAX_LENGTH;
175 int checkLength = Math.min(cursor, MAX_LENGTH);
177 str[MAX_LENGTH - i] = text.getStrSegment(1, cursor - i);
182 while (start < MAX_LENGTH) {
183 for (int i = start; i < MAX_LENGTH; i++) {
195 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to);
196 text.replaceStrSegment(ComposingText.LAYER1, out, MAX_LENGTH - start);
200 str[start].from, str[MAX_LENGTH - 1].to - 1);
202 str[MAX_LENGTH - 1].to, str[MAX_LENGTH - 1].to);
203 text.replaceStrSegment(1, out, MAX_LENGTH - start);