Home
last modified time | relevance | path

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

123

/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiSnapHelperTest.java76 int[] distance = mCarUiSnapHelper.calculateDistanceToFinalSnap(mLayoutManager, mChild); in calculateDistanceToFinalSnap_shouldReturnTopMarginDifference() local
93 int[] distance = mCarUiSnapHelper.calculateScrollDistance(0, 10); in calculateScrollDistance_shouldScrollHeightOfView() local
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java71 final float distance = mLauncher.getAllAppsController().getShiftRange() * progress; in call() local
81 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/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/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java94 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java84 public void onMoveKey(final int distance) { in onMoveKey()
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java54 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorBase() local
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java324 private String formatDistance(@Nullable Distance distance) { in formatDistance()
/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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java534 int distance = in estimateNextPositionDiffForFling() local
572 int distance = end - start; in computeDistancePerChild() local
/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/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch() 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/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java255 float distance = (float) GalleryUtils.fastDistanceMeters( in kMeans() local

123