Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp46 class VelocityTrackerState { class
48 explicit VelocityTrackerState(const char* strategy);
67 VelocityTrackerState::VelocityTrackerState(const char* strategy) : in VelocityTrackerState() function in android::VelocityTrackerState
71 void VelocityTrackerState::clear() { in clear()
77 void VelocityTrackerState::addMovement(const MotionEvent* event) { in addMovement()
81 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity()
111 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { in getVelocity()
135 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) { in getEstimator()
146 return reinterpret_cast<jlong>(new VelocityTrackerState(strategy.c_str())); in android_view_VelocityTracker_nativeInitialize()
148 return reinterpret_cast<jlong>(new VelocityTrackerState(NULL)); in android_view_VelocityTracker_nativeInitialize()
[all …]