Searched refs:VelocityTrackerState (Results 1 – 1 of 1) sorted by relevance
37 class VelocityTrackerState { class39 explicit VelocityTrackerState(const VelocityTracker::Strategy strategy);53 VelocityTrackerState::VelocityTrackerState(const VelocityTracker::Strategy strategy) in VelocityTrackerState() function in android::VelocityTrackerState56 void VelocityTrackerState::clear() { in clear()60 void VelocityTrackerState::addMovement(const MotionEvent& event) { in addMovement()64 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity()68 float VelocityTrackerState::getVelocity(int32_t axis, int32_t id) { in getVelocity()89 return reinterpret_cast<jlong>(new VelocityTrackerState(getStrategyFromInt(strategy))); in android_view_VelocityTracker_nativeInitialize()93 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeDispose()98 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeClear()[all …]