HomeSort by relevance Sort by last modified time
    Searched refs:isOnKey (Results 1 - 2 of 2) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyDetector.java 135 * @param isOnKey true if the point is on the key.
138 private int sortNearbyKeys(int keyIndex, int distance, boolean isOnKey) {
143 if (distance < comparingDistance || (distance == comparingDistance && isOnKey)) {
202 final boolean isOnKey = key.isOnKey(touchX, touchY);
204 if (isOnKey || (mProximityCorrectOn && distance < mProximityThresholdSquare)) {
205 final int insertedPosition = sortNearbyKeys(index, distance, isOnKey);
206 if (insertedPosition == 0 && isOnKey)
Key.java 443 public boolean isOnKey(int x, int y) {

Completed in 3118 milliseconds