Searched refs:squaredDistanceFrom (Results 1 – 4 of 4) sorted by relevance
467 public int squaredDistanceFrom(int x, int y) { in squaredDistanceFrom() method in Keyboard.Key737 if (key.squaredDistanceFrom(x, y) < mProximityThreshold || in computeNearestNeighbors()738 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()739 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()741 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()
768 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()
9936 method public int squaredDistanceFrom(int, int);