Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java95 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/
DLongPressPowerSensitivityPreferenceController.java141 int minDistance = Integer.MAX_VALUE; in closestValueIndex() local
145 if (diff < minDistance) { in closestValueIndex()
146 minDistance = diff; in closestValueIndex()
DGestureNavigationSettingsFragment.java128 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/
DCbGeoUtils.java242 double minDistance = Double.MAX_VALUE; in distance() local
257 minDistance = Math.min(d, minDistance); in distance()
259 return minDistance; in distance()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java857 final int minDistance = 10; in testSubscribeConfigBuilder() local
868 .setMinDistanceMm(minDistance) in testSubscribeConfigBuilder()
886 collector.checkThat("mMinDistanceMm", minDistance, equalTo(subscribeConfig.mMinDistanceMm)); in testSubscribeConfigBuilder()
903 final int minDistance = 10; in testSubscribeConfigParcel() local
914 .setMinDistanceMm(minDistance) in testSubscribeConfigParcel()