Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp529 const int beelineDistance = GeometryUtils::getDistanceInt(x2, y2, x3, y3); in calculateBeelineSpeedRate() local
549 id, (*sampledInputIndices)[id], start, end, beelineDistance, time, in calculateBeelineSpeedRate()
550 (static_cast<float>(beelineDistance) / static_cast<float>(time)), averageSpeed, in calculateBeelineSpeedRate()
551 ((static_cast<float>(beelineDistance) / static_cast<float>(time)) in calculateBeelineSpeedRate()
556 return 0.01f + static_cast<float>(beelineDistance) / static_cast<float>(time) / averageSpeed; in calculateBeelineSpeedRate()