Searched refs:averageSpeed (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.cpp | 229 const float averageSpeed = static_cast<float>(sumLength) / static_cast<float>(sumDuration); in refreshSpeedRates() local 265 (*sampledSpeedRates)[i] = speed / averageSpeed; in refreshSpeedRates() 274 return averageSpeed; in refreshSpeedRates() 278 const float averageSpeed, const int inputSize, const int *const xCoordinates, in refreshBeelineSpeedRates() argument 289 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times, in refreshBeelineSpeedRates() 476 const float averageSpeed, const int id, const int inputSize, const int *const xCoordinates, in calculateBeelineSpeedRate() argument 481 if (sampledInputSize <= 0 || averageSpeed < 0.001f) { in calculateBeelineSpeedRate() 484 sampledInputSize, averageSpeed); in calculateBeelineSpeedRate() 550 (static_cast<float>(beelineDistance) / static_cast<float>(time)), averageSpeed, in calculateBeelineSpeedRate() 552 / averageSpeed), adjustedStartTime, adjustedEndTime); in calculateBeelineSpeedRate() [all …]
|
D | proximity_info_state_utils.h | 59 static void refreshBeelineSpeedRates(const int mostCommonKeyWidth, const float averageSpeed, 137 static float calculateBeelineSpeedRate(const int mostCommonKeyWidth, const float averageSpeed,
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | SpeedFormatter.kt | 112 val averageSpeed = samples.sumOf { it.speed.inMetersPerSecond } / samples.size in formatRecord() constant 113 return formatSpeedValue(res, averageSpeed, unitPreferences) in formatRecord()
|