• Home
  • Raw
  • Download

Lines Matching refs:VelocityTracker

107 VelocityTracker::VelocityTracker(const Strategy strategy)  in VelocityTracker()  function in android::VelocityTracker
112 if (!configureStrategy(VelocityTracker::DEFAULT_STRATEGY)) { in VelocityTracker()
120 VelocityTracker::~VelocityTracker() { in ~VelocityTracker()
123 bool VelocityTracker::configureStrategy(Strategy strategy) { in configureStrategy()
124 if (strategy == VelocityTracker::Strategy::DEFAULT) { in configureStrategy()
125 mStrategy = createStrategy(VelocityTracker::DEFAULT_STRATEGY); in configureStrategy()
132 std::unique_ptr<VelocityTrackerStrategy> VelocityTracker::createStrategy( in createStrategy()
133 VelocityTracker::Strategy strategy) { in createStrategy()
135 case VelocityTracker::Strategy::IMPULSE: in createStrategy()
138 case VelocityTracker::Strategy::LSQ1: in createStrategy()
141 case VelocityTracker::Strategy::LSQ2: in createStrategy()
144 case VelocityTracker::Strategy::LSQ3: in createStrategy()
147 case VelocityTracker::Strategy::WLSQ2_DELTA: in createStrategy()
152 case VelocityTracker::Strategy::WLSQ2_CENTRAL: in createStrategy()
157 case VelocityTracker::Strategy::WLSQ2_RECENT: in createStrategy()
163 case VelocityTracker::Strategy::INT1: in createStrategy()
166 case VelocityTracker::Strategy::INT2: in createStrategy()
169 case VelocityTracker::Strategy::LEGACY: in createStrategy()
178 void VelocityTracker::clear() { in clear()
185 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers()
196 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
197 const std::vector<VelocityTracker::Position>& positions) { in addMovement()
244 void VelocityTracker::addMovement(const MotionEvent* event) { in addMovement()
307 bool VelocityTracker::getVelocity(uint32_t id, float* outVx, float* outVy) const { in getVelocity()
319 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const { in getEstimator()
347 const std::vector<VelocityTracker::Position>& positions) { in addMovement()
594 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
616 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()
765 const std::vector<VelocityTracker::Position>& positions) { in addMovement()
770 const VelocityTracker::Position& position = positions[index++]; in addMovement()
782 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
850 VelocityTracker::Estimator* outEstimator) const { in populateEstimator()
884 const std::vector<VelocityTracker::Position>& positions) { in addMovement()
899 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
937 const VelocityTracker::Position& oldestPosition = oldestMovement.getPosition(id); in getEstimator()
951 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()
963 const VelocityTracker::Position& newestPosition = newestMovement.getPosition(id); in getEstimator()
999 const std::vector<VelocityTracker::Position>& positions) { in addMovement()
1132 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
1153 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()