Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp160 mConfiguredStrategies[axis] = createStrategy(DEFAULT_STRATEGY_BY_AXIS.at(axis), in configureStrategy()
163 mConfiguredStrategies[axis] = createStrategy(mOverrideStrategy, /*deltaValues=*/false); in configureStrategy()
221 mConfiguredStrategies.clear(); in clear()
236 for (const auto& [_, strategy] : mConfiguredStrategies) { in clearPointer()
255 mConfiguredStrategies.clear(); in addMovement()
265 if (mConfiguredStrategies.find(axis) == mConfiguredStrategies.end()) { in addMovement()
268 mConfiguredStrategies[axis]->addMovement(eventTime, pointerId, position); in addMovement()
318 mConfiguredStrategies.erase(axis); in addMovement()
361 const auto& it = mConfiguredStrategies.find(axis); in getVelocity()
362 if (it != mConfiguredStrategies.end()) { in getVelocity()
[all …]
/frameworks/native/include/input/
DVelocityTracker.h128 std::map<int32_t /*axis*/, std::unique_ptr<VelocityTrackerStrategy>> mConfiguredStrategies; variable