• Home
  • Raw
  • Download

Lines Matching refs:outEstimator

319 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const {  in getEstimator()
320 return mStrategy->getEstimator(id, outEstimator); in getEstimator()
594 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
595 outEstimator->clear(); in getEstimator()
640 outEstimator->time = newestMovement.eventTime; in getEstimator()
641 outEstimator->degree = 2; in getEstimator()
642 outEstimator->confidence = 1; in getEstimator()
643 for (size_t i = 0; i <= outEstimator->degree; i++) { in getEstimator()
644 outEstimator->xCoeff[i] = (*xCoeff)[i]; in getEstimator()
645 outEstimator->yCoeff[i] = (*yCoeff)[i]; in getEstimator()
653 if (solveLeastSquares(time, x, w, n, outEstimator->xCoeff, &xdet) && in getEstimator()
654 solveLeastSquares(time, y, w, n, outEstimator->yCoeff, &ydet)) { in getEstimator()
655 outEstimator->time = newestMovement.eventTime; in getEstimator()
656 outEstimator->degree = degree; in getEstimator()
657 outEstimator->confidence = xdet * ydet; in getEstimator()
660 int(outEstimator->degree), in getEstimator()
661 vectorToString(outEstimator->xCoeff, n).c_str(), in getEstimator()
662 vectorToString(outEstimator->yCoeff, n).c_str(), in getEstimator()
663 outEstimator->confidence); in getEstimator()
670 outEstimator->xCoeff[0] = x[0]; in getEstimator()
671 outEstimator->yCoeff[0] = y[0]; in getEstimator()
672 outEstimator->time = newestMovement.eventTime; in getEstimator()
673 outEstimator->degree = 0; in getEstimator()
674 outEstimator->confidence = 1; in getEstimator()
782 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
783 outEstimator->clear(); in getEstimator()
787 populateEstimator(state, outEstimator); in getEstimator()
850 VelocityTracker::Estimator* outEstimator) const { in populateEstimator()
851 outEstimator->time = state.updateTime; in populateEstimator()
852 outEstimator->confidence = 1.0f; in populateEstimator()
853 outEstimator->degree = state.degree; in populateEstimator()
854 outEstimator->xCoeff[0] = state.xpos; in populateEstimator()
855 outEstimator->xCoeff[1] = state.xvel; in populateEstimator()
856 outEstimator->xCoeff[2] = state.xaccel / 2; in populateEstimator()
857 outEstimator->yCoeff[0] = state.ypos; in populateEstimator()
858 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
859 outEstimator->yCoeff[2] = state.yaccel / 2; in populateEstimator()
899 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
900 outEstimator->clear(); in getEstimator()
964 outEstimator->time = newestMovement.eventTime; in getEstimator()
965 outEstimator->confidence = 1; in getEstimator()
966 outEstimator->xCoeff[0] = newestPosition.x; in getEstimator()
967 outEstimator->yCoeff[0] = newestPosition.y; in getEstimator()
969 outEstimator->xCoeff[1] = accumVx; in getEstimator()
970 outEstimator->yCoeff[1] = accumVy; in getEstimator()
971 outEstimator->degree = 1; in getEstimator()
973 outEstimator->degree = 0; in getEstimator()
1132 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
1133 outEstimator->clear(); in getEstimator()
1163 outEstimator->xCoeff[0] = 0; in getEstimator()
1164 outEstimator->yCoeff[0] = 0; in getEstimator()
1165 outEstimator->xCoeff[1] = calculateImpulseVelocity(time, x, m); in getEstimator()
1166 outEstimator->yCoeff[1] = calculateImpulseVelocity(time, y, m); in getEstimator()
1167 outEstimator->xCoeff[2] = 0; in getEstimator()
1168 outEstimator->yCoeff[2] = 0; in getEstimator()
1169 outEstimator->time = newestMovement.eventTime; in getEstimator()
1170 outEstimator->degree = 2; // similar results to 2nd degree fit in getEstimator()
1171 outEstimator->confidence = 1; in getEstimator()
1173 ALOGD("velocity: (%f, %f)", outEstimator->xCoeff[1], outEstimator->yCoeff[1]); in getEstimator()