/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 38 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() 50 VelocityTracker vt = VelocityTracker.obtain(); in testClear() 65 VelocityTracker vt = VelocityTracker.obtain(); in testDragAcceleration() 76 VelocityTracker vt = VelocityTracker.obtain(); in testDragDeceleration() 88 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal() 101 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical() 118 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points() 135 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints() 157 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime() 179 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace() [all …]
|
/frameworks/native/include/input/ |
D | 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 { in getPosition() 206 const VelocityTracker::Position* positions); [all …]
|
D | VelocityControl.h | 101 VelocityTracker::Position mRawPosition; 102 VelocityTracker mVelocityTracker;
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | VelocityTrackerCompat.java | 19 import android.view.VelocityTracker; 30 public float getXVelocity(VelocityTracker tracker, int pointerId); in getXVelocity() 31 public float getYVelocity(VelocityTracker tracker, int pointerId); in getYVelocity() 39 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() 53 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() 81 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() 90 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity()
|
D | GestureDetectorCompat.java | 27 import android.view.VelocityTracker; 100 private VelocityTracker mVelocityTracker; 227 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent() 370 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
D | NestedScrollingChild.java | 21 import android.view.VelocityTracker;
|
D | NestedScrollingParent.java | 21 import android.view.VelocityTracker;
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 31 public final class VelocityTracker { class 32 private static final SynchronizedPool<VelocityTracker> sPool = 33 new SynchronizedPool<VelocityTracker>(2); 57 static public VelocityTracker obtain() { in obtain() 58 VelocityTracker instance = sPool.acquire(); in obtain() 59 return (instance != null) ? instance : new VelocityTracker(null); in obtain() 71 public static VelocityTracker obtain(String strategy) { in obtain() 75 return new VelocityTracker(strategy); in obtain() 89 private VelocityTracker(String strategy) { in VelocityTracker() method in VelocityTracker
|
D | GestureDetector.java | 267 private VelocityTracker mVelocityTracker; 498 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent() 642 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 109 const char* VelocityTracker::DEFAULT_STRATEGY = "lsq2"; 111 VelocityTracker::VelocityTracker(const char* strategy) : in VelocityTracker() function in android::VelocityTracker 135 VelocityTracker::~VelocityTracker() { in ~VelocityTracker() 139 bool VelocityTracker::configureStrategy(const char* strategy) { in configureStrategy() 144 VelocityTrackerStrategy* VelocityTracker::createStrategy(const char* strategy) { in createStrategy() 204 void VelocityTracker::clear() { in clear() 211 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() 222 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() 266 void VelocityTracker::addMovement(const MotionEvent* event) { in addMovement() 337 bool VelocityTracker::getVelocity(uint32_t id, float* outVx, float* outVy) const { in getVelocity() [all …]
|
D | Android.mk | 33 VelocityTracker.cpp
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PlatformVelocityTracker.java | 21 import android.view.VelocityTracker; 32 private VelocityTracker mTracker; 39 tracker.setTracker(VelocityTracker.obtain()); in obtain() 43 public void setTracker(VelocityTracker tracker) { in setTracker()
|
D | NavigationBarGestureHelper.java | 25 import android.view.VelocityTracker; 76 private VelocityTracker mVelocityTracker; 167 mVelocityTracker = VelocityTracker.obtain(); in handleDragActionDownEvent()
|
D | KeyguardAffordanceHelper.java | 24 import android.view.VelocityTracker; 49 private VelocityTracker mVelocityTracker; 480 mVelocityTracker = VelocityTracker.obtain(); in initVelocityTracker()
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
D | VelocityTrackerCompatHoneycomb.java | 19 import android.view.VelocityTracker; 25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 54 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator); 61 VelocityTracker mVelocityTracker; 135 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) { in getEstimator() 198 VelocityTracker::Estimator estimator; in android_view_VelocityTracker_nativeGetEstimator() 206 env->SetFloatArrayRegion(xCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1, in android_view_VelocityTracker_nativeGetEstimator() 208 env->SetFloatArrayRegion(yCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1, in android_view_VelocityTracker_nativeGetEstimator()
|
/frameworks/base/docs/html/training/gestures/ |
D | movement.jd | 92 provides the {@link android.view.VelocityTracker} class and the 96 android.view.VelocityTracker} helps you track the velocity of touch events. This 102 {@link android.view.VelocityTracker} API:</p> 107 private VelocityTracker mVelocityTracker = null; 117 // Retrieve a new VelocityTracker object to watch the velocity of a motion. 118 mVelocityTracker = VelocityTracker.obtain(); 144 // Return a VelocityTracker object back to be re-used by others.
|
/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 27 import android.view.VelocityTracker; 46 private VelocityTracker mVelocityTracker; 284 mVelocityTracker = VelocityTracker.obtain(); in ensureVelocityTracker()
|
D | BottomSheetBehavior.java | 36 import android.view.VelocityTracker; 142 private VelocityTracker mVelocityTracker; 233 mVelocityTracker = VelocityTracker.obtain(); in onInterceptTouchEvent() 287 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 31 import android.view.VelocityTracker; 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(); in PointerLocationView() 182 mAltVelocity = VelocityTracker.obtain(altStrategy); in PointerLocationView()
|
D | RotarySelector.java | 35 import android.view.VelocityTracker; 153 private VelocityTracker mVelocityTracker; 504 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent() 546 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() 566 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
D | SwipeDismissLayout.java | 28 import android.view.VelocityTracker; 73 private VelocityTracker mVelocityTracker; 178 mVelocityTracker = VelocityTracker.obtain(); in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 29 import android.view.VelocityTracker; 67 private VelocityTracker mVelocityTracker; 95 mVelocityTracker = VelocityTracker.obtain(); in SwipeHelper() 134 private float getVelocity(VelocityTracker vt) { in getVelocity() 145 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity()
|
D | ExpandHelper.java | 30 import android.view.VelocityTracker; 108 private VelocityTracker mVelocityTracker; 344 mVelocityTracker = VelocityTracker.obtain(); in trackVelocity() 352 mVelocityTracker = VelocityTracker.obtain(); in trackVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 31 import android.view.VelocityTracker; 112 private VelocityTracker mVelocityTracker; 432 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() 561 mVelocityTracker = VelocityTracker.obtain(); in prepareTracking()
|