/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_state_output.h | 44 if (mOutputtedLength < MAX_WORD_LENGTH) { 54 if (mOutputtedLength < MAX_WORD_LENGTH) { 66 int mWordBuf[MAX_WORD_LENGTH];
|
H A D | dic_node_utils.cpp | 86 int additionalWordBuf[MAX_WORD_LENGTH]; 253 actualLength0 = min(actualLength0, MAX_WORD_LENGTH); 265 actualLength1 = min(actualLength1, MAX_WORD_LENGTH - actualLength0 - 1);
|
H A D | dic_node_state_prevword.h | 141 int mPrevWord[MAX_WORD_LENGTH];
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
H A D | shortcut_utils.h | 33 int shortcutTarget[MAX_WORD_LENGTH]; 36 MAX_WORD_LENGTH, shortcutTarget, &shortcutProbability); 53 const int startIndex2 = outputWordIndex * MAX_WORD_LENGTH;
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | bigram_dictionary.cpp | 54 && length < getCodePointCount(MAX_WORD_LENGTH, 55 bigramCodePoints + insertAt * MAX_WORD_LENGTH))) { 71 memmove(bigramCodePoints + (insertAt + 1) * MAX_WORD_LENGTH, 72 bigramCodePoints + insertAt * MAX_WORD_LENGTH, 73 (MAX_RESULTS - insertAt - 1) * sizeof(bigramCodePoints[0]) * MAX_WORD_LENGTH); 74 int *dest = bigramCodePoints + insertAt * MAX_WORD_LENGTH; 120 int bigramBuffer[MAX_WORD_LENGTH]; 124 const int length = BinaryFormat::getWordAtAddress(root, bigramPos, MAX_WORD_LENGTH,
|
H A D | words_priority_queue.cpp | 65 int *targetAddress = outputCodePoints + i * MAX_WORD_LENGTH; 69 if (wordLength < MAX_WORD_LENGTH) {
|
H A D | proximity_info_state.h | 252 int mInputProximities[MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH]; 253 int mNormalizedSquaredDistances[MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH]; 255 int mPrimaryInputWord[MAX_WORD_LENGTH]; 257 int mMostProbableString[MAX_WORD_LENGTH];
|
H A D | words_priority_queue.h | 32 int mWord[MAX_WORD_LENGTH]; 48 mSuggestedWords(new SuggestedWord[MAX_WORD_LENGTH]), mHighestSuggestedWord(0) { 49 for (int i = 0; i < MAX_WORD_LENGTH; ++i) { 140 for (int i = 0; i < MAX_WORD_LENGTH; ++i) {
|
H A D | defines.h | 31 // Must be equal to Constants.Dictionary.MAX_WORD_LENGTH in Java 32 #define MAX_WORD_LENGTH 48 macro 57 while (si < sourceSize && di < MAX_WORD_LENGTH - 1 && 0 != source[si]) { 86 dumpWordInfo(&outWords[i * MAX_WORD_LENGTH], MAX_WORD_LENGTH, i, frequencies[i]);
|
H A D | terminal_attributes.h | 49 for (i = 0; i < MAX_WORD_LENGTH; ++i) {
|
H A D | correction.h | 239 int mWord[MAX_WORD_LENGTH]; 240 int mDistances[MAX_WORD_LENGTH]; 244 int mEditDistanceTable[(MAX_WORD_LENGTH + 1) * (MAX_WORD_LENGTH + 1)]; 246 CorrectionState mCorrectionStates[MAX_WORD_LENGTH]; 336 // TODO: Make sure that editDistance[0 ~ MAX_WORD_LENGTH] is not touched.
|
H A D | unigram_dictionary.cpp | 199 int *w = outWords + j * MAX_WORD_LENGTH; 200 char s[MAX_WORD_LENGTH]; 201 for (int i = 0; i <= MAX_WORD_LENGTH; i++) s[i] = w[i]; 286 const int maxDepth = min(inputSize * MAX_DEPTH_MULTIPLIER, MAX_WORD_LENGTH); 383 int shortcutTarget[MAX_WORD_LENGTH]; 386 MAX_WORD_LENGTH, shortcutTarget, &shortcutFrequency); 472 int word[MAX_WORD_LENGTH]; 523 || MAX_WORD_LENGTH <= (outputWordStartPos + nextWordLength)) { 540 if (outputWordStartPos + nextWordLength >= MAX_WORD_LENGTH) { 651 if (inputSize >= MAX_WORD_LENGTH) retur [all...] |
H A D | proximity_info_state.cpp | 36 ASSERT(isGeometric || (inputSize < MAX_WORD_LENGTH));
|
H A D | proximity_info_state_utils.cpp | 147 memset(primaryInputWord, 0, sizeof(primaryInputWord[0]) * MAX_WORD_LENGTH); 187 sizeof(normalizedSquaredDistances[0]) * MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH); 1015 memset(codePointBuf, 0, sizeof(codePointBuf[0]) * MAX_WORD_LENGTH); 1019 for (int i = 0; i < sampledInputSize && index < MAX_WORD_LENGTH - 1; ++i) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | BinaryDictionary.java | 35 // Must be equal to MAX_WORD_LENGTH in native/jni/src/defines.h 36 private static final int MAX_WORD_LENGTH = Constants.Dictionary.MAX_WORD_LENGTH; field in class:BinaryDictionary 42 private final int[] mInputCodePoints = new int[MAX_WORD_LENGTH]; 43 private final int[] mOutputCodePoints = new int[MAX_WORD_LENGTH * MAX_RESULTS]; 130 if (composerSize > MAX_WORD_LENGTH - 1) return null; 147 final int start = j * MAX_WORD_LENGTH; 149 while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) {
|
H A D | Constants.java | 130 // Must be equal to MAX_WORD_LENGTH in native/jni/src/defines.h 131 public static final int MAX_WORD_LENGTH = 48; field in class:Constants.Dictionary
|
H A D | WordComposer.java | 28 private static final int MAX_WORD_LENGTH = Constants.Dictionary.MAX_WORD_LENGTH; field in class:WordComposer 40 private final InputPointers mInputPointers = new InputPointers(MAX_WORD_LENGTH); 67 mPrimaryKeyCodes = new int[MAX_WORD_LENGTH]; 68 mTypedWord = new StringBuilder(MAX_WORD_LENGTH); 127 // TODO: make sure that the index should not exceed MAX_WORD_LENGTH 129 if (index >= MAX_WORD_LENGTH) { 160 if (newIndex < MAX_WORD_LENGTH) { 386 mPrimaryKeyCodes = new int[MAX_WORD_LENGTH];
|
H A D | LastComposedWord.java | 50 new InputPointers(Constants.Dictionary.MAX_WORD_LENGTH);
|
H A D | UserHistoryDictionary.java | 150 if (word2.length() >= Constants.Dictionary.MAX_WORD_LENGTH || 151 (word1 != null && word1.length() >= Constants.Dictionary.MAX_WORD_LENGTH)) { 242 if (word1.length() < Constants.Dictionary.MAX_WORD_LENGTH 243 && word2.length() < Constants.Dictionary.MAX_WORD_LENGTH) {
|
H A D | ContactsBinaryDictionary.java | 202 if (wordLen < MAX_WORD_LENGTH && wordLen > 1) { 303 if (wordLen < MAX_WORD_LENGTH && wordLen > 1) {
|
H A D | UserBinaryDictionary.java | 254 if (word.length() < MAX_WORD_LENGTH) { 257 if (null != shortcut && shortcut.length() < MAX_WORD_LENGTH) {
|
H A D | ExpandableBinaryDictionary.java | 58 protected static final int MAX_WORD_LENGTH = Constants.Dictionary.MAX_WORD_LENGTH; field in class:ExpandableBinaryDictionary
|
H A D | ExpandableDictionary.java | 45 private char[] mWordBuilder = new char[Constants.Dictionary.MAX_WORD_LENGTH]; 163 mCodes = new int[Constants.Dictionary.MAX_WORD_LENGTH][]; 200 return Constants.Dictionary.MAX_WORD_LENGTH; 204 if (word.length() >= Constants.Dictionary.MAX_WORD_LENGTH) { 260 if (composer.size() >= Constants.Dictionary.MAX_WORD_LENGTH) { 631 private final char[] mLookedUpString = new char[Constants.Dictionary.MAX_WORD_LENGTH]; 646 int index = Constants.Dictionary.MAX_WORD_LENGTH; 653 // If node is null, we have a word longer than MAX_WORD_LENGTH in the dictionary. 658 Constants.Dictionary.MAX_WORD_LENGTH - index),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | FormatSpec.java | 170 static final int MAX_WORD_LENGTH = Constants.Dictionary.MAX_WORD_LENGTH; field in class:FormatSpec
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 165 if (outputCodePointsLength != (MAX_WORD_LENGTH * MAX_RESULTS)) {
|