Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp227 const int sumDuration = sampledInputTimes->back() - sampledInputTimes->front(); in refreshSpeedRates() local
229 const float averageSpeed = static_cast<float>(sumLength) / static_cast<float>(sumDuration); in refreshSpeedRates()
260 if (duration == 0 || sumDuration == 0) { in refreshSpeedRates()