/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | ExerciseCompletionGoalInternalTest.java | 49 assertThat(restored.getDistance()).isEqualTo(original.getDistance()); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() 61 .getDistance()) in distanceGoal_convertToExternalAndBack_objectsAreIdentical() 62 .isEqualTo(original.getDistance()); in distanceGoal_convertToExternalAndBack_objectsAreIdentical() 207 assertThat(restored.getDistance()).isEqualTo(original.getDistance()); in distanceWithVariableRestGoal_writeToParcelThenRestore_objectsAreIdentical() 222 assertThat(roundTripConverted.getDistance()).isEqualTo(original.getDistance()); in distanceWithVariableRestGoal_convertToExternalAndBack_objectsAreIdentical()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | ExerciseCompletionGoal.java | 46 public Length getDistance() { in getDistance() method in ExerciseCompletionGoal.DistanceGoal 55 return this.getDistance().equals(that.getDistance()); in equals() 91 public Length getDistance() { in getDistance() method in ExerciseCompletionGoal.DistanceWithVariableRestGoal 106 return this.getDistance().equals(that.getDistance()) in equals()
|
D | DistanceRecord.java | 188 public Length getDistance() { in getDistance() method in DistanceRecord 204 return getDistance().equals(that.getDistance()); in equals() 212 return Objects.hash(super.hashCode(), getDistance()); in hashCode()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeRecognitionPoints.java | 162 final int deltaDistance = getDistance( in isStartOfAGesture() 237 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove() 240 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove() 297 final int pixels = getDistance(mLastMajorEventX, mLastMajorEventY, x, y); in updateIncrementalRecognitionSize() 331 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in GestureStrokeRecognitionPoints
|
D | BogusMoveEventDetector.java | 104 return getDistance(x, y, mActualDownX, mActualDownY); in getDistanceFromDownEvent() 107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in BogusMoveEventDetector
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | EdgeEffectCompat.java | 34 public float getDistance() { in getDistance() method in EdgeEffectCompat 35 return Utilities.ATLEAST_S ? super.getDistance() : 0; in getDistance()
|
D | TranslateEdgeEffect.java | 47 out[0] = getDistance(); in getTranslationShift()
|
D | OverlayEdgeEffect.java | 45 public float getDistance() { in getDistance() method in OverlayEdgeEffect
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | DistanceRecordInternal.java | 33 public double getDistance() { in getDistance() method in DistanceRecordInternal 51 Length.fromMeters(getDistance())) in toExternalRecord()
|
D | ExerciseCompletionGoalInternal.java | 49 return new DistanceGoalInternal(goal.getDistance()); in fromExternalObject() 53 return new DistanceWithVariableRestGoalInternal(goal.getDistance(), goal.getDuration()); in fromExternalObject() 137 public Length getDistance() { in getDistance() method in ExerciseCompletionGoalInternal.DistanceGoalInternal 367 public Length getDistance() { in getDistance() method in ExerciseCompletionGoalInternal.DistanceWithVariableRestGoalInternal
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/ |
D | NavigationStateViewModel.java | 104 nextDestination.getDistance().getDisplayValue()) in onNavigationStateChanged() 105 .setDistanceUnit(nextDestination.getDistance().getDisplayUnits()); in onNavigationStateChanged()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | StringUtils.java | 37 int newD = getDistance(source, t); in getMinDistance() 48 private static int getDistance(String s, String t) { in getDistance() method in StringUtils
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | ExerciseCompletionGoalTest.java | 104 assertThat(goal.getDistance()).isEqualTo(Length.fromMeters(500)); in distanceGoal_getterMethods() 326 assertThat(goal.getDistance()).isEqualTo(Length.fromMeters(100)); in distanceWithVariableRestGoal_insertionAndRead() 336 assertThat(goal.getDistance()).isEqualTo(Length.fromMeters(100)); in distnaceWithVariableRestGoal_getterMethods()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistanceTest.java | 73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/ |
D | UwbRangingSession.java | 189 float distanceM = position.getDistance().getValue(); in convertCallback() 195 position.getDistance().getValue(); in convertCallback()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/ |
D | UwbClient.java | 144 distance.confidence = position.getDistance().getConfidence(); in convertCallback() 145 distance.value = position.getDistance().getValue(); in convertCallback()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 479 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() method in PointerTracker 484 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal() 625 final int distance = getDistance(x, y, mLastX, mLastY); in onDownEvent() 798 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack() 847 && getDistance(x, y, lastX, lastY) >= mPhantomSuddenMoveThreshold) { in dragFingerFromOldKeyToNewKey()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingPosition.java | 66 public RangingMeasurement getDistance() { in getDistance() method in RangingPosition
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DistanceRecordHelper.java | 79 contentValues.put(DISTANCE_COLUMN_NAME, distanceRecord.getDistance()); in populateSpecificContentValues()
|
D | PlannedExerciseSessionRecordHelper.java | 459 ((DistanceGoalInternal) completionGoal).getDistance().getInMeters())); in getCompletionGoalUpsert() 572 distanceWithVariableRestGoalInternal.getDistance().getInMeters()); in populateContentValuesForDistanceWithVariableRestGoal()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/data/ |
D | UwbTwoWayMeasurement.java | 79 public int getDistance() { in getDistance() method in UwbTwoWayMeasurement
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() method in NameDistance
|
D | ContactMatcher.java | 227 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
|
D | RawContactMatcher.java | 225 float distance = nameDistance.getDistance(decodedCandidateName, decodedName); in matchName()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbMetricsTest.java | 177 when(mTwoWayMeasurement.getDistance()).thenReturn(DISTANCE_DEFAULT_CM); in setUp() 373 when(mTwoWayMeasurement.getDistance()).thenReturn(UwbMetrics.INVALID_DISTANCE); in testLoggingRangingResultInvalidDistance()
|