Home | History | Annotate | Download | only in JAJP

Lines Matching defs:MAX_LENGTH

148     private static final int MAX_LENGTH = 4;
169 StrSegment[] str = new StrSegment[MAX_LENGTH];
170 int start = MAX_LENGTH;
171 int checkLength = Math.min(cursor, MAX_LENGTH);
173 str[MAX_LENGTH - i] = text.getStrSegment(1, cursor - i);
178 while (start < MAX_LENGTH) {
179 for (int i = start; i < MAX_LENGTH; i++) {
191 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to);
192 text.replaceStrSegment(ComposingText.LAYER1, out, MAX_LENGTH - start);
196 str[start].from, str[MAX_LENGTH - 1].to - 1);
198 str[MAX_LENGTH - 1].to, str[MAX_LENGTH - 1].to);
199 text.replaceStrSegment(1, out, MAX_LENGTH - start);