/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/ble/util/ |
D | RangingUtilsTest.java | 35 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/ |
D | CbGeoUtils.java | 170 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
|
D | CbSendMessageCalculator.java | 247 double distance = maybeDistance.get(); in calculateSysSingleFence() local
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CbGeoUtilsTest.java | 81 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/ |
D | DeviceletImpl.java | 106 /*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/ |
D | TestInformationHandler.java | 95 final float distance = l.getAllAppsController().getShiftRange() * progress; in call() local
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | autocorrection_threshold_utils.cpp | 75 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore() local
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistanceTest.java | 43 LevenshteinDistance distance = new LevenshteinDistance(sourceTokens, targetTokens); in verifyTargetOperations() local
|
/packages/modules/ExtServices/java/src/android/ext/services/autofill/ |
D | EditDistanceScorer.java | 48 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore() local
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarNavigationManagerTest.java | 70 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto() local
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | AccelerationClassifier.java | 81 float distance = previousPoint.dist(point); in addPoint() local
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/ |
D | DeviceShadowEnvironment.java | 77 public static void setDistance(String address1, String address2, Distance distance) { in setDistance()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ScrollerHelper.java | 85 public int startScroll(int distance, int min, int max) { in startScroll()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyDetector.java | 103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | OneHandedModeInputConsumer.java | 116 float distance = (float) Math.hypot(mLastPos.x - mDownPos.x, in onMotionEvent() local
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 94 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | BogusMoveEventDetector.java | 84 public void onMoveKey(final int distance) { in onMoveKey()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/data/ |
D | UwbTwoWayMeasurement.java | 35 public UwbTwoWayMeasurement(byte[] macAddress, int status, int nLoS, int distance, in UwbTwoWayMeasurement()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | FadeAndShortSlide.java | 51 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/ |
D | PathInterpolatorCompat.java | 54 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorBase() local
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1751 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/ |
D | MaterialColorMapUtils.java | 124 final float distance = Math.abs(comparedHue - colorHue); in calculatePrimaryAndSecondaryColor() local
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | NavStateController.java | 361 private String formatDistance(@Nullable Distance distance) { in formatDistance()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | NavStateController.java | 363 private String formatDistance(@Nullable Distance distance) { in formatDistance()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 682 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
|