Searched refs:getDistance (Results 1 – 8 of 8) 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 | 479 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in PointerTracker 484 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal() 625 final int distance = getDistance(x, y, mLastX, mLastY); in onDownEvent() 798 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack() 847 && 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 | 229 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
|
D | RawContactMatcher.java | 227 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | NavStateController.java | 127 mDistance.setText(formatDistance(step != null ? step.getDistance() : null)); in update()
|