/frameworks/support/compat/java/android/support/v4/view/ |
VelocityTrackerCompat.java | 19 import android.view.VelocityTracker; 22 * Helper for accessing features in {@link VelocityTracker} 30 public float getXVelocity(VelocityTracker tracker, int pointerId); 31 public float getYVelocity(VelocityTracker tracker, int pointerId); 39 public float getXVelocity(VelocityTracker tracker, int pointerId) { 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { 53 public float getXVelocity(VelocityTracker tracker, int pointerId) { 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { 77 * Call {@link VelocityTracker#getXVelocity(int)}. 79 * returns {@link VelocityTracker#getXVelocity()} [all...] |
NestedScrollingChild.java | 21 import android.view.VelocityTracker; 181 * {@link VelocityTracker velocity} in the direction of scrolling that meets or exceeds
|
NestedScrollingParent.java | 21 import android.view.VelocityTracker; 145 * {@link VelocityTracker velocity} in the direction of scrolling that meets or exceeds 166 * {@link VelocityTracker velocity} in the direction of scrolling that meets or exceeds
|
GestureDetectorCompat.java | 27 import android.view.VelocityTracker; 100 private VelocityTracker mVelocityTracker; 231 mVelocityTracker = VelocityTracker.obtain(); 374 final VelocityTracker velocityTracker = mVelocityTracker; 376 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); 378 velocityTracker, pointerId); 380 velocityTracker, pointerId);
|
/frameworks/support/compat/honeycomb/android/support/v4/view/ |
VelocityTrackerCompatHoneycomb.java | 19 import android.view.VelocityTracker; 25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PlatformVelocityTracker.java | 21 import android.view.VelocityTracker; 25 * {@link VelocityTracker}. 32 private VelocityTracker mTracker; 39 tracker.setTracker(VelocityTracker.obtain()); 43 public void setTracker(VelocityTracker tracker) {
|
NavigationBarGestureHelper.java | 25 import android.view.VelocityTracker; 76 private VelocityTracker mVelocityTracker; 167 mVelocityTracker = VelocityTracker.obtain();
|
/frameworks/native/include/input/ |
VelocityTracker.h | 31 class VelocityTracker { 66 VelocityTracker(const char* strategy = NULL); 68 ~VelocityTracker(); 131 const VelocityTracker::Position* positions) = 0; 132 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const = 0; 163 const VelocityTracker::Position* positions); 164 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const; 178 VelocityTracker::Position positions[MAX_POINTERS]; 180 inline const VelocityTracker::Position& getPosition(uint32_t id) const { 206 const VelocityTracker::Position* positions) [all...] |
VelocityControl.h | 21 #include <input/VelocityTracker.h> 101 VelocityTracker::Position mRawPosition; 102 VelocityTracker mVelocityTracker;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
VelocityTest.java | 30 * Exercises {@link android.view.VelocityTracker} to compute correct velocity.<br> 38 VelocityTracker vt = VelocityTracker.obtain(); 44 * Test that {@link android.view.VelocityTracker}.clear() clears 50 VelocityTracker vt = VelocityTracker.obtain(); 65 VelocityTracker vt = VelocityTracker.obtain(); 76 VelocityTracker vt = VelocityTracker.obtain() [all...] |
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 31 public final class VelocityTracker { 32 private static final SynchronizedPool<VelocityTracker> sPool = 33 new SynchronizedPool<VelocityTracker>(2); 50 * Retrieve a new VelocityTracker object to watch the velocity of a 53 * so that the VelocityTracker can be re-used elsewhere. 55 * @return Returns a new VelocityTracker. 57 static public VelocityTracker obtain() { 58 VelocityTracker instance = sPool.acquire(); 59 return (instance != null) ? instance : new VelocityTracker(null); 71 public static VelocityTracker obtain(String strategy) [all...] |
/frameworks/base/core/jni/ |
android_view_VelocityTracker.cpp | 17 #define LOG_TAG "VelocityTracker-JNI" 24 #include <input/VelocityTracker.h> 54 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator); 61 VelocityTracker mVelocityTracker; 135 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) { 198 VelocityTracker::Estimator estimator; 206 env->SetFloatArrayRegion(xCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1, 208 env->SetFloatArrayRegion(yCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1, 242 "(JILandroid/view/VelocityTracker$Estimator;)Z", 247 int res = RegisterMethodsOrDie(env, "android/view/VelocityTracker", gVelocityTrackerMethods [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
GmailDragHelper.java | 23 import android.view.VelocityTracker; 67 private VelocityTracker mVelocityTracker; 106 mVelocityTracker = VelocityTracker.obtain();
|
SwipeHelper.java | 29 import android.view.VelocityTracker; 72 private final VelocityTracker mVelocityTracker; 88 mVelocityTracker = VelocityTracker.obtain(); 110 private float getVelocity(VelocityTracker vt) { 128 private float getPerpendicularVelocity(VelocityTracker vt) {
|
/frameworks/native/libs/input/ |
VelocityTracker.cpp | 17 #define LOG_TAG "VelocityTracker" 30 #include <input/VelocityTracker.h> 102 // --- VelocityTracker --- 109 const char* VelocityTracker::DEFAULT_STRATEGY = "lsq2"; 111 VelocityTracker::VelocityTracker(const char* strategy) : 117 int length = property_get("debug.velocitytracker.strategy", value, NULL); 135 VelocityTracker::~VelocityTracker() { 139 bool VelocityTracker::configureStrategy(const char* strategy) [all...] |
Android.mk | 33 VelocityTracker.cpp
|
/cts/tests/tests/view/src/android/view/cts/ |
VelocityTrackerTest.java | 21 import android.view.VelocityTracker; 25 * Test {@link VelocityTracker}. 35 private VelocityTracker mVelocityTracker; 47 mVelocityTracker = VelocityTracker.obtain();
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthListView.java | 25 import android.view.VelocityTracker; 34 VelocityTracker mTracker; 82 mTracker = VelocityTracker.obtain();
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderBehavior.java | 27 import android.view.VelocityTracker; 46 private VelocityTracker mVelocityTracker; 283 mVelocityTracker = VelocityTracker.obtain();
|
/frameworks/base/core/java/com/android/internal/widget/ |
SwipeDismissLayout.java | 28 import android.view.VelocityTracker; 73 private VelocityTracker mVelocityTracker; 178 mVelocityTracker = VelocityTracker.obtain();
|
PointerLocationView.java | 31 import android.view.VelocityTracker; 45 private static final String ALT_STRATEGY_PROPERY_KEY = "debug.velocitytracker.alt"; 75 private VelocityTracker.Estimator mEstimator = new VelocityTracker.Estimator(); 76 private VelocityTracker.Estimator mAltEstimator = new VelocityTracker.Estimator(); 129 private final VelocityTracker mVelocity; 130 private final VelocityTracker mAltVelocity; 177 mVelocity = VelocityTracker.obtain(); 182 mAltVelocity = VelocityTracker.obtain(altStrategy) [all...] |
RotarySelector.java | 35 import android.view.VelocityTracker; 153 private VelocityTracker mVelocityTracker; 504 mVelocityTracker = VelocityTracker.obtain(); 546 final VelocityTracker velocityTracker = mVelocityTracker; 547 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); 549 (int) velocityTracker.getXVelocity(): 550 -(int) velocityTracker.getYVelocity(); 566 final VelocityTracker velocityTracker = mVelocityTracker [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ConversationListSwipeHelper.java | 28 import android.view.VelocityTracker; 60 private VelocityTracker mVelocityTracker; 249 mVelocityTracker = VelocityTracker.obtain();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 29 import android.view.VelocityTracker; 67 private VelocityTracker mVelocityTracker; 95 mVelocityTracker = VelocityTracker.obtain(); 134 private float getVelocity(VelocityTracker vt) { 145 private float getPerpendicularVelocity(VelocityTracker vt) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
GestureDetector.java | 46 private final VelocityTracker tracker = new VelocityTracker();
376 static class VelocityTracker {
|