Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java62 final float distance = mLauncher.getAllAppsController().getShiftRange() * progress; in call() local
72 final float distance = mLauncher.getAllAppsController().getShiftRange() * progress; in call() local
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dautocorrection_threshold_utils.cpp75 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarNavigationManagerTest.java64 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto() local
/packages/modules/ExtServices/src/android/ext/services/autofill/
DEditDistanceScorer.java47 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore() local
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java43 LevenshteinDistance distance = new LevenshteinDistance(sourceTokens, targetTokens); in verifyTargetOperations() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DAccelerationClassifier.java81 float distance = previousPoint.dist(point); in addPoint() local
/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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java297 private String formatDistance(@Nullable Distance distance) { in formatDistance()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java544 void startScroll(int start, int distance, int duration) { in startScroll()
548 void startScroll(int start, int distance, int duration, float velocity) { in startScroll()
748 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached() local
813 double distance = 0.0; in update() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java84 public void onMoveKey(final int distance) { in onMoveKey()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java94 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java54 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorBase() local
/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java124 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java51 ViewGroup sceneRoot, View view, int[] position, int distance); in getGoneX()
317 public void setDistance(int distance) { in setDistance()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto372 Distance distance = 1; field
472 Distance distance = 3; field
/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/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/app/
DEyePosition.java146 float distance = (gx > 0 ? gx : -gx) + (gy > 0 ? gy : - gy); in onGyroscopeChanged() 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/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/Launcher3/src/com/android/launcher3/
DWorkspace.java1575 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0], in acceptDrop() local
1609 float distance, boolean considerTimeout) { in willCreateUserFolder()
1642 float distance) { in willAddToExistingUserFolder()
1666 int[] targetCell, float distance, boolean external, DragView dragView) { in createUserFolderIfNecessary()
1723 float distance, DragObject d, boolean external) { in addToExistingFolderIfNecessary()
1786 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0], in onDrop() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java255 float distance = (float) GalleryUtils.fastDistanceMeters( in kMeans() local

12