Home
last modified time | relevance | path

Searched refs:distanceTo (Results 1 – 17 of 17) sorted by relevance

/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DVector2.kt122 fun distanceTo(vector: Vector2): Float { in distanceTo() method in com.google.android.torus.math.Vector2
123 return distanceTo(vector.x, vector.y) in distanceTo()
135 fun distanceTo(x: Float, y: Float): Float { in distanceTo() method
DVector3.kt145 fun distanceTo(vector: Vector3): Float { in distanceTo() method in com.google.android.torus.math.Vector3
146 return distanceTo(vector.x, vector.y, vector.z) in distanceTo()
159 fun distanceTo(x: Float, y: Float, z: Float): Float { in distanceTo() method
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/fudger/
DLocationFudgerTest.java87 assertThat(coarse.distanceTo(fine)).isGreaterThan(1F); in testCoarsen()
142 if (coarseAvg.distanceTo(fine) > fineAvg.distanceTo(fine)) { in testCoarsen_AvgMany()
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/
DGyro2dController.kt220 val distanceFromReferenceToCurrent = referenceRotation.distanceTo(rotation) in isCurrentlySettled()
223 val distanceFromReferenceToTarget = referenceRotation.distanceTo(targetOrientation) in isCurrentlySettled()
229 val distanceFromCurrentToTarget = rotation.distanceTo(targetOrientation) in isCurrentlySettled()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java80 public float distanceTo(Point p) { in distanceTo() method in Point
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java222 mCachedLocationDistanceM = mCenter.distanceTo(mCachedLocation); in getDistanceToBoundary()
236 mCachedLocationDistanceM = mCenter.distanceTo(mCachedLocation); in onLocationChanged()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java283 value = location.distanceTo(mNetworkLocation); in getDistanceFromNetwork()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/
DFakeGnssHal.java325 if (geofence.Center.distanceTo(location) > geofence.Radius) { in reportLocation()
/frameworks/base/core/java/android/location/
DLocation.java208 public @FloatRange(from = 0.0) float distanceTo(@NonNull Location dest) { in distanceTo() method in Location
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java198 if (printerLocation.distanceTo(location) <= MAX_PRINTER_DISTANCE) { in computeAndDeliverResult()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java965 if (smallestDisplacementM > 0.0 && location.distanceTo( in acceptLocationChange()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt10444 HSPLandroid/location/Location;->distanceTo(Landroid/location/Location;)F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13803 method public float distanceTo(android.location.Location);
/frameworks/base/config/
Dboot-image-profile.txt10447 HSPLandroid/location/Location;->distanceTo(Landroid/location/Location;)F
/frameworks/base/core/api/
Dcurrent.txt21003 method @FloatRange(from=0.0) public float distanceTo(@NonNull android.location.Location);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15886 Landroid/filterfw/geometry/Point;->distanceTo(Landroid/filterfw/geometry/Point;)F