Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h108 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat() local
112 if (!extend && projectionLengthSqr < 0.0f) { in pointToLineSegSquaredDistanceFloat()
115 } else if (!extend && projectionLengthSqr > 1.0f) { in pointToLineSegSquaredDistanceFloat()
119 projectionX = x1 + projectionLengthSqr * ray2x; in pointToLineSegSquaredDistanceFloat()
120 projectionY = y1 + projectionLengthSqr * ray2y; in pointToLineSegSquaredDistanceFloat()