Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DVelocityTracker.h196 enum class Weighting { enum
212 LeastSquaresVelocityTrackerStrategy(uint32_t degree, Weighting weighting = Weighting::NONE);
233 const Weighting mWeighting;
/frameworks/native/libs/input/
DVelocityTracker.cpp188 Weighting::DELTA); in createStrategy()
193 Weighting::CENTRAL); in createStrategy()
198 Weighting::RECENT); in createStrategy()
425 Weighting weighting) in LeastSquaresVelocityTrackerStrategy()
669 if (degree == 2 && mWeighting == Weighting::NONE) { in getVelocity()
696 case Weighting::DELTA: { in chooseWeight()
715 case Weighting::CENTRAL: { in chooseWeight()
738 case Weighting::RECENT: { in chooseWeight()
754 case Weighting::NONE: in chooseWeight()