Searched refs:VelocityTrackerState (Results 1 – 1 of 1) sorted by relevance
44 class VelocityTrackerState { class46 explicit VelocityTrackerState(const VelocityTracker::Strategy strategy);65 VelocityTrackerState::VelocityTrackerState(const VelocityTracker::Strategy strategy) in VelocityTrackerState() function in android::VelocityTrackerState68 void VelocityTrackerState::clear() { in clear()74 void VelocityTrackerState::addMovement(const MotionEvent* event) { in addMovement()78 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity()108 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { in getVelocity()132 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) { in getEstimator()149 return reinterpret_cast<jlong>(new VelocityTrackerState(getStrategyFromInt(strategy))); in android_view_VelocityTracker_nativeInitialize()153 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeDispose()[all …]