Home
last modified time | relevance | path

Searched refs:xCoordinates (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp44 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in initInputParams() argument
49 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams()
68 mProximityInfo->initializeProximities(inputCodes, xCoordinates, yCoordinates, in initInputParams()
107 if (xCoordinates && yCoordinates) { in initInputParams()
109 mMaxPointToKeyLength, mInputProximities, xCoordinates, yCoordinates, times, in initInputParams()
116 mAverageSpeed = ProximityInfoStateUtils::refreshSpeedRates(inputSize, xCoordinates, in initInputParams()
121 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams()
148 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, in initInputParams()
156 && xCoordinates && yCoordinates; in initInputParams()
Dproximity_info_state_utils.cpp219 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in refreshSpeedRates() argument
245 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates()
246 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates()
256 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates()
257 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates()
278 const float averageSpeed, const int inputSize, const int *const xCoordinates, in refreshBeelineSpeedRates() argument
289 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times, in refreshBeelineSpeedRates()
476 const float averageSpeed, const int id, const int inputSize, const int *const xCoordinates, in calculateBeelineSpeedRate() argument
500 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[start], in calculateBeelineSpeedRate()
514 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[end], in calculateBeelineSpeedRate()
[all …]
Dproximity_info_state_utils.h51 static float refreshSpeedRates(const int inputSize, const int *const xCoordinates,
60 const int inputSize, const int *const xCoordinates, const int *const yCoordinates,
100 const int *const xCoordinates, const int *const yCoordinates, const int *const times,
138 const int id, const int inputSize, const int *const xCoordinates,
Dproximity_info_state.h39 const int inputSize, const int *xCoordinates, const int *yCoordinates,
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java100 @Nonnull final ResizableIntArray xCoordinates, in append() argument
105 mXCoordinates.append(xCoordinates, startPos, length); in append()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp200 int xCoordinates[inputSize]; in latinime_BinaryDictionary_getSuggestions() local
206 env->GetIntArrayRegion(xCoordinatesArray, 0, inputSize, xCoordinates); in latinime_BinaryDictionary_getSuggestions()
249 dictionary->getSuggestions(pInfo, traverseSession, xCoordinates, yCoordinates, in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java52 final int[] xCoordinates = src.getXCoordinates(); in testReset() local
59 assertNotSame("xCoordinates after reset", xCoordinates, src.getXCoordinates()); in testReset()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java194 long traverseSession, int[] xCoordinates, int[] yCoordinates, int[] times, in getSuggestionsNative() argument