Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp319 float nearestKeyDistance = maxPointToKeyLength; in updateNearKeysDistances() local
326 if (nearestKeyDistance > dist) { in updateNearKeysDistances()
327 nearestKeyDistance = dist; in updateNearKeysDistances()
330 return nearestKeyDistance; in updateNearKeysDistances()
637 float nearestKeyDistance = static_cast<float>(MAX_VALUE_FOR_WEIGHTING); in updateAlignPointProbabilities() local
641 if (distance < nearestKeyDistance) { in updateAlignPointProbabilities()
642 nearestKeyDistance = distance; in updateAlignPointProbabilities()
648 nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT in updateAlignPointProbabilities()
654 nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT_FOR_LAST in updateAlignPointProbabilities()
675 speedRate * nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT in updateAlignPointProbabilities()
[all …]