Home
last modified time | relevance | path

Searched refs:ProximityInfoParams (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_params.cpp21 const float ProximityInfoParams::NOT_A_DISTANCE_FLOAT = -1.0f;
22 const int ProximityInfoParams::MIN_DOUBLE_LETTER_BEELINE_SPEED_PERCENTILE = 5;
23 const float ProximityInfoParams::VERTICAL_SWEET_SPOT_SCALE = 1.0f;
24 const float ProximityInfoParams::VERTICAL_SWEET_SPOT_SCALE_G = 0.5f;
28 const float ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_DISTANCE = 2.0f;
31 const float ProximityInfoParams::MARGIN_FOR_PREV_LOCAL_MIN = 0.01f;
34 const int ProximityInfoParams::DISTANCE_BASE_SCALE = 100;
35 const float ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_POINT_SCORE = 0.6f;
36 const int ProximityInfoParams::CORNER_CHECK_DISTANCE_THRESHOLD_SCALE = 25;
37 const float ProximityInfoParams::NOT_LOCALMIN_DISTANCE_SCORE = -1.0f;
[all …]
Dproximity_info_state_utils.cpp172 return ProximityInfoParams::NOT_A_DISTANCE_FLOAT; in calculateNormalizedSquaredDistance()
175 return ProximityInfoParams::NOT_A_DISTANCE_FLOAT; in calculateNormalizedSquaredDistance()
178 return ProximityInfoParams::NOT_A_DISTANCE_FLOAT; in calculateNormalizedSquaredDistance()
240 index + ProximityInfoParams::NUM_POINTS_FOR_SPEED_CALCULATION); in refreshSpeedRates()
250 index - ProximityInfoParams::NUM_POINTS_FOR_SPEED_CALCULATION); in refreshSpeedRates()
323 if (dist < ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_DISTANCE) { in updateNearKeysDistances()
343 || itPP->second > it->second + ProximityInfoParams::MARGIN_FOR_PREV_LOCAL_MIN); in isPrevLocalMin()
345 || itC->second > it->second + ProximityInfoParams::MARGIN_FOR_PREV_LOCAL_MIN); in isPrevLocalMin()
372 (*sampledInputYs)[size - 2]) * ProximityInfoParams::DISTANCE_BASE_SCALE; in getPointScore()
378 score += ProximityInfoParams::NOT_LOCALMIN_DISTANCE_SCORE; in getPointScore()
[all …]
Dproximity_info_params.h24 class ProximityInfoParams {
108 DISALLOW_IMPLICIT_CONSTRUCTORS(ProximityInfoParams);
Dproximity_info_state.h169 < ProximityInfoParams::MIN_DOUBLE_LETTER_BEELINE_SPEED_PERCENTILE) { in getDoubleLetterLevel()
Dproximity_info_state_utils.h28 class ProximityInfoParams; variable
Dproximity_info.cpp162 const float verticalScale = ProximityInfoParams::VERTICAL_SWEET_SPOT_SCALE_G; in initializeG()