Home
last modified time | relevance | path

Searched defs:distance (Results 1 – 25 of 47) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/utils/
Dautocorrection_threshold_utils.cpp75 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore() local
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java43 LevenshteinDistance distance = new LevenshteinDistance(sourceTokens, targetTokens); in verifyTargetOperations() local
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java280 int distance = target - (mHorizontal ? v.getTop() : v.getLeft()); in animateOut() local
432 protected void onOrthoDrag(View v, float distance) { in onOrthoDrag()
464 private void offsetView(View v, float distance) { in offsetView()
473 private float getAlpha(View v, float distance) { in getAlpha()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DScrollerHelper.java85 public int startScroll(int distance, int min, int max) { in startScroll()
DPaper.java36 public void overScroll(float distance) { in overScroll()
DEdgeEffect.java198 float distance = Math.abs(mPullDistance); in onPull() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java84 public void onMoveKey(final int distance) { in onMoveKey()
DGestureStrokeRecognitionPoints.java280 final int distance = detectFastMove(x, y, time); in addEventPoint() local
/packages/apps/Launcher2/src/com/android/launcher2/
DSmoothPagedView.java46 public void setDistance(int distance) { in setDistance()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DMaterialColorMapUtils.java121 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java77 int distance = distTab[s-1][t] + 1; in calculate() local
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageScrollView.java221 int distance = (deltaX * deltaX) + (deltaY * deltaY); in onDoubleTapEvent() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java682 void startScroll(int start, int distance, int duration) { in startScroll()
855 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached() local
912 double distance = 0.0; in update() local
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java681 void startScroll(int start, int distance, int duration) { in startScroll()
855 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached() local
912 double distance = 0.0; in update() local
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java545 long distance = Math.abs(millis - row.mEventStartTimeMilli); in findEventPositionNearestTime() local
565 long distance = Math.abs(millis - row.mEventStartTimeMilli); in findEventPositionNearestTime() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestions_output_utils.cpp205 const float distance = terminalDicNode->getNormalizedCompoundDistanceAfterFirstWord(); in computeFirstWordConfidence() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java146 float distance = (gx > 0 ? gx : -gx) + (gy > 0 ? gy : - gy); in onGyroscopeChanged() local
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java255 float distance = (float) GalleryUtils.fastDistanceMeters( in kMeans() local
/packages/apps/FMRadio/src/com/android/fmradio/
DFmFavoriteActivity.java191 float distance[] = new float[2]; in onOptionsItemSelected() local
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java228 int distance = (int) GalleryUtils.toMile(distanceFloat[0]); in computeAddress() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h123 const float distance = distance1 + distance2; in getTranspositionCost() local
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2428 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0], in acceptDrop() local
2473 distance, boolean considerTimeout) { in willCreateUserFolder()
2502 float distance) { in willAddToExistingUserFolder()
2523 int[] targetCell, float distance, boolean external, DragView dragView, in createUserFolderIfNecessary()
2576 float distance, DragObject d, boolean external) { in addToExistingFolderIfNecessary()
2640 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0], in onDrop() local
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java209 public void onFocusDistance(float distance, LinearScale lensRange); in onFocusDistance()

12