Searched defs:dist (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
H A Dtyping_weighting.h138 const float dist = traverseSession->getProximityInfoState(0)->getPointToKeyLength( local
140 const float weightedDistance = dist * ScoringParams::DISTANCE_WEIGHT_LENGTH;
/packages/apps/Browser/src/com/android/browser/
H A DNavTabScroller.java478 float dist, float duration) {
479 return start + dist * inter.getInterpolation(value / duration);
477 ease(DecelerateInterpolator inter, float value, float start, float dist, float duration) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java442 private float dist(PointF p0, PointF p1) { method in class:DeviceProfile
449 float d = dist(a, b);
471 return (int) (dist(xy, a.dimens) - dist(xy, b.dimens));
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_state_utils.cpp321 const float dist = proximityInfo->getNormalizedSquaredDistanceFromCenterFloatG(k, x, y, local
323 if (dist < ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_DISTANCE) {
324 currentNearKeysDistances->insert(std::pair<int, float>(k, dist));
326 if (nearestKeyDistance > dist) {
327 nearestKeyDistance = dist;
436 AKLOGI("p0: size = %zd, x = %d, y = %d, lx = %d, ly = %d, dist = %d, "
551 AKLOGI("--- (%d, %d) double letter: start = %d, end = %d, dist = %d, time = %d,"

Completed in 237 milliseconds