Home
last modified time | relevance | path

Searched refs:inputCodes (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info.cpp156 const int x, const int y, const int32_t primaryKey, int *inputCodes) const { in calculateNearbyKeyCodes()
158 inputCodes[insertPos++] = primaryKey; in calculateNearbyKeyCodes()
170 inputCodes[insertPos++] = c; in calculateNearbyKeyCodes()
182 inputCodes[insertPos++] = ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE; in calculateNearbyKeyCodes()
196 if ((int)ac == inputCodes[k]) { in calculateNearbyKeyCodes()
203 inputCodes[insertPos++] = ac; in calculateNearbyKeyCodes()
215 inputCodes[i] = NOT_A_CODE; in calculateNearbyKeyCodes()
219 void ProximityInfo::setInputParams(const int32_t* inputCodes, const int inputLength, in setInputParams() argument
225 const int32_t primaryKey = inputCodes[i]; in setInputParams()
237 int icfjc = inputCodes[i * MAX_PROXIMITY_CHARS_SIZE + j]; in setInputParams()
[all …]
Dbigram_dictionary.cpp188 int *inputCodes = mInputCodes; in checkFirstCharacter() local
192 if (toBaseLowerCase(*inputCodes) == firstBaseChar) { in checkFirstCharacter()
195 inputCodes++; in checkFirstCharacter()
Dproximity_info.h56 void setInputParams(const int32_t *inputCodes, const int inputLength,
98 const int x, const int y, const int32_t primaryKey, int *inputCodes) const;
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp139 int *inputCodes = env->GetIntArrayElements(inputArray, 0); in latinime_BinaryDictionary_getSuggestions() local
144 int count = dictionary->getSuggestions(pInfo, xCoordinates, yCoordinates, inputCodes, in latinime_BinaryDictionary_getSuggestions()
151 env->ReleaseIntArrayElements(inputArray, inputCodes, JNI_ABORT); in latinime_BinaryDictionary_getSuggestions()
164 int *inputCodes = env->GetIntArrayElements(inputArray, 0); in latinime_BinaryDictionary_getBigrams() local
167 int count = dictionary->getBigrams(prevWord, prevWordLength, inputCodes, in latinime_BinaryDictionary_getBigrams()
171 env->ReleaseIntArrayElements(inputArray, inputCodes, JNI_ABORT); in latinime_BinaryDictionary_getBigrams()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java90 int[] yCoordinates, int[] inputCodes, int codesSize, int[] prevWordForBigrams, in getSuggestionsNative() argument
93 int[] inputCodes, int inputCodesLength, char[] outputChars, int[] scores, in getBigramsNative() argument