Searched refs:getDistance (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeRecognitionPoints.java | 162 final int deltaDistance = getDistance( in isStartOfAGesture() 237 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove() 240 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove() 297 final int pixels = getDistance(mLastMajorEventX, mLastMajorEventY, x, y); in updateIncrementalRecognitionSize() 331 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in GestureStrokeRecognitionPoints
|
D | BogusMoveEventDetector.java | 104 return getDistance(x, y, mActualDownX, mActualDownY); in getDistanceFromDownEvent() 107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in BogusMoveEventDetector
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 540 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in PointerTracker 545 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal() 686 final int distance = getDistance(x, y, mLastX, mLastY); in onDownEvent() 859 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack() 908 && getDistance(x, y, lastX, lastY) >= mPhantomSuddenMoveThreshold) { in dragFingerFromOldKeyToNewKey()
|
/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()
|