Home
last modified time | relevance | path

Searched refs:minDistance (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/location/java/android/location/
DLocationRequest.java197 @NonNull String provider, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedProvider() argument
199 if (minDistance < 0) minDistance = 0; in createFromDeprecatedProvider()
215 .setSmallestDisplacement(minDistance); in createFromDeprecatedProvider()
224 @NonNull Criteria criteria, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedCriteria() argument
226 if (minDistance < 0) minDistance = 0; in createFromDeprecatedCriteria()
249 .setSmallestDisplacement(minDistance); in createFromDeprecatedCriteria()
DLocationManager.java551 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
557 provider, minTime, minDistance, false); in requestLocationUpdates()
583 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
589 provider, minTime, minDistance, false); in requestLocationUpdates()
616 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
622 criteria, minTime, minDistance, false); in requestLocationUpdates()
644 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
650 provider, minTime, minDistance, false); in requestLocationUpdates()
751 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
757 criteria, minTime, minDistance, false); in requestLocationUpdates()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java125 float minDistance = getLocationMinDistance(); in initLocationListeners() local
134 providerName, minUpdateTime, minDistance)); in initLocationListeners()
139 minDistance, listener); in initLocationListeners()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java252 float minDistance = Float.MAX_VALUE; in snap() local
260 if (distance < minDistance) { in snap()
262 minDistance = distance; in snap()
DPipSnapAlgorithm.java377 float minDistance = Float.MAX_VALUE; in findClosestPoint() local
380 if (distance < minDistance) { in findClosestPoint()
382 minDistance = distance; in findClosestPoint()
/frameworks/base/core/java/android/view/
DFocusFinder.java693 int minDistance = Integer.MAX_VALUE; in findNearestTouchable() local
736 (!touchableBounds.contains(closestBounds) && distance < minDistance)) { in findNearestTouchable()
737 minDistance = distance; in findNearestTouchable()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java746 final int minDistance = 10; in testSubscribeConfigBuilder() local
755 .setMinDistanceMm(minDistance) in testSubscribeConfigBuilder()
769 collector.checkThat("mMinDistanceMm", minDistance, equalTo(subscribeConfig.mMinDistanceMm)); in testSubscribeConfigBuilder()
782 final int minDistance = 10; in testSubscribeConfigParcel() local
791 .setMinDistanceMm(minDistance) in testSubscribeConfigParcel()
/frameworks/base/core/java/android/widget/
DGridView.java1968 int minDistance = Integer.MAX_VALUE; in onFocusChanged() local
1981 if (distance < minDistance) { in onFocusChanged()
1982 minDistance = distance; in onFocusChanged()
DListView.java3797 int minDistance = Integer.MAX_VALUE;
3812 if (distance < minDistance) {
3813 minDistance = distance;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1977 float minDistance = Math.abs(values[0] - target); in getClosestValueInArray() local
1980 if (minDistance > distance) { in getClosestValueInArray()
1981 minDistance = distance; in getClosestValueInArray()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java2096 float minDistance = 0;
2100 minDistance,
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java3269 double minDistance = record.mRealRequest.getSmallestDisplacement(); in shouldBroadcastSafeLocked() local
3270 if (minDistance > 0.0) { in shouldBroadcastSafeLocked()
3271 if (loc.distanceTo(lastLoc) <= minDistance) { in shouldBroadcastSafeLocked()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1820 SLmillimeter minDistance,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...