Home
last modified time | relevance | path

Searched refs:yCoordinates (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info_state.cpp34 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in initInputParams() argument
39 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams()
58 mProximityInfo->initializeProximities(inputCodes, xCoordinates, yCoordinates, in initInputParams()
103 if (xCoordinates && yCoordinates) { in initInputParams()
105 mMaxPointToKeyLength, mInputProximities, xCoordinates, yCoordinates, times, in initInputParams()
113 yCoordinates, times, lastSavedInputSize, mSampledInputSize, &mSampledInputXs, in initInputParams()
117 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams()
145 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, in initInputParams()
153 && xCoordinates && yCoordinates; in initInputParams()
159 mProximityInfo, inputSize, xCoordinates, yCoordinates, mInputProximities, in initInputParams()
Dproximity_info_state_utils.cpp262 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in refreshSpeedRates() argument
288 length += getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates()
289 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates()
299 length += getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates()
300 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates()
322 const int *const yCoordinates, const int *times, const int sampledInputSize, in refreshBeelineSpeedRates() argument
332 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times, in refreshBeelineSpeedRates()
520 const int *const yCoordinates, const int *times, const int sampledInputSize, in calculateBeelineSpeedRate() argument
543 tempBeelineDistance = getDistanceInt(x0, y0, xCoordinates[start], yCoordinates[start]); in calculateBeelineSpeedRate()
556 tempBeelineDistance = getDistanceInt(x0, y0, xCoordinates[end], yCoordinates[end]); in calculateBeelineSpeedRate()
[all …]
Dproximity_info_state_utils.h53 const int *const yCoordinates, const int *const times, const int lastSavedInputSize,
61 const int inputSize, const int *const xCoordinates, const int *const yCoordinates,
107 const int *const xCoordinates, const int *const yCoordinates, const int *const times,
146 const int *const yCoordinates, const int *times, const int sampledInputSize,
Dcorrection.h121 const int inputSize, const int *xCoordinates, const int *yCoordinates) { in initInputParams() argument
123 proximityInfo, inputCodes, inputSize, xCoordinates, yCoordinates, 0, 0, false); in initInputParams()
Dunigram_dictionary.cpp279 const int *yCoordinates, const int *codes, const int inputSize, in initSuggestions() argument
285 correction->initInputParams(proximityInfo, codes, inputSize, xCoordinates, yCoordinates); in initSuggestions()
Dproximity_info_state.h40 const int inputSize, const int *xCoordinates, const int *yCoordinates,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp142 int yCoordinates[inputSize]; in latinime_BinaryDictionary_getSuggestions() local
152 env->GetIntArrayRegion(yCoordinatesArray, 0, inputSize, yCoordinates); in latinime_BinaryDictionary_getSuggestions()
189 count = dictionary->getSuggestions(pInfo, traverseSession, xCoordinates, yCoordinates, in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java291 final int[] yCoordinates = ips.getYCoordinates(); in getWordsInner() local
300 final int y = xCoordinates != null && i < yCoordinates.length ? in getWordsInner()
301 yCoordinates[i] : Constants.NOT_A_COORDINATE; in getWordsInner()
DInputPointers.java97 ResizableIntArray yCoordinates, int startPos, int length) { in append() argument
102 mYCoordinates.append(yCoordinates, startPos, length); in append()
DBinaryDictionary.java95 long traverseSession, int[] xCoordinates, int[] yCoordinates, int[] times, in getSuggestionsNative() argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputPointersTests.java40 final int[] yCoordinates = src.getXCoordinates(); in testReset() local
47 assertNotSame("yCoordinates after reset", yCoordinates, src.getYCoordinates()); in testReset()