HomeSort by relevance Sort by last modified time
    Searched defs:squaredDistance (Results 1 - 3 of 3) sorted by null

  /packages/inputmethods/LatinIME/native/src/
proximity_info.cpp 136 const float squaredDistance = calculateNormalizedSquaredDistance(keyIndex, i);
137 if (squaredDistance >= 0.0f) {
139 (int)(squaredDistance * NORMALIZED_SQUARED_DISTANCE_SCALING_FACTOR);
160 const float squaredDistance = calculateSquaredDistanceFromSweetSpotCenter(keyIndex, inputIndex);
162 return squaredDistance / squaredRadius;
correction.cpp 738 const int squaredDistance = correction->mDistances[i];
742 if (squaredDistance >= 0) {
749 const float x = (float)squaredDistance
765 } else if (squaredDistance == PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO) {
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 408 float squaredDistance = 0;
412 squaredDistance += difference * difference;
414 return squaredDistance / size;

Completed in 1437 milliseconds