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()
633 float nearestKeyDistance = static_cast<float>(MAX_VALUE_FOR_WEIGHTING); in updateAlignPointProbabilities() local
637 if (distance < nearestKeyDistance) { in updateAlignPointProbabilities()
638 nearestKeyDistance = distance; in updateAlignPointProbabilities()
644 nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT in updateAlignPointProbabilities()
650 nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT_FOR_LAST in updateAlignPointProbabilities()
671 speedRate * nearestKeyDistance * ProximityInfoParams::NEAREST_DISTANCE_WEIGHT in updateAlignPointProbabilities()
[all …]