Home
last modified time | relevance | path

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

123

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/ble/util/
DRangingUtilsTest.java35 double distance = RangingUtils.distanceFromRssiAndTxPower(-82, -41); in distanceFromRssi_getCorrectValue() local
57 double distance = RangingUtils.distanceFromRssiAndTxPower(-200, -41); in testOutOfRange() local
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java170 public static Optional<Double> distance(Geometry geo, in distance() method in CbGeoUtils
204 public double distance(@NonNull final LatLng latLng) { in distance() method in CbGeoUtils.DistanceCircle
240 public double distance(@NonNull final LatLng latLng) { in distance() method in CbGeoUtils.DistancePolygon
342 public double distance(Point pt) { in distance() method in CbGeoUtils.Point
391 public double distance(Point pt) { in distance() method in CbGeoUtils.LineSegment
DCbSendMessageCalculator.java247 double distance = maybeDistance.get(); in calculateSysSingleFence() local
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java81 double distance = mGooglePlex.distance(east100m); in testAddEast() local
89 double distance = mGooglePlex.distance(north120m); in testAddNorth() local
170 double distance = CbGeoUtils.distance( in testDistanceWithCircleToPoint() local
202 double distance = square.distance(llDueEast); in testDistanceWithSquareToPoint() local
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/
DDeviceletImpl.java106 /*package*/ boolean updateDistance(String remoteAddress, Distance distance) { in updateDistance()
115 /*package*/ void onDistanceChange(DeviceletImpl remote, Distance distance) { in onDistanceChange()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java95 final float distance = l.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/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java43 LevenshteinDistance distance = new LevenshteinDistance(sourceTokens, targetTokens); in verifyTargetOperations() local
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DEditDistanceScorer.java48 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarNavigationManagerTest.java70 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DAccelerationClassifier.java81 float distance = previousPoint.dist(point); in addPoint() local
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/
DDeviceShadowEnvironment.java77 public static void setDistance(String address1, String address2, Distance distance) { in setDistance()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DScrollerHelper.java85 public int startScroll(int distance, int min, int max) { in startScroll()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOneHandedModeInputConsumer.java116 float distance = (float) Math.hypot(mLastPos.x - mDownPos.x, in onMotionEvent() 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/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbTwoWayMeasurement.java35 public UwbTwoWayMeasurement(byte[] macAddress, int status, int nLoS, int distance, in UwbTwoWayMeasurement()
/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/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java54 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorBase() local
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1751 float distance = dropTargetLayout.getDistanceFromWorkspaceCellVisualCenter( in acceptDrop() local
1785 float distance, boolean considerTimeout) { in willCreateUserFolder()
1821 float distance) { in willAddToExistingUserFolder()
1847 int[] targetCell, float distance, boolean external, DragObject d) { in createUserFolderIfNecessary()
1904 float distance, DragObject d, boolean external) { in addToExistingFolderIfNecessary()
1969 float distance = dropTargetLayout.getDistanceFromWorkspaceCellVisualCenter( in onDrop() local
/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java124 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DNavStateController.java361 private String formatDistance(@Nullable Distance distance) { in formatDistance()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavStateController.java363 private String formatDistance(@Nullable Distance distance) { in formatDistance()
/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

123