/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 39 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() 51 VelocityTracker vt = VelocityTracker.obtain(); in testClear() 66 VelocityTracker vt = VelocityTracker.obtain(); in testDragAcceleration() 77 VelocityTracker vt = VelocityTracker.obtain(); in testDragDeceleration() 89 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal() 102 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical() 119 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points() 136 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints() 158 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime() 180 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace() [all …]
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 31 class VelocityTracker { 66 VelocityTracker(const char* strategy = nullptr); 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/base/core/java/android/view/ |
D | VelocityTracker.java | 32 public final class VelocityTracker { class 33 private static final SynchronizedPool<VelocityTracker> sPool = 34 new SynchronizedPool<VelocityTracker>(2); 58 static public VelocityTracker obtain() { in obtain() 59 VelocityTracker instance = sPool.acquire(); in obtain() 60 return (instance != null) ? instance : new VelocityTracker(null); in obtain() 73 public static VelocityTracker obtain(String strategy) { in obtain() 77 return new VelocityTracker(strategy); in obtain() 91 private VelocityTracker(String strategy) { in VelocityTracker() method in VelocityTracker
|
D | GestureDetector.java | 287 private VelocityTracker mVelocityTracker; 526 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent() 737 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 112 const char* VelocityTracker::DEFAULT_STRATEGY = "lsq2"; 114 VelocityTracker::VelocityTracker(const char* strategy) : in VelocityTracker() function in android::VelocityTracker 138 VelocityTracker::~VelocityTracker() { in ~VelocityTracker() 142 bool VelocityTracker::configureStrategy(const char* strategy) { in configureStrategy() 147 VelocityTrackerStrategy* VelocityTracker::createStrategy(const char* strategy) { in createStrategy() 212 void VelocityTracker::clear() { in clear() 219 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() 230 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() 274 void VelocityTracker::addMovement(const MotionEvent* event) { in addMovement() 345 bool VelocityTracker::getVelocity(uint32_t id, float* outVx, float* outVy) const { in getVelocity() [all …]
|
D | Android.bp | 55 "VelocityTracker.cpp",
|
/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/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | DistanceClassifier.java | 28 import android.view.VelocityTracker; 112 VelocityTracker velocityTracker = VelocityTracker.obtain(); in calculateDistances()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleTouchHandler.java | 22 import android.view.VelocityTracker; 65 private VelocityTracker mVelocityTracker; 274 mVelocityTracker = VelocityTracker.obtain(); in trackMovement()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 23 import android.view.VelocityTracker; 44 private VelocityTracker mVelocityTracker; 323 mVelocityTracker = VelocityTracker.obtain();
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 39 import android.view.VelocityTracker; 91 private VelocityTracker.Estimator mEstimator = new VelocityTracker.Estimator(); 92 private VelocityTracker.Estimator mAltEstimator = new VelocityTracker.Estimator(); 156 private final VelocityTracker mVelocity; 157 private final VelocityTracker mAltVelocity; 213 mVelocity = VelocityTracker.obtain(); in PointerLocationView() 218 mAltVelocity = VelocityTracker.obtain(altStrategy); in PointerLocationView()
|
D | NestedScrollingChild.java | 20 import android.view.VelocityTracker;
|
D | SwipeDismissLayout.java | 34 import android.view.VelocityTracker; 82 private VelocityTracker mVelocityTracker; 187 mVelocityTracker = VelocityTracker.obtain("int1"); in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 28 import android.view.VelocityTracker in <lambda>() 109 private var velocityTracker: VelocityTracker? = null in <lambda>() 135 velocityTracker = VelocityTracker.obtain() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 32 import android.view.VelocityTracker; 74 private final VelocityTracker mVelocityTracker; 106 mVelocityTracker = VelocityTracker.obtain(); in SwipeHelper() 144 private float getVelocity(VelocityTracker vt) { in getVelocity() 155 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity()
|
D | ExpandHelper.java | 30 import android.view.VelocityTracker; 109 private VelocityTracker mVelocityTracker; 352 mVelocityTracker = VelocityTracker.obtain(); in trackVelocity() 360 mVelocityTracker = VelocityTracker.obtain(); in trackVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 30 import android.view.VelocityTracker; 113 private VelocityTracker mVelocityTracker; 437 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() 568 mVelocityTracker = VelocityTracker.obtain(); in prepareTracking()
|
D | HorizontalScrollView.java | 37 import android.view.VelocityTracker; 135 private VelocityTracker mVelocityTracker; 525 mVelocityTracker = VelocityTracker.obtain(); in initOrResetVelocityTracker() 533 mVelocityTracker = VelocityTracker.obtain(); in initVelocityTrackerIfNotExists() 762 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
D | ScrollView.java | 39 import android.view.VelocityTracker; 145 private VelocityTracker mVelocityTracker; 558 mVelocityTracker = VelocityTracker.obtain(); in initOrResetVelocityTracker() 566 mVelocityTracker = VelocityTracker.obtain(); in initVelocityTrackerIfNotExists() 834 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardAffordanceHelper.java | 24 import android.view.VelocityTracker; 48 private VelocityTracker mVelocityTracker; 473 mVelocityTracker = VelocityTracker.obtain(); in initVelocityTracker()
|
D | NavigationBarEdgePanel.java | 32 import android.view.VelocityTracker; 151 private VelocityTracker mVelocityTracker; 385 mVelocityTracker = VelocityTracker.obtain(); in handleTouch()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 194 VelocityTracker vt(strategy); in computeAndCheckVelocity() 218 VelocityTracker vt("lsq2"); in computeAndCheckQuadraticEstimate() 223 VelocityTracker::Estimator estimator; in computeAndCheckQuadraticEstimate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 33 import android.view.VelocityTracker; 94 private final VelocityTracker mVelocityTracker = VelocityTracker.obtain();
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 28 import android.view.VelocityTracker; 77 VelocityTracker mVelocityTracker; 156 mVelocityTracker = VelocityTracker.obtain(); in initOrResetVelocityTracker()
|