Home | History | Annotate | Download | only in latin

Lines Matching defs:MAX_WORD_LENGTH

29     private static final int MAX_WORD_LENGTH = Constants.DICTIONARY_MAX_WORD_LENGTH;
41 // The array is limited to MAX_WORD_LENGTH code points, but mTypedWord extends past that
42 // and mCodePointSize can go past that. If mCodePointSize is greater than MAX_WORD_LENGTH,
43 // this just does not contain the associated code points past MAX_WORD_LENGTH.
45 private final InputPointers mInputPointers = new InputPointers(MAX_WORD_LENGTH);
49 // to MAX_WORD_LENGTH code points.
67 // This is the number of code points entered so far. This is not limited to MAX_WORD_LENGTH.
69 // MAX_WORD_LENGTH in which case mPrimaryKeyCodes only contain the first MAX_WORD_LENGTH
80 mPrimaryKeyCodes = new int[MAX_WORD_LENGTH];
81 mTypedWord = new StringBuilder(MAX_WORD_LENGTH);
140 // TODO: make sure that the index should not exceed MAX_WORD_LENGTH
142 if (index >= MAX_WORD_LENGTH) {
173 if (newIndex < MAX_WORD_LENGTH) {
221 if (mCodePointSize >= MAX_WORD_LENGTH) {
222 // If we have more than MAX_WORD_LENGTH characters, we don't have everything inside
442 mPrimaryKeyCodes = new int[MAX_WORD_LENGTH];