Searched refs:getDistance (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStroke.java | 219 final int deltaDistance = getDistance( in isStartOfAGesture() 293 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove() 296 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove() 352 final int pixels = getDistance(mLastMajorEventX, mLastMajorEventY, x, y); in updateIncrementalRecognitionSize() 383 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in GestureStroke
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 239 return getDistance(x, y, mActualDownX, mActualDownY); in getDistanceFromDownEvent() 698 static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in PointerTracker 703 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal() 852 final int distance = getDistance(x, y, mLastX, mLastY); in onDownEvent() 1013 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack() 1066 && getDistance(x, y, lastX, lastY) >= mPhantonSuddenMoveThreshold) { in slideFromOldKeyToNewKey()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistanceTest.java | 73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() method in NameDistance
|
D | ContactMatcher.java | 317 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
|