Searched defs:dist (Results 1 - 3 of 3) 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/Launcher3/src/com/android/launcher3/
H A DInvariantDeviceProfile.java257 @Thunk float dist(float x0, float y0, float x1, float y1) { method in class:InvariantDeviceProfile
272 return Float.compare(dist(width, height, a.minWidthDps, a.minHeightDps),
273 dist(width, height, b.minWidthDps, b.minHeightDps));
286 if (dist(width, height, p.minWidthDps, p.minHeightDps) == 0) {
325 float d = dist(x0, y0, x1, y1);
/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 1460 milliseconds