Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h100 const float dotProduct = ray1x * ray2x + ray1y * ray2y; in pointToLineSegSquaredDistanceFloat() local
107 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java149 public static float dotProduct(float[] a, float[] b) { in dotProduct() method in GeometryMathUtils
164 return dotProduct(a, b) / length; in scalarProjection()