Lines Matching refs:time
196 // time to adjust to changes in direction.
561 // Iterate over movement samples in reverse time order and collect samples.
565 float time[HISTORY_SIZE];
584 time[m] = -age * 0.000000001f;
600 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet)
601 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) {
602 outEstimator->time = newestMovement.eventTime;
619 outEstimator->time = newestMovement.eventTime;
628 // Weight points based on how much time elapsed between them and the next
629 // point so that points that "cover" a shorter time span are weighed less.
797 outEstimator->time = state.updateTime;
871 // at different points in time measured relative to the oldest sample.
873 // than older samples. Samples at equal time points are weighted more or less
877 // Sometimes samples arrive very close together in time which can cause us to
878 // overestimate the velocity at that time point. Most samples might be measured
901 float scale = 1000000000.0f / duration; // one over time delta in seconds
913 outEstimator->time = newestMovement.eventTime;