Home
last modified time | relevance | path

Searched refs:sampledSpeedRates (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp224 const std::vector<int> *const sampledInputIndice, std::vector<float> *sampledSpeedRates, in refreshSpeedRates() argument
230 sampledSpeedRates->resize(sampledInputSize); in refreshSpeedRates()
262 (*sampledSpeedRates)[i] = 1.0f; in refreshSpeedRates()
265 (*sampledSpeedRates)[i] = speed / averageSpeed; in refreshSpeedRates()
620 const std::vector<float> *const sampledSpeedRates, in updateAlignPointProbabilities() argument
635 const float speedRate = (*sampledSpeedRates)[i]; in updateAlignPointProbabilities()
660 if ((*sampledSpeedRates)[i - 1] - ProximityInfoParams::SPEED_MARGIN > speedRate in updateAlignPointProbabilities()
662 < (*sampledSpeedRates)[i + 1] - ProximityInfoParams::SPEED_MARGIN) { in updateAlignPointProbabilities()
763 sstream << "Speed: "<< (*sampledSpeedRates)[i] << ", "; in updateAlignPointProbabilities()
979 const std::vector<float> *const sampledSpeedRates, in dump() argument
[all …]
Dproximity_info_state_utils.h58 std::vector<float> *sampledSpeedRates, std::vector<float> *sampledDirections);
71 const std::vector<float> *const sampledSpeedRates,
97 const std::vector<float> *const sampledSpeedRates,