Searched refs:squaredDistanceFrom (Results 1 – 4 of 4) sorted by relevance
479 public int squaredDistanceFrom(int x, int y) { in squaredDistanceFrom() method in Keyboard.Key750 if (key.squaredDistanceFrom(x, y) < mProximityThreshold || in computeNearestNeighbors()751 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()752 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()754 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()
773 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()
14331 method public int squaredDistanceFrom(int, int);
15279 method public int squaredDistanceFrom(int, int);