Searched refs:squaredDistanceToEdge (Results 1 – 5 of 5) sorted by relevance
47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
348 if (key.squaredDistanceToEdge(centerX, centerY) < thresholdSquared) { in computeNearestNeighbors()
940 public int squaredDistanceToEdge(final int x, final int y) { in squaredDistanceToEdge() method in Key
1092 final int distanceFromKeyEdgeSquared = curKey.squaredDistanceToEdge(x, y); in isMajorEnoughMoveToBeOnNewKey()