/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 56 float vx, vy; member 85 float vx, vy; in computeCurrentVelocity() local 86 mVelocityTracker.getVelocity(id, &vx, &vy); in computeCurrentVelocity() 88 vx = vx * units / 1000; in computeCurrentVelocity() 91 if (vx > maxVelocity) { in computeCurrentVelocity() 92 vx = maxVelocity; in computeCurrentVelocity() 93 } else if (vx < -maxVelocity) { in computeCurrentVelocity() 94 vx = -maxVelocity; in computeCurrentVelocity() 103 velocity.vx = vx; in computeCurrentVelocity() 113 float vx, vy; in getVelocity() local [all …]
|
/frameworks/native/libs/input/ |
D | VelocityControl.cpp | 71 float vx, vy; in move() local 73 if (mVelocityTracker.getVelocity(0, &vx, &vy)) { in move() 74 float speed = hypotf(vx, vy) * scale; in move() 91 vx, vy, speed, scale / mParameters.scale); in move()
|
D | VelocityTracker.cpp | 969 float vx = (position.x - oldestPosition.x) * scale; in getEstimator() local 971 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); in getEstimator()
|
/frameworks/native/services/sensorservice/ |
D | AidlSensorHalWrapper.cpp | 246 dst->head_tracker.vx = ht.vx; in convertToSensorEvent() 443 headTracker.vx = src.head_tracker.vx; in convertFromSensorEvent()
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 524 float vx; member
|
/frameworks/native/include/android/ |
D | sensor.h | 524 float vx; member
|
/frameworks/av/media/libheadtracking/ |
D | SensorPoseProvider.cpp | 407 Eigen::Vector3f twist = {event.head_tracker.vx, event.head_tracker.vy, in parseEvent()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewProvider.java | 281 public void flingScroll(int vx, int vy); in flingScroll() argument
|
D | WebView.java | 2144 public void flingScroll(int vx, int vy) { in flingScroll() argument 2146 mProvider.flingScroll(vx, vy); in flingScroll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 366 final float vx = tracker.getXVelocity(pointerId); in computePointerSpeed() local 368 return (float) Math.sqrt(Math.pow(vx, 2.0) + Math.pow(vy, 2.0)); in computePointerSpeed()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 7669 final float vx = mVelocityTracker.getXVelocity(mActivePointerId); 7671 if (!startFling(time, vx, vy)) { 7781 private boolean startFling(long time, float vx, float vy) { 7783 Log.d(LOCAL_TAG, "Considering fling: vx=" + vx + ", vy=" + vy 7790 if (-vx >= mConfigMinFlingVelocity 7792 mFlingVelocity = -vx; 7798 if (vx >= mConfigMinFlingVelocity 7800 mFlingVelocity = vx; 7807 && Math.abs(vx) < mConfigMinFlingVelocity) { 7815 && Math.abs(vx) < mConfigMinFlingVelocity) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 4916 public void smoothScrollBy(int dx, int dy, int vx, int vy) { in smoothScrollBy() argument 4917 smoothScrollBy(dx, dy, computeScrollDuration(dx, dy, vx, vy)); in smoothScrollBy() 4926 private int computeScrollDuration(int dx, int dy, int vx, int vy) { in computeScrollDuration() argument 4930 final int velocity = (int) Math.sqrt(vx * vx + vy * vy); in computeScrollDuration()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 2831 float vx, vy; in preparePointerGestures() local 2832 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures() 2833 float speed = hypotf(vx, vy); in preparePointerGestures()
|