Home
last modified time | relevance | path

Searched refs:sampledInputSize (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp188 const ProximityInfo *const proximityInfo, const int sampledInputSize, in initGeometricDistanceInfos() argument
194 sampledNormalizedSquaredLengthCache->resize(sampledInputSize * keyCount); in initGeometricDistanceInfos()
195 for (int i = lastSavedInputSize; i < sampledInputSize; ++i) { in initGeometricDistanceInfos()
220 const int lastSavedInputSize, const int sampledInputSize, in refreshSpeedRates() argument
230 sampledSpeedRates->resize(sampledInputSize); in refreshSpeedRates()
231 for (int i = lastSavedInputSize; i < sampledInputSize; ++i) { in refreshSpeedRates()
242 if (i < sampledInputSize - 1 && j >= (*sampledInputIndice)[i + 1]) { in refreshSpeedRates()
270 sampledDirections->resize(sampledInputSize - 1); in refreshSpeedRates()
271 for (int i = std::max(0, lastSavedInputSize - 1); i < sampledInputSize - 1; ++i) { in refreshSpeedRates()
279 const int *const yCoordinates, const int *times, const int sampledInputSize, in refreshBeelineSpeedRates() argument
[all …]
Dproximity_info_state_utils.h53 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
61 const int *times, const int sampledInputSize,
69 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
77 const int sampledInputSize, const int lastSavedInputSize,
86 const int sampledInputSize, const int lastSavedInputSize, const bool isGeometric,
94 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
101 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
107 const int sampledInputSize,
139 const int *const yCoordinates, const int *times, const int sampledInputSize,
149 const int sampledInputSize, const std::vector<int> *const lengthCache, const int index0,