Home
last modified time | relevance | path

Searched refs:getDistance (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java162 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
DBogusMoveEventDetector.java104 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/
DPointerTracker.java479 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/
DNameDistanceTest.java73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() method in NameDistance
DContactMatcher.java229 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
DRawContactMatcher.java227 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java127 mDistance.setText(formatDistance(step != null ? step.getDistance() : null)); in update()