Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallContactInteractions.java100 public void setBusinessInfo(Address address, float distance, in setBusinessInfo()
266 private BusinessContextInfo constructLocationInfo(Address address, float distance) { in constructLocationInfo()
272 float distance) { in constructLocationInfo()
/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/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()
/packages/apps/Launcher2/src/com/android/launcher2/
DSmoothPagedView.java46 public void setDistance(int distance) { in setDistance()
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java54 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorBase() local
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DMaterialColorMapUtils.java121 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
DDemoInstrumentClusterView.java80 public void setNextTurnDistance(String distance) { in setNextTurnDistance()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java54 int distance); in getGoneX()
306 public void setDistance(int distance) { in setDistance()
/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/UnifiedEmail/src/com/android/mail/browse/
DMessageScrollView.java221 int distance = (deltaX * deltaX) + (deltaY * deltaY); in onDoubleTapEvent() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java77 int distance = distTab[s-1][t] + 1; in calculate() 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/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/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/data/
DLocationClustering.java255 float distance = (float) GalleryUtils.fastDistanceMeters( in kMeans() local
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java450 int distance = Math.max(mRowScrollUpAnimationOffset, distanceCurrentTitle); in setSelectedPositionSmooth() local
483 int distance = Math.max(mRowScrollUpAnimationOffset, distanceOldTitle); in setSelectedPositionSmooth() 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/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java321 float distance = (deltaX * deltaX) + (deltaY * deltaY); in handlePossibleVerticalSwipe() local
632 final int distance = Math.abs(centerY - childCenterY); in findCenterViewIndex() local
852 final int distance = Math.abs(centerY - childCenterY); in findCenterViewIndex() local

12