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

/packages/inputmethods/LatinIME/native/src/
H A Dproximity_info.cpp136 const float squaredDistance = calculateNormalizedSquaredDistance(keyIndex, i); local
137 if (squaredDistance >= 0.0f) {
139 (int)(squaredDistance * NORMALIZED_SQUARED_DISTANCE_SCALING_FACTOR);
160 const float squaredDistance = calculateSquaredDistanceFromSweetSpotCenter(keyIndex, inputIndex); local
162 return squaredDistance / squaredRadius;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java2568 static private float squaredDistance(float[] point1, float[] point2) { method in class:Workspace
2656 float dist = squaredDistance(touchXy, cellLayoutCenter);

Completed in 54 milliseconds