Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h98 const float ray2x = x2 - x1; in pointToLineSegSquaredDistanceFloat() local
101 const float dotProduct = ray1x * ray2x + ray1y * ray2y; in pointToLineSegSquaredDistanceFloat()
102 const float lineLengthSqr = GeometryUtils::SQUARE_FLOAT(ray2x) in pointToLineSegSquaredDistanceFloat()
119 projectionX = x1 + projectionLengthSqr * ray2x; in pointToLineSegSquaredDistanceFloat()