Home
last modified time | relevance | path

Searched defs:dist (Results 1 – 20 of 20) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DEditDistanceTests.java32 final int dist = BinaryDictionaryUtils.editDistance("kitten", "sitting"); in testExample1() local
45 final int dist = BinaryDictionaryUtils.editDistance("Saturday", "Sunday"); in testExample2() local
51 final int dist = BinaryDictionaryUtils.editDistance("", ""); in testBothEmpty() local
57 final int dist = BinaryDictionaryUtils.editDistance("", "aaaa"); in testFirstArgIsEmpty() local
64 final int dist = BinaryDictionaryUtils.editDistance("aaaa", ""); in testSecoondArgIsEmpty() local
73 final int dist = BinaryDictionaryUtils.editDistance(arg1, arg2); in testSameStrings() local
80 final int dist = BinaryDictionaryUtils.editDistance(arg, arg); in testSameReference() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysDetector.java47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGradControl.java100 float dist = dx * dx + dy * dy; in getCloseHandle() local
113 float dist = (float) Math.sqrt(dx * dx + dy * dy); in getCloseHandle() local
DEclipseControl.java83 float dist = dx * dx + dy * dy; in getCloseHandle() local
96 float dist = (float) Math.sqrt(dx * dx + dy * dy); in getCloseHandle() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h138 const float dist = traverseSession->getProximityInfoState(0)->getPointToKeyLength( in getInsertionCost() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java237 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterGradRepresentation.java218 double dist = Math.hypot(point.xPos1 - x, point.yPos1 - y); in addBand() local
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java787 final float dist = (float) Math.hypot(delta[0], delta[1]); in fling() local
859 float dist = (float) Math.hypot(dx, dy); in dropOnTable() local
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java809 int dist = 0; in getKeyIndices() local
1486 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java478 float dist, float duration) { in ease()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java364 int dist = Math.abs(orientation - orientationHistory); in roundOrientation() local
/packages/apps/Camera/src/com/android/camera/
DUtil.java415 int dist = Math.abs(orientation - orientationHistory); in roundOrientation() local
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java572 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) + in animateView() local
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java452 private float dist(PointF p0, PointF p1) { in dist() method in DeviceProfile
DDragLayer.java654 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) + in animateView() local
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java484 int dist = Math.abs(orientation - orientationHistory); in roundOrientation() local
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java862 int dist = 0; in getEmptyBlock() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp321 const float dist = proximityInfo->getNormalizedSquaredDistanceFromCenterFloatG(k, x, y, in updateNearKeysDistances() local
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java785 int dist = Math.abs(pointX - c); in findTheNearestView() local
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java4725 float dist = geometry.pointToEvent(x, y, ev); in findSelectedEvent() local