Searched defs:nearestKeyDistance (Results 1 - 1 of 1) sorted by relevance

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

Completed in 56 milliseconds