Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.h73 const std::vector<float> *const sampledNormalizedSquaredLengthCache,
83 const std::vector<float> *const sampledNormalizedSquaredLengthCache, const int keyCount,
89 std::vector<float> *sampledNormalizedSquaredLengthCache);
Dproximity_info_state_utils.cpp192 std::vector<float> *sampledNormalizedSquaredLengthCache) { in initGeometricDistanceInfos() argument
194 sampledNormalizedSquaredLengthCache->resize(sampledInputSize * keyCount); in initGeometricDistanceInfos()
203 (*sampledNormalizedSquaredLengthCache)[index] = normalizedSquaredDistance; in initGeometricDistanceInfos()
604 const std::vector<float> *const sampledNormalizedSquaredLengthCache, const int keyCount, in getPointToKeyByIdLength() argument
608 return std::min((*sampledNormalizedSquaredLengthCache)[index], maxPointToKeyLength); in getPointToKeyByIdLength()
622 const std::vector<float> *const sampledNormalizedSquaredLengthCache, in updateAlignPointProbabilities() argument
640 maxPointToKeyLength, sampledNormalizedSquaredLengthCache, keyCount, i, j); in updateAlignPointProbabilities()