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

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

Completed in 34 milliseconds