Searched refs:minDistance (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyDetector.java | 95 int minDistance = Integer.MAX_VALUE; in detectHitKey() local 104 if (distance > minDistance) { in detectHitKey() 108 if (primaryKey == null || distance < minDistance in detectHitKey() 110 minDistance = distance; in detectHitKey()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GestureNavigationSettingsFragment.java | 128 float minDistance = Float.MAX_VALUE; in initSeekBarPreference() local 132 if (d < minDistance) { in initSeekBarPreference() 133 minDistance = d; in initSeekBarPreference()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CbGeoUtils.java | 241 double minDistance = Double.MAX_VALUE; in distance() local 256 minDistance = Math.min(d, minDistance); in distance() 258 return minDistance; in distance()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedSnapHelper.java | 227 int minDistance = -maxDistance; in calculateScrollDistance() local 229 outDist[0] = clamp(outDist[0], minDistance, maxDistance); in calculateScrollDistance() 230 outDist[1] = clamp(outDist[1], minDistance, maxDistance); in calculateScrollDistance()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 300 int minDistance = -maxDistance; in calculateScrollDistance() local 302 outDist[0] = clamp(outDist[0], minDistance, maxDistance); in calculateScrollDistance() 303 outDist[1] = clamp(outDist[1], minDistance, maxDistance); in calculateScrollDistance()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 811 final int minDistance = 10; in testSubscribeConfigBuilder() local 820 .setMinDistanceMm(minDistance) in testSubscribeConfigBuilder() 834 collector.checkThat("mMinDistanceMm", minDistance, equalTo(subscribeConfig.mMinDistanceMm)); in testSubscribeConfigBuilder() 847 final int minDistance = 10; in testSubscribeConfigParcel() local 856 .setMinDistanceMm(minDistance) in testSubscribeConfigParcel()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerViewTest.java | 1451 int minDistance = -maxDistance; in testCalculateScrollDistanceClampToScreenSize() local 1453 assertEquals(clamp(baseOutDist[0], minDistance, maxDistance), outDist[0]); in testCalculateScrollDistanceClampToScreenSize() 1454 assertEquals(clamp(baseOutDist[1], minDistance, maxDistance), outDist[1]); in testCalculateScrollDistanceClampToScreenSize()
|